Should depend on apt-utils(?), pbuilder(?)

Bug #1065874 reported by Michael Vogt
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
autopkgtest (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

During adding dep8 tests for python-apt I ran into the following:
...
adt-run: trace: & tree0t-run-tests: literal dependency python-debian
adt-run: trace: * publish
adt-run: trace: $ ftparchive: sh -ec <SCRIPT> x /tmp/tmp7OAXzv/binaries /tmp/.autopkgtest/gpg
x: 4: x: apt-ftparchive: not found
adt-run: unexpected error: apt-ftparchive or signature failed, code 127
...

If it needs this to run, should it not depend on it as well? Or is there a special setup needed for adt-virt-* ?

Revision history for this message
Michael Vogt (mvo) wrote :

A similar error a little bit later:

adt-run: trace: dependencies: install-deps: running ['/usr/lib/pbuilder/pbuilder-satisfydepends-classic', '--binary-all', '--internal-chrootexec', '/tmp/tmpwA0uoJ/satdep-auxverb', '-c', '/tmp/tmpwA0uoJ/deps.dsc']
adt-run: unexpected, exceptional, error:
Traceback (most recent call last):
  File "/usr/bin/adt-run", line 1882, in main
    process_actions()
  File "/usr/bin/adt-run", line 1864, in process_actions
    run_tests(stanzas, act.af)
  File "/usr/bin/adt-run", line 1093, in run_tests
    t.prepare(tree)
  File "/usr/bin/adt-run", line 1132, in prepare
    testbed.prepare(dn)
  File "/usr/bin/adt-run", line 850, in prepare
    tb.prepare2(deps_new)
  File "/usr/bin/adt-run", line 847, in prepare2
    tb._install_deps(deps_new)
  File "/usr/bin/adt-run", line 855, in _install_deps
    tb.satisfy_dependencies_string(', '.join(deps_new), 'install-deps')
  File "/usr/bin/adt-run", line 980, in satisfy_dependencies_string
    tb.satisfy_dependencies_dsc(dsc, what)
  File "/usr/bin/adt-run", line 992, in satisfy_dependencies_dsc
    rc = subprocess.call(cmdl, stdout=None, stderr=None)
  File "/usr/lib/python2.7/subprocess.py", line 493, in call
    return Popen(*popenargs, **kwargs).wait()
  File "/usr/lib/python2.7/subprocess.py", line 679, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1259, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

summary: - Should depend on apt-utils(?)
+ Should depend on apt-utils(?), pbuilder(?)
Revision history for this message
Jean-Baptiste Lallement (jibel) wrote :

Thanks for your report.

apt-utils is a recommends of autopkgtest but since " Most modes of use require apt-ftparchive from the apt-utils package." (quoting package description) it should be promoted to Depends

Changed in autopkgtest (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Martin Pitt (pitti)
Changed in autopkgtest (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package autopkgtest - 2.3

---------------
autopkgtest (2.3) unstable; urgency=low

  * runner/adt-run.1: Fix bad "affect modify" wording. (LP: #1199500)
  * Drop hosts/chinstrap. We haven't actually used this in many years, it has
    been replaced with https://launchpad.net/auto-package-testing, Jenkins,
    and blocking migration to release until tests pass. (LP: #381210)
  * Promote apt-utils from Recommends to Depends:, to avoid test failures due
    to not finding apt-ftparchive. (LP: #1065874)
  * Promote pbuilder from Recommends: to Depends:, as we always call
    pbuilder-satisfydepends-classic. (LP: #1065874)
  * runner/adt-run: Stop explicitly checking for $HOME (with broken error
    message) when giving --gnupg-home, use os.path.expanduser() instead.
    (LP: #1065873)
  * runner/adt-run: Fix timeout --help output.
  * runner/adt-run: Fix bomb() to clean up the testbed before removing it.
    Afterwards (in cleanup()) we don't have a testbed object any more to run
    commands in. (LP: #1157292)
  * runner/adt-run: Fix UnicodeDecodeError crash if stderr contains non-ASCII
    characters. (LP: #1100283)
  * Add "allow-stderr" restriction for tests where re-routing or disabling
    stderr is impractical. (LP: #1197005)
  * runner-adt-run: Support architecture specifiers in Depends: field.
    (LP: #1165128)
  * runner/adt-run: Remove/fix some unused variables, spotted by pyflakes.

 -- Martin Pitt <email address hidden> Fri, 19 Jul 2013 11:58:15 +0200

Changed in autopkgtest (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.