-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
24
-
x86_64
-
linux
The following two tests are failing in the JDK24 CI:
serviceability/sa/TestJhsdbJstackLock.java
serviceability/sa/TestJhsdbJstackLock.java
Here's a snippet from the TestJhsdbJstackLock.jtr log file:
stderr: []
exitValue = 0
java.lang.RuntimeException: '^\\s+- waiting on <0x[0-9a-f]+> \\(a java\\.lang\\.Object\\)$' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:371)
at TestJhsdbJstackLock.main(TestJhsdbJstackLock.java:68)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: '^\s+- waiting on <0x[0-9a-f]+> \(a java\.lang\.Object\)$' missing from stdout/stderr
Here's a snippet from the TestJhsdbJstackLock.jtr log file:
exitValue = -1
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: '^\\s+- waiting on <0x[0-9a-f]+> \\(a java\\.lang\\.Object\\)$' missing from stdout/stderr
at TestClhsdbJstackLock.main(TestClhsdbJstackLock.java:69)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
Caused by: java.lang.RuntimeException: '^\\s+- waiting on <0x[0-9a-f]+> \\(a java\\.lang\\.Object\\)$' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:371)
at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:167)
at ClhsdbLauncher.run(ClhsdbLauncher.java:204)
at TestClhsdbJstackLock.main(TestClhsdbJstackLock.java:65)
... 4 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: '^\\s+- waiting on <0x[0-9a-f]+> \\(a java\\.lang\\.Object\\)$' missing from stdout/stderr
These failures first appeared in jdk-24+6-624-tier6 which include the fix for:
JDK-8335743 jhsdb jstack cannot print some information on the waiting thread
which modified both of these tests. So far the test failures have
only happened on linux-x64-debug configs.
serviceability/sa/TestJhsdbJstackLock.java
serviceability/sa/TestJhsdbJstackLock.java
Here's a snippet from the TestJhsdbJstackLock.jtr log file:
stderr: []
exitValue = 0
java.lang.RuntimeException: '^\\s+- waiting on <0x[0-9a-f]+> \\(a java\\.lang\\.Object\\)$' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:371)
at TestJhsdbJstackLock.main(TestJhsdbJstackLock.java:68)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:333)
at java.base/java.lang.Thread.run(Thread.java:1575)
JavaTest Message: Test threw exception: java.lang.RuntimeException
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: '^\s+- waiting on <0x[0-9a-f]+> \(a java\.lang\.Object\)$' missing from stdout/stderr
Here's a snippet from the TestJhsdbJstackLock.jtr log file:
exitValue = -1
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: '^\\s+- waiting on <0x[0-9a-f]+> \\(a java\\.lang\\.Object\\)$' missing from stdout/stderr
at TestClhsdbJstackLock.main(TestClhsdbJstackLock.java:69)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1575)
Caused by: java.lang.RuntimeException: '^\\s+- waiting on <0x[0-9a-f]+> \\(a java\\.lang\\.Object\\)$' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldMatch(OutputAnalyzer.java:371)
at ClhsdbLauncher.runCmd(ClhsdbLauncher.java:167)
at ClhsdbLauncher.run(ClhsdbLauncher.java:204)
at TestClhsdbJstackLock.main(TestClhsdbJstackLock.java:65)
... 4 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: '^\\s+- waiting on <0x[0-9a-f]+> \\(a java\\.lang\\.Object\\)$' missing from stdout/stderr
These failures first appeared in jdk-24+6-624-tier6 which include the fix for:
which modified both of these tests. So far the test failures have
only happened on linux-x64-debug configs.
- duplicates
-
JDK-8336284 Test TestClhsdbJstackLock.java/TestJhsdbJstackLock.java fails with -Xcomp after JDK-8335743
- Resolved
- relates to
-
JDK-8335743 jhsdb jstack cannot print some information on the waiting thread
- Resolved