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

JMX: Not enough JDP packets received before timeout

XMLWordPrintable

      After fixing https://bugs.openjdk.java.net/browse/JDK-8175542
      unquarantined sun/management/jdp/JdpOffTest.java test starts failing with
      '2018-01-23 03:05:52 FINE Test started.
      ''2018-01-23 03:05:53 FINE Listening for multicast packets at 224.0.23.178:7095
      ''2018-01-23 03:05:53 FINE Expecting NOT to receive any packets with jdp.name=cf71b357-eb63-44b7-915a-babb76517773
      ''2018-01-23 03:05:53 FINE Pause in between packets is: 1 seconds.
      ''2018-01-23 03:05:53 FINE Timeout set to 10 seconds.
      ''2018-01-23 03:05:58 FINE Ignoring JDP packet sent by other VM, jdp.name=476c3449-f450-42a2-bc43-890301945f50
      ''2018-01-23 03:05:59 FINE Ignoring JDP packet sent by other VM, jdp.name=476c3449-f450-42a2-bc43-890301945f50
      ''2018-01-23 03:06:07 FINE Ignoring JDP packet sent by other VM, jdp.name=03942531-ba9f-4e23-96d7-83f2ed5c717a
      ''2018-01-23 03:06:07 SEVERE Shutting down the test.
      ''2018-01-23 03:06:07 SEVERE Shutting down the test.
      'Exception in thread "main" java.lang.Exception: Not enough JDP packets received before timeout!
      at JdpTestCase.shutdown(JdpTestCase.java:175)
      at JdpTestCase.run(JdpTestCase.java:85)
      at JdpOffTestCase.main(JdpOffTestCase.java:81)

       stdout: [];
       stderr: ['2018-01-23 03:05:52 FINE Test started.
      ''2018-01-23 03:05:53 FINE Listening for multicast packets at 224.0.23.178:7095
      ''2018-01-23 03:05:53 FINE Expecting NOT to receive any packets with jdp.name=cf71b357-eb63-44b7-915a-babb76517773
      ''2018-01-23 03:05:53 FINE Pause in between packets is: 1 seconds.
      ''2018-01-23 03:05:53 FINE Timeout set to 10 seconds.
      ''2018-01-23 03:05:58 FINE Ignoring JDP packet sent by other VM, jdp.name=476c3449-f450-42a2-bc43-890301945f50
      ''2018-01-23 03:05:59 FINE Ignoring JDP packet sent by other VM, jdp.name=476c3449-f450-42a2-bc43-890301945f50
      ''2018-01-23 03:06:07 FINE Ignoring JDP packet sent by other VM, jdp.name=03942531-ba9f-4e23-96d7-83f2ed5c717a
      ''2018-01-23 03:06:07 SEVERE Shutting down the test.
      ''2018-01-23 03:06:07 SEVERE Shutting down the test.
      'Exception in thread "main" java.lang.Exception: Not enough JDP packets received before timeout!
      at JdpTestCase.shutdown(JdpTestCase.java:175)
      at JdpTestCase.run(JdpTestCase.java:85)
      at JdpOffTestCase.main(JdpOffTestCase.java:81)
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0]

      at jdk.testlibrary.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:371)
      at DynamicLauncher.run(DynamicLauncher.java:61)
      at JdpOffTest.main(JdpOffTest.java:48)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:844)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Expected to get exit value of [0]

            hb Harsha Wardhana B (Inactive)
            lmesnik Leonid Mesnik
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: