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

AsynchronousSocketChannel/StressLoopback.java fails due to IOException on Win*

XMLWordPrintable

    • x86_64
    • windows

      The following test failed in the jdk/jdk CI:

      java/nio/channels/AsynchronousSocketChannel/StressLoopback.java

      Here's a snippet of the log file:

      ----------System.out:(2/62)----------
      832775832 -> 832775832 (PASS)
      986147975 -> 985978150 (FAIL)
      ----------System.err:(70/5777)----------
      java.io.IOException: An existing connection was forcibly closed by the remote host
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl.write0(Native Method)
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl$WriteTask.run(WindowsAsynchronousSocketChannelImpl.java:776)
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl.implWrite(WindowsAsynchronousSocketChannelImpl.java:912)
      at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:382)
      at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:399)
      at java.base/java.nio.channels.AsynchronousSocketChannel.write(AsynchronousSocketChannel.java:582)
      at StressLoopback$Source$1.completed(StressLoopback.java:113)
      at StressLoopback$Source$1.completed(StressLoopback.java:105)
      at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
      at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:282)
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl$WriteTask.completed(WindowsAsynchronousSocketChannelImpl.java:835)
      at java.base/sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:387)
      at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:835)
      java.io.IOException: The specified network name is no longer available.

      at java.base/sun.nio.ch.Iocp.translateErrorToIOException(Iocp.java:299)
      at java.base/sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:389)
      at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:835)
      java.io.IOException: An established connection was aborted by the software in your host machine
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl.write0(Native Method)
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl$WriteTask.run(WindowsAsynchronousSocketChannelImpl.java:776)
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl.implWrite(WindowsAsynchronousSocketChannelImpl.java:912)
      at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:382)
      at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.write(AsynchronousSocketChannelImpl.java:399)
      at java.base/java.nio.channels.AsynchronousSocketChannel.write(AsynchronousSocketChannel.java:582)
      at StressLoopback$Source$1.completed(StressLoopback.java:113)
      at StressLoopback$Source$1.completed(StressLoopback.java:105)
      at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
      at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:282)
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl$WriteTask.completed(WindowsAsynchronousSocketChannelImpl.java:835)
      at java.base/sun.nio.ch.Iocp$EventHandlerTask.run(Iocp.java:387)
      at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:835)
      java.io.IOException: An existing connection was forcibly closed by the remote host
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl.read0(Native Method)
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl$ReadTask.run(WindowsAsynchronousSocketChannelImpl.java:513)
      at java.base/sun.nio.ch.WindowsAsynchronousSocketChannelImpl.implRead(WindowsAsynchronousSocketChannelImpl.java:658)
      at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:276)
      at java.base/sun.nio.ch.AsynchronousSocketChannelImpl.read(AsynchronousSocketChannelImpl.java:297)
      at java.base/java.nio.channels.AsynchronousSocketChannel.read(AsynchronousSocketChannel.java:425)
      at StressLoopback$Sink$1.completed(StressLoopback.java:153)
      at StressLoopback$Sink$1.completed(StressLoopback.java:146)
      at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:127)
      at java.base/sun.nio.ch.Invoker$2.run(Invoker.java:219)
      at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:112)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
      at java.base/java.lang.Thread.run(Thread.java:835)
      java.lang.RuntimeException: Test failed - see log for details
      at StressLoopback.main(StressLoopback.java:82)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:567)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:835)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed - see log for details
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Test failed - see log for details
      ----------rerun:(37/4517)*----------

            bpb Brian Burkhalter
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: