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

jdk22 serviceability jvmti GetStackTraceAndRetransformTest: UnsatisfiedLinkError WhiteBox #18809

Closed
babsingh opened this issue Jan 24, 2024 · 3 comments
Labels
comp:jvmti jdk22 perm excluded The test is unsuitable and permanently excluded. test failure

Comments

@babsingh
Copy link
Contributor

https://openj9-jenkins.osuosl.org/job/Test_openjdk22_j9_extended.openjdk_aarch64_linux_Personal/1
serviceability_jvmti_j9_0
serviceability_jvmti_j9_1
serviceability/jvmti/thread/GetStackTrace/GetStackTraceAndRetransformTest/GetStackTraceAndRetransformTest.java

16:30:07  STDERR:
16:30:07  java.lang.UnsatisfiedLinkError: jdk/test/whitebox/WhiteBox.registerNatives()V
16:30:07  	at jdk.test.whitebox.WhiteBox.<clinit>(WhiteBox.java:67)
16:30:07  	at GetStackTraceAndRetransformTest.main(GetStackTraceAndRetransformTest.java:76)
16:30:07  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
16:30:07  	at java.base/java.lang.reflect.Method.invoke(Method.java:586)
16:30:07  	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
16:30:07  	at java.base/java.lang.Thread.run(Thread.java:1582)
16:30:07  
16:30:07  JavaTest Message: Test threw exception: java.lang.UnsatisfiedLinkError: jdk/test/whitebox/WhiteBox.registerNatives()V
16:30:07  JavaTest Message: shutting down test
16:30:07  
16:30:07  STATUS:Failed.`main' threw exception: java.lang.UnsatisfiedLinkError: jdk/test/whitebox/WhiteBox.registerNatives()V
@babsingh
Copy link
Contributor Author

This test should be permanently excluded since OpenJ9 does not support the WhiteBox API.

@babsingh babsingh added this to the Java 22 milestone Jan 24, 2024
babsingh added a commit to babsingh/aqa-tests that referenced this issue Feb 5, 2024
For OpenJ9 JDK22+, the following tests are disabled:
- VThreadInHeapDump relies upon -Xlog:heapdump which is unsupported in
OpenJ9.
- GetStackTraceAndRetransformTest utilizes the WhiteBox API, which is
also unsupported in OpenJ9.

Closes: eclipse-openj9/openj9#18807
Closes: eclipse-openj9/openj9#18809

Signed-off-by: Babneet Singh <[email protected]>
babsingh added a commit to babsingh/aqa-tests that referenced this issue Feb 5, 2024
For OpenJ9 JDK22+, the following tests are disabled:
- VThreadInHeapDump relies upon -Xlog:heapdump which is unsupported in
OpenJ9.
- GetStackTraceAndRetransformTest utilizes the WhiteBox API, which is
also unsupported in OpenJ9.

Closes: eclipse-openj9/openj9#18809
Closes: eclipse-openj9/openj9#18811

Signed-off-by: Babneet Singh <[email protected]>
@babsingh
Copy link
Contributor Author

babsingh commented Feb 5, 2024

Opened adoptium/aqa-tests#5037 to permanently disable GetStackTraceAndRetransformTest. This issue will be closed once adoptium/aqa-tests#5037 is merged.

@babsingh babsingh added perm excluded The test is unsuitable and permanently excluded. and removed test excluded labels Feb 5, 2024
@babsingh
Copy link
Contributor Author

babsingh commented Feb 5, 2024

Closing. Existing excludes are sufficient. adoptium/aqa-tests#5037 is no longer needed since test automation will scan the issues for the "perm excluded" label to prevent re-enabling permanently disabled tests.

@babsingh babsingh closed this as completed Feb 5, 2024
babsingh added a commit to babsingh/aqa-tests that referenced this issue Feb 14, 2024
GetStackTraceAndRetransformTest is being excluded for JDK21.

It has already been excluded for JDK22+ since OpenJ9 does not
support the WhiteBox API.

Related: eclipse-openj9/openj9#18809

Signed-off-by: Babneet Singh <[email protected]>
babsingh added a commit to babsingh/aqa-tests that referenced this issue Feb 14, 2024
GetStackTraceAndRetransformTest is being excluded for JDK21.

It has already been excluded for JDK22+ since OpenJ9 does not
support the WhiteBox API.

Related: eclipse-openj9/openj9#18809

Signed-off-by: Babneet Singh <[email protected]>
JasonFengJ9 pushed a commit to adoptium/aqa-tests that referenced this issue Feb 14, 2024
GetStackTraceAndRetransformTest is being excluded for JDK21.

It has already been excluded for JDK22+ since OpenJ9 does not
support the WhiteBox API.

Related: eclipse-openj9/openj9#18809

Signed-off-by: Babneet Singh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:jvmti jdk22 perm excluded The test is unsuitable and permanently excluded. test failure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants