JDK-8075039 : (sctp) com/sun/nio/sctp/SctpMultiChannel/SendFailed.java fails on Solaris only
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.net
  • Affected Version: 8u60,8u72,9
  • Priority: P4
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris
  • CPU: generic
  • Submitted: 2015-03-12
  • Updated: 2016-06-13
  • Resolved: 2015-03-20
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 7 JDK 8 JDK 9
7u85Fixed 8u60Fixed 9 b57Fixed
Related Reports
Relates :  
Description
Test name(s): com/sun/nio/sctp/SctpMultiChannel/SendFailed.java  
JDK tested:9b52,9b53
OS tested:Solaris,Linux
Is it a regression? No 
Regression introduced in release/build: N/A 
                              
Is it platform specific? Yes ( Fails in Solaris 10, 11 and passes in Linux)
                     
The is failure reproduced:Solaris 10,11

----------System.err:(39/2387)----------
java.net.ConnectException: Connection refused
	at sun.nio.ch.sctp.SctpChannelImpl.send0(Native Method)
	at sun.nio.ch.sctp.SctpMultiChannelImpl.send0(SctpMultiChannelImpl.java:992)
	at sun.nio.ch.sctp.SctpMultiChannelImpl.sendFromNativeBuffer(SctpMultiChannelImpl.java:903)
	at sun.nio.ch.sctp.SctpMultiChannelImpl.send(SctpMultiChannelImpl.java:855)
	at sun.nio.ch.sctp.SctpMultiChannelImpl.send(SctpMultiChannelImpl.java:832)
	at SendFailed.doTest(SendFailed.java:88)
	at SendFailed.runWithManyOffsets(SendFailed.java:68)
	at SendFailed.test(SendFailed.java:60)
	at SendFailed.instanceMain(SendFailed.java:186)
	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 SendFailed.main(SendFailed.java:183)
	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.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:745)
java.lang.AssertionError: Some tests failed
	at SendFailed.instanceMain(SendFailed.java:188)
	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 SendFailed.main(SendFailed.java:183)
	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.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:745)

JavaTest Message: Test threw exception: java.lang.AssertionError: Some tests failed
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.AssertionError: Some tests failed
Comments
Apologies, I seem to have neglected to exclude Solaris from testing. This failure is expected.
12-03-2015