From 24c86ff345b62dd14c793ac65e3195c98fdedb18 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Thu, 27 Mar 2025 17:56:25 +0000 Subject: [PATCH] ci/lava: Fail faster when getting results Previously we'd burn 4 minutes waiting for curl to bang its head trying to get results which would never emerge. Change this so we don't fail on a 404, and also pull the retry down quicker, so we'll spend a maximum of 2 minutes waiting for a server to come back, and no minutes when the results aren't there to be fetched. Signed-off-by: Daniel Stone Part-of: --- .gitlab-ci/lava/lava-gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci/lava/lava-gitlab-ci.yml b/.gitlab-ci/lava/lava-gitlab-ci.yml index 459b3a1ab23..7fdc774cdb9 100644 --- a/.gitlab-ci/lava/lava-gitlab-ci.yml +++ b/.gitlab-ci/lava/lava-gitlab-ci.yml @@ -41,7 +41,7 @@ variables: tags: - $RUNNER_TAG after_script: - - curl -L --retry 4 -f --retry-all-errors --retry-delay 60 -s "https://${JOB_RESULTS_PATH}" | tar --warning=no-timestamp --zstd -x + - curl -L --retry 4 -f --retry-connrefused --retry-delay 30 -s "https://${JOB_RESULTS_PATH}" | tar --warning=no-timestamp --zstd -x needs: - !reference [.required-for-hardware-jobs, needs] - job: alpine/x86_64_lava_ssh_client