Details
-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
20
-
x86_64
-
os_x_10.15
Description
The following test failed in the JDK20 CI:
jdk/jfr/event/runtime/TestJavaMonitorWaitTimeOut.java
Here's a snippet from the log file:
#section:main
----------messages:(5/298)----------
command: main jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut
reason: User specified action: run main/othervm jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jfr,java.management
elapsed time (seconds): 1.541
----------configuration:(3/51)----------
Boot Layer
add modules: jdk.jfr java.management
----------System.out:(36/932)----------
jdk.JavaMonitorWait {
startTime = 07:48:44.440 (2022-07-13)
duration = 11.9 ms
monitorClass = jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut$Lock (classLoader = app)
notifier = N/A
timeout = 10.0 ms
timedOut = true
address = 0x7FC1D0F167A0
eventThread = "MainThread" (javaThreadId = 22)
}
jdk.JavaMonitorWait {
startTime = 07:48:44.454 (2022-07-13)
duration = 0.0245 ms
monitorClass = jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut$Lock (classLoader = app)
notifier = N/A
timeout = 16 m 40 s
timedOut = false
address = 0x7FC1D0F167A0
eventThread = "MainThread" (javaThreadId = 22)
}
jdk.JavaMonitorWait {
startTime = 07:48:44.455 (2022-07-13)
duration = 12.6 ms
monitorClass = jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut$Lock (classLoader = app)
notifier = N/A
timeout = 11.0 ms
timedOut = true
address = 0x7FC1D0F167A0
eventThread = "MainThread" (javaThreadId = 22)
}
----------System.err:(14/958)----------
java.lang.RuntimeException: Invalid thread: expected null to equal Notifier
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
at jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut.assertTimeOutEvent(TestJavaMonitorWaitTimeOut.java:117)
at jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut.main(TestJavaMonitorWaitTimeOut.java:97)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Invalid thread: expected null to equal Notifier
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Invalid thread: expected null to equal Notifier
----------rerun:(36/6885)*----------
jdk/jfr/event/runtime/TestJavaMonitorWaitTimeOut.java
Here's a snippet from the log file:
#section:main
----------messages:(5/298)----------
command: main jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut
reason: User specified action: run main/othervm jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut
Mode: othervm [/othervm specified]
Additional options from @modules: --add-modules jdk.jfr,java.management
elapsed time (seconds): 1.541
----------configuration:(3/51)----------
Boot Layer
add modules: jdk.jfr java.management
----------System.out:(36/932)----------
jdk.JavaMonitorWait {
startTime = 07:48:44.440 (2022-07-13)
duration = 11.9 ms
monitorClass = jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut$Lock (classLoader = app)
notifier = N/A
timeout = 10.0 ms
timedOut = true
address = 0x7FC1D0F167A0
eventThread = "MainThread" (javaThreadId = 22)
}
jdk.JavaMonitorWait {
startTime = 07:48:44.454 (2022-07-13)
duration = 0.0245 ms
monitorClass = jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut$Lock (classLoader = app)
notifier = N/A
timeout = 16 m 40 s
timedOut = false
address = 0x7FC1D0F167A0
eventThread = "MainThread" (javaThreadId = 22)
}
jdk.JavaMonitorWait {
startTime = 07:48:44.455 (2022-07-13)
duration = 12.6 ms
monitorClass = jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut$Lock (classLoader = app)
notifier = N/A
timeout = 11.0 ms
timedOut = true
address = 0x7FC1D0F167A0
eventThread = "MainThread" (javaThreadId = 22)
}
----------System.err:(14/958)----------
java.lang.RuntimeException: Invalid thread: expected null to equal Notifier
at jdk.test.lib.Asserts.fail(Asserts.java:594)
at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
at jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut.assertTimeOutEvent(TestJavaMonitorWaitTimeOut.java:117)
at jdk.jfr.event.runtime.TestJavaMonitorWaitTimeOut.main(TestJavaMonitorWaitTimeOut.java:97)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
JavaTest Message: Test threw exception: java.lang.RuntimeException: Invalid thread: expected null to equal Notifier
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Invalid thread: expected null to equal Notifier
----------rerun:(36/6885)*----------