[Bug 1415944] Re: adt-run gets stopped when running under timeout

Martin Pitt martin.pitt at ubuntu.com
Thu Jan 29 17:30:45 UTC 2015


Note: Running "timeout --foreground 600 adt-run ..." works as well; that
might not be precisely what you're after, though.

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

Title:
  adt-run gets stopped when running under timeout

Status in autopkgtest package in Ubuntu:
  New

Bug description:
   $ mkdir tmp
   $ adt-buildvm-ubuntu-cloud -v -r vivid
   $ bzr branch lp:~canonical-ci-engineering/ubuntu-test-cases/boottest
  $ export ADT_VIRT="adt-virt-qemu ./adt-vivid-amd64-cloud.img"
  $ boottest/scripts/boottest.sh vivid libpng

  This ends with:

  adt-run [15:40:11]: version 3.9.3-1~1034~ubuntu14.04.1
  adt-run: DBG: $ vserver: adt-virt-qemu /home/vila/ci/adt-vivid-amd64-cloud.img
  adt-run: DBG: got reply from testbed: ok
  adt-run: DBG: testbed open, scratch=None
  adt-run: DBG: sending command to testbed: open
  adt-run: DBG: got reply from testbed: ok /tmp/adt-run.dKQGkT
  adt-run: DBG: sending command to testbed: print-execute-command
  adt-run: DBG: got reply from testbed: ok /tmp/adt-virt-qemu.wuid9js5/runcmd
  adt-run: DBG: sending command to testbed: capabilities
  adt-run: DBG: got reply from testbed: ok revert revert-full-system root-on-testbed isolation-machine reboot suggested-normal-user=ubuntu
  adt-run: DBG: testbed capabilities: ['revert', 'revert-full-system', 'root-on-testbed', 'isolation-machine', 'reboot', 'suggested-normal-user=ubuntu']
  adt-run [15:40:30]: @@@@@@@@@@@@@@@@@@@@ test bed setup
  adt-run: DBG: testbed command ['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'], kind short, sout raw, serr pipe, env ['LANG=C.UTF-8']

  The boottest.sh scripts includes a 'timeout 600 adt-run ..." and
  everything gets killed properly after hanging on the above.

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



More information about the foundations-bugs mailing list