From b1d1d7621e8352980c68e7d5a1dd4b4a5897e1e9 Mon Sep 17 00:00:00 2001 From: Ryan Roberts Date: Tue, 22 Jul 2025 14:18:33 +0100 Subject: [PATCH] cli: Keep going if "docker image pull" fails "plan exec" always pulls all the docker images to the SUT at the start of the process to ensure it has the most up-to-date versions. But for benchmark integration development, this can be problematic as the container only exists locally and is not in the remote registry. So let's allow the operation to fail and we will just move on in that case. Signed-off-by: Ryan Roberts --- fastpath/commands/verbs/plan/exec.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fastpath/commands/verbs/plan/exec.py b/fastpath/commands/verbs/plan/exec.py index 44af0da..6d64968 100644 --- a/fastpath/commands/verbs/plan/exec.py +++ b/fastpath/commands/verbs/plan/exec.py @@ -770,7 +770,7 @@ def do_one_sut(pbar, ctx, basedir, csvs, ids, sut, swprofiles, benchmarks): # same image. images = list(set([b["image"] for b in benchmarks])) for image in images: - ctx.run(f"docker image pull {image}") + ctx.run(f"docker image pull {image}", warn=True) ctx.run(f"docker image prune --force") # Grab sut and cpu info and clean for DB. -- GitLab