sbuild-launchpad-chroot shouldn't emit errors when non-LP chroots are used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
sbuild-launchpad-chroot (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
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-
<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/
For compatibility with autopkgtest, those scripts shouldn't use stderr.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: sbuild-
ProcVersionSign
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)
PackageArchitec
SourcePackage: sbuild-
UpgradeStatus: Upgraded to yakkety on 2016-10-27 (3 days ago)
So the first issue is it's looking for a file that isn't the way mk-sbuild names it by default so…
sudo mv /etc/schroot/ chroot. d/sbuild- sid-amd64 sudo mv /etc/schroot/ chroot. d/sid-amd64
but then I get this error:
<VirtSubproc>: failure: ['schroot', '--quiet', '--begin-session', '--chroot', 'sid-amd64'] unexpectedly produced stderr output `I: 01launchpad-chroot: [sid-amd64] Processing config
I: 01launchpad-chroot: [sid-amd64] Skipping (missing launchpad.* options).