-
Notifications
You must be signed in to change notification settings - Fork 641
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
Archive JVM error dumps on failure #9223
Conversation
You can see the run where I added tests to crash the JVM. The artifacts have the right file and all. I added one test per job type, not to each module. I would revert it before merging. |
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.
@npepinpe I have some small comments. Please have a look at them 🙂
🔧 I think it would be nice to combine the archive jobs for test results and test errors into one instead of duplicating them. We can do this by specifying multiple paths: https://github.com/actions/upload-artifact#upload-using-multiple-paths-and-exclusions
Archives dump files generated by the JVM on crashes (e.g. SIGSEV, SIGBUS, etc.). This is particularly useful when dealing with native memory and running into unrecoverable crashes to get the stacktrace of the failing frame, as this is often not logged to standard out.
3a61c2c
to
97699be
Compare
👍 I merged the paths together. |
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.
LGTM 👍
97699be
to
fc31091
Compare
bors merge |
9223: Archive JVM error dumps on failure r=npepinpe a=npepinpe ## Description This PR adds an extra post step to archive JVM error dumps when the jobs have failed. This means archiving any file with the pattern `hs_err_*.log` produced by the job. Archiving dump files generated by the JVM on crashes (e.g. SIGSEV, SIGBUS, etc.). This is particularly useful when dealing with native memory and running into unrecoverable crashes to get the stacktrace of the failing frame, as this is often not logged to standard out. NOTE: the post steps are getting bigger, but there is a follow up issue to group these together. ## Related issues closes #9129 Co-authored-by: Nicolas Pepin-Perreault <[email protected]>
Build failed: |
As bors is silent at the moment, I'll just merge. It's silly to run the whole pipeline for something that has no impact on it 😄 |
Description
This PR adds an extra post step to archive JVM error dumps when the jobs have failed. This means archiving any file with the pattern
hs_err_*.log
produced by the job.Archiving dump files generated by the JVM on crashes (e.g. SIGSEV, SIGBUS, etc.). This is particularly useful when dealing with native memory and running into unrecoverable crashes to get the stacktrace of the failing frame, as this is often not logged to standard out.
NOTE: the post steps are getting bigger, but there is a follow up issue to group these together.
Related issues
closes #9129
Definition of Done
Not all items need to be done depending on the issue and the pull request.
Code changes:
backport stable/1.3
) to the PR, in case that fails you need to create backports manually.Testing:
Documentation:
Please refer to our review guidelines.