Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8146015

JMXInterfaceBindingTest is failing intermittently for IPv6 addresses

    Details

      Backports

        Description

        Test sun/management/jmxremote/bootstrap/JMXInterfaceBindingTest.java is failing with:

        [JMX-Tester-0:0:0:0:0:0:0:1] Exception in thread "Thread-2" java.lang.NumberFormatException: For input string: "0:0:0:0:0:0:1:9111"
        [JMX-Tester-0:0:0:0:0:0:0:1] at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
        [JMX-Tester-0:0:0:0:0:0:0:1] at java.lang.Integer.parseInt(Integer.java:679)
        [JMX-Tester-0:0:0:0:0:0:0:1] at java.lang.Integer.parseInt(Integer.java:797)
        [JMX-Tester-0:0:0:0:0:0:0:1] at com.sun.jndi.url.rmi.rmiURLContext.getRootURLContext(rmiURLContext.java:102)
        [JMX-Tester-0:0:0:0:0:0:0:1] at com.sun.jndi.toolkit.url.GenericURLContext.lookup(GenericURLContext.java:204)
        [JMX-Tester-0:0:0:0:0:0:0:1] at javax.naming.InitialContext.lookup(InitialContext.java:409)
        [JMX-Tester-0:0:0:0:0:0:0:1] at javax.management.remote.rmi.RMIConnector.findRMIServerJNDI(RMIConnector.java:1814)
        [JMX-Tester-0:0:0:0:0:0:0:1] at javax.management.remote.rmi.RMIConnector.findRMIServer(RMIConnector.java:1788)
        [JMX-Tester-0:0:0:0:0:0:0:1] at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:278)
        [JMX-Tester-0:0:0:0:0:0:0:1] at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:268)
        [JMX-Tester-0:0:0:0:0:0:0:1] at JMXAgentInterfaceBinding$JMXConnectorThread.connect(JMXAgentInterfaceBinding.java:181)
        [JMX-Tester-0:0:0:0:0:0:0:1] at JMXAgentInterfaceBinding$JMXConnectorThread.run(JMXAgentInterfaceBinding.java:157)
        [JMX-Tester-127.0.0.1] Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Test failed. JMX server agents not becoming available.
        [JMX-Tester-127.0.0.1] at JMXAgentInterfaceBinding$MainThread.rethrowException(JMXAgentInterfaceBinding.java:293)
        [JMX-Tester-127.0.0.1] at JMXAgentInterfaceBinding$MainThread.access$200(JMXAgentInterfaceBinding.java:224)
        [JMX-Tester-127.0.0.1] at JMXAgentInterfaceBinding.startEndpoint(JMXAgentInterfaceBinding.java:94)
        [JMX-Tester-127.0.0.1] at JMXAgentInterfaceBinding.main(JMXAgentInterfaceBinding.java:118)
        [JMX-Tester-127.0.0.1] Caused by: java.lang.RuntimeException: Test failed. JMX server agents not becoming available.
        [JMX-Tester-127.0.0.1] at JMXAgentInterfaceBinding$MainThread.waitUntilReadyForConnections(JMXAgentInterfaceBinding.java:275)
        [JMX-Tester-127.0.0.1] at JMXAgentInterfaceBinding$MainThread.run(JMXAgentInterfaceBinding.java:245)
        [JMX-Tester-0:0:0:0:0:0:0:1] Exception in thread "main" java.lang.RuntimeException: java.lang.RuntimeException: Test failed. JMX server agents not becoming available.
        [JMX-Tester-0:0:0:0:0:0:0:1] at JMXAgentInterfaceBinding$MainThread.rethrowException(JMXAgentInterfaceBinding.java:293)
        [JMX-Tester-0:0:0:0:0:0:0:1] at JMXAgentInterfaceBinding$MainThread.access$200(JMXAgentInterfaceBinding.java:224)
        [JMX-Tester-0:0:0:0:0:0:0:1] at JMXAgentInterfaceBinding.startEndpoint(JMXAgentInterfaceBinding.java:94)
        [JMX-Tester-0:0:0:0:0:0:0:1] at JMXAgentInterfaceBinding.main(JMXAgentInterfaceBinding.java:118)
        [JMX-Tester-0:0:0:0:0:0:0:1] Caused by: java.lang.RuntimeException: Test failed. JMX server agents not becoming available.
        [JMX-Tester-0:0:0:0:0:0:0:1] at JMXAgentInterfaceBinding$MainThread.waitUntilReadyForConnections(JMXAgentInterfaceBinding.java:275)
        [JMX-Tester-0:0:0:0:0:0:0:1] at JMXAgentInterfaceBinding$MainThread.run(JMXAgentInterfaceBinding.java:245)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jbachorik Jaroslav Bachorík
                  Reporter:
                  jbachorik Jaroslav Bachorík
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: