Spork Drb Server | No Tests were found /// getaddrinfo: nodename nor servname provided, or not known (SocketError)

Hi everybody,

strange problem I have recently. May somebody know what could be the cause of that?
Any help is apreciated.
I cannot explain why it isn't working anymore, because, it already worked once. (I didn't change anything on the setting though: no upgrades, no configuration changes, I am in a other network environment, this may cause this?)

regards

Rafael


/usr/bin/ruby -e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift) /Applications/RubyMine 2.0 Beta.app/rb/testing/runner/specs_in_folder_runner.rb --drb --backtrace
Testing started at 16:44 ...
Searching files....
=========================================
1. /Users/rafael/Sites/iConsult/iToolz/spec/models/message_spec.rb:1
2. /Users/rafael/Sites/iConsult/iToolz/spec/models/selected_question_spec.rb:1
3. /Users/rafael/Sites/iConsult/iToolz/spec/models/survey_spec.rb:1
3 files were found.
=========================================
RSpec script : /Users/rafael/Sites/iConsult/iToolz/script/spec
Ruby Options:
["-e", "STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift)"]
Spec Options:
["--drb", "--backtrace"]
=========================================
Running specs...
Ruby interpreter arguments:
["-e", "STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift)", "/Users/rafael/Sites/iConsult/iToolz/script/spec", "--require", "teamcity/spec/runner/formatter/teamcity/formatter", "--format", "Spec::Runner::Formatter::TeamcityFormatter:matrix", "/Users/rafael/Sites/iConsult/iToolz/spec/models/message_spec.rb", "/Users/rafael/Sites/iConsult/iToolz/spec/models/selected_question_spec.rb", "/Users/rafael/Sites/iConsult/iToolz/spec/models/survey_spec.rb", "--drb", "--backtrace"]
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby -e STDOUT.sync=true;STDERR.sync=true;load($0=ARGV.shift) /Users/rafael/Sites/iConsult/iToolz/script/spec --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter:matrix /Users/rafael/Sites/iConsult/iToolz/spec/models/message_spec.rb /Users/rafael/Sites/iConsult/iToolz/spec/models/selected_question_spec.rb /Users/rafael/Sites/iConsult/iToolz/spec/models/survey_spec.rb --drb --backtrace
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/drb/drb.rb:866:in `initialize': getaddrinfo: nodename nor servname provided, or not known (SocketError)
 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/drb/drb.rb:866:in `open'
 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/drb/drb.rb:866:in `open_server'
 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/drb/drb.rb:759:in `open_server'
 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/drb/drb.rb:757:in `each'
 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/drb/drb.rb:757:in `open_server'
 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/drb/drb.rb:1346:in `initialize'
 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/drb/drb.rb:1634:in `new'
 from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/drb/drb.rb:1634:in `start_service'
 from /Library/Ruby/Gems/1.8/gems/rspec-1.2.8/lib/spec/runner/drb_command_line.rb:12:in `run'
 from /Library/Ruby/Gems/1.8/gems/rspec-1.2.8/lib/spec/runner/option_parser.rb:193:in `parse_drb'
 from /Library/Ruby/Gems/1.8/gems/rspec-1.2.8/lib/spec/runner/option_parser.rb:130:in `order!'
 from /Library/Ruby/Gems/1.8/gems/rspec-1.2.8/lib/spec/runner.rb:51:in `options'
 from /Library/Ruby/Gems/1.8/gems/rspec-1.2.8/lib/spec/runner/command_line.rb:6:in `run'
 from /Users/rafael/Sites/iConsult/iToolz/script/spec:10
 from -e:1:in `load'
 from -e:1
/Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:995:in `sh': Command failed with status (1): [/System/Library/Frameworks/Ruby.framework/...] (RuntimeError)
 from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in `call'
 from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1010:in `sh'
 from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1094:in `sh'
 from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1027:in `ruby'
 from /Library/Ruby/Gems/1.8/gems/rake-0.8.7/lib/rake.rb:1094:in `ruby'
 from /Applications/RubyMine 2.0 Beta.app/rb/testing/runner/specs_in_folder_runner.rb:130
 from -e:1:in `load'
 from -e:1
Empty test suite.

Process finished with exit code 1

1 comment
Comment actions Permalink

Issue has been resolved with newest rspec gem:
https://rspec.lighthouseapp.com/projects/5645/tickets/881-rspec-spork-drb-error-on-snow-leopard

please install 1.2.9 of the gem, when using snow leopard.

greez

Rafael

0

Please sign in to leave a comment.