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

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

    XMLWordPrintable

Details

    Description

      In promotion testing for JDK 9-b05, sun/management/jmxremote/startstop/JMXStartStopTest.java failed with the following error message:

      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:303)
      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 32901 should report port in use
      at JMXStartStopTest.test_06(JMXStartStopTest.java:665)
      ... 11 more
      java.lang.Error
      at JMXStartStopTest.main(JMXStartStopTest.java:316)
      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)

      Evidently, the recent fix for JDK-8034177 failed.

      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

              jbachorik Jaroslav BachorĂ­k
              miauno Mikael Auno (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: