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 ThreadListStackTracesTest: RuntimeException: JVMTI single thread state is wrong #18812

Closed
babsingh opened this issue Jan 24, 2024 · 4 comments

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/vthread/ThreadListStackTracesTest/ThreadListStackTracesTest.java

16:35:32  STDOUT:
16:35:32  grabbing reentrantLock
16:35:32  State: expected: WAITING single: 5 multi: 5
16:35:32  STDERR:
16:35:32  java.lang.RuntimeException: JVMTI single thread state is wrong
16:35:32  	at ThreadListStackTracesTest.failed(ThreadListStackTracesTest.java:100)
16:35:32  	at ThreadListStackTracesTest.checkStates(ThreadListStackTracesTest.java:146)
16:35:32  	at ThreadListStackTracesTest.checkReentrantLock(ThreadListStackTracesTest.java:118)
16:35:32  	at ThreadListStackTracesTest.main(ThreadListStackTracesTest.java:103)
16:35:32  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
16:35:32  	at java.base/java.lang.reflect.Method.invoke(Method.java:586)
16:35:32  	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
16:35:32  	at java.base/java.lang.Thread.run(Thread.java:1582)
16:35:32  
16:35:32  JavaTest Message: Test threw exception: java.lang.RuntimeException: JVMTI single thread state is wrong
16:35:32  JavaTest Message: shutting down test
16:35:32  
16:35:32  STATUS:Failed.`main' threw exception: java.lang.RuntimeException: JVMTI single thread state is wrong
@babsingh
Copy link
Contributor Author

@danilaDDD
Copy link

Hello. I am a self-taught java developer.I wrote both console programs and Gradle/Maven microservices and libraries.I would like to try myself in real tasks and solve this problem.

@babsingh
Copy link
Contributor Author

@danilaDDD This issue already has a potential fix: see #18812 (comment). For a first contribution, please try to pursue an issue with the label: good first issue.

babsingh added a commit to babsingh/aqa-tests that referenced this issue Feb 12, 2024
@babsingh
Copy link
Contributor Author

babsingh commented Feb 13, 2024

No failures are seen in a 1000x grinder. This failure has been resolved.

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

No branches or pull requests

2 participants