JDK-8200210 : java/net/MulticastSocket/Test.java failing intermittently on Windows-x64
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 11
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: windows_2012
  • CPU: x86_64
  • Submitted: 2018-03-26
  • Updated: 2018-03-29
  • Resolved: 2018-03-29
Related Reports
Duplicate :  
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
Comments
Duplicate of JDK-8200304.
29-03-2018