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

java/net/MulticastSocket/Test.java failing intermittently on Windows-x64

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 11
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      windows_2012

      Description

      java/net/MulticastSocket/Test.java failing intermittently on Windows-x64.

      Log:
      ----------System.out:(70/1993)----------
      **********************
      Test 1: /224.80.80.80
      Join: /224.80.80.80
      Send packet to: /224.80.80.80
      Got packet! - Good.
      Send packet to: /224.80.80.80
      Got packet! - Good.
      Leave: /224.80.80.80
      No packet received within timeout! - Good.
      Join: /224.80.80.80
      Send packet to: /224.80.80.80
      Got packet! - Good.
      Send packet to: /224.80.80.80
      Got packet! - Good.
      Leave: /224.80.80.80
      Failed: Unexpected exception thrown:
      Test failed!!
      **********************
      Test 2: /ff01:0:0:0:0:0:0:a
      Join: /ff01:0:0:0:0:0:0:a
      Send packet to: /ff01:0:0:0:0:0:0:a
      Got packet! - Good.
      Send packet to: /ff01:0:0:0:0:0:0:a
      Got packet! - Good.
      Leave: /ff01:0:0:0:0:0:0:a
      No packet received within timeout! - Good.
      Join: /ff01:0:0:0:0:0:0:a
      Send packet to: /ff01:0:0:0:0:0:0:a
      Got packet! - Good.
      Send packet to: /ff01:0:0:0:0:0:0:a
      Got packet! - Good.
      Leave: /ff01:0:0:0:0:0:0:a
      No packet received within timeout! - Good.
      Test passed.
      **********************
      Test 3: /ff02:0:0:0:0:0:0:a
      Join: /ff02:0:0:0:0:0:0:a
      Send packet to: /ff02:0:0:0:0:0:0:a
      Got packet! - Good.
      Send packet to: /ff02:0:0:0:0:0:0:a
      Got packet! - Good.
      Leave: /ff02:0:0:0:0:0:0:a
      No packet received within timeout! - Good.
      Join: /ff02:0:0:0:0:0:0:a
      Send packet to: /ff02:0:0:0:0:0:0:a
      Got packet! - Good.
      Send packet to: /ff02:0:0:0:0:0:0:a
      Got packet! - Good.
      Leave: /ff02:0:0:0:0:0:0:a
      No packet received within timeout! - Good.
      Test passed.
      **********************
      Test 4: /ff0e:0:0:0:0:0:0:a
      Join: /ff0e:0:0:0:0:0:0:a
      Send packet to: /ff0e:0:0:0:0:0:0:a
      Got packet! - Good.
      Send packet to: /ff0e:0:0:0:0:0:0:a
      Got packet! - Good.
      Leave: /ff0e:0:0:0:0:0:0:a
      No packet received within timeout! - Good.
      Join: /ff0e:0:0:0:0:0:0:a
      Send packet to: /ff0e:0:0:0:0:0:0:a
      Got packet! - Good.
      Send packet to: /ff0e:0:0:0:0:0:0:a
      Got packet! - Good.
      Leave: /ff0e:0:0:0:0:0:0:a
      No packet received within timeout! - Good.
      Test passed.
      **********************
      4 test(s) executed. 1 test(s) failed.
      ----------System.err:(25/1650)----------
      java.net.SocketException: Socket operation on nonsocket: Datagram send failed
      at java.base/java.net.DualStackPlainDatagramSocketImpl.socketSend(Native Method)
      at java.base/java.net.DualStackPlainDatagramSocketImpl.send(DualStackPlainDatagramSocketImpl.java:136)
      at java.base/java.net.DatagramSocket.send(DatagramSocket.java:695)
      at Test.doTest(Test.java:102)
      at Test.allTests(Test.java:143)
      at Test.main(Test.java:199)
      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:569)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:841)
      java.lang.Exception: Test failed - see log file for details
      at Test.main(Test.java:211)
      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:569)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:841)

      JavaTest Message: Test threw exception: java.lang.Exception
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed - see log file for details

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                chegar Chris Hegarty
                Reporter:
                dzhou Dora Zhou
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: