[Bug 1637898] Re: sbuild-launchpad-chroot incompatible with running autopkgtest with non-LP chroots

Martin Pitt martin.pitt at ubuntu.com
Tue Nov 1 11:28:37 UTC 2016


While that's a bug in sbuild-launchpad-chroot (it should use "info()",
not some custom code to print to stderr), it's easy to make autopkgtest
resilient against that. Fix pushed to git.

** Also affects: autopkgtest (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: autopkgtest (Ubuntu)
       Status: New => Fix Committed

-- 
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/1637898

Title:
  sbuild-launchpad-chroot incompatible with running autopkgtest with
  non-LP chroots

Status in autopkgtest package in Ubuntu:
  Fix Committed
Status in sbuild-launchpad-chroot package in Ubuntu:
  New

Bug description:
  Trying to run autopkgtest using my Debian schroot created with mk-
  sbuild fails:

  $ autopkgtest -- schroot unstable-amd64
  autopkgtest [21:20:07]: version 4.1
  autopkgtest [21:20:07]: host Lenovo-ideapad-FLEX-4; command line: /usr/bin/autopkgtest -- schroot unstable-amd64
  <VirtSubproc>: failure: ['schroot', '--quiet', '--begin-session', '--chroot', 'unstable-amd64'] unexpectedly produced stderr output `I: 01launchpad-chroot: [sid-amd64] Processing config
  I: 01launchpad-chroot: [sid-amd64] Doesn't exist.
  '
  autopkgtest [21:20:09]: ERROR: testbed failure: cannot send to testbed: ['BrokenPipeError: [Errno 32] Broken pipe\n']

  Workaround
  ==========
  The command works if I comment out the last 2 lines in /etc/schroot/setup.d/01launchpad-chroot

  For compatibility with autopkgtest, those scripts shouldn't use
  stderr.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.10
  Package: sbuild-launchpad-chroot 0.13
  ProcVersionSignature: Ubuntu 4.8.0-26.28-generic 4.8.0
  Uname: Linux 4.8.0-26-generic x86_64
  ApportVersion: 2.20.3-0ubuntu8
  Architecture: amd64
  CurrentDesktop: GNOME
  Date: Sun Oct 30 21:23:33 2016
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2016-08-11 (80 days ago)
  InstallationMedia: Ubuntu-GNOME 16.10 "Yakkety Yak" - Alpha amd64 (20160811)
  PackageArchitecture: all
  SourcePackage: sbuild-launchpad-chroot
  UpgradeStatus: Upgraded to yakkety on 2016-10-27 (3 days ago)

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



More information about the foundations-bugs mailing list