JDK-7094551 : java/net/MulticastSocket/SetLoopbackMode.java failing on Solaris 10
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2011-09-24
  • Updated: 2013-04-04
  • Resolved: 2013-04-04
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
8Resolved
Related Reports
Duplicate :  
Relates :  
Description
#Test Results (version 2)
#Fri Sep 23 01:37:19 UTC 2011
#checksum:3d2f152cf2026a69
#-----testdescription-----
$file=/Users/aurora/sandbox/testbase/test/java/net/MulticastSocket/SetLoopbackMode.java
$root=/Users/aurora/sandbox/testbase/test
keywords=bug4686717
run=ASSUMED_ACTION main SetLoopbackMode\n
source=SetLoopbackMode.java
title=Test MulticastSocket.setLoopbackMode

#-----environment-----

#-----testresult-----
description=file:/Users/aurora/sandbox/testbase/test/java/net/MulticastSocket/SetLoopbackMode.java
elapsed=18 0:00:00.018
end=Fri Sep 23 01:37:19 UTC 2011
environment=regtest
execStatus=Failed. Execution failed: `main' threw exception: java.net.SocketException: Cannot assign requested address
hostname=sc14160049
javatestOS=SunOS 5.10 (x86)
javatestVersion=4.1.4
script=com.sun.javatest.regtest.RegressionScript 
sections=script_messages build compile main
start=Fri Sep 23 01:37:19 UTC 2011
test=java/net/MulticastSocket/SetLoopbackMode.java
work=/Users/aurora/sandbox/gresults/testoutput/jdk_net/JTwork/java/net/MulticastSocket

#section:script_messages
----------messages:(4/179)----------
JDK under test: (/Users/aurora/sandbox/jdk)
java version "1.8.0-ea"
Java(TM) SE Runtime Environment (build 1.8.0-ea-b9265)
Java HotSpot(TM) Server VM (build 22.0-b03, mixed mode)

#section:build
----------messages:(3/100)----------
command: build SetLoopbackMode
reason: Named class compiled on demand
elapsed time (seconds): 0.015
result: Passed. Build successful

#section:compile
----------messages:(3/179)----------
command: compile /Users/aurora/sandbox/testbase/test/java/net/MulticastSocket/SetLoopbackMode.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.014
result: Passed. Compilation successful

#section:main
----------messages:(3/130)----------
command: main SetLoopbackMode
reason: Assumed action based on file name: run main SetLoopbackMode 
elapsed time (seconds): 0.0030
----------System.out:(2/52)----------

Test will use multicast group: /ff01:0:0:0:0:0:0:1
----------System.err:(15/838)----------
java.net.SocketException: Cannot assign requested address
	at java.net.PlainDatagramSocketImpl.join(Native Method)
	at java.net.AbstractPlainDatagramSocketImpl.join(AbstractPlainDatagramSocketImpl.java:168)
	at java.net.MulticastSocket.joinGroup(MulticastSocket.java:306)
	at SetLoopbackMode.main(SetLoopbackMode.java:106)
	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:680)
	at java.lang.Thread.run(Thread.java:722)

JavaTest Message: Test threw exception: java.net.SocketException
JavaTest Message: shutting down test

result: Failed. Execution failed: `main' threw exception: java.net.SocketException: Cannot assign requested address


test result: Failed. Execution failed: `main' threw exception: java.net.SocketException: Cannot assign requested address

Comments
EVALUATION Most likely system configuration issue, see 7094552
30-09-2011