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

sun/management/jmxremote/startstop/JMXStartStopTest.java should report port in use

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-svc
    • b04
    • generic
    • generic

        The test failed in PIT of JDK9_002_dev on Windows and Solaris hosts with this error message:

        (in test six)

        WARNING: stopping
        test_06 failed
        java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:484)
        at JMXStartStopTest.main(JMXStartStopTest.java:263)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:484)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:744)
        Caused by: java.lang.Exception: Starting agent on port 22 should report port in use
        at JMXStartStopTest.test_06(JMXStartStopTest.java:619)
        ... 11 more
        java.lang.Error
        at JMXStartStopTest.main(JMXStartStopTest.java:276)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:484)
        at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
        at java.lang.Thread.run(Thread.java:744)

        JavaTest Message: Test threw exception: java.lang.Error
        JavaTest Message: shutting down test

        ILW = MMH => P3

        RULE sun/management/jmxremote/startstop/JMXStartStopTest.java Exception java.lang.Exception: Starting agent on port ... should report port in use

              jbachorik Jaroslav Bachorík
              iaberg Ingemar Åberg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: