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

[jdk18 arm32, aarch64] jdk_net failures related with IPv6 #3637

Closed
sophia-guo opened this issue May 10, 2022 · 7 comments · Fixed by #5487
Closed

[jdk18 arm32, aarch64] jdk_net failures related with IPv6 #3637

sophia-guo opened this issue May 10, 2022 · 7 comments · Fixed by #5487
Assignees

Comments

@smlambert
Copy link
Contributor

smlambert commented May 10, 2022

and presumably with EXTRA_OPTIONS=-Djava.net.preferIPv4Stack=true they are still running and failing?

@sophia-guo
Copy link
Contributor Author

Correct, EXTRA_OPTIONS=-Djava.net.preferIPv4Stack=true won't work with those tests. https://ci.adoptopenjdk.net/job/Grinder/4586/

sophia-guo added a commit to sophia-guo/openjdk-tests that referenced this issue May 10, 2022
@sophia-guo
Copy link
Contributor Author

More tests with -Djava.net.preferIPv4Stack=true -Djava.net.preferIPv6Addresses=false

https://ci.adoptopenjdk.net/job/Grinder/4618/ to https://ci.adoptopenjdk.net/job/Grinder/4623/

llxia pushed a commit that referenced this issue May 11, 2022
* Exclude problematic tests

1. linux-arm jdk8
#3603 (comment)

Signed-off-by: Sophia Guo <[email protected]>

* Linux-arm jdk11 exclude list

Signed-off-by: Sophia Guo <[email protected]>

* Fix wrong os-arch in problemlist file

Signed-off-by: Sophia Guo <[email protected]>

* Exclude three hotspot_jre_2 tests for jdk8 arm32

Signed-off-by: Sophia Guo <[email protected]>

* Problematic tests on jdk17 arm

#3594 (comment)

Signed-off-by: Sophia Guo <[email protected]>

* arm jdk18 jdk_net failures

#3637
#3599 (comment)

Signed-off-by: Sophia Guo <[email protected]>
sophia-guo added a commit to sophia-guo/openjdk-tests that referenced this issue May 11, 2022
* Exclude problematic tests

1. linux-arm jdk8
adoptium#3603 (comment)

Signed-off-by: Sophia Guo <[email protected]>

* Linux-arm jdk11 exclude list

Signed-off-by: Sophia Guo <[email protected]>

* Fix wrong os-arch in problemlist file

Signed-off-by: Sophia Guo <[email protected]>

* Exclude three hotspot_jre_2 tests for jdk8 arm32

Signed-off-by: Sophia Guo <[email protected]>

* Problematic tests on jdk17 arm

adoptium#3594 (comment)

Signed-off-by: Sophia Guo <[email protected]>

* arm jdk18 jdk_net failures

adoptium#3637
adoptium#3599 (comment)

Signed-off-by: Sophia Guo <[email protected]>
smlambert pushed a commit that referenced this issue May 11, 2022
* Exclude problematic tests

1. linux-arm jdk8
#3603 (comment)

Signed-off-by: Sophia Guo <[email protected]>

* Linux-arm jdk11 exclude list

Signed-off-by: Sophia Guo <[email protected]>

* Fix wrong os-arch in problemlist file

Signed-off-by: Sophia Guo <[email protected]>

* Exclude three hotspot_jre_2 tests for jdk8 arm32

Signed-off-by: Sophia Guo <[email protected]>

* Problematic tests on jdk17 arm

#3594 (comment)

Signed-off-by: Sophia Guo <[email protected]>

* arm jdk18 jdk_net failures

#3637
#3599 (comment)

Signed-off-by: Sophia Guo <[email protected]>
@sophia-guo sophia-guo changed the title [jdk18 arm32] jdk_net failures related with IPv6 [jdk18 arm32, aarch64] jdk_net failures related with IPv6 May 16, 2022
@sophia-guo
Copy link
Contributor Author

@LongyuZhang
Copy link
Contributor

TEST: jdk/net/ExtendedSocketOption/DontFragmentTest.java is also failing with IPv6 for JDK19 on xlinux

00:47:07  STDERR:
00:47:07  java.lang.UnsupportedOperationException: IPv6 not available
00:47:07  	at java.base/sun.nio.ch.DatagramChannelImpl.<init>(DatagramChannelImpl.java:183)
00:47:07  	at java.base/sun.nio.ch.SelectorProviderImpl.openDatagramChannel(SelectorProviderImpl.java:59)
00:47:07  	at java.base/java.nio.channels.DatagramChannel.open(DatagramChannel.java:197)
00:47:07  	at DontFragmentTest.testDatagramChannel(DontFragmentTest.java:107)
00:47:07  	at DontFragmentTest.main(DontFragmentTest.java:51)
00:47:07  	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
00:47:07  	at java.base/java.lang.reflect.Method.invoke(Method.java:578)
00:47:07  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
00:47:07  	at java.base/java.lang.Thread.run(Thread.java:858)

@sophia-guo
Copy link
Contributor Author

@sophia-guo
Copy link
Contributor Author

sophia-guo commented Aug 6, 2024

Looks like this have been fixed in upstream https://bugs.openjdk.org/browse/JDK-8314517?jql=text%20~%20%22com%2Fsun%2Fnet%2Fhttpserver%2Fsimpleserver%2FCommandLinePositiveTest.java%22.

Grinder :
https://ci.adoptium.net/view/Test_grinder/job/Grinder/10710/ -passed, jdk21 aarch64
https://ci.adoptium.net/view/Test_grinder/job/Grinder/10711/ - jdk23u not available yet
https://ci.adoptium.net/view/Test_grinder/job/Grinder/10712/ - jdk24u not available yet
https://ci.adoptium.net/view/Test_grinder/job/Grinder/10716/ - passed , jdk21 arm
https://ci.adoptium.net/view/Test_grinder/job/Grinder/10717/ - arm32 not available yet
https://ci.adoptium.net/view/Test_grinder/job/Grinder/10718/ -arm32 not available yet

Tests were disabled since JDK18 and disabled forward to all newer versions. Grinders are not available for jdk 23,24 and works for jdk21. Fixes are in since jdk21. Make sense to enable for jdk21+.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants