-
Notifications
You must be signed in to change notification settings - Fork 235
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
8296631: NSS tests failing on OL9 linux-aarch64 hosts #2955
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back kurashige23! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
This backport pull request has now been updated with issue from the original commit. |
Webrevs
|
Could anyone review this backport please? |
|
/approval request Backporting this patch resolves NSS tests failure. , |
@kurashige23 |
/approval request Backporting this patch resolves NSS tests failure. |
@kurashige23 |
Why are the two sets of files key4.db and cert9.db different?
dbtool can't read the files in fips/. Are they a different kind of database? |
The reason key4.db and cert9.db are different is that they are newly created by me using the "modutil" command.
(The hash value for cert9.db was the same as before the above procedure.) I then verified again that the tests in pkcs11/fips/pass.
Please check if dbtool can't read the db files in fips/ again because I recreated as above. |
If you have time, I would like you to check my comment and fix. Thanks. |
What do you see?
|
I tried and got the same output as you ...
However, the same output was obtained for dbdir that existed before this PR was created.
I'm sorry for my ignorance, but I don't know what the problem is. |
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 getOsMap() in test/jdk/sun/security/pkcs11/PKCS11Test.java can not be applied since getOsMap() was removed in https://bugs.openjdk.org/browse/JDK-8331700.
・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 in 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.
Progress
Warnings
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/2955/head:pull/2955
$ git checkout pull/2955
Update a local copy of the PR:
$ git checkout pull/2955
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/2955/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 2955
View PR using the GUI difftool:
$ git pr show -t 2955
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/2955.diff
Using Webrev
Link to Webrev Comment