Skip to content
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

8341424: GHA: Collect hs_errs from build time failures #3152

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vieiro
Copy link
Contributor

@vieiro vieiro commented Dec 19, 2024

Backport of JDK-8341424 and companion JDK-8342704

This collects hs_errs when they happen with GitHub Actions, which may be useful during reviews. The idea is to backport this to 11 too.

Low risk, as this affects GHA actions only. GHA builds and tests run correctly.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • JDK-8342704 needs maintainer approval
  • JDK-8341424 needs maintainer approval

Issues

  • JDK-8341424: GHA: Collect hs_errs from build time failures (Enhancement - P4 - Approved)
  • JDK-8342704: GHA: Report truncation is broken after JDK-8341424 (Bug - P4 - Approved)

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 3152

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

Using diff file

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

Using Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Dec 19, 2024

👋 Welcome back vieiro! 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 Dec 19, 2024

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

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

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

8341424: GHA: Collect hs_errs from build time failures
8342704: GHA: Report truncation is broken after JDK-8341424

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 14 new commits pushed to the master branch:

  • 247815b: 8325937: runtime/handshake/HandshakeDirectTest.java causes "monitor end should be strictly below the frame pointer" assertion failure on AArch64
  • 10ea45e: 8316149: Open source several Swing JTree JViewport KeyboardManager tests
  • d9aa705: 8315952: Open source several Swing JToolbar JTooltip JTree tests
  • bfc957a: 8344646: The libjsig deprecation warning should go to stderr not stdout
  • e34f9ab: 8342541: Exclude List/KeyEventsTest/KeyEventsTest.java from running on macOS
  • 21f2c1b: 8342811: java/net/httpclient/PlainProxyConnectionTest.java failed: Unexpected connection count: 5
  • 1da0179: 8277240: java/awt/Graphics2D/ScaledTransform/ScaledTransform.java dialog does not get disposed
  • c6bcba2: 8342270: Test sun/security/pkcs11/Provider/RequiredMechCheck.java needs write access to src tree
  • 7203110: 8333427: langtools/tools/javac/newlines/NewLineTest.java is failing on Japanese Windows
  • 33ff519: 8340116: test/jdk/sun/security/tools/jarsigner/PreserveRawManifestEntryAndDigest.java can fail due to regex
  • ... and 4 more: https://git.openjdk.org/jdk17u-dev/compare/cdf62864a7991a973a5108b8941f59ec1d6ca0ba...master

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.

➡️ 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 0011704ec813414bfe71d7232882a1d03c362b48 8341424: GHA: Collect hs_errs from build time failures Dec 19, 2024
@openjdk
Copy link

openjdk bot commented Dec 19, 2024

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

@openjdk
Copy link

openjdk bot commented Dec 19, 2024

⚠️ @vieiro 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.

@openjdk openjdk bot added the rfr Pull request is ready for review label Dec 19, 2024
@mlbridge
Copy link

mlbridge bot commented Dec 19, 2024

Webrevs

@vieiro
Copy link
Contributor Author

vieiro commented Dec 19, 2024

/approval request Let's keep these hs_err files when they are generated. This may prove valuable in the future.

@openjdk
Copy link

openjdk bot commented Dec 19, 2024

@vieiro
8341424: The approval request has been created successfully.
8342704: The approval request has been created successfully.

@openjdk openjdk bot added approval ready Pull request is ready to be integrated and removed approval labels Dec 19, 2024
@vieiro
Copy link
Contributor Author

vieiro commented Dec 21, 2024

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Dec 21, 2024
@openjdk
Copy link

openjdk bot commented Dec 21, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport clean ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored
Development

Successfully merging this pull request may close these issues.

1 participant