diff options
author | Tom Rini <trini@konsulko.com> | 2023-07-11 22:33:03 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-07-20 15:23:16 -0400 |
commit | 58b35850c4cce3bd3f3eca3b5916a37a8fa58f6a (patch) | |
tree | 84bc1bde265ca9330ff9890d3ab37a0f6b7c7fd2 /.gitlab-ci.yml | |
parent | 5c738b54927f9f4430f4b285f4fa10946909431b (diff) | |
download | u-boot-58b35850c4cce3bd3f3eca3b5916a37a8fa58f6a.tar.gz |
CI: Add automatic retry for test.py jobsWIP/2023-07-20-assorted-CI-updates
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 '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 99b1e73f0fe..98195c71085 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -20,6 +20,7 @@ stages: .buildman_and_testpy_template: &buildman_and_testpy_dfn stage: test.py + retry: 2 # QEMU may be too slow, etc. before_script: # Clone uboot-test-hooks - git config --global --add safe.directory "${CI_PROJECT_DIR}" |