-
Bug
-
Resolution: Unresolved
-
P4
-
11, 15, 17, 18, 24
-
generic
The following 3 sun/management/jdp tests are failing JDK15 CI due to network issues with macOS 10.15.
sun/management/jdp/JdpSpecificAddressTest.java
sun/management/jdp/JdpJmxRemoteDynamicPortTest.java
sun/management/jdp/JdpDefaultsTest.java
Here's a snippet from one of the log files:
---------System.err:(56/3547)---------
'2020-03-24 08:28:06 FINE Test started.
''2020-03-24 08:28:06 FINE Listening for multicast packets at 224.0.1.2:1234
''2020-03-24 08:28:06 FINE Waiting for 3 packets with jdp.name=ca5522a9-4ad4-4ea7-8188-2fea8c2fd9ba
''2020-03-24 08:28:06 FINE Pause in between packets is: 1 seconds.
''2020-03-24 08:28:06 FINE Timeout set to 10 seconds.
''2020-03-24 08:28:16 SEVERE Timed out waiting for JDP packet. Should arrive within 1 seconds, but waited for 10 seconds.
''2020-03-24 08:28:16 SEVERE Timed out waiting for JDP packet. Should arrive within 1 seconds, but waited for 10 seconds.
'Exception in thread "main" java.lang.Exception: Timed out waiting for JDP packet. Should arrive within 1 seconds, but waited for 10 seconds.
at JdpOnTestCase.onSocketTimeOut(JdpOnTestCase.java:75)
at JdpTestCase.run(JdpTestCase.java:77)
at JdpOnTestCase.main(JdpOnTestCase.java:105)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.base/java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.base/java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:181)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:912)
at JdpTestCase.run(JdpTestCase.java:74)
... 1 more
stdout: [];
stderr: ['2020-03-24 08:28:06 FINE Test started.
''2020-03-24 08:28:06 FINE Listening for multicast packets at 224.0.1.2:1234
''2020-03-24 08:28:06 FINE Waiting for 3 packets with jdp.name=ca5522a9-4ad4-4ea7-8188-2fea8c2fd9ba
''2020-03-24 08:28:06 FINE Pause in between packets is: 1 seconds.
''2020-03-24 08:28:06 FINE Timeout set to 10 seconds.
''2020-03-24 08:28:16 SEVERE Timed out waiting for JDP packet. Should arrive within 1 seconds, but waited for 10 seconds.
''2020-03-24 08:28:16 SEVERE Timed out waiting for JDP packet. Should arrive within 1 seconds, but waited for 10 seconds.
'Exception in thread "main" java.lang.Exception: Timed out waiting for JDP packet. Should arrive within 1 seconds, but waited for 10 seconds.
at JdpOnTestCase.onSocketTimeOut(JdpOnTestCase.java:75)
at JdpTestCase.run(JdpTestCase.java:77)
at JdpOnTestCase.main(JdpOnTestCase.java:105)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.base/java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.base/java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:181)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:912)
at JdpTestCase.run(JdpTestCase.java:74)
... 1 more
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:455)
at DynamicLauncher.run(DynamicLauncher.java:61)
at JdpSpecificAddressTest.main(JdpSpecificAddressTest.java:47)
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:127)
at java.base/java.lang.Thread.run(Thread.java:832)
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]
---------rerun:(39/6455)*---------
sun/management/jdp/JdpSpecificAddressTest.java
sun/management/jdp/JdpJmxRemoteDynamicPortTest.java
sun/management/jdp/JdpDefaultsTest.java
Here's a snippet from one of the log files:
---------System.err:(56/3547)---------
'2020-03-24 08:28:06 FINE Test started.
''2020-03-24 08:28:06 FINE Listening for multicast packets at 224.0.1.2:1234
''2020-03-24 08:28:06 FINE Waiting for 3 packets with jdp.name=ca5522a9-4ad4-4ea7-8188-2fea8c2fd9ba
''2020-03-24 08:28:06 FINE Pause in between packets is: 1 seconds.
''2020-03-24 08:28:06 FINE Timeout set to 10 seconds.
''2020-03-24 08:28:16 SEVERE Timed out waiting for JDP packet. Should arrive within 1 seconds, but waited for 10 seconds.
''2020-03-24 08:28:16 SEVERE Timed out waiting for JDP packet. Should arrive within 1 seconds, but waited for 10 seconds.
'Exception in thread "main" java.lang.Exception: Timed out waiting for JDP packet. Should arrive within 1 seconds, but waited for 10 seconds.
at JdpOnTestCase.onSocketTimeOut(JdpOnTestCase.java:75)
at JdpTestCase.run(JdpTestCase.java:77)
at JdpOnTestCase.main(JdpOnTestCase.java:105)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.base/java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.base/java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:181)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:912)
at JdpTestCase.run(JdpTestCase.java:74)
... 1 more
stdout: [];
stderr: ['2020-03-24 08:28:06 FINE Test started.
''2020-03-24 08:28:06 FINE Listening for multicast packets at 224.0.1.2:1234
''2020-03-24 08:28:06 FINE Waiting for 3 packets with jdp.name=ca5522a9-4ad4-4ea7-8188-2fea8c2fd9ba
''2020-03-24 08:28:06 FINE Pause in between packets is: 1 seconds.
''2020-03-24 08:28:06 FINE Timeout set to 10 seconds.
''2020-03-24 08:28:16 SEVERE Timed out waiting for JDP packet. Should arrive within 1 seconds, but waited for 10 seconds.
''2020-03-24 08:28:16 SEVERE Timed out waiting for JDP packet. Should arrive within 1 seconds, but waited for 10 seconds.
'Exception in thread "main" java.lang.Exception: Timed out waiting for JDP packet. Should arrive within 1 seconds, but waited for 10 seconds.
at JdpOnTestCase.onSocketTimeOut(JdpOnTestCase.java:75)
at JdpTestCase.run(JdpTestCase.java:77)
at JdpOnTestCase.main(JdpOnTestCase.java:105)
Caused by: java.net.SocketTimeoutException: Receive timed out
at java.base/java.net.PlainDatagramSocketImpl.receive0(Native Method)
at java.base/java.net.AbstractPlainDatagramSocketImpl.receive(AbstractPlainDatagramSocketImpl.java:181)
at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:912)
at JdpTestCase.run(JdpTestCase.java:74)
... 1 more
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:455)
at DynamicLauncher.run(DynamicLauncher.java:61)
at JdpSpecificAddressTest.main(JdpSpecificAddressTest.java:47)
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:127)
at java.base/java.lang.Thread.run(Thread.java:832)
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]
---------rerun:(39/6455)*---------
- relates to
-
JDK-8337473 Remove sun/management/jdp tests from ProblemList on Linux-aarch64, MacOSX
- Resolved
-
JDK-8241530 com/sun/jdi tests fail due to network issues on OSX 10.15
- Resolved
- links to
-
Review(master) openjdk/jdk/22742