JDK-8022212 : Intermittent test failures in java/net
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 8
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-08-05
  • Updated: 2014-02-14
  • Resolved: 2013-11-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8 b119Fixed
Related Reports
Relates :  
Description
Observed same-binary test failure(s) with observed probability of failure:

TESTFAIL:java/net/MulticastSocket/TestInterfaces.java, 0.6306695464362851
TESTFAIL:java/net/NetworkInterface/IndexTest.java, 0.6306695464362851 
Comments
Suggested Fix sent to open alias: http://mail.openjdk.java.net/pipermail/net-dev/2013-November/007845.html
13-11-2013

Root Cause: These tests are as JDK-8022963, the test shouldn't check Windows && Teredo Tunneling Pseudo-Interface. Suggested Fix: We will remove "Windows && Teredo Tunneling Pseudo-Interface" from this test.
13-11-2013

IndexTest.java failed with error ----------System.err:(12/627)---------- java.lang.RuntimeException: both interfaces should be equal at IndexTest.main(IndexTest.java:42) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:474) at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:706) at java.lang.Thread.run(Thread.java:722) Failure of history for IndexTest.java see http://aurora.ru.oracle.com/functional/faces/ChessBoard.xhtml?reportName=J2SETestHistory&parameters=[testNameFilterRegExp]java%2Fnet%2FNetworkInterface%2FIndexTest.java[release]1.8.0 TestInterfaces.java failed with error ----------System.err:(50/3026)---------- MulticastSocket.getInterface returned: 0.0.0.0/0.0.0.0 Failed! Expected: /10.132.182.68 MulticastSocket.getNetworkInterface returned: name:null Failed! Expected: name:eth6 (Intel(R) 82577LM Gigabit Network Connection) Failure of history for TestInterfaces.java see http://aurora.ru.oracle.com/functional/faces/ChessBoard.xhtml?reportName=J2SETestHistory&parameters=[testNameFilterRegExp]java%2Fnet%2FMulticastSocket%2FTestInterfaces.java[release]1.8.0 TestInterfaces.java will be hang in sc11136372.us, use jstack we can get "main" #1 prio=5 os_prio=0 tid=0x0000000002d40800 nid=0x71fc runnable [0x0000000002a5f000] java.lang.Thread.State: RUNNABLE at java.net.TwoStacksPlainDatagramSocketImpl.socketNativeSetOption(Native Method) at java.net.TwoStacksPlainDatagramSocketImpl.socketSetOption(TwoStacksPlainDatagramSocketImpl.java:146) at java.net.AbstractPlainDatagramSocketImpl.setOption(AbstractPlainDatagramSocketImpl.java:309) at java.net.MulticastSocket.setInterface(MulticastSocket.java:471) - locked <0x0000000089e01578> (a java.lang.Object) at TestInterfaces.main(TestInterfaces.java:56) Need do more debug Two failures are not same, failure for IndexTest.java looks like the same as https://bugs.openjdk.java.net/browse/JDK-8022963
21-10-2013

Extra debug information is being added to IndexTest.java to help diagnose the root cause of the failure. see http://mail.openjdk.java.net/pipermail/net-dev/2013-August/006931.html
06-08-2013