From 3fc973f6caa0eeaafe895b0f9d00f67e2b77dd3f Mon Sep 17 00:00:00 2001 From: Valentine Burley Date: Mon, 1 Sep 2025 08:39:51 +0200 Subject: [PATCH] ci/crosvm: Retry all curl errors when downloading kernel MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `--retry-connrefused` didn’t catch cases where the download started but failed midway. `--retry-all-errors` will cover those too. Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/13800 Fixes: d527da301f6 ("ci: Don't include the kernel in test-base image") Signed-off-by: Valentine Burley Part-of: --- .gitlab-ci/crosvm-runner.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/crosvm-runner.sh b/.gitlab-ci/crosvm-runner.sh index 467bf0a9d2e..1b7b8b2bd0e 100755 --- a/.gitlab-ci/crosvm-runner.sh +++ b/.gitlab-ci/crosvm-runner.sh @@ -123,7 +123,7 @@ fi if [ ! -f "/kernel/${KERNEL_IMAGE_NAME:-bzImage}" ]; then mkdir -p /kernel # shellcheck disable=SC2153 - curl -L --retry 4 -f --retry-connrefused --retry-delay 30 \ + curl -L --retry 4 -f --retry-all-errors --retry-delay 30 \ -o "/kernel/${KERNEL_IMAGE_NAME:-bzImage}" "${KERNEL_IMAGE_BASE}/${DEBIAN_ARCH:-amd64}/${KERNEL_IMAGE_NAME:-bzImage}" fi