-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
8323637: Capture hotspot replay files in GHA #17392
Conversation
👋 Welcome back ihse! A progress list of the required criteria for merging this PR into |
Webrevs
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Except that current GHA is broken, and we would want to give it as spin before integrating. I sent a note to ops@ about this yesterday, but got no reply. Maybe you can poke them a bit? The problem is the git.openjdk.java.net forwarder not working...
@magicus 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:
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 27 new commits pushed to the
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. ➡️ To integrate this PR with the above commit message to the |
I agree, we want to see green checks for GHA. I thought it looked like my GHA runs on another branch was working, so maybe it is fixed now. Trying to get GHA to rerun by pushing an empty commit; I have forgotten if this in fact works. :) |
(Sorry for the force push, I added a dummy commit locally touching real files, but I never intended to push it to this branch) |
@magicus Please do not rebase or force-push to an active PR as it invalidates existing review comments. Note for future reference, the bots always squash all changes into a single commit automatically as part of the integration. See OpenJDK Developers’ Guide for more information. |
BTW, you can just go to https://github.com/magicus/jdk/actions/workflows/main.yml -- and trigger the workflow on your branch by hand, without doing any commits. Bots would pick that up. |
I did not think such a run would show up in the check status in the PR..? But maybe the bots are more intelligent than I give them credit for. 🤖 I'll try that next time, thanks! |
They would show up here, just not instantaneously. I do that for both initial and workflow re-runs all the time. |
/integrate |
Going to push as commit c84c0ab.
Your commit was automatically rebased without conflicts. |
From the bug report:
jdk/.github/scripts/gen-test-results.sh is capable of capture hs_err_* file for erroneous and failed tests. They are also exposed under tag
<details><summary>View HotSpot error log</summary>
.I think we can do the same thing for replay files. A replay file is automatically generated when compiler threads encounter a fatal error. sometimes, we can only trigger the compilation error on GHA. attached replay file is invaluable.
I have not figured out how to provoke a replay file on GHA, so this is untested, but since it is based on the hs_err logic I'm pretty confident that it works. If it turns out to be problematic, let's fix it in a follow up.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/17392/head:pull/17392
$ git checkout pull/17392
Update a local copy of the PR:
$ git checkout pull/17392
$ git pull https://git.openjdk.org/jdk.git pull/17392/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 17392
View PR using the GUI difftool:
$ git pr show -t 17392
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/17392.diff
Webrev
Link to Webrev Comment