Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MulticastSocket tests failing on AIX #1011

Closed
sophia-guo opened this issue Mar 21, 2019 · 4 comments
Closed

MulticastSocket tests failing on AIX #1011

sophia-guo opened this issue Mar 21, 2019 · 4 comments
Labels
aix bug help wanted JBS issue need to report to JBS or reopen the issue in JBS
Projects
Milestone

Comments

@sophia-guo
Copy link
Contributor

Three MulticastSocket tests fail on Aix with same exception The socket name is not available on this system. (Error setting socket option)

Standard Error

java.net.SocketException: The socket name is not available on this system. (Error setting socket option)
	at java.net.PlainDatagramSocketImpl.socketSetOption0(Native Method)
	at java.net.PlainDatagramSocketImpl.socketSetOption(PlainDatagramSocketImpl.java:74)
	at java.net.AbstractPlainDatagramSocketImpl.setOption(AbstractPlainDatagramSocketImpl.java:309)
	at java.net.MulticastSocket.setNetworkInterface(MulticastSocket.java:554)
	at SetGetNetworkInterfaceTest.main(SetGetNetworkInterfaceTest.java:54)
	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$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.lang.Thread.run(Thread.java:748)
java.lang.RuntimeException: Test Fail
	at SetGetNetworkInterfaceTest.main(SetGetNetworkInterfaceTest.java:71)
	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$AgentVMRunnable.run(MainActionHelper.java:298)
	at java.lang.Thread.run(Thread.java:748)

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

    

https://ci.adoptopenjdk.net/view/Test_openjdk/job/openjdk8_hs_openjdktest_ppc64_aix/42/console

java/net/MulticastSocket/SetGetNetworkInterfaceTest.java
java/net/MulticastSocket/SetLoopbackMode.java
java/net/MulticastSocket/Test.java

@sophia-guo sophia-guo added help wanted JBS issue need to report to JBS or reopen the issue in JBS bug aix labels Mar 21, 2019
@karianna karianna added this to TODO in aqa-tests via automation Mar 21, 2019
@groeges
Copy link

groeges commented Apr 1, 2019

Similar errors were seen on JDK11 and were reported here: https://bugs.openjdk.java.net/browse/JDK-8207404. There were some fixes made in JDK12 but these were not back-ported to JDK8

@sophia-guo
Copy link
Contributor Author

@groeges Thanks! Will the fix be back-ported to JDK8?

@groeges
Copy link

groeges commented Apr 2, 2019

@sophia-guo I am not sure. The code in JDK8 is quite different from that in JDK12. They might have deemed it too much work to try and do it. I will take a look and see if we can Gert them to back port it or to see if we can do it ourselves.

@sophia-guo
Copy link
Contributor Author

Closed as fixed do not back port to JDK8

aqa-tests automation moved this from TODO to Done Oct 7, 2020
@karianna karianna added this to the October 2020 milestone Oct 8, 2020
@smlambert smlambert added this to Done in JBS Mar 3, 2021
@gdams gdams removed this from Done in JBS Apr 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
aix bug help wanted JBS issue need to report to JBS or reopen the issue in JBS
Projects
No open projects
aqa-tests
  
Done
Development

No branches or pull requests

3 participants