@@ -269,6 +269,7 @@ jobs:
269269 needs : setup
270270 if : needs.setup.outputs.packages-count != '0'
271271 runs-on : ubuntu-latest
272+ timeout-minutes : 720
272273 env :
273274 PACKAGES : ${{ needs.setup.outputs.packages }}
274275 CRASHTRACKER_FEATURE : ${{ needs.setup.outputs.crashtracker-feature }}
@@ -297,7 +298,7 @@ jobs:
297298 cache-bin : true # cache the ~/.cargo/bin directory
298299 - name : Build CentOS 7 Docker image
299300 run : docker build -t libdatadog-centos7 -f tools/docker/Dockerfile.centos .
300- - name : " cargo nextest run (centos7)"
301+ - name : " cargo nextest run (centos7) x100 "
301302 # Run docker as a user, not the default root
302303 # Mount and use the runner's toolchain as it's the same arch
303304 # exclude tracing integration tests since they require docker in docker to run a test-agent
@@ -310,17 +311,20 @@ jobs:
310311 # shellcheck disable=SC2086
311312 NEXTEST_CMD="cargo nextest run $PACKAGES $CRASHTRACKER_FEATURE --profile ci --no-tests=pass -E '!test(tracing_integration_tests::)'"
312313 fi
313- docker run --rm \
314- --user "$(id -u):$(id -g)" \
315- -v "${{ github.workspace }}:/workspace" \
316- -v "${CARGO_HOME:-$HOME/.cargo}:/usr/local/cargo" \
317- -v "${RUSTUP_HOME:-$HOME/.rustup}:/usr/local/rustup" \
318- -e CARGO_HOME=/usr/local/cargo \
319- -e RUSTUP_HOME=/usr/local/rustup \
320- -e PATH=/usr/local/cargo/bin:/usr/local/rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:/opt/rh/devtoolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
321- -w /workspace \
322- libdatadog-centos7 \
323- sh -c "$NEXTEST_CMD"
314+ for i in $(seq 1 100); do
315+ echo "=== Run $i/100 ==="
316+ docker run --rm \
317+ --user "$(id -u):$(id -g)" \
318+ -v "${{ github.workspace }}:/workspace" \
319+ -v "${CARGO_HOME:-$HOME/.cargo}:/usr/local/cargo" \
320+ -v "${RUSTUP_HOME:-$HOME/.rustup}:/usr/local/rustup" \
321+ -e CARGO_HOME=/usr/local/cargo \
322+ -e RUSTUP_HOME=/usr/local/rustup \
323+ -e PATH=/usr/local/cargo/bin:/usr/local/rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin:/opt/rh/devtoolset-11/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin \
324+ -w /workspace \
325+ libdatadog-centos7 \
326+ sh -c "$NEXTEST_CMD"
327+ done
324328 - name : Add file attributes to JUnit XML
325329 if : success() || failure()
326330 run : cargo run --bin add_junit_file_attributes -- target/nextest/ci/junit.xml
0 commit comments