-
Bug
-
Resolution: Fixed
-
P4
-
9
java/nio/channels/ServerSocketChannel/AdaptServerSocket.java
This test ever fixed inJDK-8068761, but after that see test fail again, it fails intermittently with different error: failed with Accept did not time out.
----------System.out:(30/1104)----------
created: sun.nio.ch.ServerSocketChannelImpl[unbound]
ServerSocket[unbound]
timeout: 0
bound: sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:25720]
ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=25720]
client: Socket[unconnected]
client: Socket[addr=0.0.0.0/0.0.0.0,port=25720,localport=25725]
client: read 42
client: wrote 43
server: read 43
created: sun.nio.ch.ServerSocketChannelImpl[unbound]
ServerSocket[unbound]
timeout: 5000
bound: sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:25726]
ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=25726]
client: Socket[unconnected]
client: Socket[addr=0.0.0.0/0.0.0.0,port=25726,localport=25734]
client: read 42
client: wrote 43
server: read 43
created: sun.nio.ch.ServerSocketChannelImpl[unbound]
ServerSocket[unbound]
timeout: 50
bound: sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:25735]
ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=25735]
client: Socket[unconnected]
client: Socket[addr=0.0.0.0/0.0.0.0,port=25735,localport=25746]
----------System.err:(13/696)----------
java.lang.Exception: Accept did not time out
at AdaptServerSocket.test(AdaptServerSocket.java:107)
at AdaptServerSocket.main(AdaptServerSocket.java:127)
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:504)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:746)
JavaTest Message: Test threw exception: java.lang.Exception
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Accept did not time out
This test ever fixed in
----------System.out:(30/1104)----------
created: sun.nio.ch.ServerSocketChannelImpl[unbound]
ServerSocket[unbound]
timeout: 0
bound: sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:25720]
ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=25720]
client: Socket[unconnected]
client: Socket[addr=0.0.0.0/0.0.0.0,port=25720,localport=25725]
client: read 42
client: wrote 43
server: read 43
created: sun.nio.ch.ServerSocketChannelImpl[unbound]
ServerSocket[unbound]
timeout: 5000
bound: sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:25726]
ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=25726]
client: Socket[unconnected]
client: Socket[addr=0.0.0.0/0.0.0.0,port=25726,localport=25734]
client: read 42
client: wrote 43
server: read 43
created: sun.nio.ch.ServerSocketChannelImpl[unbound]
ServerSocket[unbound]
timeout: 50
bound: sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:25735]
ServerSocket[addr=/0:0:0:0:0:0:0:0,localport=25735]
client: Socket[unconnected]
client: Socket[addr=0.0.0.0/0.0.0.0,port=25735,localport=25746]
----------System.err:(13/696)----------
java.lang.Exception: Accept did not time out
at AdaptServerSocket.test(AdaptServerSocket.java:107)
at AdaptServerSocket.main(AdaptServerSocket.java:127)
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:504)
at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:218)
at java.lang.Thread.run(Thread.java:746)
JavaTest Message: Test threw exception: java.lang.Exception
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Accept did not time out
- relates to
-
JDK-8146213 (so) Test java/nio/channels/ServerSocketChannel/AdaptServerSocket.java failed intermittently with Connection refused
- Closed