On Fri, 1 May 2026 17:28:28 +0300 =?UTF-8?Q?Martin=2D=C3=89ric_Racine?= <[email protected]> wrote: > On Fri, 1 May 2026 17:22:06 +0300 > =?UTF-8?Q?Martin=2D=C3=89ric_Racine?= <[email protected]> > wrote: > > On Fri, 1 May 2026 17:14:43 +0300 > > =?UTF-8?Q?Martin=2D=C3=89ric_Racine?= <[email protected]> > > wrote: > > > On Tue, 13 Aug 2024 08:17:30 +0300 > > > =?UTF-8?Q?Martin=2D=C3=89ric_Racine?= <[email protected]> > > > wrote: > > > > ti 13. elok. 2024 klo 0.49 Simon McVittie ([email protected]) kirjoitti: > > > > > > > > > > Control: unmerge 1071456 1077620 > > > > > Control: retitle 1077620 autopkgtest-virt-qemu: timed out waiting for > > > > > 'login prompt on serial console' > > > > > Control: reopen 1077620 > > > > > Control: tags 1077620 + moreinfo > > > > > > > > > > On Mon, 12 Aug 2024 at 23:17:02 +0300, Martin-Éric Racine wrote: > > > > > > I created a fresh image as follow: > > > > > > > > > > > > sudo autopkgtest-build-qemu unstable > > > > > > /var/tmp/autopkgtest-unstable.img > > > > > > > > > > > > I then tried to launch a test as follow: > > > > > > > > > > > > $ autopkgtest dhcpcd -- qemu --ram-size 2047 > > > > > > /var/tmp/autopkgtest-unstable.img > > > > > ... > > > > > > <VirtSubproc>: failure: timed out waiting for 'login prompt on > > > > > > serial console' > > > > > > > > > > I think this must be a different failure mode than the 9pfs bug that > > > > > caused #1071456, then. A similar setup is working well for me, on > > > > > unstable, > > > > > but I was getting similar timeouts intermittently in the past. > > > > > > > > Agreed. > > > > > > > > > Adding --debug and/or --show-boot after qemu on the command line might > > > > > provide useful information? > > Just to recap what I did: > > $ sudo autopkgtest-build-qemu unstable /var/tmp/debian-unstable.img > http://deb.debian.org/debian amd64 > $ autopkgtest ../dhcpcd_10.3.2-2_amd64.changes --apt-upgrade -- qemu > /var/tmp/debian-unstable.img > > Still affects version 5.55 of autopkgtest.
This is still broken on Trixie: $ autopkgtest -sU . ../dhcpcd-base_10.3.2-4_amd64.deb -- qemu --debug /srv/chroot/stable-amd64/autopkgtest-stable.img autopkgtest [22:41:59]: starting date and time: 2026-07-14 22:41:59+0300 autopkgtest [22:41:59]: version 5.49 autopkgtest [22:41:59]: host p8b75; command line: /usr/bin/autopkgtest -sU . ../dhcpcd-base_10.3.2-4_amd64.deb -- qemu --debug /srv/chroot/stable-amd64/autopkgtest-stable.img autopkgtest-virt-qemu: DBG: Assuming nothing special needs to be done to set up firmware to boot this machine (boot method: bios) autopkgtest-virt-qemu: DBG: executing open autopkgtest-virt-qemu: DBG: qemu architecture: x86_64 autopkgtest-virt-qemu: DBG: qemu command: qemu-system-x86_64 autopkgtest-virt-qemu: DBG: find_free_port: trying 10022 autopkgtest-virt-qemu: DBG: find_free_port: 10022 is free autopkgtest-virt-qemu: DBG: execute-timeout: qemu-img info --output=json /srv/chroot/stable-amd64/autopkgtest-stable.img autopkgtest-virt-qemu: DBG: Creating temporary overlay image in /tmp/autopkgtest-qemu.mghxkd1v/overlay.img autopkgtest-virt-qemu: DBG: execute-timeout: qemu-img create -f qcow2 -F qcow2 -b /srv/chroot/stable-amd64/autopkgtest-stable.img /tmp/autopkgtest-qemu.mghxkd1v/overlay.img autopkgtest-virt-qemu: DBG: Forwarding local port 10022 to VM ssh port 22 autopkgtest-virt-qemu: DBG: full qemu command-line: ['qemu-system-x86_64', '-m', '2048', '-smp', '1', '-nographic', '-device', 'virtio-net-pci,netdev=net0', '-netdev', 'user,id=net0,hostfwd=tcp:127.0.0.1:10022-:22', '-object', 'rng-random,filename=/dev/urandom,id=rng0', '-device', 'virtio-rng-pci,rng=rng0,id=rng-device0', '-monitor', 'unix:/tmp/autopkgtest-qemu.mghxkd1v/monitor,server=on,wait=off', '-virtfs', 'local,id=autopkgtest,path=/tmp/autopkgtest-qemu.mghxkd1v/shared,security_model=none,mount_tag=autopkgtest', '-device', 'virtio-serial', '-chardev', 'socket,path=/tmp/autopkgtest-qemu.mghxkd1v/hvc0,server=on,wait=off,id=hvc0', '-device', 'virtconsole,chardev=hvc0', '-chardev', 'socket,path=/tmp/autopkgtest-qemu.mghxkd1v/hvc1,server=on,wait=off,id=hvc1', '-device', 'virtconsole,chardev=hvc1', '-serial', 'unix:/tmp/autopkgtest-qemu.mghxkd1v/ttyS0,server=on,wait=off', '-serial', 'unix:/tmp/autopkgtest-qemu.mghxkd1v/ttyS1,server=on,wait=off', '-drive', 'index=0,file=/tmp/autopkgtest-qemu.mghxkd1v/overlay.img,format=qcow2,cache=unsafe,if=virtio,discard=unmap'] autopkgtest-virt-qemu: DBG: expect: b' login: ' qemu-system-x86_64: terminating on signal 15 from pid 305499 (/usr/bin/python3) autopkgtest-virt-qemu: DBG: cleanup... <VirtSubproc>: failure: timed out waiting for 'login prompt on serial console' autopkgtest [22:42:59]: ERROR: testbed failure: unexpected eof from the testbed Exception ignored in: <_io.TextIOWrapper name=6 encoding='UTF-8'> BrokenPipeError: [Errno 32] Broken pipe $ -- Martin-Éric

