From 07dc831f0e364815ac3cb00b9c9301b11fa20dcc Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Fri, 18 Jul 2025 13:39:36 +0200 Subject: [PATCH 1/2] valgrind-check: Fixed missing curl Error message from PR pipeline: ``` notice: Q: ".../cf-execd"": error: Proposed executable file '/usr/bin/curl' doesn't exist Q: ".../cf-execd"": error: execresult '/usr/bin/curl -s -X PUT "" -H "X-aws-ec2-metadata-token-ttl-seconds: 21600"' is assumed to be executable but isn't ``` Ticket: ENT-13124 Signed-off-by: Lars Erik Wik (cherry picked from commit b8bd87aeb6d9682516cf1a2d85581a214ab38d11) --- tests/valgrind-check/Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/valgrind-check/Containerfile b/tests/valgrind-check/Containerfile index 287d2dee4c..891785185e 100644 --- a/tests/valgrind-check/Containerfile +++ b/tests/valgrind-check/Containerfile @@ -1,7 +1,7 @@ FROM ubuntu:20.04 AS build RUN DEBIAN_FRONTEND=noninteractive apt-get update -y RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libssl-dev libxml2-dev libpam0g-dev liblmdb-dev libacl1-dev libpcre3 libpcre3-dev -RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python git flex bison byacc automake make autoconf libtool valgrind +RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python git flex bison byacc automake make autoconf libtool valgrind curl COPY masterfiles masterfiles COPY core core WORKDIR core From 90215225c2748b38838864023f33173592c86d2d Mon Sep 17 00:00:00 2001 From: Lars Erik Wik Date: Tue, 22 Jul 2025 10:21:59 +0200 Subject: [PATCH 2/2] valgrind-check: fix missing archives Unable to fetch some archives: ``` STEP 4/8: RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3 git flex bison byacc automake make autoconf libtool valgrind curl ---snip--- Err:104 noble-updates/main amd64 git-man all 1:2.43.0-1ubuntu7.2 404 Not Found [IP: 91.189.91.81 80] Err:105 noble-updates/main amd64 git amd64 1:2.43.0-1ubuntu7.2 404 Not Found [IP: 91.189.91.81 80] ---snip--- Err:115 noble-updates/main amd64 libc6-dbg amd64 2.39-0ubuntu8.4 404 Not Found [IP: 91.189.91.81 80] ---snip--- E: Failed to fetch 404 Not Found [IP: 91.189.91.81 80] E: Failed to fetch 404 Not Found [IP: 91.189.91.81 80] E: Failed to fetch 404 Not Found [IP: 91.189.91.81 80] E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? Error: building at STEP "RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python3 git flex bison byacc automake make autoconf libtool valgrind curl": while running runtime: exit status 100 ---snip--- ``` The URL does in fact return 404: ``` $ curl http://security.ubuntu.com/ubuntu/pool/main/g/git/git-man_2.43.0-1ubuntu7.2_all.deb 404 Not Found

Not Found

The requested URL was not found on this server.


Apache/2.4.52 (Ubuntu) Server at security.ubuntu.com Port 80
``` Will try to add `--fix-missing` to the `apt-get update` as the error message suggests. Ticket: ENT-13126 Signed-off-by: Lars Erik Wik (cherry picked from commit 0a08731d1ac8e999984c716ae25f7ec99d038766) --- tests/valgrind-check/Containerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/valgrind-check/Containerfile b/tests/valgrind-check/Containerfile index 891785185e..3babc0adbd 100644 --- a/tests/valgrind-check/Containerfile +++ b/tests/valgrind-check/Containerfile @@ -1,5 +1,5 @@ FROM ubuntu:20.04 AS build -RUN DEBIAN_FRONTEND=noninteractive apt-get update -y +RUN DEBIAN_FRONTEND=noninteractive apt-get update -y --fix-missing RUN DEBIAN_FRONTEND=noninteractive apt-get install -y libssl-dev libxml2-dev libpam0g-dev liblmdb-dev libacl1-dev libpcre3 libpcre3-dev RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python git flex bison byacc automake make autoconf libtool valgrind curl COPY masterfiles masterfiles