>On Mon, Sep 13, 2010 at 1:53 AM, Ola Bini <[email protected]> wrote:
>> Haven't built JRuby in a while, and now suddenly I have problems running the
>> test suite. Specifically, it hangs for Java 6 during the Testsuite:
>> org.jruby.test.JRubyTestSuite step. Is anyone else seeing this?
>>
>> It works fine with Java 5.
>>
>> It doesn't work for:
>> SoyLatte (but with a test failure - about decimal formats)
>> Java 7 (but with a test failure instead - about "Bad file descriptor - Bad
>> file descriptor")
>>
>>
>> The specific version of 1.6 I'm running with is:
>> java version "1.6.0_17"
>> Java(TM) SE Runtime Environment (build 1.6.0_17-b04-248-9M3125)
>> Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01-101, mixed mode)
>
>I can confirm this. I don't have the same thread dump as you -- my
>thread dump is here. Java reports a deadlock.
>
>http://gist.github.com/577409
>

I get a different error -- testing on java version "1.6.0_21" on mac os 10.6.4

run-junit-interpreted-short:
     [echo] compile=OFF, jit.threshold=20, jit.maxsize=1000000000, jit.max=-1, 
objectspace=true threadpool=false reflection=false version=ruby1_8
    [junit] Testsuite: org.jruby.test.ScriptTestSuite
    [junit] Tests run: 73, Failures: 0, Errors: 0, Time elapsed: 11.092 sec
    [junit]
    [junit] Testsuite: org.jruby.test.JRubyTestSuite
    [junit] Tests run: 75, Failures: 1, Errors: 0, Time elapsed: 86.439 sec
    [junit]
    [junit] Testcase: test_socket(org.jruby.test.TestUnitTestSuite$ScriptTest): 
FAILED
    [junit] Faults encountered running test/test_socket, complete output 
follows:
    [junit] Error:
    [junit] test_tcp_close_write(SocketTest):
    [junit] Errno::EADDRINUSE: Address already in use - bind - Address already 
in use
    [junit]     ./test/test_socket.rb:66:in `initialize'
    [junit]     ./test/test_socket.rb:66:in `new'
    [junit]     ./test/test_socket.rb:66:in `test_tcp_close_write'
    [junit]
    [junit] junit.framework.AssertionFailedError: Faults encountered running 
test/test_socket, complete output follows:
    [junit] Error:
    [junit] test_tcp_close_write(SocketTest):
    [junit] Errno::EADDRINUSE: Address already in use - bind - Address already 
in use
    [junit]     ./test/test_socket.rb:66:in `initialize'
    [junit]     ./test/test_socket.rb:66:in `new'
    [junit]     ./test/test_socket.rb:66:in `test_tcp_close_write'
    [junit]
    [junit]     at 
org.jruby.test.TestUnitTestSuite$ScriptTest.runTest(TestUnitTestSuite.java:224)
    [junit]
    [junit]

BUILD FAILED
/Users/stephen/dev/ruby/src/jruby-git/build.xml:784: The following error 
occurred while executing this line:
/Users/stephen/dev/ruby/src/jruby-git/build.xml:934: The following error 
occurred while executing this line:
/Users/stephen/dev/ruby/src/jruby-git/build.xml:882: Tests failed

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

    http://xircles.codehaus.org/manage_email


Reply via email to