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 Jep425Tests_testVirtualThread_1_FAILED AssertionError: JVMTI_VTHREAD_STATE_YIELDING (7) does not match VirtualThread.YIELDING (10) #18306

Closed
JasonFengJ9 opened this issue Oct 19, 2023 · 1 comment

Comments

@JasonFengJ9
Copy link
Member

Failure link

From an internal build(sles15x86-rtp-rt1-1):

23:52:23  openjdk version "22-internal" 2024-03-19
23:52:23  OpenJDK Runtime Environment (build 22-internal-adhoc.jenkins.BuildJDKnextx86-64linuxPersonal)
23:52:23  Eclipse OpenJ9 VM (build jdk22accessV2-44fd90e7507, JRE 22 Linux amd64-64-Bit Compressed References 20231018_1321 (JIT enabled, AOT enabled)
23:52:23  OpenJ9   - 44fd90e7507
23:52:23  OMR      - 03f6b9097ec
23:52:23  JCL      - 26ba2be3e7f based on jdk-22+19)

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

Optional info

Failure output (captured from console output)

variation: --enable-preview -Xgcpolicy:gencon
JVM_OPTIONS:  --enable-preview -Xgcpolicy:gencon 

FAILED: test_verifyJVMTIMacros
java.lang.AssertionError: JVMTI_VTHREAD_STATE_YIELDING (7) does not match VirtualThread.YIELDING (10)
	at org.testng.Assert.fail(Assert.java:96)
	at org.openj9.test.jep425.VirtualThreadTests.test_verifyJVMTIMacros(VirtualThreadTests.java:321)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
	at java.base/java.lang.reflect.Method.invoke(Method.java:580)
	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:124)
	at org.testng.internal.Invoker.invokeMethod(Invoker.java:580)
	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:716)
	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:988)
	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:109)
	at org.testng.TestRunner.privateRun(TestRunner.java:648)
	at org.testng.TestRunner.run(TestRunner.java:505)
	at org.testng.SuiteRunner.runTest(SuiteRunner.java:455)
	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:450)
	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:415)
	at org.testng.SuiteRunner.run(SuiteRunner.java:364)
	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:84)
	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1208)
	at org.testng.TestNG.runSuitesLocally(TestNG.java:1137)
	at org.testng.TestNG.runSuites(TestNG.java:1049)
	at org.testng.TestNG.run(TestNG.java:1017)
	at org.testng.TestNG.privateMain(TestNG.java:1354)
	at org.testng.TestNG.main(TestNG.java:1323)


===============================================
    Jep425Tests_testVirtualThread
    Tests run: 7, Failures: 1, Skips: 0
===============================================


===============================================
Java21+ test suite
Total tests run: 7, Failures: 1, Skips: 0
===============================================

-----------------------------------
Jep425Tests_testVirtualThread_1_FAILED
@pshipton
Copy link
Member

pshipton commented Jan 5, 2024

Closing in favor of the more recent #18693

@pshipton pshipton closed this as completed Jan 5, 2024
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