If I drop the "timeout" bit from $ADT_CMD, it works fine as well. When
prepending the timeout call in boottest.sh with strace -vvtts1024 -o
/tmp/tr, I get

18:07:16.733950 clone(child_stack=0, 
flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, 
child_tidptr=0x7f11825c3a10) = 26085
18:07:16.734086 rt_sigprocmask(SIG_UNBLOCK, [ALRM], NULL, 8) = 0
18:07:16.734154 timer_create(CLOCK_REALTIME, {0x2518030, SIGALRM, SIGEV_SIGNAL, 
{...}}, {0}) = 0
18:07:16.734209 timer_settime(0, 0, {it_interval={0, 0}, it_value={600, 0}}, 
NULL) = 0
18:07:16.734260 wait4(26085, 0x7fffad6743dc, 0, NULL) = ? ERESTARTSYS (To be 
restarted if SA_RESTART is set)
18:07:35.411480 --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_STOPPED, 
si_pid=26085, si_status=SIGTTIN, si_utime=11, si_stime=1} ---
18:07:35.411537 --- SIGTTIN {si_signo=SIGTTIN, si_code=SI_KERNEL, 
si_value={int=21, ptr=0x15}} ---
18:07:35.411602 wait4(26085, 

At that time (18:07:35.) all the child processes get stopped.

This isn't specific to qemu, it also happens with the LXC runner.

** Summary changed:

- adt-virt-qemu hang
+ adt-run gets stopped when running under timeout

-- 
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-run gets stopped when running under timeout

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