Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functional:jfr tests failing with ClassNotFound Exception with JDK21 on z/OS #6007

Open
psoujany opened this issue Mar 6, 2025 · 1 comment

Comments

@psoujany
Copy link
Contributor

psoujany commented Mar 6, 2025

jfr tests have missing class files in jfr.jar causing ClassNotFound Exception with JDK21 on z/OS.

Error:

TESTING:
[2025-03-05T14:05:59.472Z] *** Starting test suite: JFR Tests ***
[2025-03-05T14:05:59.472Z] Testing: triggerExecutionSample
[2025-03-05T14:05:59.472Z] Test start time: 2025/03/05 14:06:04 Greenwich Mean Time
[2025-03-05T14:05:59.472Z] Running command: "/home/jenkins/workspace/Grinder_CR/jdkbinary/j2sdk-image/bin/java"   -XX:StartFlightRecording --add-exports java.base/com.ibm.oti.vm=ALL-UNNAMED -cp /home/jenkins/workspace/Grinder_CR/aqa-tests/TKG/../../jvmtest/functional/cmdLineTests/jfr/jfr.jar org.openj9.test.TriggerExecutionSample
[2025-03-05T14:05:59.472Z] Time spent starting: 67 milliseconds
[2025-03-05T14:05:59.847Z] Time spent executing: 473 milliseconds
[2025-03-05T14:05:59.847Z] Test result: FAILED
[2025-03-05T14:05:59.847Z] Output from test:
[2025-03-05T14:05:59.847Z]  [ERR] Error: Could not find or load main class org.openj9.test.TriggerExecutionSample
[2025-03-05T14:05:59.847Z]  [ERR] Caused by: java.lang.ClassNotFoundException: org.openj9.test.TriggerExecutionSample
[2025-03-05T14:05:59.847Z] >> Success condition was not found: [Return code: 0]

Java version:
java version "21.0.7-internal" 2025-04-15
IBM Semeru Runtime Certified Edition for z/OS (build 21.0.7-internal-adhoc.JENKINS.BuildJDK21s390xzosNightly)
IBM J9 VM (build ibm_sdk-c8a73a3b193, JRE 21 z/OS s390x-64-Bit Compressed References 20250303_454 (JIT enabled, AOT enabled)
OpenJ9 - c8a73a3b193
OMR - 53be9c931fd
IBM - 8a61f98
JCL - 0a42f509ceb based on jdk-21.0.7+3)

Link : Grinder_CR/32330

@psoujany
Copy link
Contributor Author

psoujany commented Mar 6, 2025

@llxia @mamatha-jv FYI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

1 participant