Myrna van Lunteren created DERBY-6331:
-----------------------------------------

             Summary: test failure in AutoloadTest; Timed out waiting for 
server port to become available
                 Key: DERBY-6331
                 URL: https://issues.apache.org/jira/browse/DERBY-6331
             Project: Derby
          Issue Type: Bug
          Components: Test
    Affects Versions: 10.10.1.3
         Environment: Windows 2008, ibm 1.7 sr5
            Reporter: Myrna van Lunteren


I saw the following failure in the 10.10.1.3 nightly testing with the branch 
svn  updated to revision 1519329:

http://people.apache.org/~myrnavl/derby_test_results/v10_10/windows/testlog/ibm17/1519329-suites.All_diff.txt

This is the stack from the console output:

1) 
spawnProcess:JDBCDriversEmbeddedTest(org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest)junit.framework.AssertionFailedError:
 Test process failed:Spawned 
org.apache.derbyTesting.functionTests.tests.jdbcapi.JDBCDriversEmbeddedTest 
exitCode=1
STDOUT:
.......F...
Time: 245.485
There was 1 failure:
1) AutoloadTest: clientjunit.framework.AssertionFailedError: Timed out waiting 
for server port to become available (localhost:3400)
        at 
org.apache.derbyTesting.junit.BaseTestCase.fail(BaseTestCase.java:1105)
        at 
org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForAvailablePort(NetworkServerTestSetup.java:256)
        at 
org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerTestSetup.java:202)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:20)
        at junit.extensions.TestSetup.run(TestSetup.java:25)
        at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.extensions.TestSetup.run(TestSetup.java:25)
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.DualStackPlainSocketImpl.bind0(Native Method)
        at 
java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
        at 
java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:395)
        at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:198)
        at java.net.ServerSocket.bind(ServerSocket.java:419)
        at java.net.ServerSocket.<init>(ServerSocket.java:245)
        at 
org.apache.derbyTesting.junit.NetworkServerTestSetup$1.run(NetworkServerTestSetup.java:276)
        at 
java.security.AccessController.doPrivileged(AccessController.java:330)
        at 
org.apache.derbyTesting.junit.NetworkServerTestSetup.probeServerPort(NetworkServerTestSetup.java:274)
        at 
org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForAvailablePort(NetworkServerTestSetup.java:250)
        ... 16 more

FAILURES!!!
Tests run: 10,  Failures: 1,  Errors: 0


        at 
org.apache.derbyTesting.functionTests.tests.jdbcapi.AutoloadTest.spawnProcess(AutoloadTest.java:272)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:76)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
        at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:442)
        at 
org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:459)
        at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
        at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
        at junit.extensions.TestSetup.run(TestSetup.java:25)



--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to