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

23 timeouts encountered while running management junit suite as part of full nightly runs.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: 10.4.1.3
    • Fix Version/s: 10.5.1.1
    • Component/s: Test
    • Labels:
      None
    • Environment:
      windows XP, laptop, ibm15
    • Bug behavior facts:
      Regression Test Failure

      Description

      While running full nightly test suite on a classes,SANE build got 23 failures in management test suite as follows. Tried again in same codeline
      just running the management test suite and it worked 50 times in a row. Maybe issue is similar to DERBY-3514, where a previous test is leaving
      a bad state and now that timeout has been reduced again to where it was known to cause nightly test failures in some environments those issues
      are resurfacing. I am trying another full suite run to see if it reproduces in my environment, if others are seeing this issue, please add a comment.

      I will attach full log of errors, but here is the first few:

      There were 23 errors:
      1) testDerbyRegisteredMBeansSimpleInfo(org.apache.derbyTesting.functionTests.tests.management.JMXTest)java.rmi.ConnectIOException: Exception creating
      connection to: 192.168.0.188; nested exception is:
      java.net.SocketException: Operation timed out: connect:could be due to invalid address
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:603)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:204)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:190)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:109)
      at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(RMIServerImpl_Stub.java:52)
      at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2244)
      at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:286)
      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:263)
      at org.apache.derbyTesting.functionTests.tests.management.RemoteConnectionGetter.getMBeanServerConnection(RemoteConnectionGetter.java:49)
      at org.apache.derbyTesting.functionTests.tests.management.MBeanTest.getMBeanServerConnection(MBeanTest.java:177)
      at org.apache.derbyTesting.functionTests.tests.management.MBeanTest.getApplicationManagementMBean(MBeanTest.java:252)
      at org.apache.derbyTesting.functionTests.tests.management.MBeanTest.enableManagement(MBeanTest.java:201)
      at org.apache.derbyTesting.functionTests.tests.management.MBeanTest.setUp(MBeanTest.java:155)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
      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 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 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)
      Caused by: java.net.SocketException: Operation timed out: connect:could be due to invalid address
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:233)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
      at java.net.Socket.connect(Socket.java:541)
      at java.net.Socket.connect(Socket.java:491)
      at java.net.Socket.<init>(Socket.java:399)
      at java.net.Socket.<init>(Socket.java:208)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:41)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:145)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:585)
      2) testStartStopManagementFromApplication(org.apache.derbyTesting.functionTests.tests.management.ManagementMBeanTest)java.rmi.ConnectIOException: Exce
      ption creating connection to: 192.168.0.188; nested exception is:
      java.net.SocketException: Operation timed out: connect:could be due to invalid address
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:603)
      at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:204)
      at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:190)
      at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:109)
      at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(RMIServerImpl_Stub.java:52)
      at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2244)
      at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:286)
      at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:263)
      at org.apache.derbyTesting.functionTests.tests.management.RemoteConnectionGetter.getMBeanServerConnection(RemoteConnectionGetter.java:49)
      at org.apache.derbyTesting.functionTests.tests.management.MBeanTest.getMBeanServerConnection(MBeanTest.java:177)
      at org.apache.derbyTesting.functionTests.tests.management.MBeanTest.getApplicationManagementMBean(MBeanTest.java:252)
      at org.apache.derbyTesting.functionTests.tests.management.MBeanTest.enableManagement(MBeanTest.java:201)
      at org.apache.derbyTesting.functionTests.tests.management.MBeanTest.setUp(MBeanTest.java:155)
      at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
      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 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 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)
      Caused by: java.net.SocketException: Operation timed out: connect:could be due to invalid address
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:372)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:233)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:220)
      at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:385)
      at java.net.Socket.connect(Socket.java:541)
      at java.net.Socket.connect(Socket.java:491)
      at java.net.Socket.<init>(Socket.java:399)
      at java.net.Socket.<init>(Socket.java:208)
      at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:41)
      at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:145)
      at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:585)
      ... 49 more

        Attachments

        1. summary.out
          84 kB
          Mike Matrigali

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mikem Mike Matrigali
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: