# INFO: Computing test dependencies ... forever

**URL:** <https://discourse.julialang.org/t/info-computing-test-dependencies-forever/7543>\
**Category:** General Usage\
**Created:** [December 5, 2017, 5:54pm UTC](https://discourse.julialang.org/t/info-computing-test-dependencies-forever/7543 "2017-12-05T17:54:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wikunia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wikunia/32/2180_2.png) [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Post date:** [December 5, 2017, 5:54pm UTC](https://discourse.julialang.org/t/info-computing-test-dependencies-forever/7543/1 "2017-12-05T17:54:56Z")

</div>

I start my test and see this:

```julia
INFO: Computing test dependencies for Juniper...

```

forever. I killed all julia processes but no change.  
If I restart my computer it works a couple of times and then stops again.

Any idea?

---

<div class="post-metadata">

**Author:** ![cormullion](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cormullion/32/49131_2.png) [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Post date:** [December 5, 2017, 6:03pm UTC](https://discourse.julialang.org/t/info-computing-test-dependencies-forever/7543/2 "2017-12-05T18:03:02Z")

</div>

```julia
julia> Pkg.add("Juniper")
ERROR: unknown package Juniper

```

Perhaps you can supply more information about versions, sources, etc…

---

<div class="post-metadata">

**Author:** ![Wikunia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wikunia/32/2180_2.png) [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Post date:** [December 5, 2017, 6:04pm UTC](https://discourse.julialang.org/t/info-computing-test-dependencies-forever/7543/3 "2017-12-05T18:04:51Z")

</div>

It’s my own package and isn’t a Julia Package yet.  
I also have the same problem with `Pkg.update()`. That takes forever as well.  
It seems like every `Pkg.test()` has this problem atm.

Some more info:

- I’m using julia v0.6.1
- Arch Linux as my operating system.

---

<div class="post-metadata">

**Author:** ![Tamas\_Papp](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamas_papp/32/25949_2.png) [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Post date:** [December 5, 2017, 6:42pm UTC](https://discourse.julialang.org/t/info-computing-test-dependencies-forever/7543/4 "2017-12-05T18:42:13Z")

</div>

Could be an infinite loop, but it is hard to say without seeing the source code of the abovementioned package.

---

<div class="post-metadata">

**Author:** ![Wikunia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wikunia/32/2180_2.png) [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Post date:** [December 5, 2017, 6:59pm UTC](https://discourse.julialang.org/t/info-computing-test-dependencies-forever/7543/5 "2017-12-05T18:59:11Z")

</div>

That doesn’t seem reasonable to me considering that it works always the first time and that `Pkg.update()` has the same problem as well as every other `Pkg.test()`.

For me it seems to be that restarting julia correctly “fixes” this but I don’t know how to.  
It’s not a real fix but prevents me from restarting my machine every minute…

---

<div class="post-metadata">

**Author:** ![Wikunia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wikunia/32/2180_2.png) [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Post date:** [December 5, 2017, 7:03pm UTC](https://discourse.julialang.org/t/info-computing-test-dependencies-forever/7543/6 "2017-12-05T19:03:53Z")

</div>

If I push it to Travis everything works fine which makes it even more unlikely that it has something do to with my code.

---

<div class="post-metadata">

**Author:** ![bernhard](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bernhard/32/2619_2.png) [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Post date:** [December 7, 2017, 1:08pm UTC](https://discourse.julialang.org/t/info-computing-test-dependencies-forever/7543/7 "2017-12-07T13:08:12Z")

</div>

If you add some more info or print commands in your code, you should be able to narrow down where it hangs, right?

I note that on Windows julia can hang sometimes (until a key stroke is given). But I don’t think that is related to what you are experiencing.

---

<div class="post-metadata">

**Author:** ![Wikunia](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/wikunia/32/2180_2.png) [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Post date:** [December 10, 2017, 7:18pm UTC](https://discourse.julialang.org/t/info-computing-test-dependencies-forever/7543/8 "2017-12-10T19:18:25Z")

</div>

I don’t have that issue anymore after a couple of days without changing anything. (Just running some updates here and there for linux and julia packages)  
As it was the case that the whole Pkg package didn’t seem to be working correctly it wasn’t about narrowing it down in my code.
