-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
None
-
20
-
x86_64
-
windows
The following test failed in the JDK20 CI:
java/nio/channels/Selector/SelectWithConsumer.java#id1
Here's a snippet from the log file:
#section:testng
----------messages:(4/327)----------
command: testng -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.WindowsSelectorProvider SelectWithConsumer
reason: User specified action: run testng/othervm -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.WindowsSelectorProvider SelectWithConsumer
Mode: othervm [/othervm specified]
elapsed time (seconds): 50.433
----------configuration:(0/0)----------
----------System.out:(66/3995)----------
test SelectWithConsumer.testActionClosingSelector(): success
test SelectWithConsumer.testCancel(): success
test SelectWithConsumer.testCloseDuringSelect(): failure
java.lang.AssertionError: select took 14366 ms schedule took 0 ms expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:99)
at org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng.Assert.assertTrue(Assert.java:45)
at SelectWithConsumer.testCloseDuringSelect(SelectWithConsumer.java:469)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.testng.TestRunner.privateRun(TestRunner.java:764)
at org.testng.TestRunner.run(TestRunner.java:585)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
at org.testng.SuiteRunner.run(SuiteRunner.java:286)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
at org.testng.TestNG.runSuites(TestNG.java:1069)
at org.testng.TestNG.run(TestNG.java:1037)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
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.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
test SelectWithConsumer.testClosedSelector1(): success
test SelectWithConsumer.testClosedSelector2(): success
test SelectWithConsumer.testClosedSelector3(): success
test SelectWithConsumer.testInterruptBeforeSelect(): success
test SelectWithConsumer.testInterruptDuringSelect(): success
test SelectWithConsumer.testLocks(): success
test SelectWithConsumer.testNegativeTimeout(): success
test SelectWithConsumer.testNull1(): success
test SelectWithConsumer.testNull2(): success
test SelectWithConsumer.testNull3(): success
test SelectWithConsumer.testReadable(): success
test SelectWithConsumer.testReadableAndWriteable(): success
test SelectWithConsumer.testReentrantSelect1(): success
test SelectWithConsumer.testReentrantSelect2(): success
test SelectWithConsumer.testReentrantSelect3(): success
test SelectWithConsumer.testRepeatedSelect1(): success
test SelectWithConsumer.testRepeatedSelect2(): success
test SelectWithConsumer.testTimeout(): success
test SelectWithConsumer.testTwoChannels(): success
test SelectWithConsumer.testWakeupBeforeSelect(): success
test SelectWithConsumer.testWakeupDuringSelect(): success
test SelectWithConsumer.testWritable(): success
config SelectWithConsumer.shutdownThreadPool(): success
===============================================
java/nio/channels/Selector/SelectWithConsumer.java#id1
Total tests run: 25, Passes: 24, Failures: 1, Skips: 0
===============================================
----------System.err:(12/684)----------
java.lang.Exception: failures: 1
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
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.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
JavaTest Message: Test threw exception: java.lang.Exception: failures: 1
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 1
----------rerun:(43/5949)*----------
java/nio/channels/Selector/SelectWithConsumer.java#id1
Here's a snippet from the log file:
#section:testng
----------messages:(4/327)----------
command: testng -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.WindowsSelectorProvider SelectWithConsumer
reason: User specified action: run testng/othervm -Djava.nio.channels.spi.SelectorProvider=sun.nio.ch.WindowsSelectorProvider SelectWithConsumer
Mode: othervm [/othervm specified]
elapsed time (seconds): 50.433
----------configuration:(0/0)----------
----------System.out:(66/3995)----------
test SelectWithConsumer.testActionClosingSelector(): success
test SelectWithConsumer.testCancel(): success
test SelectWithConsumer.testCloseDuringSelect(): failure
java.lang.AssertionError: select took 14366 ms schedule took 0 ms expected [true] but found [false]
at org.testng.Assert.fail(Assert.java:99)
at org.testng.Assert.failNotEquals(Assert.java:1037)
at org.testng.Assert.assertTrue(Assert.java:45)
at SelectWithConsumer.testCloseDuringSelect(SelectWithConsumer.java:469)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
at java.base/java.lang.reflect.Method.invoke(Method.java:578)
at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:132)
at org.testng.internal.TestInvoker.invokeMethod(TestInvoker.java:599)
at org.testng.internal.TestInvoker.invokeTestMethod(TestInvoker.java:174)
at org.testng.internal.MethodRunner.runInSequence(MethodRunner.java:46)
at org.testng.internal.TestInvoker$MethodInvocationAgent.invoke(TestInvoker.java:822)
at org.testng.internal.TestInvoker.invokeTestMethods(TestInvoker.java:147)
at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:146)
at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:128)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.testng.TestRunner.privateRun(TestRunner.java:764)
at org.testng.TestRunner.run(TestRunner.java:585)
at org.testng.SuiteRunner.runTest(SuiteRunner.java:384)
at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:378)
at org.testng.SuiteRunner.privateRun(SuiteRunner.java:337)
at org.testng.SuiteRunner.run(SuiteRunner.java:286)
at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:53)
at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:96)
at org.testng.TestNG.runSuitesSequentially(TestNG.java:1218)
at org.testng.TestNG.runSuitesLocally(TestNG.java:1140)
at org.testng.TestNG.runSuites(TestNG.java:1069)
at org.testng.TestNG.run(TestNG.java:1037)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
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.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
test SelectWithConsumer.testClosedSelector1(): success
test SelectWithConsumer.testClosedSelector2(): success
test SelectWithConsumer.testClosedSelector3(): success
test SelectWithConsumer.testInterruptBeforeSelect(): success
test SelectWithConsumer.testInterruptDuringSelect(): success
test SelectWithConsumer.testLocks(): success
test SelectWithConsumer.testNegativeTimeout(): success
test SelectWithConsumer.testNull1(): success
test SelectWithConsumer.testNull2(): success
test SelectWithConsumer.testNull3(): success
test SelectWithConsumer.testReadable(): success
test SelectWithConsumer.testReadableAndWriteable(): success
test SelectWithConsumer.testReentrantSelect1(): success
test SelectWithConsumer.testReentrantSelect2(): success
test SelectWithConsumer.testReentrantSelect3(): success
test SelectWithConsumer.testRepeatedSelect1(): success
test SelectWithConsumer.testRepeatedSelect2(): success
test SelectWithConsumer.testTimeout(): success
test SelectWithConsumer.testTwoChannels(): success
test SelectWithConsumer.testWakeupBeforeSelect(): success
test SelectWithConsumer.testWakeupDuringSelect(): success
test SelectWithConsumer.testWritable(): success
config SelectWithConsumer.shutdownThreadPool(): success
===============================================
java/nio/channels/Selector/SelectWithConsumer.java#id1
Total tests run: 25, Passes: 24, Failures: 1, Skips: 0
===============================================
----------System.err:(12/684)----------
java.lang.Exception: failures: 1
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:96)
at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
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.MainWrapper$MainThread.run(MainWrapper.java:127)
at java.base/java.lang.Thread.run(Thread.java:1589)
JavaTest Message: Test threw exception: java.lang.Exception: failures: 1
JavaTest Message: shutting down test
STATUS:Failed.`main' threw exception: java.lang.Exception: failures: 1
----------rerun:(43/5949)*----------