Package: autopkgtest Version: 5.31.2 Severity: normal Tags: patch Dear maintainers,
autopkgtest-build-qemu ends up in error when trying to build an image
for Freexian's stretch ELTS. The image is successfully built for the
archived (as in archive.d.o) stretch. This is the relevant part of the
log:
/usr/share/autopkgtest/setup-commands/setup-testbed: Attempting to set up
Debian/Ubuntu apt sources automatically
Failed to auto-detect apt mirror; set $MIRROR explicitly
ERROR: Program failed: 1
ERROR: RuncmdError('Program failed: 1')
Something went wrong, cleaning up!
I'll prepare a MR, but in the meantime, the attache patch fixes the
issue.
Thanks!
-- S
-- System Information:
Debian Release: trixie/sid
APT prefers stable-security
APT policy: (500, 'stable-security'), (500, 'oldstable-updates'), (500,
'oldstable-security'), (500, 'oldoldstable-updates'), (500, 'oldoldstable'),
(500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.6.9-amd64 (SMP w/16 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages autopkgtest depends on:
ii apt-utils 2.7.8
ii libdpkg-perl 1.22.2
ii mawk 1.3.4.20231126-1
ii procps 2:4.0.4-2+b1
ii python3 3.11.6-1
ii python3-debian 0.1.49
Versions of packages autopkgtest recommends:
ii autodep8 0.28
ii fakeroot 1.32.2-1+b1
Versions of packages autopkgtest suggests:
ii docker.io 20.10.25+dfsg1-2+b3
pn fakemachine <none>
ii genisoimage 9:1.1.11-3.4
ii lxc 1:5.0.3-2
pn lxd <none>
ii ovmf 2023.11-4
pn ovmf-ia32 <none>
pn podman <none>
ii python3-distro-info 1.7
ii qemu-efi-aarch64 2023.11-4
ii qemu-efi-arm 2023.11-4
ii qemu-system 1:8.2.0+ds-4
ii qemu-utils 1:8.2.0+ds-4
ii schroot 1.6.13-3+b3
ii util-linux 2.39.3-6
ii vmdb2 0.28-1
ii zerofree 1.1.1-1
-- no debconf information
From b21a596e11a2f5daf9ef4886a81911519ac4337e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Santiago=20Ruano=20Rinc=C3=B3n?= <[email protected]> Date: Wed, 10 Jan 2024 22:11:21 -0500 Subject: [PATCH] autopkgtest-build-qemu pass MIRROR to setup-testbed --- tools/autopkgtest-build-qemu | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/autopkgtest-build-qemu b/tools/autopkgtest-build-qemu index c3938b0..a7d135c 100755 --- a/tools/autopkgtest-build-qemu +++ b/tools/autopkgtest-build-qemu @@ -587,6 +587,7 @@ class BuildQemu: 'shell': ( 'export AUTOPKGTEST_BUILD_QEMU=1; ' + 'export RELEASE=' + shlex.quote(release) + '; ' + + 'export MIRROR=' + shlex.quote(mirror) + '; ' + shlex.quote(s) + ' "$ROOT"' ), 'root-fs': 'root', -- 2.43.0
signature.asc
Description: PGP signature

