@@ -49,7 +49,9 @@ check-DEVELOPERS:
.runtime_test: &runtime_test
# Keep build directories so the rootfs can be an artifact of the job. The
# runner will clean up those files for us.
- script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k ${CI_BUILD_NAME}
+ # Multiply every emulator timeout by 10 to avoid sporadic failures in
+ # elastic runners.
+ script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${CI_BUILD_NAME}
artifacts:
when: always
expire_in: 2 weeks
@@ -49,7 +49,9 @@ check-DEVELOPERS:
.runtime_test: &runtime_test
# Keep build directories so the rootfs can be an artifact of the job. The
# runner will clean up those files for us.
- script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k ${CI_BUILD_NAME}
+ # Multiply every emulator timeout by 10 to avoid sporadic failures in
+ # elastic runners.
+ script: ./support/testing/run-tests -o test-output/ -d test-dl/ -k --timeout-multiplier 10 ${CI_BUILD_NAME}
artifacts:
when: always
expire_in: 2 weeks
Multiply the timeouts for emulator in the gitlab runners by 10 to avoid sporadic failures in elastic runners. Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com> --- Changes v1 -> v2: - use --timeout-multiplier instead of -e, as it changed in v2 of the previous patch; Sample pipeline using only gitlab runners: https://gitlab.com/RicardoMartincoski/buildroot/pipelines/10605884 PS: for this other sporadic error: ERROR: Job failed: execution took longer than 1h0m0s seconds https://gitlab.com/RicardoMartincoski/buildroot/-/jobs/28241402 see https://docs.gitlab.com/ee/user/project/pipelines/settings.html#timeout --- .gitlab-ci.yml | 4 +++- .gitlab-ci.yml.in | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-)