AgileVentures / Paironauts

To find a pair partner any time!
MIT License
7 stars 5 forks source link

Mix test failed to start child: Wallaby.Phantom #30

Open yakryder opened 6 years ago

yakryder commented 6 years ago

For some devs, sometimes when trying to run the test suite on master you'll get this:

    ** (EXIT) shutdown: failed to start child: Wallaby.ServerPool
        ** (EXIT) an exception was raised:
            ** (MatchError) no match of right hand side value: {:error, {:timeout, {Task, :await, [%Task{owner: #PID<0.417.0>, pid: #PID<0.419.0>, ref: #Reference<0.2538365654.4000317444.84115>}, 5000]}}}
                (poolboy) src/poolboy.erl:275: :poolboy.new_worker/1
                (poolboy) src/poolboy.erl:296: :poolboy.prepopulate/3
                (poolboy) src/poolboy.erl:145: :poolboy.init/3
                (stdlib) gen_server.erl:365: :gen_server.init_it/2
                (stdlib) gen_server.erl:333: :gen_server.init_it/6
                (stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3

We've fixed it before but I don't remember how or RCA. This issue is opened to track this behavior, root cause(s), and solution(s)

tansaku commented 6 years ago

I just got this moving to phantomjs25-beta - completely stuck on that. Had thought we could resolve by killing existing phantom processes or by ensuring phantom starts up properly, or running phantom directly, but none worked this time around ...

We note that phantomjs seems to be deprecated and the author is recommending moving to chromedriver