Brian Murray has proposed merging ~ubuntu-release/autopkgtest/+git/development:hide-warnings into ~ubuntu-release/autopkgtest/+git/development:master.
Requested reviews: Ubuntu Release Team (ubuntu-release) For more details, see: https://code.launchpad.net/~ubuntu-release/autopkgtest/+git/development/+merge/457169 We were seeing issues on arm64 test instances where tests would fail immediately after running the following commands: 112s autopkgtest [18:56:44]: ERROR: "sh -ec mkdir -p /etc/apt/preferences.d; PKGS=""; PKGS="$PKGS $(apt-cache showsrc binutils | awk '/^Package-List:/ { show=1; next } (/^ / && show==1) { print $1 ":*"; next } { show=0 }' |sort -u | tr '\n' ' ')"; printf "Package: $PKGS\nPin: release a=noble-proposed\nPin-Priority: 995\n" > /etc/apt/preferences.d/autopkgtest-noble-proposed; printf " 112s Package: *\nPin: release a=noble-updates\nPin-Priority: 990\n" >> /etc/apt/preferences.d/autopkgtest-noble-proposed; " failed with stderr "W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 The problem was that $PKGS contained warning messages and then some how this tried as a command: binutils-aarch64-linux-gnu-dbg:*: command not found There seems to be a problem with our images in that we have /etc/apt/sources.list and /etc/apt/sources.list.d/ubuntu.sources which needs investigating. However, we should get arm64 (and other arches?) tests running again while we investigate the root cause of the issue. -- Your team Canonical's Ubuntu QA is subscribed to branch ~ubuntu-release/autopkgtest/+git/development:master.
diff --git a/lib/adt_testbed.py b/lib/adt_testbed.py index 3ea08fa..ed31844 100644 --- a/lib/adt_testbed.py +++ b/lib/adt_testbed.py @@ -1368,7 +1368,7 @@ Description: satisfy autopkgtest test dependencies # translate src:name entries into binaries of that source if srcpkgs: - script += 'PKGS="$PKGS $(apt-cache showsrc %s | ' \ + script += 'PKGS="$PKGS $(apt-cache showsrc %s 2>&1 | grep -v "^W" | ' \ '''awk '/^Package-List:/ { show=1; next } (/^ / && show==1) { print $1 ":*"; next } { show=0 }' |''' \ '''sort -u | tr '\\n' ' ')"; ''' % \ ' '.join(srcpkgs)
-- 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