[Bug 1235189] Re: adt-run broken except when used with adt-virt-null
Launchpad Bug Tracker
1235189 at bugs.launchpad.net
Wed Oct 9 06:29:30 UTC 2013
This bug was fixed in the package autopkgtest - 2.3.7
---------------
autopkgtest (2.3.7) unstable; urgency=low
* tests/adt-run: Factorize a base test class with common functionality.
* lib/VirtSubproc.py, downtmp_mktemp(): Create temporary directory in the
target (which isn't the host for anything but the null runner), to fix the
schroot/chroot runners for directories.
* Only show stdout/stderr in realtime if tests run in the same file system
as the host, as otherwise we cannot create/use a named pipe. If not, fall
back to the old way of just showing the complete stdout/stderr after the
tests finished. (LP: #1235189)
* Add some test cases for adt-virt-chroot.
* Add new --timeout-copy option to make copy timeout configurable. Pass that
down to adt-virt-* via the environment ($ADT_VIRT_COPY_TIMEOUT).
(LP: #1200693)
* Fix tests to also work with Python 3.1.
* tests/testpkg: Go back to compat level 7 so that this also works on older
Debian/Ubuntu releases.
-- Martin Pitt <mpitt at debian.org> Tue, 08 Oct 2013 18:55:33 +0200
** 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/1235189
Title:
adt-run broken except when used with adt-virt-null
Status in “autopkgtest” package in Ubuntu:
Fix Released
Bug description:
2.3.6 does, in adt-run:run:
os.mkfifo(fifo_out) (and fifo_err)
fifo_out uses the testtmp path.
testtmp is created above that, in the guest.
But os.mkfifo runs in the host.
This causes the traceback:
adt-run: unexpected, exceptional, error:
Traceback (most recent call last):
File "/usr/bin/adt-run", line 2205, in main
process_actions()
File "/usr/bin/adt-run", line 2177, in process_actions
run_tests(stanzas, act.tests_tree)
File "/usr/bin/adt-run", line 1315, in run_tests
t.run(tree)
File "/usr/bin/adt-run", line 1428, in run
os.mkfifo(fifo_out)
OSError: [Errno 2] No such file or directory
This is with adt-virt-lxc (which has yet to land), but I believe it
will do it with anything but adt-virt-null.
Version 2.3.3 is not affected.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1235189/+subscriptions
More information about the foundations-bugs
mailing list