Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6331

test failure in AutoloadTest; Timed out waiting for server port to become available

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 10.10.2.0
    • Fix Version/s: None
    • Component/s: Test
    • Labels:
      None
    • Environment:
      Windows 2008, ibm 1.7 sr5

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                myrna Myrna van Lunteren
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: