JDK-8028279 : java/net/MulticastSocket/SetLoopbackMode.java fails
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 7u4,8
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: os_x
  • CPU: x86_64
  • Submitted: 2013-11-13
  • Updated: 2013-11-18
  • Resolved: 2013-11-18
Related Reports
Duplicate :  
Description
fails on jdk1.8.0b115, jdk1.8.0b114, jdk1.7.0_45b18 

----------System.out:(6/100)----------

Test will use multicast group: /ff01:0:0:0:0:0:0:1

******************

Loopback mode is disabled.
----------System.err:(16/855)----------
java.io.IOException: No route to host
	at java.net.PlainDatagramSocketImpl.send(Native Method)
	at java.net.DatagramSocket.send(DatagramSocket.java:671)
	at SetLoopbackMode.test(SetLoopbackMode.java:50)
	at SetLoopbackMode.main(SetLoopbackMode.java:111)
	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:483)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:744)

JavaTest Message: Test threw exception: java.io.IOException: No route to host
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.io.IOException: No route to host
result: Failed. Execution failed: `main' threw exception: java.io.IOException: No route to host


test result: Failed. Execution failed: `main' threw exception: java.io.IOException: No route to host
Comments
java/net/MulticastSocket/NoLoopbackPackets.java and jjava/net/MulticastSocket/SetLoopbackMode.java have been excluded on OSX for a long time (see jdk/test/ProblemList.txt). The issue tracking this is JDK-7122846.
16-11-2013

RULE java/net/MulticastSocket/Test.java Exception java.io.IOException: No route to host This one fails for the same reason. Here is log http://aurora-ds.us.oracle.com:9500/runs%2F315411.ute.st2-3/results/workDir/java/net/MulticastSocket/Test.jtr
13-11-2013