Your message dated Wed, 25 Dec 2013 21:19:04 +0000
with message-id <[email protected]>
and subject line Bug#728304: fixed in autopkgtest 2.5.5
has caused the Debian Bug report #728304,
regarding for schroot backend allow to run tests as user while installation
steps as root
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
728304: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728304
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: autopkgtest
Version: 2.3.8
Severity: wishlist
Adding user's login to root-users configuration of schroot allows autopkgtest
to invoke apt-get with necessary privileges, but then tests also run
under root user, instead of the original user, which is undesirable for a few
reasons:
> yoh 15703 0.4 \_ /usr/bin/python /usr/bin/adt-run --no-built-binaries
> ./ --- adt-virt-schroot sid-i386
> yoh 15704 0.3 \_ /usr/bin/python /usr/bin/adt-virt-schroot
> sid-i386
> root 17058 0.3 \_ schroot -r -d / -c
> sid-i386-5094c780-f425-4543-a3f6-9145051d9161 -u root -- sh -c set -e; exec
> 0<'/dev/null' 1>'/tmp/adt-run.3J1ybG/tree0t-unittests-stdout'
> 2>'/tmp/adt-run.3J1ybG/tree0t-unittests-stderr'; cd '/tmp/adt-r
> root 17059 0.0 \_ su -c
> /tmp/adt-run.3J1ybG/tree0-tree/debian/tests/unittests
> root 17060 0.0 \_ /bin/sh
> /tmp/adt-run.3J1ybG/tree0-tree/debian/tests/unittests
> root 17062 88.2 \_ /usr/bin/python2.7
> /usr/bin/nosetests-2.7 patsy
it would be nice if schroot first initiated the session, used root for apt-get
calls, and then actual tests call under a normal original user. Even better
(although probably worth a separate wishlist bug?) would be if it allowed
execution under another (specified, or temporarily created within the chroot)
user thus to eliminate effects of local (existing) user configuration.
-- System Information:
Debian Release: jessie/sid
APT prefers testing
APT policy: (900, 'testing'), (600, 'unstable'), (300, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.9-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages autopkgtest depends on:
ii apt-utils 0.9.8.2
ii debhelper 9.20130630
ii pbuilder 0.215
ii python 2.7.5-5
ii python-debian 0.1.21+nmu2
autopkgtest recommends no packages.
Versions of packages autopkgtest suggests:
pn autopkgtest-xenlvm <none>
ii curl 7.32.0-1
-- debconf-show failed
--- End Message ---
--- Begin Message ---
Source: autopkgtest
Source-Version: 2.5.5
We believe that the bug you reported is fixed in the latest version of
autopkgtest, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Martin Pitt <[email protected]> (supplier of updated autopkgtest package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Wed, 25 Dec 2013 21:12:38 +0100
Source: autopkgtest
Binary: autopkgtest autopkgtest-xenlvm
Architecture: source all
Version: 2.5.5
Distribution: unstable
Urgency: medium
Maintainer: Autopkgtest team <[email protected]>
Changed-By: Martin Pitt <[email protected]>
Description:
autopkgtest - automatic as-installed testing for Debian packages
autopkgtest-xenlvm - Xen/LVM2 based testbed snapshot system
Closes: 720458 728304
Changes:
autopkgtest (2.5.5) unstable; urgency=medium
.
* Test that the schroot runner installs packages with --user, and that it
runs the tests as root with --user if the test has a "needs-root"
restriction. (Related to #728304)
* adt-virt-schroot: Add suggested-normal-user capability to the calling user
(unless that's root), so that tests are run as user by default.
(Closes: #728304)
* Add support for virtual "@builddeps@" test dependency, which will be
replaced with the package's B-D and B-D-I. Document in
doc/README.package-tests. (Closes: #720458)
Checksums-Sha1:
df7f58b05ff4b623fe41910d92043df5fdb892b4 1753 autopkgtest_2.5.5.dsc
90a4eb13d5e36f785250ee3679a2e2b9a9b817c7 91232 autopkgtest_2.5.5.tar.gz
cd8223eda5387be317d45b5f6ab030300f19d5c9 55322 autopkgtest_2.5.5_all.deb
755d121442596e5bfc78b639da4bc212be11eee8 42464 autopkgtest-xenlvm_2.5.5_all.deb
Checksums-Sha256:
c28621eb5a32ea91e739c3619be17a51641d79323bfa4acdc87719b53f59f66f 1753
autopkgtest_2.5.5.dsc
c42944e18e9ee618f18a9a2014540486bfbba2b459053f33143170cf5e48cf21 91232
autopkgtest_2.5.5.tar.gz
5f675c44614a59574899861cb387051e1091e1b37072b8b3d100c4ddc0607015 55322
autopkgtest_2.5.5_all.deb
23114dee1780105d1698864868976a34fc6a94a827f6d071e68c5fcbe0c8176e 42464
autopkgtest-xenlvm_2.5.5_all.deb
Files:
dbdd4e19795d0ff9d6f99d0812c4e118 1753 devel optional autopkgtest_2.5.5.dsc
d0903494f5aff0eaa681276f5c01d2be 91232 devel optional autopkgtest_2.5.5.tar.gz
486e447d81573e8f505ff8c1c4680994 55322 devel optional autopkgtest_2.5.5_all.deb
bdc17deab671edf8f9eadbccff045e4b 42464 devel optional
autopkgtest-xenlvm_2.5.5_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
iQIcBAEBCAAGBQJSuz0QAAoJENFO8V2v4RNHQJ0QAK5g8AqVDTpOGOYv43AWdO5R
pMZWDT9iUwXJ/YCteX4JeKCq0FMHXgdFpIHfY3sVPrG26FOXSeTxFeRCTNILkJhz
mLkExJE9NGHscJmy6NXvOlXmjjJbCARQ7jjMaY1P+YamzSXOoVJoDzKCaAkp0YiN
nwY1NWqmLQqfpZPwK+43D2LZaOAa5G5uNiH5MUQegNxxhPZpbfCJy8xSi5KXrK+h
r0X0w/xbeGXBQiTvdD4jXD31qimrGMRDjk4KZtE+ueX0AIP1pSz+Dvly1f9qbokH
UuK803wGdfZ0mk9YNKcLdenhBAx1z0dy9NeHLxBkwI5YOUzIxhNhaJXmj8eUNB/7
2j25IDO5cQE7d3YJfkguREJ4TdMU9zCcHNufGwbVAhMo0jHV0Di8BWGMlgwHbDX3
hA8y/PSskJ17NM8x0h3TgUp7euNmEKEbHiDJuZFn9Vm5jjXWAHmjrhhPKhKkW9nb
fm/IYNCKSAk1zsmk6wPxSGtbKIeYR1E9FoM+K8YQlPmQMfPfr1qdMw7bWASEe5dV
t6OvQ/kIkHt11SStuGD346FDnYzMXnx3O9qxj8qur1URBXlpzxpEKFG8Tu8sgYv2
B1HL8UbZOnJDHvZ6w+PoHsNjAGZKXgMPcxED2Smv7hZGTen28NVP4XrLwV1uCus7
EF/TFEcoBIXhbqnCETOo
=mHdX
-----END PGP SIGNATURE-----
--- End Message ---