-
Notifications
You must be signed in to change notification settings - Fork 81
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
Retry uploading build events more often #1935
Conversation
b305d8e
to
bb1c470
Compare
Given
I guess this is something to still experiment a bit further on before a review is needed? |
bb1c470
to
53ea0d6
Compare
Oh yes, I was too optimistic. |
I guess third time's a charm, so the one failing job succeeded on the third try... At least these changes seem to improve the situation. @aherrmann could you have a look please? |
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.
Thank you!
.github/workflows/workflow.yaml
Outdated
find "$base" -mindepth 1 -maxdepth 1 -name "java*.log.*" -print0 | xargs -0rI % cp % logs/ | ||
|
||
- name: Upload Logs | ||
if: steps.collect_logs.conclusion == 'success' |
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.
Just to be sure, does this mean this step is skipped if the condition for collect_logs
(i.e. failure()
) is false?
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.
0a0e64b
to
9ec413a
Compare
This remedies an issue (buildbuddy-io/buildbuddy#4467) where the build would fail eventually because the connections to the remote get closed intermittently.
9ec413a
to
13312bf
Compare
This change retries event upload 256 times on Windows (default is 4).
This remedies an issue (buildbuddy-io/buildbuddy#4467) where the build would fail eventually because the connections to the remote get closed intermittently.
Since we were seeing this mainly for PRs started from forks (where the BuildBuddy API secret is not set), deliberately opened from my fork.
Still no dice. Two jobs fail with a timeout error: