Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests fail on Elixir 0.15.1 #23

Closed
asconix-old opened this issue Aug 23, 2014 · 1 comment
Closed

Tests fail on Elixir 0.15.1 #23

asconix-old opened this issue Aug 23, 2014 · 1 comment

Comments

@asconix-old
Copy link

Hi,

running tests on Elixir 0.15.1 on a Mac OS X system fails:

"Stopping Hound and restarting with options for test suite..."

=INFO REPORT==== 23-Aug-2014::17:33:09 ===
application: hound
exited: stopped
type: temporary

=ERROR REPORT==== 23-Aug-2014::17:33:09 ===
** Generic server 'Elixir.Hound.SessionServer' terminating
** Last message in was {find_or_create_session,<0.186.0>}
** When Server state == #{'struct' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0}
** Reason for termination ==
** {{badmatch,{error,{conn_failed,{error,econnrefused}}}},
[{'Elixir.Hound.JsonDriver.Utils',send_req,4,
[{file,"lib/hound/json_driver/utils.ex"},
{line,39}]},
{'Elixir.Hound.SessionServer',handle_call,3,
[{file,"lib/hound/session_server.ex"},
{line,22}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,580}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}

=ERROR REPORT==== 23-Aug-2014::17:33:09 ===
** Generic server 'Elixir.Hound.SessionServer' terminating
** Last message in was {find_or_create_session,<0.192.0>}
** When Server state == #{'struct' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0}
** Reason for termination ==
** {{badmatch,{error,{conn_failed,{error,econnrefused}}}},
[{'Elixir.Hound.JsonDriver.Utils',send_req,4,
[{file,"lib/hound/json_driver/utils.ex"},
{line,39}]},
{'Elixir.Hound.SessionServer',handle_call,3,
[{file,"lib/hound/session_server.ex"},
{line,22}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,580}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}

=ERROR REPORT==== 23-Aug-2014::17:33:09 ===
** Generic server 'Elixir.Hound.SessionServer' terminating
** Last message in was {find_or_create_session,<0.195.0>}
** When Server state == #{'struct' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0}
** Reason for termination ==
** {{badmatch,{error,{conn_failed,{error,econnrefused}}}},
[{'Elixir.Hound.JsonDriver.Utils',send_req,4,
[{file,"lib/hound/json_driver/utils.ex"},
{line,39}]},
{'Elixir.Hound.SessionServer',handle_call,3,
[{file,"lib/hound/session_server.ex"},
{line,22}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,580}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}

  1. test should get visible text of an element (ElementTestWithIds)
    test/json_driver/element_with_ids_test.exs:7
    ** (exit) exited in: :gen_server.call(Hound.SessionServer, {:find_or_create_session, #PID<0.186.0>}, 60000)
    ** (EXIT) an exception was raised:
    ** (MatchError) no match of right hand side value: {:error, {:conn_failed, {:error, :econnrefused}}}
    (hound) lib/hound/json_driver/utils.ex:39: Hound.JsonDriver.Utils.send_req/4
    (hound) lib/hound/session_server.ex:22: Hound.SessionServer.handle_call/3
    (stdlib) gen_server.erl:580: :gen_server.handle_msg/5
    (stdlib) proc_lib.erl:239: :proc_lib.init_p_do_apply/3
    stacktrace:
    (stdlib) gen_server.erl:190: :gen_server.call/3
    test/json_driver/element_with_ids_test.exs:5: ElementTestWithIds.ex_unit_setup_0/1
    test/json_driver/element_with_ids_test.exs:1: ElementTestWithIds.__ex_unit
    /2

=ERROR REPORT==== 23-Aug-2014::17:33:09 ===
** Generic server 'Elixir.Hound.SessionServer' terminating
** Last message in was {find_or_create_session,<0.198.0>}
** When Server state == #{'struct' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0}
** Reason for termination ==
** {{badmatch,{error,{conn_failed,{error,econnrefused}}}},
[{'Elixir.Hound.JsonDriver.Utils',send_req,4,
[{file,"lib/hound/json_driver/utils.ex"},
{line,39}]},
{'Elixir.Hound.SessionServer',handle_call,3,
[{file,"lib/hound/session_server.ex"},
{line,22}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,580}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}

  1. test should return false if item is not selected (ElementTestWithIds)
    test/json_driver/element_with_ids_test.exs:64
    ** (exit) exited in: :gen_server.call(Hound.SessionServer, {:find_or_create_session, #PID<0.192.0>}, 60000)
    ** (EXIT) an exception was raised:
    ** (MatchError) no match of right hand side value: {:error, {:conn_failed, {:error, :econnrefused}}}
    (hound) lib/hound/json_driver/utils.ex:39: Hound.JsonDriver.Utils.send_req/4
    (hound) lib/hound/session_server.ex:22: Hound.SessionServer.handle_call/3
    (stdlib) gen_server.erl:580: :gen_server.handle_msg/5
    (stdlib) proc_lib.erl:239: :proc_lib.init_p_do_apply/3
    stacktrace:
    (stdlib) gen_server.erl:190: :gen_server.call/3
    test/json_driver/element_with_ids_test.exs:5: ElementTestWithIds.ex_unit_setup_0/1
    test/json_driver/element_with_ids_test.exs:1: ElementTestWithIds.__ex_unit
    /2

  2. test should submit a form element (ElementTestWithIds)
    test/json_driver/element_with_ids_test.exs:138
    ** (exit) exited in: :gen_server.call(Hound.SessionServer, {:find_or_create_session, #PID<0.195.0>}, 60000)
    ** (EXIT) an exception was raised:
    ** (MatchError) no match of right hand side value: {:error, {:conn_failed, {:error, :econnrefused}}}
    (hound) lib/hound/json_driver/utils.ex:39: Hound.JsonDriver.Utils.send_req/4
    (hound) lib/hound/session_server.ex:22: Hound.SessionServer.handle_call/3
    (stdlib) gen_server.erl:580: :gen_server.handle_msg/5
    (stdlib) proc_lib.erl:239: :proc_lib.init_p_do_apply/3
    stacktrace:
    (stdlib) gen_server.erl:190: :gen_server.call/3
    test/json_driver/element_with_ids_test.exs:5: ElementTestWithIds.ex_unit_setup_0/1
    test/json_driver/element_with_ids_test.exs:1: ElementTestWithIds.__ex_unit
    /2

=ERROR REPORT==== 23-Aug-2014::17:33:09 ===
** Generic server 'Elixir.Hound.SessionServer' terminating
** Last message in was {find_or_create_session,<0.201.0>}
** When Server state == #{'struct' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0}
** Reason for termination ==
** {{badmatch,{error,{conn_failed,{error,econnrefused}}}},
[{'Elixir.Hound.JsonDriver.Utils',send_req,4,
[{file,"lib/hound/json_driver/utils.ex"},
{line,39}]},
{'Elixir.Hound.SessionServer',handle_call,3,
[{file,"lib/hound/session_server.ex"},
{line,22}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,580}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}

  1. test should get css property of an element (ElementTestWithIds)
    test/json_driver/element_with_ids_test.exs:123
    ** (exit) exited in: :gen_server.call(Hound.SessionServer, {:find_or_create_session, #PID<0.198.0>}, 60000)
    ** (EXIT) an exception was raised:
    ** (MatchError) no match of right hand side value: {:error, {:conn_failed, {:error, :econnrefused}}}
    (hound) lib/hound/json_driver/utils.ex:39: Hound.JsonDriver.Utils.send_req/4
    (hound) lib/hound/session_server.ex:22: Hound.SessionServer.handle_call/3
    (stdlib) gen_server.erl:580: :gen_server.handle_msg/5
    (stdlib) proc_lib.erl:239: :proc_lib.init_p_do_apply/3
    stacktrace:
    (stdlib) gen_server.erl:190: :gen_server.call/3
    test/json_driver/element_with_ids_test.exs:5: ElementTestWithIds.ex_unit_setup_0/1
    test/json_driver/element_with_ids_test.exs:1: ElementTestWithIds.__ex_unit
    /2

=ERROR REPORT==== 23-Aug-2014::17:33:09 ===
** Generic server 'Elixir.Hound.SessionServer' terminating
** Last message in was {find_or_create_session,<0.204.0>}
** When Server state == #{'struct' => 'Elixir.HashDict',
root => {[],[],[],[],[],[],[],[]},
size => 0}
** Reason for termination ==
** {{badmatch,{error,{conn_failed,{error,econnrefused}}}},
[{'Elixir.Hound.JsonDriver.Utils',send_req,4,
[{file,"lib/hound/json_driver/utils.ex"},
{line,39}]},
{'Elixir.Hound.SessionServer',handle_call,3,
[{file,"lib/hound/session_server.ex"},
{line,22}]},
{gen_server,handle_msg,5,[{file,"gen_server.erl"},{line,580}]},
{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,239}]}]}
** (EXIT from #PID<0.47.0>) shutdown

@asconix-old
Copy link
Author

OK, issue is gone on a fresh OS X installation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants