-
Bug
-
Resolution: Fixed
-
P4
-
9
-
b102
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8309521 | 8u391 | kiran kumar J | P4 | Resolved | Fixed | b01 |
java/nio/channels/ServerSocketChannel/Basic.java
This test fails intermittently with timed out at non-blocking testcase:
----------System.err:(49/2329)----------
Server: Listening (blocking)
sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:12315]
Client: Connecting to scaaa070/10.128.128.66:12315
Server: Accepted java.nio.channels.SocketChannel[connected local=localhost/127.0.0.1:12315 remote=/10.128.128.66:4734]
Client: Connected
Client: Writing 42
Server: Read 42, writing 43
Client: Read 43
Server: Finished
Client: Finished
Server: Listening (non-blocking)
sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:25536]
Server: Sleeping...
Server: Sleeping...
java.lang.Exception: Server: Timed out
at TestThread.finish(TestThread.java:67)
at Basic.test(Basic.java:133)
at Basic.main(Basic.java:141)
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.Exception: Client: Timed out
at TestThread.finish(TestThread.java:67)
at Basic.test(Basic.java:133)
at Basic.main(Basic.java:141)
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.Exception: Failure
at Basic.test(Basic.java:134)
at Basic.main(Basic.java:141)
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.Exception
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Failure
This test fails intermittently with timed out at non-blocking testcase:
----------System.err:(49/2329)----------
Server: Listening (blocking)
sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:12315]
Client: Connecting to scaaa070/10.128.128.66:12315
Server: Accepted java.nio.channels.SocketChannel[connected local=localhost/127.0.0.1:12315 remote=/10.128.128.66:4734]
Client: Connected
Client: Writing 42
Server: Read 42, writing 43
Client: Read 43
Server: Finished
Client: Finished
Server: Listening (non-blocking)
sun.nio.ch.ServerSocketChannelImpl[localhost/127.0.0.1:25536]
Server: Sleeping...
Server: Sleeping...
java.lang.Exception: Server: Timed out
at TestThread.finish(TestThread.java:67)
at Basic.test(Basic.java:133)
at Basic.main(Basic.java:141)
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.Exception: Client: Timed out
at TestThread.finish(TestThread.java:67)
at Basic.test(Basic.java:133)
at Basic.main(Basic.java:141)
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.Exception: Failure
at Basic.test(Basic.java:134)
at Basic.main(Basic.java:141)
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.Exception
JavaTest Message: shutting down test
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Failure
- backported by
-
JDK-8309521 (sc) java/nio/channels/ServerSocketChannel/Basic.java fails intermittently
- Resolved