-
Bug
-
Resolution: Fixed
-
P3
-
9
-
b96
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8327051 | 8u421 | Abhishek N | P3 | Resolved | Fixed | b01 |
java/util/concurrent/Phaser/Basic.java
Observed this test starts failing intermittently on different platforms recently (afterJDK-8134853).
Here's one failure log from windows-amd64:
----------System.out:(3/30)----------
Passed = 573, failed = 4
----------System.err:(54/2937)----------
java.lang.InterruptedException
at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:794)
at Basic.toTheStartingGate(Basic.java:99)
at Basic.access$000(Basic.java:49)
at Basic$3.run(Basic.java:166)
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Thread.java:1252)
at java.lang.Thread.join(Thread.java:1326)
at Basic.realMain(Basic.java:259)
at Basic.main(Basic.java:406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:747)
java.lang.InterruptedException
at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:794)
at Basic.toTheStartingGate(Basic.java:99)
at Basic.realMain(Basic.java:280)
at Basic.main(Basic.java:406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:747)
java.lang.Error: java.lang.InterruptedException
at Basic.toTheStartingGate(Basic.java:107)
at Basic.realMain(Basic.java:280)
at Basic.main(Basic.java:406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:747)
Caused by: java.lang.InterruptedException
at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:794)
at Basic.toTheStartingGate(Basic.java:99)
... 8 more
java.lang.AssertionError: Some tests failed
at Basic.main(Basic.java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:747)
JavaTest Message: Test threw exception: java.lang.AssertionError
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
Observed this test starts failing intermittently on different platforms recently (after
Here's one failure log from windows-amd64:
----------System.out:(3/30)----------
Passed = 573, failed = 4
----------System.err:(54/2937)----------
java.lang.InterruptedException
at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:794)
at Basic.toTheStartingGate(Basic.java:99)
at Basic.access$000(Basic.java:49)
at Basic$3.run(Basic.java:166)
java.lang.InterruptedException
at java.lang.Object.wait(Native Method)
at java.lang.Thread.join(Thread.java:1252)
at java.lang.Thread.join(Thread.java:1326)
at Basic.realMain(Basic.java:259)
at Basic.main(Basic.java:406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:747)
java.lang.InterruptedException
at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:794)
at Basic.toTheStartingGate(Basic.java:99)
at Basic.realMain(Basic.java:280)
at Basic.main(Basic.java:406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:747)
java.lang.Error: java.lang.InterruptedException
at Basic.toTheStartingGate(Basic.java:107)
at Basic.realMain(Basic.java:280)
at Basic.main(Basic.java:406)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:747)
Caused by: java.lang.InterruptedException
at java.util.concurrent.Phaser.awaitAdvanceInterruptibly(Phaser.java:794)
at Basic.toTheStartingGate(Basic.java:99)
... 8 more
java.lang.AssertionError: Some tests failed
at Basic.main(Basic.java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:520)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:747)
JavaTest Message: Test threw exception: java.lang.AssertionError
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.AssertionError: Some tests failed
- backported by
-
JDK-8327051 java/util/concurrent/Phaser/Basic.java starts failing intermittently
- Resolved
- relates to
-
JDK-8142370 Move java/util/concurrent/Phaser/Basic.java to tier 2
- Closed