JDK-8171217 : java/net/MulticastSocket/Test.java failing consistently on Solaris
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 8,9
  • Priority: P4
  • Status: Resolved
  • Resolution: Duplicate
  • OS: solaris
  • Submitted: 2016-12-14
  • Updated: 2017-09-05
  • Resolved: 2017-09-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.
JDK 10
10Resolved
Related Reports
Relates :  
Relates :  
Relates :  
Description
The test is failing consistently on: solaris_x64_5.10-product-c2

------Snippet from Failed solaris_x64_5.10-product-c2-jdk_net.log------

ACTION: main -- Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed - see log file for details
REASON: Assumed action based on file name: run main Test 
TIME:   24.01 seconds
messages:
command: main Test
reason: Assumed action based on file name: run main Test 
elapsed time (seconds): 24.01
rerun:
DISPLAY=sthjprt.uk.oracle.com:597 \
HOME=/opt/jprt/jprtadm \
LANG=C \
LC_ALL=C \
LC_CTYPE= \
PATH=/bin:/usr/bin \
TZ=localtime \
    /opt/jprt/T/P1/102652.nikitaja/testproduct/solaris_x64_5.10-product/bin/java \
        -Dtest.class.path.prefix=/opt/jprt/T/P1/102652.nikitaja/s/jdk/testoutput/jdk_net/JTwork/classes/java/net/MulticastSocket:/opt/jprt/T/P1/102652.nikitaja/s/jdk/test/java/net/MulticastSocket \
        -Dtest.src=/opt/jprt/T/P1/102652.nikitaja/s/jdk/test/java/net/MulticastSocket \
        -Dtest.src.path=/opt/jprt/T/P1/102652.nikitaja/s/jdk/test/java/net/MulticastSocket \
        -Dtest.classes=/opt/jprt/T/P1/102652.nikitaja/s/jdk/testoutput/jdk_net/JTwork/classes/java/net/MulticastSocket \
        -Dtest.class.path=/opt/jprt/T/P1/102652.nikitaja/s/jdk/testoutput/jdk_net/JTwork/classes/java/net/MulticastSocket \
        -Dtest.vm.opts='-ea -esa -d64 -server -Xmx512m' \
        -Dtest.tool.vm.opts='-J-ea -J-esa -J-d64 -J-server -J-Xmx512m' \
        -Dtest.compiler.opts= \
        -Dtest.java.opts='-Duser.home=/opt/jprt/T/P1/102652.nikitaja -Djava.io.tmpdir=/opt/jprt/T/P1/102652.nikitaja/io/solaris_x64_5.10-product-c2-jdk_net -d64 -server' \
        -Dtest.jdk=/opt/jprt/T/P1/102652.nikitaja/testproduct/solaris_x64_5.10-product \
        -Dcompile.jdk=/opt/jprt/T/P1/102652.nikitaja/testproduct/solaris_x64_5.10-product \
        -Dtest.timeout.factor=4.0 \
        -classpath /opt/jprt/T/P1/102652.nikitaja/s/jdk/testoutput/jdk_net/JTwork/classes/java/net/MulticastSocket:/opt/jprt/T/P1/102652.nikitaja/s/jdk/test/java/net/MulticastSocket:/opt/jprt/T/P1/102652.nikitaja/testproduct/solaris_x64_5.10-product/lib/tools.jar:/opt/jprt/products/P1/jtreg4.1-latest/jtreg/lib/javatest.jar:/opt/jprt/products/P1/jtreg4.1-latest/jtreg/lib/jtreg.jar \
        Test
STDOUT:
**********************
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
No packet received within timeout! - Good.
Test passed.
**********************
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
Failed: No packet received within timeout!!!
Send packet to: /ff01:0:0:0:0:0:0:a
Failed: No packet received within timeout!!!
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
Failed: No packet received within timeout!!!
Send packet to: /ff01:0:0:0:0:0:0:a
Failed: No packet received within timeout!!!
Leave: /ff01:0:0:0:0:0:0:a
No packet received within timeout! - Good.
Test failed!!
**********************
2 test(s) executed. 1 test(s) failed.
STDERR:
java.lang.Exception: Test failed - see log file for details
	at Test.main(Test.java:199)
	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:498)
	at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.Exception
JavaTest Message: shutting down test


TEST RESULT: Failed. Execution failed: `main' threw exception: java.lang.Exception: Test failed - see log file for details
Comments
solved in https://bugs.openjdk.java.net/browse/JDK-8179559
05-09-2017

JDK 9 doesn't support Solaris 10 so this is an 9-na: https://jdk9.java.net/jdk9_supported_platforms.html
07-02-2017

ProblemList.txt had entry for Macosx
16-01-2017