ci/crosvm: Retry all curl errors when downloading kernel

`--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: d527da301f ("ci: Don't include the kernel in test-base image")
Signed-off-by: Valentine Burley <valentine.burley@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/37109>
(cherry picked from commit 3fc973f6ca)
This commit is contained in:
Valentine Burley 2025-09-01 08:39:51 +02:00 committed by Eric Engestrom
parent 4fa2b8b818
commit b11a042c35
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -1174,7 +1174,7 @@
"description": "ci/crosvm: Retry all curl errors when downloading kernel",
"nominated": true,
"nomination_type": 2,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "d527da301f6c690f008c831ecd9759fb497b1d24",
"notes": null