Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8143100

(sc) java/nio/channels/ServerSocketChannel/Basic.java fails intermittently

XMLWordPrintable

    • b102

        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

              mli Hamlin Li
              amlu Amy Lu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: