Skip to content

Commit

Permalink
Merge pull request #801 from swagatbora90/add-retry-for-flaky
Browse files Browse the repository at this point in the history
Retry buildkite isolated tests since they are known to be flaky
  • Loading branch information
swagatbora90 authored Dec 31, 2024
2 parents 7cef962 + 1892235 commit e5a3c77
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
# permissions and limitations under the License.

steps:

- label: ":docker: Build"
agents:
queue: "${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
Expand All @@ -34,7 +33,7 @@ steps:
queue: "${BUILDKITE_AGENT_META_DATA_QUEUE:-default}"
distro: "${BUILDKITE_AGENT_META_DATA_DISTRO}"
hostname: "${BUILDKITE_AGENT_META_DATA_HOSTNAME}"
command: 'sudo losetup -l'
command: "sudo losetup -l"

- wait

Expand Down Expand Up @@ -77,6 +76,10 @@ steps:
- "runtime/logs/*"
command:
- make -C runtime integ-test FICD_DM_POOL=build_${BUILDKITE_BUILD_NUMBER}_runtime
retry:
automatic:
- exit_status: "*"
limit: 3

# - label: ":running: snapshotter isolated tests"
# agents:
Expand Down Expand Up @@ -137,4 +140,3 @@ steps:
command:
- make -C runtime critest FICD_DM_POOL=build_${BUILDKITE_BUILD_NUMBER}_critest
timeout_in_minutes: 10

0 comments on commit e5a3c77

Please sign in to comment.