Package: autopkgtest
Version: 5.55
Severity: normal
File: /usr/bin/autopkgtest-build-qemu

Hi,

I have auto-apt-proxy and that points to a working apt-cacher-ng:
$ auto-apt-proxy curl --silent 
http://debian.debian.zugschlus.de/debian/dists/unstable/Release | head -n 30
Origin: Debian
Label: Debian
Suite: unstable
Codename: sid
Changelogs: 
https://metadata.ftp-master.debian.org/changelogs/@CHANGEPATH@_changelog
Date: Mon, 25 May 2026 08:05:59 UTC
Valid-Until: Mon, 01 Jun 2026 08:05:59 UTC
Acquire-By-Hash: yes
No-Support-for-Architecture-all: Packages
Architectures: all amd64 arm64 armhf i386 loong64 ppc64el riscv64 s390x
Components: main contrib non-free-firmware non-free
Description: Debian x.y Unstable - Not Released
MD5Sum:
 f60e3d8bf0a4b0d2b22d6e32b8c05267  6564903 contrib/Contents-all
 13e3de7f0045aa378918de608fe3bca9    63339 contrib/Contents-all.diff/Index
 1555017f7d29d9a67389456c6dec9e2d   536176 contrib/Contents-all.gz
 17c26a1d2947e2f3a5a3d53e61a2c826  3256240 contrib/Contents-amd64
 3467c1aafaec69df7c38c73f775215da    63339 contrib/Contents-amd64.diff/Index
 b2e68b1407109429d0a8a1c794479236   206824 contrib/Contents-amd64.gz
 624326a4e330e211b46392bff7f75607  1692135 contrib/Contents-arm64
 479e9a3a77f52f70b303a711ab6b7b85    63339 contrib/Contents-arm64.diff/Index
 9c08dcf6e1160c4359054db548d48e1e   119263 contrib/Contents-arm64.gz
 526007a2d5c78c18fcf6eaf32ca565cb   534401 contrib/Contents-armhf
 ce3ea8c3d4dd3f0701307f099593ed60    63339 contrib/Contents-armhf.diff/Index
 8a9144f664c5351c8d7f940127854381    44174 contrib/Contents-armhf.gz
 866d4e8863ee45619665972b9d46faf4   548739 contrib/Contents-i386
 94b154347a62e3b8fa5bc7455000d308    63339 contrib/Contents-i386.diff/Index
 ef73c999e14516e70e43897c77e296df    46216 contrib/Contents-i386.gz
 c8af63f28f90c8cded3a3f48739dda5d   515862 contrib/Contents-loong64
 a8f61bd16df36408e47f26fd08384aed    58851 contrib/Contents-loong64.diff/Index

However, building an image fails:
autopkgtest-build-qemu unstable ~/.cache/autopkgtest-qemu/unstable.img
Running /tmp/user/35300/tmplypzfddf/vmdb2-script using kvm backend
+ export AUTOPKGTEST_APT_PROXY=http://10.0.2.2:3142
+ export AUTOPKGTEST_SETUP_APT_PROXY=http://127.0.0.1:3142
+ export http_proxy=http://127.0.0.1:3142
+ vmdb2 --verbose --image=/home/mh/.cache/autopkgtest-qemu/unstable.img.raw 
--log=/home/mh/.cache/autopkgtest-qemu/unstable.img.log 
/tmp/user/35300/tmplypzfddf/vmdb2.yaml
Load spec file /tmp/user/35300/tmplypzfddf/vmdb2.yaml
Spec:
{'steps': [{'mkimg': '{{ image }}', 'size': '25G'}, {'mklabel': 'msdos', 
'device': '{{ image }}'}, {'mkpart': 'primary', 'device': '{{ image }}', 
'start': '0%', 'end': '100%', 'tag': 'root'}, {'kpartx': '{{ image }}'}, 
{'mkfs': 'ext4', 'partition': 'root'}, {'mount': 'root'}, {'debootstrap': 
'unstable', 'mirror': 'http://deb.debian.org/debian', 'target': 'root'}, 
{'apt': 'install', 'packages': ['linux-image-amd64'], 'tag': 'root'}, {'grub': 
'bios', 'tag': 'root', 'console': 'serial'}, {'chroot': 'root', 'shell': 
"passwd --delete root\nuseradd --home-dir /home/user --create-home user\npasswd 
--delete user\necho host > /etc/hostname\necho '127.0.1.1\thost' >> 
/etc/hosts"}, {'fstab': 'root'}, {'shell': 'export AUTOPKGTEST_BUILD_QEMU=1; 
export RELEASE=unstable; export MIRROR=http://deb.debian.org/debian; 
/usr/share/autopkgtest/setup-commands/setup-testbed "$ROOT"', 'root-fs': 
'root'}]}
Exec: ['dpkg', '--print-architecture']
amd64
Exec: ['qemu-img', 'create', '-f', 'raw', 
'/home/mh/.cache/autopkgtest-qemu/unstable.img.raw', '25G']
Formatting '/home/mh/.cache/autopkgtest-qemu/unstable.img.raw', fmt=raw 
size=26843545600
Exec: ['parted', '-s', '/home/mh/.cache/autopkgtest-qemu/unstable.img.raw', 
'mklabel', 'msdos']
Exec: ['parted', '-m', '/home/mh/.cache/autopkgtest-qemu/unstable.img.raw', 
'print']
BYT;
/home/mh/.cache/autopkgtest-qemu/unstable.img.raw:26.8GB:file:512:512:msdos::;
Exec: ['parted', '-s', '/home/mh/.cache/autopkgtest-qemu/unstable.img.raw', 
'--', 'mkpart', 'primary', 'ext2', '0%', '100%']
Exec: ['parted', '-m', '/home/mh/.cache/autopkgtest-qemu/unstable.img.raw', 
'print']
BYT;
/home/mh/.cache/autopkgtest-qemu/unstable.img.raw:26.8GB:file:512:512:msdos::;
1:1049kB:26.8GB:26.8GB:::;
Exec: ['losetup', '-f', '--show', 
'/home/mh/.cache/autopkgtest-qemu/unstable.img.raw']
/dev/loop0
Exec: ['kpartx', '-usv', '/dev/loop0']
add map loop0p1 (254:0): 0 52426752 linear 7:0 2048
remembering /dev/mapper/loop0p1 as root
Exec: ['/sbin/mkfs', '-t', 'ext4', '/dev/mapper/loop0p1']
mke2fs 1.47.4 (6-Mar-2025)
Creating filesystem with 6553344 4k blocks and 1638400 inodes
Filesystem UUID: f2195ae1-7ea1-4896-97de-cd51530eeb2d
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
        4096000

Allocating group tables: done
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done

Exec: ['blkid', '-c/dev/null', '-ovalue', '-sUUID', '/dev/mapper/loop0p1']
f2195ae1-7ea1-4896-97de-cd51530eeb2d
Exec: ['mount', '/dev/mapper/loop0p1', '/tmp/tmpl30leocl']
debootstrap plugin set architecture to amd64
Exec: ['debootstrap', '--arch', 'amd64', '--variant', '-', '--components', 
'main', 'unstable', '/tmp/tmpl30leocl', 'http://deb.debian.org/debian']
W: Unable to read /etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or 
directory)
W: Unable to read /etc/apt/apt.conf.d/ - DirectoryExists (2: No such file or 
directory)
I: Target architecture can be executed
I: Retrieving InRelease
I: Retrieving Release
E: Failed getting release file 
http://deb.debian.org/debian/dists/unstable/Release
ERROR: Program failed: 1
ERROR: RuncmdError('Program failed: 1')
Something went wrong, cleaning up!
Exec: ['zerofree', '/dev/mapper/loop0p1']
Exec: ['kpartx', '-dsv', '/home/mh/.cache/autopkgtest-qemu/unstable.img.raw']

Building with --mirror=DIRECT succeds.

Greetings
Marc


-- System Information:
Debian Release: forky/sid
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 
'oldstable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), 
(500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 7.0.9+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=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            3.3.1
ii  libdpkg-perl         1.23.7
ii  mawk                 1.3.4.20260302-1
ii  procps               2:4.0.4-9+b2
ii  python3              3.13.9-3+b1
ii  python3-debian       1.1.0
ii  python3-distro-info  1.15
ii  retry                1.0.6-1

Versions of packages autopkgtest recommends:
pn  autodep8  <none>
ii  fakeroot  1.38.1-1

Versions of packages autopkgtest suggests:
pn  docker-cli | docker.io  <none>
pn  docker.io               <none>
ii  fakemachine             0.0.12-3
ii  genisoimage             9:1.1.11-5
pn  incus                   <none>
pn  lxc                     <none>
pn  lxd                     <none>
ii  mmdebstrap              1.5.7-3
ii  ovmf                    2025.11-5
pn  ovmf-ia32               <none>
ii  podman                  5.8.2+ds1-1
pn  qemu-efi-aarch64        <none>
pn  qemu-efi-arm            <none>
pn  qemu-efi-riscv64        <none>
pn  qemu-system             <none>
ii  qemu-utils              1:11.0.0+ds-2
ii  schroot                 1.6.13-8
ii  uidmap                  1:4.19.3-2
ii  util-linux              2.42-6
ii  vmdb2                   0.41-1
ii  zerofree                1.1.1-1+b1

-- no debconf information

Reply via email to