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

java/net/Socket/UdpSocket.java fails with jtreg timeout

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21
    • core-libs
    • x86_64
    • os_x

      test result: Error. Program `/System/Volumes/Data/mesos/work_dir/jib-master/install/jdk-21+19-1559/macosx-aarch64.jdk/jdk-21.jdk/Contents/Home/bin/java' timed out (timeout set to 480000ms, elapsed time including timeout handling was 513241ms).

      the test is stuck in a receive -- datagram not receive

      MainThread" #21 [40707] prio=5 os_prio=31 cpu=135.67ms elapsed=487.10s allocated=7689K defined_classes=714 tid=0x000000012280c200 nid=40707 runnable [0x00000001702dd000]
         java.lang.Thread.State: RUNNABLE
      at sun.nio.ch.DatagramChannelImpl.receive0(java.base@21-ea/Native Method)
      at sun.nio.ch.DatagramChannelImpl.receiveIntoNativeBuffer(java.base@21-ea/DatagramChannelImpl.java:789)
      at sun.nio.ch.DatagramChannelImpl.receive(java.base@21-ea/DatagramChannelImpl.java:773)
      at sun.nio.ch.DatagramChannelImpl.receive(java.base@21-ea/DatagramChannelImpl.java:577)
      at UdpSocket.testSendReceive(UdpSocket.java:68)

      This is likely due to duplicate port allocation -- UDP4 and the UDP4,6 syndrome

      e.g.

      udp4 0 0 *.57855 *.* 786896 9216 128

      is the likely culprit in this instance

            msheppar Mark Sheppard
            msheppar Mark Sheppard
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: