The following test failed in the JDK19 CI:
sun/tools/jhsdb/HeapDumpTestWithActiveProcess.java
Here's a snippet from the log file:
----------System.out:(27/1221)----------
Starting Jshell
[JShell]:/opt/mach5/mesos/work_dir/jib-master/install/jdk-19+1-4/linux-aarch64-debug.jdk/jdk-19/fastdebug/bin/jshell
[JShell] | Welcome to JShell -- Version 19-ea
[JShell] | For an introduction type: /help intro
Jshell Started in 4209ms
Starting jmap against 3091953
[2021-12-10T16:23:52.769736121Z] Gathering output for process 3093187
Timeout refired 2400 times
[2021-12-10T17:04:38.671267751Z] Waiting for completion for process 3093187
[2021-12-10T17:04:38.671635034Z] Waiting for completion finished for process 3093187
[JShell] | State engine terminated.
Output and diagnostic info for process 3093187 was saved into 'pid-3093187-output.log'
jhsdb jmap stdout:
Attaching to process ID 3091953, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 19-ea+1-4
jhsdb jmap stderr:
###### End of all output:
[2021-12-10T17:04:38.676980592Z] Waiting for completion for process 3093187
[2021-12-10T17:04:38.677348435Z] Waiting for completion finished for process 3093187
[2021-12-10T17:04:38.677431835Z] Waiting for completion for process 3093187
[2021-12-10T17:04:38.677515676Z] Waiting for completion finished for process 3093187
Destroying jshell
Jshell destroyed
----------System.err:(29/1368)----------
stdout: [Attaching to process ID 3091953, please wait...
Debugger attached successfully.
Server compiler detected.
JVM version is 19-ea+1-4
];
stderr: []
exitValue = 134
java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0]
at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:82)
at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:97)
at JShellHeapDumpTest.testHeapDump(JShellHeapDumpTest.java:121)
at JShellHeapDumpTest.main(JShellHeapDumpTest.java:169)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:577)
at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.RuntimeException: Expected to get exit value of [0]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:489)
at JShellHeapDumpTest.launch(JShellHeapDumpTest.java:80)
... 7 more
JavaTest Message: Test threw exception: java.lang.RuntimeException: Test ERROR java.lang.RuntimeException: Expected to get exit value of [0]
JavaTest Message: shutting down test