This test has recently started to fail in JPRT, all sightings so far have been Windows 64-bit. The failure doesn't seem to be the test itself, it appears to be interference from tests that run previously, perhaps a connection limit. The test runs okay if changes to /othervm mode.
--------------------------------------------------
TEST: java/nio/channels/AsynchronousChannelGroup/Unbounded.java
JDK under test: (C:\jprt\products\P1\JDK8-L~1\JDK18~1.0)
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b65)
Java HotSpot(TM) 64-Bit Server VM (build 25.0-b09, mixed mode)
ACTION: build -- Passed. Build successful
REASON: Named class compiled on demand
TIME: 0.109 seconds
messages:
command: build Unbounded
reason: Named class compiled on demand
elapsed time (seconds): 0.109
ACTION: compile -- Passed. Compilation successful
REASON: .class file out of date or does not exist
TIME: 0.109 seconds
messages:
command: compile C:\jprt\T\P1\103210.albatem\s\test\java\nio\channels\AsynchronousChannelGroup\Unbounded.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.109
ACTION: main -- Error. Timeout
REASON: Assumed action based on file name: run main Unbounded
TIME: 480.825 seconds
messages:
command: main Unbounded
reason: Assumed action based on file name: run main Unbounded
Timeout signalled after 480 seconds
elapsed time (seconds): 480.825
STDOUT:
Listener created.
All client connections established.
All read operations outstanding.
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
accepted: 241
queued: 241
Waiting for 15 remaining connections to be accepted
STDERR:
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
read failed: java.io.IOException: An existing connection was forcibly closed by the remote host
java.lang.InterruptedException
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.reportInterruptAfterWait(AbstractQueuedSynchronizer.java:2013)
at java.util.concurrent.locks.AbstractQueuedSynchronizer$ConditionObject.awaitNanos(AbstractQueuedSynchronizer.java:2087)
at java.util.concurrent.ArrayBlockingQueue.poll(ArrayBlockingQueue.java:391)
at Unbounded.main(Unbounded.java:128)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:474)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:698)
at java.lang.Thread.run(Thread.java:722)
JavaTest Message: Test threw exception: java.lang.InterruptedException
JavaTest Message: shutting down test
TEST RESULT: Error. Timeout
--------------------------------------------------