osmith submitted this change.

View Change

Approvals: Jenkins Builder: Verified fixeria: Looks good to me, but someone else must approve osmith: Looks good to me, approved pespin: Looks good to me, but someone else must approve
scripts/repo-install-test: fix debian11 (EOL)

Fix that the repos-install-test jobs for debian11 fail at downloading
packages from security.debian.org:

Err:1 http://security.debian.org/debian-security bullseye-security/main amd64 gpgv amd64 2.2.27-2+deb11u3
404 Not Found [IP: 146.75.122.132 80]

Change-Id: I3ef0930eecf95298dd7e809e204a0083745f1823
---
M scripts/repo-install-test.sh
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/scripts/repo-install-test.sh b/scripts/repo-install-test.sh
index 8289ecf..a378502 100755
--- a/scripts/repo-install-test.sh
+++ b/scripts/repo-install-test.sh
@@ -154,6 +154,18 @@
-e s/security.debian.org/archive.debian.org/g \
/etc/apt/sources.list
;;
+ debian11)
+ # As of writing, the debian 11 security repository is not
+ # available on archive.debian.org while at the same time the
+ # non-archived version is broken. Run the test without the
+ # security repository. This is fine here, debian 11 is EOL
+ # anyway.
+ qemu_ssh sed \
+ -i \
+ -e s/deb.debian.org/archive.debian.org/g \
+ -e '/.*security.debian.org.*/d' \
+ /etc/apt/sources.list
+ ;;
esac
}


To view, visit change 43531. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: osmo-ci
Gerrit-Branch: master
Gerrit-Change-Id: I3ef0930eecf95298dd7e809e204a0083745f1823
Gerrit-Change-Number: 43531
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: osmith <osmith@sysmocom.de>
Gerrit-Reviewer: pespin <pespin@sysmocom.de>