Indeed when you run this, the whole set of processes goes into "T"
state, i. e. it received a SIGSTOP:

martin   23439  0.0  0.1  64656 18396 pts/7    T    17:42   0:00 
/usr/bin/python3 -u /usr/bin/adt-run --debug --no-built-binaries --unbuilt-tree 
/tmp/boottest/scripts/../tests/getpkgsrc -o pkgsrc --apt-pocket=proposed 
--setup-commands=adt-commands --- qemu /srv/vm/adt-vivid-amd64-cloud.img
martin   23440  0.0  0.0  13264  1804 pts/7    T    17:42   0:00 tee 
/tmp/adt-fifo-log.c9x0c1vs
martin   23441  0.0  0.0  13264  1984 pts/7    T    17:42   0:00 tee 
/tmp/adt-fifo-log.c9x0c1vs -a /dev/stderr
martin   23442  0.0  0.0  13044   668 pts/7    T    17:42   0:00 cat 
/tmp/adt-fifo-log.c9x0c1vs
martin   23443  0.0  0.0  48012 14580 pts/7    T    17:42   0:00 
/usr/bin/python3 /usr/bin/adt-virt-qemu /srv/vm/adt-vivid-amd64-cloud.img
martin   23446  8.1  2.2 2209192 359176 pts/7  Tl   17:42   0:13 
qemu-system-x86_64 -enable-kvm -m 1024 -smp 1 -localtime -nographic -net user 
-net nic,model=virtio -monitor 
unix:/tmp/adt-virt-qemu.sf04xpyf/monitor,server,nowait -serial 
unix:/tmp/adt-virt-qemu.sf04xpyf/ttyS0,server,nowait -serial 
unix:/tmp/adt-virt-qemu.sf04xpyf/ttyS1,server,nowait -virtfs 
local,id=autopkgtest,path=/tmp/adt-virt-qemu.sf04xpyf/shared,security_model=none,mount_tag=autopkgtest
 -drive 
file=/tmp/adt-virt-qemu.sf04xpyf/overlay.img,cache=unsafe,if=virtio,index=0 
-redir tcp:10022::22
martin   23474  0.0  0.0 120700 12104 pts/7    Tl   17:43   0:00 
/usr/bin/python3 /tmp/adt-virt-qemu.sf04xpyf/runcmd env LANG=C.UTF-8 sh -ec awk 
'/^deb(-src)? .*(ubuntu.com|debian.org|ftpmaster)/ { if ($3 !~ /-/) { $3 = 
$3"-proposed"; print }}' /etc/apt/sources.list `ls 
/etc/apt/sources.list.d/*.list 2>/dev/null|| true`  > 
/etc/apt/sources.list.d/proposed.list

At first I thought running adt-run under "timeout" would cause this, and
suspected some interaction between the timeout program's timer with adt-
run's timeouts; but timeout uses Linux hrtimers and shouldn't get in the
way with adt-run's alarm().

When I run the command that boottest.sh runs manually, it works fine:

+ timeout 600 adt-run --debug --no-built-binaries --unbuilt-tree
/tmp/boottest/scripts/../tests/getpkgsrc -o pkgsrc --apt-pocket=proposed
--setup-commands=adt-commands --- qemu /srv/vm/adt-vivid-amd64-cloud.img

So we need to find out what causes adt-run to get STOPed.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1415944

Title:
  adt-virt-qemu hang

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1415944/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to