Skip to content

Attempt to upload heap dump if tests failed#15181

Merged
hashhar merged 2 commits intotrinodb:masterfrom
nineinchnick:heap-dumps2
Nov 25, 2022
Merged

Attempt to upload heap dump if tests failed#15181
hashhar merged 2 commits intotrinodb:masterfrom
nineinchnick:heap-dumps2

Conversation

@nineinchnick
Copy link
Copy Markdown
Member

Description

Attempt to upload heap dump if tests failed, but only when there are no secrets defined, and running on a pull request from a repository different than trinodb/trino.

This is supposed to help debug OOM errors that happen in the CI.

Was partially discussed in #14865

Previous attempt: #15129

Additional context and related issues

n/a

Release notes

(x) This is not user-visible or docs only and no release notes are required.
( ) Release notes are required, please propose a release note for me.
( ) Release notes are required, with the following suggested text:

This reverts commit 758c02e.
It does not correctly handle failures and fixing it would require too
much overhead to keep it in a composite action.
@findepi
Copy link
Copy Markdown
Member

findepi commented Nov 24, 2022

Previous attempt: #15129

what's the key diff?

@nineinchnick
Copy link
Copy Markdown
Member Author

Here I revert adding a separate action for uploading test results and reports. It turned out to require too much overhead and didn't remove enough duplication. Uploading heap dumps is exactly the same.

Copy link
Copy Markdown
Member

@hashhar hashhar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM % question/suggestion

@hashhar hashhar merged commit 8a1ec99 into trinodb:master Nov 25, 2022
@github-actions github-actions bot added this to the 404 milestone Nov 25, 2022
@findepi
Copy link
Copy Markdown
Member

findepi commented Nov 25, 2022

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

3 participants