adoptium / infrastructure

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

UBI and Ubuntu 2404 test failure summary #3614

Open Haroon-Khel opened 5 months ago

Haroon-Khel commented 5 months ago

Using this issue to summarise the consistent failures of https://github.com/adoptium/infrastructure/issues/3586 and https://github.com/adoptium/infrastructure/issues/3501 as there were many common failures

UBI 8 and 9 JDK8 all platforms: Known issue https://github.com/adoptium/infrastructure/issues/2949 java/net/Inet6Address/B6206527.java java/net/ipv6tests/B6521014.java

both are excluded on linux for openj9 https://github.com/adoptium/aqa-tests/blob/7e3811b9d4c6fcf265d2fc7e9852412034fe6260/openjdk/excludes/ProblemList_openjdk8-openj9.txt#L150 and https://github.com/adoptium/aqa-tests/blob/7e3811b9d4c6fcf265d2fc7e9852412034fe6260/openjdk/excludes/ProblemList_openjdk8-openj9.txt#L166

I recommend exclusion for jdk8

UBI8 and 9 Known issue https://github.com/adoptium/infrastructure/issues/2631 java/nio/file/Files/probeContentType/Basic.java

excluded on windows for many jdk versions https://github.com/search?q=repo%3Aadoptium%2Faqa-tests+java%2Fnio%2Ffile%2FFiles%2FprobeContentType%2FBasic&type=code

UBI 8 and 9 and Ubuntu 2404, various tests within jdk_security3 are failing for jdk8 and 11, common ones are

sun/security/pkcs11/fips/TestTLS12.java
sun/security/pkcs11/Provider/Login.sh
sun/security/pkcs11/Secmod/AddPrivateKey.java
sun/security/pkcs11/Secmod/GetPrivateKey.java
sun/security/pkcs11/Secmod/JksSetPrivateKey.java
sun/security/pkcs11/Secmod/LoadKeystore.java
sun/security/pkcs11/Secmod/TrustAnchors.java
sun/security/tools/keytool/autotest.sh

Ubuntu 2404 and UBI 8 and 9, JDK 11 all platforms

java/time/test/java/time/format/TestUTCParse.java

sxa commented 5 months ago

Notes:

Haroon-Khel commented 4 months ago

Raised https://github.com/adoptium/infrastructure/issues/3658 for the failing TestUTCParse test

Haroon-Khel commented 4 months ago

There also 2 more tests affecting JDK21 for both UBI8/9 and Ubuntu2404

jdk/jfr/jcmd/TestJcmdDump.java
com/sun/jdi/FinalizerTest.java
smlambert commented 4 months ago

There also 2 more tests affecting JDK21 for both UBI8/9 and Ubuntu2404

Noting from our discussion that TestJcmdDump and FinalizerTest are intermittent failures that are considered non-blocking. (OutOfMemory)

sxa commented 4 months ago

We had a call today to discuss some of these failures with a goal to get approval to support Ubuntu 24.04 for the July release:

Haroon-Khel commented 4 months ago

@Haroon-Khel will try to install the shared-mime-info package referenced in https://github.com/adoptium/infrastructure/issues/2631#issuecomment-1188992683 to see if ti resolves the probeContentType failure (Noting that the equivalent package on Ubuntu may be different)

Installing shared-mime-info allows the test to pass. Ive installed it on all of the affected machines and will add it to the dockerstatic dockerfiles

Haroon-Khel commented 4 months ago

@Haroon-Khel will attempt a run of the TestUTCParse test after adjusting the time zone on the machine to UTC

On the failing machines it looks like the time is already set to UTC

root@test-azure-ubuntu2404-x64-1:~# date
Fri Jul  5 16:37:29 UTC 2024
smlambert commented 4 months ago

On the failing machines it looks like the time is already set to UTC

and looking at passing machines do you see differences in output of date?

sxa commented 4 months ago

Noting that based on the table at https://github.com/adoptium/aqa-tests/issues/5420#issuecomment-2217625378 I'm ok with the PKCS11 and TestTLS12 failures being no worse on Ubuntu 24.04 than on 22.04 so I do not consider that a blocker. Also @smlambert just to clarify the autotest.sh failure does not occur on Ubuntu 24.04 so is not a blocker for that version.

Haroon-Khel commented 4 months ago

and looking at passing machines do you see differences in output of date?

On test-docker-alpine319-x64-4 on which the test passes (https://ci.adoptium.net/job/Grinder/10549/console)

8f585a2be287:/# date
Tue Jul  9 15:57:37 UTC 2024

Same format as https://github.com/adoptium/infrastructure/issues/3614#issuecomment-2211153197

sxa commented 1 week ago

Summary of follow-up to the action items on the earlier comment:

sxa commented 6 days ago

Noting that https://github.com/adoptium/infrastructure/issues/3521 (related to MD5 and excluded under https://github.com/adoptium/aqa-tests/pull/5220) is also a problem on the newer distributions (including some prior to 24.04) and so should be covered under this issue. This was fixed upstream so that issue has been closed but I'm noting it here for completeness (this issue was created after it was excluded)