[jdk8u-dev] RFR: 8296631: NSS tests failing on OL9 linux-aarch64 hosts

Taizo Kurashige tkurashige at openjdk.org
Mon May 19 05:48:53 UTC 2025


On Wed, 14 May 2025 08:42:55 GMT, Taizo Kurashige <tkurashige at openjdk.org> wrote:

> Hi,
> 
> This is a backport of JDK-8296631: NSS tests failing on OL9 linux-aarch64 hosts
> 
> Original patch does not apply cleanly for the following reasons:
> 
> ・Fix to test/jdk/sun/security/pkcs11/PKCS11Test.java can not be applied because it is a fix to code that does not exist in jdk8.
> ・Fix to test/jdk/sun/security/pkcs11/Provider/MultipleLogin.sh can not be applied since test/jdk/sun/security/pkcs11/Provider/MultipleLogin.sh added in https://bugs.openjdk.org/browse/JDK-8240256  (jdk17).
> ・Fix to test/jdk/sun/security/pkcs11/tls/tls12 can not be applied since test/jdk/sun/security/pkcs11/tls/tls12 is an enhancement added in https://bugs.openjdk.org/browse/JDK-8220753  (jdk13).
> ・pkcs11/fips/ClientJSSEServerJSSE.java and pkcs11/fips/TrustManagerTest.java fail if I run the pkcs11 tests without the fix to test/jdk/sun/security/pkcs11/fips/. This is because cert9.db, key4.db, and pkcs11.txt, which are required to run the tests using sqlite, do not exist in test/jdk/sun/security/pkcs11/fips. test/jdk/sun/security/pkcs11/fips was removed by https://bugs.openjdk.org/browse/JDK-8217835  (jdk13), so the original patch does not fix test/jdk/sun/security/pkcs11/fips/. I added the database files to test/jdk/sun/security/pkcs11/fips so that pkcs11/fips/ClientJSSEServerJSSE.java and pkcs11/fips/TrustManagerTest.java can run tests using sqlite and pass.
> 
> Testing: jdk/sun/security/pkcs11 tests on RHEL9, GHA testing
> 
> Thanks.

Thank you for your review.

-------------

PR Comment: https://git.openjdk.org/jdk8u-dev/pull/654#issuecomment-2889692621


More information about the jdk8u-dev mailing list