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

JDK24 serviceability_jvmti_j9_1_FAILED serviceability/jvmti/vthread/VThreadEventTest/VThreadEventTest.java FAILED: event count is wrong #19191

Open
JasonFengJ9 opened this issue Mar 19, 2024 · 4 comments

Comments

@JasonFengJ9
Copy link
Member

JasonFengJ9 commented Mar 19, 2024

Failure link

From an internal build(rhel9-aarch64-2):

openjdk version "22-beta" 2024-03-19
IBM Semeru Runtime Open Edition 22+36-202403161604 (build 22-beta+36-202403161604)
Eclipse OpenJ9 VM 22+36-202403161604 (build master-6b03a382a, JRE 22 Linux aarch64-64-Bit Compressed References 20240316_22 (JIT enabled, AOT enabled)
OpenJ9   - 6b03a382a
OMR      - 1bf2ef421
JCL      - 86491e07d based on jdk-22+36)

Rerun in Grinder - Change TARGET to run only the failed test targets.

Optional info

Failure output (captured from console output)

[2024-03-17T01:00:41.805Z] variation: Mode650
[2024-03-17T01:00:41.805Z] JVM_OPTIONS:  -XX:-UseCompressedOops -Xverbosegclog 

[2024-03-17T01:05:58.192Z] TEST: serviceability/jvmti/vthread/VThreadEventTest/VThreadEventTest.java

[2024-03-17T01:05:58.193Z] Agent_OnAttach started
[2024-03-17T01:05:58.193Z] vthread events enabled
[2024-03-17T01:05:58.193Z] ThreadEnd cnt: 18 (expected: 18)
[2024-03-17T01:05:58.193Z] ThreadMount cnt: 14 (expected: 14)
[2024-03-17T01:05:58.193Z] ThreadUnmount cnt: 21 (expected: 22)
[2024-03-17T01:05:58.193Z] FAILED: unexpected count of ThreadUnmount events
[2024-03-17T01:05:58.193Z] STDERR:
[2024-03-17T01:05:58.193Z] java.lang.RuntimeException: FAILED: event count is wrong
[2024-03-17T01:05:58.193Z] 	at VThreadEventTest.main(VThreadEventTest.java:210)
[2024-03-17T01:05:58.193Z] 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[2024-03-17T01:05:58.193Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:586)
[2024-03-17T01:05:58.193Z] 	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2024-03-17T01:05:58.193Z] 	at java.base/java.lang.Thread.run(Thread.java:1582)
[2024-03-17T01:05:58.193Z] 
[2024-03-17T01:05:58.193Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: FAILED: event count is wrong

[2024-03-17T01:05:58.193Z] TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: FAILED: event count is wrong
[2024-03-17T01:05:58.193Z] --------------------------------------------------
[2024-03-17T01:06:00.448Z] Test results: passed: 158; failed: 1
[2024-03-17T01:06:17.612Z] Report written to /home/jenkins/workspace/Test_openjdk22_j9_extended.openjdk_aarch64_linux_rerun/jvmtest/openjdk/report/html/report.html
[2024-03-17T01:06:17.612Z] Results written to /home/jenkins/workspace/Test_openjdk22_j9_extended.openjdk_aarch64_linux_rerun/aqa-tests/TKG/output_17106372406082/serviceability_jvmti_j9_1/work
[2024-03-17T01:06:17.612Z] Error: Some tests failed or other problems occurred.
[2024-03-17T01:06:17.612Z] -----------------------------------
[2024-03-17T01:06:17.612Z] serviceability_jvmti_j9_1_FAILED

50x internal grinder - #19191 (comment)

@pshipton
Copy link
Member

Grinder passed on rhel9-aarch64-2, rhel9-aarch64-5.

2 failures on ubu22-aarch64-5
serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java#default
serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java#no-vmcontinuations

4 failures on ubu22-aarch64-2
serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java#default
serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java#default
serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java#default
serviceability/jvmti/vthread/SuspendResume2/SuspendResume2.java#no-vmcontinuations

1 failures on sles15-aarch64-4
serviceability/jvmti/vthread/SuspendResumeAll/SuspendResumeAll.java#no-vmcontinuations

Since this failure is not reproduced, removing from the milestone plan.

@pshipton pshipton removed this from the Java 22 (0.45) milestone Mar 20, 2024
@JasonFengJ9
Copy link
Member Author

JDK22 x86-64_linux(rhel9x86-rtp-rt5-1)

[2024-04-26T01:23:55.334Z] variation: Mode650
[2024-04-26T01:23:55.334Z] JVM_OPTIONS:  -XX:-UseCompressedOops -Xverbosegclog 

[2024-04-26T01:28:13.136Z] TEST: serviceability/jvmti/vthread/VThreadEventTest/VThreadEventTest.java

[2024-04-26T01:28:13.136Z] Agent_OnAttach started
[2024-04-26T01:28:13.136Z] vthread events enabled
[2024-04-26T01:28:13.136Z] ThreadEnd cnt: 18 (expected: 18)
[2024-04-26T01:28:13.136Z] ThreadMount cnt: 14 (expected: 14)
[2024-04-26T01:28:13.136Z] ThreadUnmount cnt: 21 (expected: 22)
[2024-04-26T01:28:13.136Z] FAILED: unexpected count of ThreadUnmount events
[2024-04-26T01:28:13.136Z] STDERR:
[2024-04-26T01:28:13.136Z] java.lang.RuntimeException: FAILED: event count is wrong
[2024-04-26T01:28:13.136Z] 	at VThreadEventTest.main(VThreadEventTest.java:210)
[2024-04-26T01:28:13.136Z] 	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
[2024-04-26T01:28:13.136Z] 	at java.base/java.lang.reflect.Method.invoke(Method.java:586)
[2024-04-26T01:28:13.136Z] 	at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
[2024-04-26T01:28:13.136Z] 	at java.base/java.lang.Thread.run(Thread.java:1582)
[2024-04-26T01:28:13.136Z] 
[2024-04-26T01:28:13.136Z] JavaTest Message: Test threw exception: java.lang.RuntimeException: FAILED: event count is wrong

[2024-04-26T01:28:13.137Z] --------------------------------------------------
[2024-04-26T01:28:15.166Z] Test results: passed: 158; failed: 1
[2024-04-26T01:28:28.345Z] Report written to /home/jenkins/workspace/Test_openjdk22_j9_extended.openjdk_x86-64_linux_testList_1/jvmtest/openjdk/report/html/report.html
[2024-04-26T01:28:28.345Z] Results written to /home/jenkins/workspace/Test_openjdk22_j9_extended.openjdk_x86-64_linux_testList_1/aqa-tests/TKG/output_17140946335637/serviceability_jvmti_j9_1/work
[2024-04-26T01:28:28.345Z] Error: Some tests failed or other problems occurred.
[2024-04-26T01:28:30.134Z] -----------------------------------
[2024-04-26T01:28:30.134Z] serviceability_jvmti_j9_1_FAILED

@JasonFengJ9
Copy link
Member Author

openjdknext_j9_extended.openjdk_aarch64_linux

22:46:48  TEST: serviceability/jvmti/vthread/VThreadEventTest/VThreadEventTest.java

22:46:48  FAILED: unexpected count of VirtualThreadUnmount events
22:46:48  STDERR:
22:46:48  java.lang.RuntimeException: FAILED: event count is wrong
22:46:48  	at VThreadEventTest.main(VThreadEventTest.java:148)

@JasonFengJ9 JasonFengJ9 changed the title JDK22 serviceability_jvmti_j9_1_FAILED serviceability/jvmti/vthread/VThreadEventTest/VThreadEventTest.java FAILED: event count is wrong JDK24 serviceability_jvmti_j9_1_FAILED serviceability/jvmti/vthread/VThreadEventTest/VThreadEventTest.java FAILED: event count is wrong Nov 28, 2024
@JasonFengJ9 JasonFengJ9 added this to the Java 24 (0.50) milestone Nov 28, 2024
@babsingh
Copy link
Contributor

babsingh commented Jan 21, 2025

@fengxue-IS Assigning it to you since it is related to Virtual Threads. I will take a first look at it; will pass it to you if it is related to the new pinning work.

@babsingh babsingh assigned babsingh and unassigned fengxue-IS Jan 21, 2025
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

4 participants