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

javax/net/ssl/DTLS/ClientAuth.java failed with "SocketTimeoutException: Receive timed out"

    XMLWordPrintable

Details

    Description

      The following test failed in the JDK18 CI:

      javax/net/ssl/DTLS/ClientAuth.java

      Here's a snippet from the log file:

      Server: SSLEngineResult status OK
      Exception in ClientCallable.call():
      java.net.SocketTimeoutException: Receive timed out
      at java.base/sun.nio.ch.DatagramChannelImpl.trustedBlockingReceive(DatagramChannelImpl.java:703)
      at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:633)
      at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
      at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
      at DTLSOverDatagram.receiveAppData(DTLSOverDatagram.java:325)
      at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:126)
      at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:617)
      at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:611)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      at java.base/java.lang.Thread.run(Thread.java:833)
      Exception on client side:
      java.util.concurrent.ExecutionException: java.net.SocketTimeoutException: Receive timed out
      at java.base/java.util.concurrent.FutureTask.report(FutureTask.java:122)
      at java.base/java.util.concurrent.FutureTask.get(FutureTask.java:191)
      at DTLSOverDatagram.runTest(DTLSOverDatagram.java:560)
      at ClientAuth.main(ClientAuth.java:46)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)
      Caused by: java.net.SocketTimeoutException: Receive timed out
      at java.base/sun.nio.ch.DatagramChannelImpl.trustedBlockingReceive(DatagramChannelImpl.java:703)
      at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:633)
      at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:240)
      at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:700)
      at DTLSOverDatagram.receiveAppData(DTLSOverDatagram.java:325)
      at DTLSOverDatagram.doClientSide(DTLSOverDatagram.java:126)
      at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:617)
      at DTLSOverDatagram$ClientCallable.call(DTLSOverDatagram.java:611)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
      at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
      ... 1 more
      Client finished: Well done, server!
      ----------System.err:(14/839)----------
      java.lang.RuntimeException: Test failed
      at DTLSOverDatagram.runTest(DTLSOverDatagram.java:579)
      at ClientAuth.main(ClientAuth.java:46)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:568)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:833)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Test failed

      Attachments

        Issue Links

          Activity

            People

              ssahoo Sibabrata Sahoo
              dcubed Daniel Daugherty
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: