Open JasonFengJ9 opened 1 year ago
@JasonFengJ9 for the serviceability test failures, can you check if they fail pre JDK19?
@tajila This test serviceability/jvmti/VMObjectAlloc/VMObjectAllocTest.java
is available since JDK18
. Its extension repo hasn't been setup to run serviceability_jvmti_j9
yet, am going to try it maunally.
Test JDK18 0.33 w/ Adoptium testimage
"/Users/ivm/ive/semeru/jdk-18.0.2+9/Contents/Home/bin/java" -version
openjdk version "18.0.2" 2022-07-19
IBM Semeru Runtime Open Edition 18.0.2.0 (build 18.0.2+9)
Eclipse OpenJ9 VM 18.0.2.0 (build openj9-0.33.0, JRE 18 Mac OS X amd64-64-Bit Compressed References 20220804_38 (JIT enabled, AOT enabled)
OpenJ9 - 04a55b45b
OMR - b58aa2708
JCL - dff9c97e1c7 based on jdk-18.0.2+9)
===============================================
Running test serviceability_jvmti_j9_0 ...
===============================================
serviceability_jvmti_j9_0 Start Time: Wed Oct 5 16:15:25 2022 Epoch Time (ms): 1665000925000
"/Users/ivm/ive/semeru/jdk-18.0.2+9/Contents/Home/bin/java" -Xshareclasses:destroyAll; "/Users/ivm/ive/semeru/jdk-18.0.2+9/Contents/Home/bin/java" -Xshareclasses:groupAccess,destroyAll; echo "cache cleanup done";
Attempting to destroy all caches in cacheDir /Users/jasonfeng/javasharedresources/
JVMSHRC806I Compressed references persistent shared cache "sharedcc_jasonfeng" has been destroyed. Use option -Xnocompressedrefs if you want to destroy a non-compressed references cache.
JVMSHRC005I No shared class caches available
cache cleanup done
variation: Mode150
JVM_OPTIONS: -XX:+UseCompressedOops
TEST: serviceability/jvmti/VMObjectAlloc/VMObjectAllocTest.java
STDERR:
java.lang.Exception: Number of allocation != 1
at VMObjectAllocTest.main(VMObjectAllocTest.java:50)
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:125)
at java.base/java.lang.Thread.run(Thread.java:858)
JavaTest Message: Test threw exception: java.lang.Exception: Number of allocation != 1
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: Number of allocation != 1
TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Exception: Number of allocation != 1
--------------------------------------------------
Test results: failed: 1
Report written to /Users/ivm/semeru-tests/jdk18-1004/jvmtest/openjdk/report/html/report.html
Results written to /Users/ivm/semeru-tests/jdk18-1004/aqa-tests/TKG/output_16650009243567/serviceability_jvmti_j9_0/work
Error: Some tests failed or other problems occurred.
serviceability_jvmti_j9_0_FAILED
This is not a regression introduced by JDK19.
@JasonFengJ9 Thanks, Can you take a look at the other xerviceability test failures as well. I'd like to separate them from the jdk19 issues
Sure, will look into them.
Failure link
From an internal build(
rhel9x86-rt2-1
):Rerun in Grinder - Change TARGET to run only the failed test targets.
Optional info
Failure output (captured from console output)