adoptium / infrastructure

This repo contains all information about machine maintenance.
Apache License 2.0
86 stars 101 forks source link

IPv6 tests failing on test-docker-ubuntu2204-ppc64le-1 #2949

Open Haroon-Khel opened 1 year ago

Haroon-Khel commented 1 year ago

ref https://github.com/adoptium/infrastructure/issues/2883#issuecomment-1440417853

java/net/Inet6Address/B6206527.java and java/net/ipv6tests/B6521014.java fail on https://ci.adoptium.net/computer/test-docker-ubuntu2204-ppc64le-1/

Latest failures

java/net/Inet6Address/B6206527.java https://ci.adoptium.net/view/Test_grinder/job/Grinder/6711/console

java/net/ipv6tests/B6521014.java https://ci.adoptium.net/view/Test_grinder/job/Grinder/6716/console

This static docker container runs on dockerhost-skytap-ubuntu2204-ppc64le-1, which also hosts test-docker-ubuntu2204-ppc64le-2. The tests pass on -2 but fail on -1

Latest pass on -2

java/net/Inet6Address/B6206527.java https://ci.adoptium.net/view/Test_grinder/job/Grinder/6712/console

java/net/ipv6tests/B6521014.java https://ci.adoptium.net/view/Test_grinder/job/Grinder/6717/console

On any new ubuntu2204 container created on dockerhost-skytap-ubuntu2204-ppc64le-1 the tests will fail.

I've taken -1 offline and recommend keeping it so until this is resolved

sxa commented 1 day ago

Maybe verify if the parameter that @sophia-guo added recently for the reproducible test comparison makes any difference to this. Maybe also verify that the correct IPv6 options are on this dockerhost, and confirm that other containers on the host are affected or whether it's specific to Ubuntu 2204 (and later?)

sophia-guo commented 5 hours ago

For reproducible tests this is solved by configuring namespaced kernel parameters (sysctls) at runtime (--sysctl). Note Docker does not support changing sysctls inside of a container that also modify the host system. https://github.com/adoptium/temurin-build/pull/4020/files