aqa-tests icon indicating copy to clipboard operation
aqa-tests copied to clipboard

JDK21/riscv64 failure in `serviceability/sa/TestJhsdbJstackMixed.java`

Open sxa opened this issue 5 months ago • 0 comments

This test failed in the automation during the July 2025 release cycle.

I was able to get it to work by copying libNoFramePointer.so from the testimage archive to /usr/java/packages/lib although that is not a location which the jenkins user is able to write to (other locations, also not writable by jenkins, are shows in the error message).

Noting that adding a different location to LD_LIBRARY_PATH does not allow it to pass. Also noting that running under strace will cause a failure:

Caused by: sun.jvm.hotspot.debugger.DebuggerException: Can't attach to the process: ptrace(PTRACE_ATTACH, ..) failed for 307064: Operation not permitted
[...]
java.lang.RuntimeException: 'NoFramePointerJNIFib' missing from stdout/stderr

Reproduce with make _hotspot_custom HOTSPOT_CUSTOM_TARGET=serviceability/sa/TestJhsdbJstackMixed.java once you've run a compilation of tests with BUILD_LIST=openjdk

sxa avatar Jul 18 '25 15:07 sxa