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

java/net/DatagramSocket/PortUnreachable.java still fails intermittently with SocketTimeoutException

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b08

      Description

      ----------System.out:(3/144)----------
      Attempting to recreate server socket with port: 40286
      Give up after 10 retries and 5 s of sleep time
      Has some other process grabbed port 40286?
      ----------System.err:(37/2551)----------
      java.net.BindException: Address already in use
      at java.base/sun.nio.ch.Net.bind0(Native Method)
      at java.base/sun.nio.ch.Net.bind(Net.java:548)
      at java.base/sun.nio.ch.DatagramChannelImpl.bindInternal(DatagramChannelImpl.java:1189)
      at java.base/sun.nio.ch.DatagramChannelImpl.bind(DatagramChannelImpl.java:1160)
      at java.base/sun.nio.ch.DatagramSocketAdaptor.bind(DatagramSocketAdaptor.java:107)
      at java.base/java.net.DatagramSocket.createDelegate(DatagramSocket.java:1131)
      at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:197)
      at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:256)
      at PortUnreachable.recreateServerSocket(PortUnreachable.java:79)
      at PortUnreachable.serverSend(PortUnreachable.java:57)
      at PortUnreachable.execute(PortUnreachable.java:159)
      at PortUnreachable.main(PortUnreachable.java:180)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)
      java.net.SocketTimeoutException: Receive timed out
      at java.base/sun.nio.ch.DatagramChannelImpl.trustedBlockingReceive(DatagramChannelImpl.java:700)
      at java.base/sun.nio.ch.DatagramChannelImpl.blockingReceive(DatagramChannelImpl.java:630)
      at java.base/sun.nio.ch.DatagramSocketAdaptor.receive(DatagramSocketAdaptor.java:239)
      at java.base/java.net.DatagramSocket.receive(DatagramSocket.java:569)
      at PortUnreachable.execute(PortUnreachable.java:165)
      at PortUnreachable.main(PortUnreachable.java:180)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.net.SocketTimeoutException: Receive timed out
      JavaTest Message: shutting down test

      STATUS:Failed.`main' threw exception: java.net.SocketTimeoutException: Receive timed out
      ----------rerun:(35/4935)*----------

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              dfuchs Daniel Fuchs
              Reporter:
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: