[Bug 1288668] Re: crash if multiple test produce artifacts

Launchpad Bug Tracker 1288668 at bugs.launchpad.net
Thu Mar 6 17:26:25 UTC 2014


This bug was fixed in the package autopkgtest - 2.9.1

---------------
autopkgtest (2.9.1) unstable; urgency=medium


  [ Martin Pitt ]
  * doc/README.package-tests: Clarify syntax of test Depends:, and point to
    the relevant Debian Policy specification.
  * adt-build-lxc: Fall back to assuming /var/lib/lxc/ as container directory
    if lxc-config does not exist. It was introduced in 1.0, but Debian
    unstable still has 0.9. (Closes: #740437)
  * tests: Extend test_artifacts() to multiple tests writing artifacts, also
    with overwriting existing files and writing into subdirs.
  * VirtSubproc: Fix copyup_shareddir() to get along with existing
    directories. (LP: #1288668)
  * settings.make: Switch default prefix to /usr, as our scripts hardcode that
    for finding VirtSubproc.py and this is a native package. (LP: #1287264)

  [ Steve Langasek ]
  * Fix adt-virt-schroot to correctly return root-on-testbed when we're
    running adt-run as root. (Closes: #740868)

 -- Martin Pitt <mpitt at debian.org>  Thu, 06 Mar 2014 13:44:07 +0100

** Changed in: autopkgtest (Ubuntu)
       Status: Fix Committed => Fix Released

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

Title:
  crash if multiple test produce artifacts

Status in “autopkgtest” package in Ubuntu:
  Fix Released

Bug description:
  Seen in ipython: https://jenkins.qa.ubuntu.com/job/trusty-adt-
  ipython/52/ARCH=i386,label=adt/console

  dsc0t-python3        PASS
  Unexpected error:
  Traceback (most recent call last):
    File "/usr/share/autopkgtest/python/VirtSubproc.py", line 670, in mainloop
      command()
    File "/usr/share/autopkgtest/python/VirtSubproc.py", line 607, in command
      r = f(c, ce)
    File "/usr/share/autopkgtest/python/VirtSubproc.py", line 579, in cmd_copyup
      copyupdown(c, ce, True)
    File "/usr/share/autopkgtest/python/VirtSubproc.py", line 503, in copyupdown
      copyup_shareddir(sd[0], sd[1], dirsp, downtmp_host)
    File "/usr/share/autopkgtest/python/VirtSubproc.py", line 432, in copyup_shareddir
      shutil.copytree(tb, host, symlinks=True)
    File "/usr/lib/python2.7/shutil.py", line 177, in copytree
      os.makedirs(dst)
    File "/usr/lib/python2.7/os.py", line 157, in makedirs
      mkdir(name, mode)
  OSError: [Errno 17] File exists: '/home/ubuntu/adt-log/artifacts/'

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



More information about the foundations-bugs mailing list