eclipse-openj9 / openj9

Eclipse OpenJ9: A Java Virtual Machine for OpenJDK that's optimized for small footprint, fast start-up, and high throughput. Builds on Eclipse OMR (https://github.com/eclipse/omr) and combines with the Extensions for OpenJDK for OpenJ9 repo.
Other
3.29k stars 722 forks source link

IllegalStateException: Flight Recorder is not supported on this VM #20166

Open pshipton opened 2 months ago

pshipton commented 2 months ago

https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.openjdk_x86-64_linux_Nightly_testList_0/208 https://openj9-jenkins.osuosl.org/job/Test_openjdk21_j9_sanity.openjdk_x86-64_linux_Nightly_testList_1/208 https://openj9-jenkins.osuosl.org/job/Test_openjdk23_j9_sanity.openjdk_x86-64_linux_Nightly_testList_0/52 https://openj9-jenkins.osuosl.org/job/Test_openjdk23_j9_sanity.openjdk_x86-64_linux_Nightly_testList_1/52

java/lang/Thread/virtual/JfrEvents.java java/lang/Thread/ThreadSleepEvent.java

20:11:23  java.lang.IllegalStateException: Flight Recorder is not supported on this VM
20:11:23    at jdk.jfr/jdk.jfr.internal.JVMSupport.ensureWithIllegalStateException(JVMSupport.java:77)
20:11:23    at jdk.jfr/jdk.jfr.FlightRecorder.getFlightRecorder(FlightRecorder.java:168)
20:11:23    at jdk.jfr/jdk.jfr.Recording.<init>(Recording.java:107)
20:11:23    at jdk.jfr/jdk.jfr.Recording.<init>(Recording.java:131)
20:11:23    at JfrEvents.testVirtualThreadSubmitFailed(JfrEvents.java:198)
pshipton commented 2 months ago

@tajila

tajila commented 2 months ago

@thallium Can you please open excludes for these tests

thallium commented 2 months ago

Opened PR https://github.com/adoptium/aqa-tests/pull/5608

pshipton commented 1 month ago

The tests are failing in jdk23 0.48 testing. Created https://github.com/adoptium/aqa-tests/pull/5704 against v1.0.4 for the 0.48 release.