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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b04
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: