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 java/lang/Thread/virtual/MonitorWaitNotify AssertionFailedError: expected: <true> but was: <false> #20369

Open
pshipton opened this issue Oct 16, 2024 · 3 comments

Comments

@pshipton
Copy link
Member

pshipton commented Oct 16, 2024

https://openj9-jenkins.osuosl.org/job/Test_openjdknext_j9_sanity.openjdk_aarch64_mac_Personal_testList_0/7
jdk_lang_1
java/lang/Thread/virtual/MonitorWaitNotify.java

17:07:03  STARTED    MonitorWaitNotify::testInterruptWait '[1] 0'
17:07:03  Exception in thread "" org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
17:07:03  	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
17:07:03  	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
17:07:03  	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
17:07:03  	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
17:07:03  	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
17:07:03  	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
17:07:03  	at MonitorWaitNotify.lambda$testInterruptWait$0(MonitorWaitNotify.java:314)
17:07:03  	at java.base/java.lang.VirtualThread.run(VirtualThread.java:410)
17:07:03  org.opentest4j.AssertionFailedError: expected: <true> but was: <false>
17:07:03  	at org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
17:07:03  	at org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
17:07:03  	at org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
17:07:03  	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
17:07:03  	at org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:31)
17:07:03  	at org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:183)
17:07:03  	at MonitorWaitNotify.testInterruptWait(MonitorWaitNotify.java:331)
17:07:03  	at java.base/java.lang.reflect.Method.invoke(Method.java:579)
17:07:03  	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:186)
17:07:03  	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
17:07:03  	at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:197)
17:07:03  	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
17:07:03  	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:186)
17:07:03  	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
17:07:03  	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
17:07:03  	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
17:07:03  	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(ForEachOps.java:186)
17:07:03  	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
17:07:03  	at java.base/java.util.Spliterators$ArraySpliterator.forEachRemaining(Spliterators.java:1024)
17:07:03  	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:583)
17:07:03  	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:573)
17:07:03  	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:153)
17:07:03  	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:176)
17:07:03  	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:270)
17:07:03  	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:636)
17:07:03  	at java.base/java.util.stream.ReferencePipeline$7$1FlatMap.accept(ReferencePipeline.java:294)
17:07:03  	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
17:07:03  	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
17:07:03  	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:215)
17:07:03  	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1716)
17:07:03  	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:583)
17:07:03  	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:573)
17:07:03  	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:153)
17:07:03  	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:176)
17:07:03  	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:270)
17:07:03  	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:636)
17:07:03  	at java.base/java.util.stream.ReferencePipeline$7$1FlatMap.accept(ReferencePipeline.java:294)
17:07:03  	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1716)
17:07:03  	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:583)
17:07:03  	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:573)
17:07:03  	at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(ForEachOps.java:153)
17:07:03  	at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(ForEachOps.java:176)
17:07:03  	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:270)
17:07:03  	at java.base/java.util.stream.ReferencePipeline.forEach(ReferencePipeline.java:636)
17:07:03  	at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
17:07:03  	at java.base/java.util.ArrayList.forEach(ArrayList.java:1604)
17:07:03  FAILED     MonitorWaitNotify::testInterruptWait '[1] 0'
Copy link

Issue Number: 20369
Status: Open
Recommended Components: comp:vm, comp:jclextensions, comp:test
Recommended Assignees: pshipton, fengxue-is, babsingh

@pshipton
Copy link
Member Author

Excluding the tests via adoptium/aqa-tests#5889

java/lang/Thread/virtual/MonitorWaitNotify.java#default
java/lang/Thread/virtual/MonitorWaitNotify.java#LM_LEGACY
java/lang/Thread/virtual/MonitorWaitNotify.java#LM_LIGHTWEIGHT
java/lang/Thread/virtual/MonitorWaitNotify.java#Xcomp-LM_LEGACY
java/lang/Thread/virtual/MonitorWaitNotify.java#Xcomp-LM_LIGHTWEIGHT
java/lang/Thread/virtual/MonitorWaitNotify.java#Xcomp-noTieredCompilation-LM_LEGACY
java/lang/Thread/virtual/MonitorWaitNotify.java#Xcomp-noTieredCompilation-LM_LIGHTWEIGHT
java/lang/Thread/virtual/MonitorWaitNotify.java#Xcomp-TieredStopAtLevel1-LM_LEGACY
java/lang/Thread/virtual/MonitorWaitNotify.java#Xcomp-TieredStopAtLevel1-LM_LIGHTWEIGHT
java/lang/Thread/virtual/MonitorWaitNotify.java#Xint-LM_LEGACY
java/lang/Thread/virtual/MonitorWaitNotify.java#Xint-LM_LIGHTWEIGHT

@babsingh
Copy link
Contributor

@fengxue-IS Assigning it to you since it is related to Virtual Threads Pinning work.

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

3 participants