The following test failed in the JDK21 CI:
java/util/concurrent/SynchronousQueue/Fairness.java
Here's a snippet from the log file:
#section:main
----------messages:(7/228)----------
command: main Fairness
reason: Assumed action based on file name: run main Fairness
started: Thu Jan 19 09:45:55 UTC 2023
Mode: agentvm
Agent id: 115
finished: Thu Jan 19 09:46:46 UTC 2023
elapsed time (seconds): 51.005
----------configuration:(12/1167)*----------
<snip>
----------System.err:(12/544)----------
java.lang.Error: fair=true i=0 j=1
at Fairness.testFairness(Fairness.java:64)
at Fairness.main(Fairness.java:73)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:312)
at java.base/java.lang.Thread.run(Thread.java:1623)
JavaTest Message: Test threw exception: java.lang.Error
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.Error: fair=true i=0 j=1