summaryrefslogtreecommitdiff
path: root/.azure-pipelines.yml
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-07-11 22:33:03 -0400
committerTom Rini <trini@konsulko.com>2023-07-20 15:23:16 -0400
commit58b35850c4cce3bd3f3eca3b5916a37a8fa58f6a (patch)
tree84bc1bde265ca9330ff9890d3ab37a0f6b7c7fd2 /.azure-pipelines.yml
parent5c738b54927f9f4430f4b285f4fa10946909431b (diff)
downloadu-boot-58b35850c4cce3bd3f3eca3b5916a37a8fa58f6a.tar.gz
u-boot-58b35850c4cce3bd3f3eca3b5916a37a8fa58f6a.tar.bz2
u-boot-58b35850c4cce3bd3f3eca3b5916a37a8fa58f6a.zip
CI: Add automatic retry for test.py jobs
It is not uncommon for some of the QEMU-based jobs to fail not because of a code issue but rather because of a timing issue or similar problem that is out of our control. Make use of the keywords that Azure and GitLab provide so that we will automatically re-run these when they fail 2 times. If they fail that often it is likely we have found a real issue to investigate. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to '.azure-pipelines.yml')
-rw-r--r--.azure-pipelines.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/.azure-pipelines.yml b/.azure-pipelines.yml
index db6d676a13..b7dc7e860f 100644
--- a/.azure-pipelines.yml
+++ b/.azure-pipelines.yml
@@ -460,6 +460,7 @@ stages:
fi
# Some tests using libguestfs-tools need the fuse device to run
docker run "$@" --device /dev/fuse:/dev/fuse -v $PWD:$(work_dir) $(ci_runner_image) /bin/bash $(work_dir)/test.sh
+ retryCountOnTaskFailure: 2 # QEMU may be too slow, etc.
- stage: world_build
jobs: