[Bug 1241456] Re: adt-run fails when fakeroot not installed in testbed and build is needed

Launchpad Bug Tracker 1241456 at bugs.launchpad.net
Mon Oct 28 17:47:09 UTC 2013


This bug was fixed in the package autopkgtest - 2.4

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


  * Add adt-virt-lxc test runner, many thanks to Robie Basak for this! This
    runner provides "revert" and "revert-full-system" capabilities which is
    useful for packages which have the "breaks-testbed" restriction and
    multiple tests. For the time being this only works with the ubuntu-cloud
    template; support for general debian/ubuntu containers requires an
    lxc-wait mechanism ("did the container finish booting?") and getting along
    with the different user setups (debian using "root",  ubuntu using an
    "ubuntu" user with sudo capabilities).
  * Add tests for adt-virt-lxc.
  * Code cleanup to slightly improve readability:
    - Drop two-letter aliases for methods.
    - Consistent usage of quotes.
    - Drop orphaned/unnecessary globals.
    - Consistent logging methods/object names, add some docstrings.
  * Install fakeroot into testbed for "build-needed". Thanks Jean-Baptiste
    Lallement! (Closes: #726714, LP: #1241456)
  * Create testtmp directory with 0755 permissions to fix failure with tight
    umasks. Thanks Arthur de Jong! (Closes: #728057)
  * Allow test control Depends: to have a trailing comma. Thanks Jean-Baptiste
    Lallement for the patch!
  * Make test stdout re-appear in --log-file file for realtime output.

 -- Martin Pitt <mpitt at debian.org>  Mon, 28 Oct 2013 11:25:30 +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/1241456

Title:
  adt-run fails when fakeroot not installed in testbed and build is
  needed

Status in “autopkgtest” package in Ubuntu:
  Fix Released
Status in “autopkgtest” package in Debian:
  Fix Committed

Bug description:
  Build phase fails if fakeroot is not installed in the testbed.

  TEST CASE:
  1. Create an lxc-container with the command
    $ sudo lxc-create -n saucy-amd64 -t ubuntu-cloud -- -r saucy -a amd64

  2. Download a dsc for a package and run a test with:
    $ adt-run -d ../autopkgtest_2.3.7.dsc --- adt-virt-lxc --ephemeral saucy-amd64

  ACTUAL RESULT:
  If fails with 
  + TMPDIR=/tmp/adt-downtmp/dsc0-build/tmpdir
  + rm -rf -- /tmp/adt-downtmp/dsc0-build/tmpdir
  + export TMPDIR
  + su ubuntu -c mkdir -m 1777 -- "$TMPDIR"
  + cd /tmp/adt-downtmp/dsc0-build/autopkgtest-2.3.7/.
  + su ubuntu -c fakeroot debian/rules binary
  bash: fakeroot: command not found
  blame: arg:../autopkgtest_2.3.7.dsc dsc:autopkgtest
  badpkg: rules binary failed with exit code 127
  adt-run: erroneous package: rules binary failed with exit code 127

  ProblemType: Bug
  DistroRelease: Ubuntu 13.10
  Package: autopkgtest (not installed)
  ProcVersionSignature: Ubuntu 3.11.0-12.19-generic 3.11.3
  Uname: Linux 3.11.0-12-generic x86_64
  ApportVersion: 2.12.5-0ubuntu2
  Architecture: amd64
  Date: Fri Oct 18 10:59:28 2013
  MarkForUpload: True
  SourcePackage: autopkgtest
  UpgradeStatus: Upgraded to saucy on 2012-01-31 (625 days ago)

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



More information about the foundations-bugs mailing list