--shell does not work with --output-dir
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
$ adt-run libpng -o /tmp/out --shell --- qemu /home/martin-
[...]
adt-run: & apt0t-build: - - - - - - - - - - running shell - - - - - - - - - -
qemu: terminating on signal 15 from pid 15437
Unexpected error:
Traceback (most recent call last):
File "/usr/share/
command()
File "/usr/share/
r = f(c, ce)
File "/usr/share/
caller.
File "/usr/bin/
with open(stdout, 'w') as f:
IOError: [Errno 2] No such file or directory: '/proc/
adt-run: testbed failed: cannot send to testbed: ['IOError: [Errno 32] Broken pipe\n']
Related branches
Changed in autopkgtest (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in autopkgtest (Ubuntu): | |
status: | Triaged → Fix Committed |
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: cleanup( ): Avoid recursion if something in hook_cleanup()
* tests: Fix race in cleaning up ChrootRunner mounts.
* adt-run: If apt-get update fails on publishing built binaries, retry after
15 seconds.
* VirtSubproc.
bombs.
* Fix --shell to also work with --output-dir. (LP: #1317078)
Code cleanup: execute- command" directly instead. verbosity= verbose" .
* 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-
* 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-
* Port to Python 3.
-- Martin Pitt <email address hidden> Thu, 12 Jun 2014 07:48:58 +0200