[Bug 1646042] Re: Timeout running long script using adt-virt-qemu

Martin Pitt martin.pitt at ubuntu.com
Wed Dec 7 17:00:28 UTC 2016


** Changed in: autopkgtest (Ubuntu)
       Status: New => Triaged

** Changed in: autopkgtest (Ubuntu)
   Importance: Undecided => Low

-- 
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/1646042

Title:
  Timeout running long script using adt-virt-qemu

Status in autopkgtest package in Ubuntu:
  Triaged

Bug description:
  
  When using adt-virt-qemu to run a script that is larger than ~4215 bytes on a qemu image, the script fails to start execution and a timeout occurs.

  This behaviour was observed when attempting to unpack a large list of
  deb files when running the qemu with ro-apt setup-command. A full test
  log is shown at [1].

  For smaller scripts it works fine. But when the script size is about
  4215 bytes or more it will start to timeout and fail. I've tried
  bulking out a smaller script with comment lines to confirm the problem
  is related to the size of the script, rather than the commands in the
  script. I've also checked that the number of bytes returned by the
  socket.send() at [2] is correct to confirm it is sending the whole
  script.

  Simple steps to reproduce:

  $ python -c 'print "echo " * 1000' > /tmp/scr
  $ autopkgtest -d --setup-commands /tmp/scr tests/testpkg-simple/ -- qemu /srv/vm/autopkgtest-zesty-amd64.img

  
  [1] http://pastebin.ubuntu.com/23529002/
  [2] https://anonscm.debian.org/git/autopkgtest/autopkgtest.git/tree/virt/autopkgtest-virt-qemu#n384

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



More information about the foundations-bugs mailing list