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

getting "Timed out waiting for network server to start" errors while running JMX unit tests

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.4.1.3
    • 10.4.1.3
    • Test
    • None
    • windows XP, dual core laptop, ibm5 jvm, running against sane/debug classes updated to 634360 (around 3/6/08 9am PST)
    • Regression Test Failure

    Description

      I ran just the jmx test suite as follows and got 4 timeout errors:
      java junit.textui.TestRunner \
      org.apache.derbyTesting.functionTests.tests.management._Suite \
      >>test.out 2>&1

      .F.F.F..........F
      Time: 1,205.25
      There were 4 failures:
      1) JMXTest:clientjunit.framework.AssertionFailedError: Timed out waiting for net
      work server to start
      at org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForServerStart(N
      etworkServerTestSetup.java:440)
      at org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerT
      estSetup.java:173)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      2) ManagementMBeanTest:clientjunit.framework.AssertionFailedError: Timed out wai
      ting for network server to start
      at org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForServerStart(N
      etworkServerTestSetup.java:440)
      at org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerT
      estSetup.java:173)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      3) InactiveManagementMBeanTest:clientjunit.framework.AssertionFailedError: Timed
      out waiting for network server to start
      at org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForServerStart(N
      etworkServerTestSetup.java:440)
      at org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerT
      estSetup.java:173)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      4) VersionMBeanTest:clientjunit.framework.AssertionFailedError: Timed out waitin
      g for network server to start
      at org.apache.derbyTesting.junit.NetworkServerTestSetup.waitForServerStart(N
      etworkServerTestSetup.java:440)
      at org.apache.derbyTesting.junit.NetworkServerTestSetup.setUp(NetworkServerT
      estSetup.java:173)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:18)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)
      at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
      at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
      at junit.extensions.TestSetup.run(TestSetup.java:23)

      FAILURES!!!
      Tests run: 13, Failures: 4, Errors: 0

      Attachments

        Activity

          People

            djd Daniel John Debrunner
            mikem Mike Matrigali
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: