Skip to content

8296631: NSS tests failing on OL9 linux-aarch64 hosts #654

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

Closed
wants to merge 3 commits into from

Conversation

kurashige23
Copy link
Member

@kurashige23 kurashige23 commented May 14, 2025

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.


Progress

  • Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8296631 needs maintainer approval

Issue

  • JDK-8296631: NSS tests failing on OL9 linux-aarch64 hosts (Bug - P3 - Approved)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk8u-dev.git pull/654/head:pull/654
$ git checkout pull/654

Update a local copy of the PR:
$ git checkout pull/654
$ git pull https://git.openjdk.org/jdk8u-dev.git pull/654/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 654

View PR using the GUI difftool:
$ git pr show -t 654

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk8u-dev/pull/654.diff

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented May 14, 2025

👋 Welcome back kurashige23! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

@openjdk
Copy link

openjdk bot commented May 14, 2025

@kurashige23 This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

8296631: NSS tests failing on OL9 linux-aarch64 hosts

Reviewed-by: phh

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 1 new commit pushed to the master branch:

  • 656b3cf: 8186143: keytool -ext option doesn't accept wildcards for DNS subject alternative names

Please see this link for an up-to-date comparison between the source branch of this pull request and the master branch.
As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@phohensee) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot changed the title Backport 6e1aacdfba5a32f7b071eea8039888d275827e83 8296631: NSS tests failing on OL9 linux-aarch64 hosts May 14, 2025
@openjdk
Copy link

openjdk bot commented May 14, 2025

This backport pull request has now been updated with issue from the original commit.

@openjdk openjdk bot added backport rfr Pull request is ready for review labels May 14, 2025
@mlbridge
Copy link

mlbridge bot commented May 14, 2025

Webrevs

@openjdk
Copy link

openjdk bot commented May 14, 2025

⚠️ @kurashige23 This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

@kurashige23
Copy link
Member Author

Thank you for your review.

GHA error is a certificate issue and not related to this PR.

/approval request Backporting this patch resolves NSS tests failure.
Original patch does not apply cleanly because some code does not exist in jdk8.
Test-only fix, low risk.
Pkcs11 tests on RHEL9 and GHA pass.

@openjdk
Copy link

openjdk bot commented May 15, 2025

@kurashige23
8296631: The approval request has been created successfully.

@openjdk openjdk bot added approval ready Pull request is ready to be integrated and removed approval labels May 15, 2025
@kurashige23
Copy link
Member Author

Thank you for your review.

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label May 19, 2025
@openjdk
Copy link

openjdk bot commented May 19, 2025

@kurashige23
Your change (at version c5c1763) is now ready to be sponsored by a Committer.

@phohensee
Copy link
Member

/sponsor

@openjdk
Copy link

openjdk bot commented May 19, 2025

Going to push as commit 176d674.
Since your change was applied there has been 1 commit pushed to the master branch:

  • 656b3cf: 8186143: keytool -ext option doesn't accept wildcards for DNS subject alternative names

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label May 19, 2025
@openjdk openjdk bot closed this May 19, 2025
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels May 19, 2025
@openjdk
Copy link

openjdk bot commented May 19, 2025

@phohensee @kurashige23 Pushed as commit 176d674.

💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

@kurashige23
Copy link
Member Author

@jerboaa @phohensee

This PR was integrated, but JBS issue for backport was not issued.
So there is no line for openjdk8u at "Backports" part on JDK-8296631 .

I don't remember doing anything different from the normal process.
Do you know the cause?

Thanks.

@phohensee
Copy link
Member

I have no idea why. @jerboaa?

@gnu-andrew
Copy link
Member

@jerboaa @phohensee

This PR was integrated, but JBS issue for backport was not issued. So there is no line for openjdk8u at "Backports" part on JDK-8296631 .

I don't remember doing anything different from the normal process. Do you know the cause?

Thanks.

I just spotted this as well, as it's still showing up in the "Approved without Push" filter. Looking into it.

@gnu-andrew
Copy link
Member

I've e-mailed ops and CCed you, @phohensee. I'm afraid I couldn't see an e-mail on your account, @kurashige23, to add you in as well but will let you know what happens.

@gnu-andrew
Copy link
Member

Fixed now. The ticket was there but not visible.

@phohensee
Copy link
Member

Thank you, Andrew.

@kurashige23
Copy link
Member Author

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

3 participants