[Bug 1317078] Re: --shell does not work with --output-dir
Launchpad Bug Tracker
1317078 at bugs.launchpad.net
Thu Jun 12 18:18:35 UTC 2014
This bug was fixed in the package autopkgtest - 2.18
---------------
autopkgtest (2.18) unstable; urgency=medium
Improvements:
* adt-run: When running from git, show the current SHA and commit summary of
HEAD.
Bug fixes:
* tests: Fix race in cleaning up ChrootRunner mounts.
* adt-run: If apt-get update fails on publishing built binaries, retry after
15 seconds.
* VirtSubproc.cleanup(): Avoid recursion if something in hook_cleanup()
bombs.
* Fix --shell to also work with --output-dir. (LP: #1317078)
Code cleanup:
* VirtSubproc: Document and cleanup execute*() functions.
* Some test robustifications, to avoid making too many assumptions about
debug output.
* adt-run: Eliminate usage of testbed "execute" command, which is too
complicated and limiting. Use "print-execute-command" directly instead.
* Drop "execute" command.
* adt-run: Unify Testbed.command() and commandr() methods and make them
stricter.
* Add prefixes to all temporary directories.
* Remove autopkgtest-xenlvm. It has been orphaned since ~ 2008, few to no
current users, and no maintainer. (Closes: #508660, #680122)
* Simplify build system.
* Drop concept of "shstring". All runners must provide an auxverb now,
possibly with a wrapper and quoting by themselves if their implementation
can only deal with shell commands. This avoids having to tell apart these
two cases in adt-run, clarifies the documentation, and greatly simplifies
the code. (Closes: #750544)
* qemu: Use low-level IO in runcmd. This avoids all the Python overhead and
buffering and is less prone to bytes vs. string issues.
* qemu: Fix text vs. binary confusion in reading and copying /etc/timezone.
* schroot: Call schroot command with -q, to avoid stderr spew if the schroot
has "message-verbosity=verbose".
* Port to Python 3.
-- Martin Pitt <mpitt at debian.org> Thu, 12 Jun 2014 07:48:58 +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/1317078
Title:
--shell does not work with --output-dir
Status in “autopkgtest” package in Ubuntu:
Fix Released
Bug description:
$ adt-run libpng -o /tmp/out --shell --- qemu /home/martin-scratch/adt-trusty-amd64-cloud.img
[...]
adt-run: & apt0t-build: - - - - - - - - - - running shell - - - - - - - - - -
qemu: terminating on signal 15 from pid 15437
Unexpected error:
Traceback (most recent call last):
File "/usr/share/autopkgtest/python/VirtSubproc.py", line 710, in mainloop
command()
File "/usr/share/autopkgtest/python/VirtSubproc.py", line 647, in command
r = f(c, ce)
File "/usr/share/autopkgtest/python/VirtSubproc.py", line 617, in cmd_shell
caller.hook_shell(c[1], c[2], c[3], c[4])
File "/usr/bin/adt-virt-qemu", line 480, in hook_shell
with open(stdout, 'w') as f:
IOError: [Errno 2] No such file or directory: '/proc/15433/fd/pipe:[967428]'
adt-run: testbed failed: cannot send to testbed: ['IOError: [Errno 32] Broken pipe\n']
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1317078/+subscriptions
More information about the foundations-bugs
mailing list