test_drb failures
-----------------

                 Key: JRUBY-3697
                 URL: http://jira.codehaus.org/browse/JRUBY-3697
             Project: JRuby
          Issue Type: Bug
          Components: Extensions
    Affects Versions: JRuby 1.3
            Reporter: Charles Oliver Nutter


{noformat}
~/projects/jruby ➔ jruby -I test/externals/ruby1.8/drb/ 
test/externals/ruby1.8/drb/test_drb.rb 
Loaded suite test/externals/ruby1.8/drb/test_drb
Started
...EE.E...F.........FF.........EE.E.....Exception in thread "Thread-134" 
org.jruby.exceptions.JumpException$BreakJump
.........Exception in thread "Thread-137" 
org.jruby.exceptions.JumpException$BreakJump
....
Finished in 48.098 seconds.

  1) Error:
test_04_retry(TestDRbAry):
LocalJumpError: retry outside of rescue not supported
    (druby://192.168.0.100:50612) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:14:in 
`perform_with_block'
    (druby://192.168.0.100:50612) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1506:in `perform'
    (druby://192.168.0.100:50612) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1582:in `main_loop'
    (druby://192.168.0.100:50612) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1574:in `start'
    ./test/externals/ruby1.8/drb//drbtest.rb:311:in `test_04_retry'

  2) Error:
test_05_break(TestDRbAry):
DRb::DRbConnError: connection closed
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:570:in `load'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:632:in `recv_reply'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:922:in `recv_reply'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1200:in `send_message'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1091:in `method_missing'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1175:in `open'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1090:in `method_missing'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1108:in `with_friend'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1089:in `method_missing'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:10:in 
`block_yield'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:17:in 
`perform_with_block'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:14:in `each'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:14:in 
`perform_with_block'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1506:in `perform'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1582:in `main_loop'
    (druby://192.168.0.100:50619) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1574:in `start'
    ./test/externals/ruby1.8/drb//drbtest.rb:323:in `test_05_break'

  3) Error:
test_07_break_18(TestDRbAry):
DRb::DRbConnError: connection closed
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:570:in `load'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:632:in `recv_reply'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:922:in `recv_reply'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1200:in `send_message'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1091:in `method_missing'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1175:in `open'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1090:in `method_missing'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1108:in `with_friend'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1089:in `method_missing'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:10:in 
`block_yield'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:17:in 
`perform_with_block'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:14:in `each'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:14:in 
`perform_with_block'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1506:in `perform'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1582:in `main_loop'
    (druby://192.168.0.100:50631) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1574:in `start'
    (eval):3:in `test_07_break_18'

  4) Failure:
test_02_unknown(TestDRbCore) [./test/externals/ruby1.8/drb//drbtest.rb:125]:
<"DRbEx::"> expected but was
<"DRbEx::FooBar">.

  5) Failure:
test_11_remote_no_method_error(TestDRbCore) 
[./test/externals/ruby1.8/drb//drbtest.rb:264]:
<DRb::DRbRemoteError> exception expected but was
Class: <NoMethodError>
Message: <"undefined method `invoke_no_method' for #<DRbEx:0x706c08b2 
@hello=\"hello\">">
---Backtrace---
(druby://localhost:50713) 
/Users/headius/projects/jruby/test/externals/ruby1.8/drb/ut_drb.rb:133:in 
`method_missing'
(druby://localhost:50713) 
/Users/headius/projects/jruby/test/externals/ruby1.8/drb/ut_drb.rb:70:in 
`remote_no_method_error'
(druby://localhost:50713) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1548:in 
`perform_without_block'
(druby://localhost:50713) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1508:in `perform'
(druby://localhost:50713) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1582:in `main_loop'
(druby://localhost:50713) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1574:in `start'
./test/externals/ruby1.8/drb//drbtest.rb:265:in `test_11_remote_no_method_error'
./test/externals/ruby1.8/drb//drbtest.rb:264:in `test_11_remote_no_method_error'
---------------

  6) Failure:
test_01_safe1_safe4_eval(TestDRbEval) 
[test/externals/ruby1.8/drb/test_drb.rb:222]:
<SecurityError> exception expected but none was thrown.

  7) Error:
test_04_retry(TestDRbSafe1):
LocalJumpError: retry outside of rescue not supported
    (druby://localhost:50775) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:14:in 
`perform_with_block'
    (druby://localhost:50775) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1495:in `perform'
    (druby://localhost:50775) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1492:in `initialize'
    ./test/externals/ruby1.8/drb//drbtest.rb:311:in `test_04_retry'

  8) Error:
test_05_break(TestDRbSafe1):
DRb::DRbConnError: connection closed
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:570:in `load'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:632:in `recv_reply'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:922:in `recv_reply'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1200:in `send_message'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1091:in `method_missing'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1175:in `open'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1090:in `method_missing'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1108:in `with_friend'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1089:in `method_missing'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:10:in 
`block_yield'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:17:in 
`perform_with_block'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:14:in `each'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:14:in 
`perform_with_block'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1495:in `perform'
    (druby://localhost:50782) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1492:in `initialize'
    ./test/externals/ruby1.8/drb//drbtest.rb:323:in `test_05_break'

  9) Error:
test_07_break_18(TestDRbSafe1):
DRb::DRbConnError: connection closed
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:570:in `load'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:632:in `recv_reply'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:922:in `recv_reply'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1200:in `send_message'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1091:in `method_missing'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1175:in `open'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1090:in `method_missing'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1108:in `with_friend'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1089:in `method_missing'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:10:in 
`block_yield'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:17:in 
`perform_with_block'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:14:in `each'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/invokemethod.rb:14:in 
`perform_with_block'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1495:in `perform'
    (druby://localhost:50794) 
/Users/headius/projects/jruby/lib/ruby/1.8/drb/drb.rb:1492:in `initialize'
    (eval):3:in `test_07_break_18'
{noformat}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to