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

network QuickAckTest.java failed due to "SocketException: maximum number of DatagramSockets reached"

    Details

    • Subcomponent:
    • Resolved In Build:
      b25
    • CPU:
      sparc_64
    • OS:
      solaris

      Description

      The following test failed in the JDK14 CI:

      jdk/net/Sockets/QuickAckTest.java

      Here's a snippet from the log file:

      ----------System.err:(18/1193)----------
      java.net.SocketException: maximum number of DatagramSockets reached
      at java.base/sun.net.ResourceManager.beforeUdpCreate(ResourceManager.java:72)
      at java.base/java.net.AbstractPlainDatagramSocketImpl.create(AbstractPlainDatagramSocketImpl.java:91)
      at java.base/java.net.DatagramSocket.createImpl(DatagramSocket.java:340)
      at java.base/java.net.DatagramSocket.<init>(DatagramSocket.java:242)
      at java.base/java.net.MulticastSocket.<init>(MulticastSocket.java:169)
      at java.base/java.net.MulticastSocket.<init>(MulticastSocket.java:140)
      at QuickAckTest.main(QuickAckTest.java:47)
      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:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:830)

      JavaTest Message: Test threw exception: java.net.SocketException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.net.SocketException: maximum number of DatagramSockets reached


      test result: Failed. Execution failed: `main' threw exception: java.net.SocketException: maximum number of DatagramSockets reached

        Attachments

        1. AdaptorBasic.jtr
          20 kB
        2. Branch.jtr
          17 kB
        3. ChangingAddress.jtr
          10 kB

          Activity

            People

            • Assignee:
              dfuchs Daniel Fuchs
              Reporter:
              dcubed Daniel Daugherty
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: