adhearsion / adhearsion-drb

adhearsion-drb is an Adhearsion Plugin providing DRb connectivity. It allows third party ruby clients to connect to an Adhearsion instance for RPC.
MIT License
10 stars 4 forks source link

Specs fail on JRuby 1.6.5.1 #4

Open bklang opened 11 years ago

bklang commented 11 years ago

Specs pass on JRuby 1.7.0 so I'm not sure if this is worth chasing down.

Error:

[bklang@Avondale:~/src/adhearsion-drb] (develop|jruby-1.6.5.1)
[Sun Nov 11 14:30:21]$ gem install bundler && bundle update && rake spec
Successfully installed bundler-1.2.1
1 gem installed
Fetching gem metadata from http://rubygems.org/.......
Fetching gem metadata from http://rubygems.org/..
Using rake (0.9.2.2) 
Using i18n (0.6.1) 
Using multi_json (1.3.7) 
Using activesupport (3.2.8) 
Using adhearsion-loquacious (1.9.3) 
Using bundler (1.2.1) 
Using facter (1.6.14) 
Using timers (1.0.1) 
Installing celluloid (0.12.3) 
Installing countdownlatch (1.0.0) 
Installing deep_merge (1.0.0) 
Installing ffi (1.1.5) 
Installing future-resource (1.0.0) 
Installing connection_pool (0.9.2) 
Installing rubinius-core-api (0.0.1) 
Installing rubinius-actor (0.0.2) 
Installing girl_friday (0.11.1) 
Installing has-guarded-handlers (1.3.1) 
Installing little-plugger (1.1.3) 
Installing logging (1.8.0) 
Installing coderay (1.0.8) 
Installing method_source (0.8.1) 
Installing slop (3.3.3) 
Installing spoon (0.0.1) 
Installing pry (0.9.10) 
Installing eventmachine (1.0.0) 
Installing nokogiri (1.5.5) 
Installing niceogiri (1.0.2) 
Installing blather (0.8.1) 
Installing nio4r (0.4.0) 
Installing celluloid-io (0.12.0) 
Installing ruby_ami (1.2.5) 
Installing json (1.7.5) 
Installing ruby_fs (1.0.2) 
Installing ruby_speech (1.0.1) 
Installing state_machine (1.1.2) 
Installing punchblock (1.5.3) 
Installing thor (0.14.6) 
Installing adhearsion (2.1.3) 
Using bouncy-castle-java (1.5.0146.1) 
Using jruby-openssl (0.7.7) 
Using adhearsion-drb (1.0.0) from source at /Users/bklang/src/adhearsion-drb 
Installing diff-lcs (1.1.3) 
Installing flexmock (1.1.0) 
Installing listen (0.5.3) 
Installing lumberjack (1.0.2) 
Installing guard (1.5.4) 
Installing guard-rspec (1.2.1) 
Installing rspec-core (2.7.1) 
Installing rspec-expectations (2.7.0) 
Installing rspec-mocks (2.7.0) 
Installing rspec (2.7.0) 
Your bundle is updated! Use `bundle show [gemname]` to see where a bundled gem is installed.
/Users/bklang/.rvm/rubies/jruby-1.6.5.1/bin/jruby -S rspec --colour --format doc spec/adhearsion/drb_spec.rb spec/adhearsion/drb/plugin_spec.rb spec/adhearsion/drb/plugin/service_spec.rb
Celluloid::TimeoutError: linking timeout of 5 seconds exceeded
  linking_request at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:253
             loop at org/jruby/RubyKernel.java:1420
  linking_request at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:241
        exclusive at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:227
  linking_request at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:236
          monitor at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:115
             link at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:126
         new_link at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid.rb:111
         __send__ at org/jruby/RubyBasicObject.java:1688
             send at org/jruby/RubyKernel.java:2114
            start at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/supervision_group.rb:133
       initialize at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/supervision_group.rb:120
              add at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/supervision_group.rb:80
     supervise_as at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/supervision_group.rb:71
     supervise_as at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/supervisor.rb:17
       initialize at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/supervision_group.rb:63
         __send__ at org/jruby/RubyBasicObject.java:1688
         __send__ at org/jruby/RubyBasicObject.java:1694
             send at org/jruby/RubyKernel.java:2118
         dispatch at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/calls.rb:57
   handle_message at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323
       initialize at /Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22
Celluloid::SupervisionGroup crashed!
Celluloid::TimeoutError: linking timeout of 5 seconds exceeded
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:253:in `linking_request'
org/jruby/RubyKernel.java:1420:in `loop'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:241:in `linking_request'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:227:in `exclusive'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:236:in `linking_request'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:115:in `monitor'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:126:in `link'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid.rb:111:in `new_link'
org/jruby/RubyBasicObject.java:1688:in `__send__'
org/jruby/RubyKernel.java:2114:in `send'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/supervision_group.rb:133:in `start'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/supervision_group.rb:120:in `initialize'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/supervision_group.rb:80:in `add'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/supervision_group.rb:71:in `supervise_as'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/supervisor.rb:17:in `supervise_as'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/supervision_group.rb:63:in `initialize'
org/jruby/RubyBasicObject.java:1688:in `__send__'
org/jruby/RubyBasicObject.java:1694:in `__send__'
org/jruby/RubyKernel.java:2118:in `send'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/calls.rb:57:in `dispatch'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/actor.rb:323:in `handle_message'
/Users/bklang/.rvm/gems/jruby-1.6.5.1/gems/celluloid-0.12.3/lib/celluloid/tasks/task_fiber.rb:22:in `initialize'
Terminating 3 actors...
Shutdown completed cleanly
org.jruby.exceptions.RaiseException: (SystemExit) exit
rake aborted!
ruby /Users/bklang/.rvm/rubies/jruby-1.6.5.1/bin/jruby -S rspec --colour --format doc spec/adhearsion/drb_spec.rb spec/adhearsion/drb/plugin_spec.rb spec/adhearsion/drb/plugin/service_spec.rb failed

Tasks: TOP => spec
(See full trace by running task with --trace)