Brian Murray has proposed merging autopkgtest-cloud:bionic-install-gpg-agent into autopkgtest-cloud:master.
Requested reviews: Canonical's Ubuntu QA (canonical-ubuntu-qa) For more details, see: https://code.launchpad.net/~ubuntu-release/autopkgtest-cloud/+git/autopkgtest-cloud/+merge/461658 Running autopkgtests with packages from PPAs on Bionic is failing with the following messages (seen in logs on the cloud workers). 55s Warning: apt-key output should not be parsed (stdout is not a terminal) 55s Executing: /tmp/apt-key-gpghome.JSxai74dnJ/gpg.1.sh --keyserver keyserver.ubuntu.com --recv-key 7CA1F5946D641569F6169DA6185BA77D9DB344C3 55s gpg: key 185BA77D9DB344C3: public key "Launchpad PPA for The FIPS-CC-STIG" imported 55s gpg: failed to start agent '/usr/bin/gpg-agent': No such file or directory 55s gpg: can't connect to the agent: No such file or directory It's unclear why gpg-agent isn't available but this will resolve the immediate problem of the tests not being able to run. Before merging (or cowboy'ing) this I think a worth while test would be to remote the adt/ubuntu-bionic-*.img from the available images and recreate it using build-adt-image. -- Your team Canonical's Ubuntu QA is requested to review the proposed merge of autopkgtest-cloud:bionic-install-gpg-agent into autopkgtest-cloud:master.
diff --git a/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker-config-production/setup-canonical.sh b/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker-config-production/setup-canonical.sh index 0f60575..827268e 100644 --- a/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker-config-production/setup-canonical.sh +++ b/charms/focal/autopkgtest-cloud-worker/autopkgtest-cloud/worker-config-production/setup-canonical.sh @@ -39,6 +39,13 @@ if [ "${RELEASE}" != "trusty" ]; then fi rm /etc/apt/preferences.d/force-downgrade-to-release.pref +# 2024-03-01 The adt image for bionic is somehow missing gpg-agent and +# subsequently we cannot test packages from PPAs which is critical for +# security-britney. +if [ "${RELEASE}" = "bionic" ]; then + DEBIAN_FRONTEND=noninteractive eatmydata apt-get install gpg-agent +fi + # Remove packages not available from any configured repository, e.g. # packages fully removed from the archive. This requires the analyze-pattern # feature, which has been introduced in apt 2.0.1 (>= Focal).
-- Mailing list: https://launchpad.net/~canonical-ubuntu-qa Post to : canonical-ubuntu-qa@lists.launchpad.net Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa More help : https://help.launchpad.net/ListHelp