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

build: Retry logictests in integration build on failure #1356

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .buildkite/pipeline.public-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ common_values:
- exit_status: -1 # agent timed out
signal_reason: none
limit: 3
# It would be great to avoid duplication here, but yaml apparently does not
# support merging lists, only dictionaries:
retry_on_kill_or_test_fail: &retry_on_agent_kill_or_test_fail
automatic:
- signal_reason: agent_stop # spot instance killed by AWS
limit: 3
- exit_status: -1 # agent timed out
signal_reason: none
limit: 3
- exit_status: 101 # test failure
limit: 3

steps:

- label: ':rust: Check rustfmt'
Expand Down Expand Up @@ -136,7 +148,7 @@ steps:
- ecr#v2.7.0:
login: true
retries: 3
retry: *retry_on_agent_kill
retry: *retry_on_agent_kill_or_test_fail

- label: 'Test benchmark framework'
key: test-benchmark
Expand Down