Skip to content

Instantly share code, notes, and snippets.

@msassak
Created November 17, 2009 21:58
Show Gist options
  • Select an option

  • Save msassak/237307 to your computer and use it in GitHub Desktop.

Select an option

Save msassak/237307 to your computer and use it in GitHub Desktop.
.../features/support/fake_wire_server.rb:10:in `initialize': Address already in use - bind(2) (Errno::EADDRINUSE)
from ./features/support/fake_wire_server.rb:10:in `open'
from ./features/support/fake_wire_server.rb:10:in `run'
from ./features/step_definitions/wire_steps.rb:6:in `__instance_exec0'
from ./features/step_definitions/wire_steps.rb:4:in `fork'
from ./features/step_definitions/wire_steps.rb:4:in `__instance_exec0'
from ./features/support/env.rb:84:in `chdir'
from ./features/support/env.rb:84:in `in_current_dir'
from ./features/step_definitions/wire_steps.rb:3:in `__instance_exec0'
... 38 levels...
from /home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:13:in `visit_features'
from /home/msassak/Work/cucumber/bin/../lib/cucumber/cli/main.rb:67:in `execute!'
from /home/msassak/Work/cucumber/bin/../lib/cucumber/cli/main.rb:23:in `execute'
from /home/msassak/Work/cucumber/bin/cucumber:8
..F.............................................................
(::) failed steps (::)
Failed with exit status 1
STDOUT:
STDERR:
Connection refused - connect(2) (Errno::ECONNREFUSED)
/home/msassak/Work/cucumber/bin/../lib/cucumber/wire_support/connection.rb:38:in `initialize'
/home/msassak/Work/cucumber/bin/../lib/cucumber/wire_support/connection.rb:38:in `new'
/home/msassak/Work/cucumber/bin/../lib/cucumber/wire_support/connection.rb:38:in `socket'
/home/msassak/Work/cucumber/bin/../lib/cucumber/wire_support/connection.rb:29:in `send_data_to_socket'
/home/msassak/.rvm/ruby-1.8.6-p383/lib/ruby/1.8/timeout.rb:62:in `timeout'
/home/msassak/Work/cucumber/bin/../lib/cucumber/wire_support/connection.rb:29:in `send_data_to_socket'
/home/msassak/Work/cucumber/bin/../lib/cucumber/wire_support/connection.rb:18:in `call_remote'
/home/msassak/Work/cucumber/bin/../lib/cucumber/wire_support/request_handler.rb:11:in `execute'
/home/msassak/Work/cucumber/bin/../lib/cucumber/wire_support/wire_protocol.rb:60:in `make_request'
/home/msassak/Work/cucumber/bin/../lib/cucumber/wire_support/wire_protocol.rb:9:in `step_matches'
/home/msassak/Work/cucumber/bin/../lib/cucumber/wire_support/wire_language.rb:21:in `step_matches'
/home/msassak/Work/cucumber/bin/../lib/cucumber/wire_support/wire_language.rb:21:in `map'
/home/msassak/Work/cucumber/bin/../lib/cucumber/wire_support/wire_language.rb:21:in `step_matches'
/home/msassak/Work/cucumber/bin/../lib/cucumber/step_mother.rb:205:in `step_match'
/home/msassak/Work/cucumber/bin/../lib/cucumber/step_mother.rb:204:in `map'
/home/msassak/Work/cucumber/bin/../lib/cucumber/step_mother.rb:204:in `step_match'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/step_invocation.rb:86:in `find_step_match!'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/step_invocation.rb:55:in `invoke'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/step_invocation.rb:38:in `accept'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:115:in `visit_step'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:114:in `visit_step'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/step_collection.rb:15:in `accept'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/step_collection.rb:14:in `each'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/step_collection.rb:14:in `accept'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:109:in `visit_steps'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:108:in `visit_steps'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/scenario.rb:47:in `accept'
/home/msassak/Work/cucumber/bin/../lib/cucumber/step_mother.rb:248:in `before_and_after'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/scenario.rb:45:in `accept'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/scenario.rb:100:in `with_visitor'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/scenario.rb:39:in `accept'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:51:in `visit_feature_element'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:50:in `visit_feature_element'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/feature.rb:25:in `accept'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/feature.rb:24:in `each'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/feature.rb:24:in `accept'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:20:in `visit_feature'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:19:in `visit_feature'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/features.rb:32:in `accept'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/features.rb:18:in `each'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/features.rb:18:in `each'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/features.rb:31:in `accept'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:14:in `visit_features'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:180:in `broadcast'
/home/msassak/Work/cucumber/bin/../lib/cucumber/ast/tree_walker.rb:13:in `visit_features'
/home/msassak/Work/cucumber/bin/../lib/cucumber/cli/main.rb:67:in `execute!'
/home/msassak/Work/cucumber/bin/../lib/cucumber/cli/main.rb:23:in `execute'
/home/msassak/Work/cucumber/bin/cucumber:8
(RuntimeError)
./features/step_definitions/cucumber_steps.rb:63:in `/^it should (fail|pass)$/'
features/wire_protocol.feature:72:in `And it should pass with'
Failing Scenarios:
cucumber features/wire_protocol.feature:67 # Scenario: Dry run finds a step match
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment