JDK-8139929 : java/net/InetAddress/IsReachableViaLoopbackTest.java fails with "SocketException: Network is unreachable"
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 8,9
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • OS: generic
  • CPU: generic
  • Submitted: 2015-10-19
  • Updated: 2024-06-05
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.
Other
tbdUnresolved
Related Reports
Relates :  
Description
The following test failed in an Aurora Adhoc job on three
different configs.

java/net/InetAddress/IsReachableViaLoopbackTest.java

    This test failed due to ava.lang.RuntimeException: Unexpected
     exception:java.net.SocketException: Network is unreachable 
Comments
This entry is copied from: JDK-8140258 Aurora Adhoc "Runtime-SVC Nightly tests" observations from 2015.10.20 job Daniel Daugherty added a comment - 43 minutes ago This note is for the jdk-core test suite in the following config: http://aurora.ru.oracle.com/functional/faces/RunDetails.xhtml?names=1138098.VMSQE.adhoc.JPRT-33&show-limit=0&filter= Host: vmsqe-mac-07.ru.oracle.com, Intel Macmini5,1 2300 MHz, 4 cores, 4G, MacOSX / Mac OS X Unknown, x86_64 JDK: Java(TM) SE Runtime Environment 1.9.0 b0 (1.9.0-internal-fastdebug-20151020181250.ddaugher.8047212_for_jdk9-b00) Submitted Bundle(s): 1.9.0-internal-fastdebug-20151020181250.ddaugher.8047212_for_jdk9-b00 bsd-amd64 VM: Java HotSpot(TM) 64-Bit Server VM 1.9.0 b0 (1.9.0-internal-fastdebug-20151020181250.ddaugher.8047212_for_jdk9-b00) Options: -d64 -server -Djdk.location="/export/local/aurora/CommonData/jdk" -Xmixed RULE "java/net/InetAddress/IsReachableViaLoopbackTest.java" Exception java.lang.RuntimeException: Unexpected exception:java.net.SocketException: Can't assign requested address For java/net/InetAddress/IsReachableViaLoopbackTest.java, here is a snippet of the .jtr file: ----------System.out:(1/34)---------- localhost/127.0.0.1 is reachable ----------System.err:(13/921)---------- java.lang.RuntimeException: Unexpected exception:java.net.SocketException: Can't assign requested address at IsReachableViaLoopbackTest.main(IsReachableViaLoopbackTest.java:35) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:520) at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92) at java.lang.Thread.run(Thread.java:747) JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected exception:java.net.SocketException: Can't assign requested address JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Unexpected exception:java.net.SocketException: Can't assign requested address This failure appears to be a variation of this bug: JDK-8139929 java/net/InetAddress/IsReachableViaLoopbackTest.java fails with "SocketException: Network is unreachable"
21-10-2015

JDK-8135305 recently added this test.
19-10-2015