The test runtime/CommandLine/PrintClasses.java#id0 fails with the arguments -Xshare:off -showversion. It seems that the jcmd failed to yield results, which is why the expected text is not present in the output. So far only on Linux AArch64. No hs_err or other artefact is produced.
----------System.out:(3/228)----------
[2026-01-27T04:51:30.115353723Z] Gathering output for process 418888
[2026-01-27T04:51:41.151800308Z] Waiting for completion for process 418888
[2026-01-27T04:51:41.152057829Z] Waiting for completion finished for process 418888
----------System.err:(26/1562)----------
java version "26-ea" 2026-03-17
Java(TM) SE Runtime Environment (fastdebug build 26-ea+33-2876)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 26-ea+33-2876, mixed mode)
stdout: [418860:
];
stderr: [com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file /proc/418860/root/tmp/.java_pid418860: target process 418860 doesn't respond within 10500ms or HotSpot VM not loaded
at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:115)
at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:56)
at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:201)
at jdk.jcmd/sun.tools.jcmd.JCmd.executeCommandForPid(JCmd.java:113)
at jdk.jcmd/sun.tools.jcmd.JCmd.main(JCmd.java:97)
]
exitValue = 1
java.lang.RuntimeException: 'PrintClasses' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:253)
at PrintClasses.main(PrintClasses.java:53)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1516)
JavaTest Message: Test threw exception: java.lang.RuntimeException: 'PrintClasses' missing from stdout/stderr
JavaTest Message: shutting down test
----------System.out:(3/228)----------
[2026-01-27T04:51:30.115353723Z] Gathering output for process 418888
[2026-01-27T04:51:41.151800308Z] Waiting for completion for process 418888
[2026-01-27T04:51:41.152057829Z] Waiting for completion finished for process 418888
----------System.err:(26/1562)----------
java version "26-ea" 2026-03-17
Java(TM) SE Runtime Environment (fastdebug build 26-ea+33-2876)
Java HotSpot(TM) 64-Bit Server VM (fastdebug build 26-ea+33-2876, mixed mode)
stdout: [418860:
];
stderr: [com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file /proc/418860/root/tmp/.java_pid418860: target process 418860 doesn't respond within 10500ms or HotSpot VM not loaded
at jdk.attach/sun.tools.attach.VirtualMachineImpl.<init>(VirtualMachineImpl.java:115)
at jdk.attach/sun.tools.attach.AttachProviderImpl.attachVirtualMachine(AttachProviderImpl.java:56)
at jdk.attach/com.sun.tools.attach.VirtualMachine.attach(VirtualMachine.java:201)
at jdk.jcmd/sun.tools.jcmd.JCmd.executeCommandForPid(JCmd.java:113)
at jdk.jcmd/sun.tools.jcmd.JCmd.main(JCmd.java:97)
]
exitValue = 1
java.lang.RuntimeException: 'PrintClasses' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:253)
at PrintClasses.main(PrintClasses.java:53)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:565)
at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
at java.base/java.lang.Thread.run(Thread.java:1516)
JavaTest Message: Test threw exception: java.lang.RuntimeException: 'PrintClasses' missing from stdout/stderr
JavaTest Message: shutting down test
- relates to
-
JDK-8323997 misc tests fail with AttachNotSupportedException: Unable to open socket file
-
- Open
-