Skip to content

Cancel integration tests that take more than 10 minutes #335

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

Merged
merged 1 commit into from
Nov 19, 2019
Merged
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
5 changes: 5 additions & 0 deletions .buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ steps:
command:
- cp "/local/artifacts/$BUILDKITE_BUILD_NUMBER/rootfs.img" tools/image-builder/rootfs.img
- make test-in-docker
timeout_in_minutes: 10

- label: ":rotating_light: :hammer: snapshotter *root* tests"
agents:
Expand All @@ -60,6 +61,7 @@ steps:
DOCKER_IMAGE_TAG: "$BUILDKITE_BUILD_NUMBER"
EXTRAGOARGS: "-v -count=1"
command: 'make -C snapshotter integ-test'
timeout_in_minutes: 10
concurrency: 1
concurrency_group: 'loop-device test'

Expand All @@ -73,6 +75,7 @@ steps:
- "runtime/logs/*"
command:
- make -C runtime integ-test FICD_SNAPSHOTTER=devmapper FICD_DM_POOL=build_${BUILDKITE_BUILD_NUMBER}_runtime
timeout_in_minutes: 10

- label: ":rotating_light: :exclamation: example tests (naive)"
agents:
Expand All @@ -83,6 +86,7 @@ steps:
artifact_paths:
- "examples/logs/*"
command: 'make -C examples integ-test'
timeout_in_minutes: 10
concurrency: 1
concurrency_group: 'loop-device test'

Expand All @@ -96,3 +100,4 @@ steps:
- "examples/logs/*"
command:
- make -C examples integ-test TEST_SS=devmapper TEST_POOL=build_${BUILDKITE_BUILD_NUMBER}_example
timeout_in_minutes: 10