Bug#1017753: autopkgtest-virt-lxc regularly fails to start or return from reboot

2022-08-23 Thread Simon McVittie
On Mon, 22 Aug 2022 at 21:07:57 +0200, Paul Gevers wrote: > paul@mulciber ~ $ sudo lxc-start test && sudo lxc-attach test -- sh -ec "if > [ -d /run/systemd/system ]; then echo systemd ; exit 0 ; else echo unknown ; > exit 0 ; fi" ; echo $? && sudo lxc-stop test > [sudo] password for paul: >

Bug#1017753: autopkgtest-virt-lxc regularly fails to start or return from reboot

2022-08-22 Thread Paul Gevers
Hi Simon, On 21-08-2022 23:46, Simon McVittie wrote: If it wants argv as individual arguments, like I would have expected, then the second command should be more like: sudo lxc-start test && sudo lxc-attach test -- sh -ec "if [ -d ..." which is how lib/VirtSubproc.py actually runs it.

Bug#1017753: autopkgtest-virt-lxc regularly fails to start or return from reboot

2022-08-21 Thread Simon McVittie
On Sun, 21 Aug 2022 at 21:53:02 +0200, Paul Gevers wrote: > I think I found part of the issue: > > paul@mulciber ~ $ sudo lxc-start test && sudo lxc-attach test -- "runlevel" > ; echo $? && sudo lxc-stop test > unknown > 1 > paul@mulciber ~ $ sudo lxc-start test && sudo lxc-attach test -- "if [

Bug#1017753: autopkgtest-virt-lxc regularly fails to start or return from reboot

2022-08-21 Thread Paul Gevers
Hi, I think I found part of the issue: paul@mulciber ~ $ sudo lxc-start test && sudo lxc-attach test -- "runlevel" ; echo $? && sudo lxc-stop test unknown 1 paul@mulciber ~ $ sudo lxc-start test && sudo lxc-attach test -- "if [ -d /run/systemd/system ]; then echo systemd ; exit 0 ; else echo

Bug#1017753: autopkgtest-virt-lxc regularly fails to start or return from reboot

2022-08-19 Thread Paul Gevers
Hi On 19-08-2022 21:59, Paul Gevers wrote: The following is seen, but not on every reboot. $ autopkgtest . --apt-upgrade --shell-fail -- lxc --sudo autopkgtest-unstable-amd64 [...] autopkgtest [21:45:36]: rebooting testbed after setup commands that affected boot autopkgtest-virt-lxc

Bug#1017753: autopkgtest-virt-lxc regularly fails to start or return from reboot

2022-08-19 Thread Paul Gevers
Package: autopkgtest Version: 5.24 Severity: serious Dear colleagues, I was just trying to fix some package of mine and was running autopkgtest to see if the hang I see on ci.d.n is reproducible. However, autopkgtest has issues running reliably. Simon already reported this on IRC when releasing