adoptium / aqa-tests

Home of test infrastructure for Adoptium builds
https://adoptium.net/aqavit
Apache License 2.0
130 stars 308 forks source link

JDK8: Failing pkcs11 tests (libnss related?) on AL2023, UBI9+, F35+ #5380

Open sxa opened 3 months ago

sxa commented 3 months ago

Seen as part of the Amazon Linux 2023 triage issue but the failures are seen in some of the upstream distributions too such as UBI9, and Fedora 35+ (possibly earlier versions - I've only gone back to 35 so far). CentOS9-Stream would likely fail too, although UBI8/CentOS8 do not have the failures.

Package Duration Fail (diff) Skip (diff) Pass (diff) Total (diff)
sun/security/pkcs11/Provider/Login 2 min 8 sec 0 0 50 50
sun/security/pkcs11/Secmod/AddPrivateKey 5 min 59 sec 0 0 50 50
sun/security/pkcs11/Secmod/GetPrivateKey 1 min 51 sec 0 0 50 50
sun/security/pkcs11/Secmod/JksSetPrivateKey 1 min 51 sec 0 0 50 50
sun/security/pkcs11/Secmod/LoadKeystore 1 min 12 sec 0 0 50 50
sun/security/pkcs11/Secmod/TrustAnchors 59 sec 0 0 50 50
sun/security/pkcs11/ec/TestCurves 2 min 52 sec 0 0 50 50

I have tried running with /usr/bin/update-crypto-policies --set LEGACY set but that did not affect the failures.

Note that the results above are from x64. The tests are skipped on aarch64 due to this map not having an entry for Linux-aarch64-64 so it trips over this line which skips it.

A suitable Grinder for re-running these (plus a few other s that fail on the platform) is at this link

sxa commented 2 months ago

See more complete table in https://github.com/adoptium/aqa-tests/issues/5420#issuecomment-2217625378