Bug#814115: autopkgtest: $ADTTMP does not survive until --shell-fail/-s

Barry Warsaw barry at debian.org
Mon Feb 8 15:52:05 UTC 2016


Package: autopkgtest
Version: 3.19.2
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Dear Maintainer,

My DEP-8 tests create some temporary directories, and they use $ADTTMP
to calculate the paths to create.  However, if the tests fail and
you're using --shell-fail/-s, you get dropped into the chroot but
neither the $ADTTMP environment variable, nor the directory (as seen
from the output log) survives in this shell, which makes debugging
test failures quite difficult.

I'm guessing there's a good technical reason why $ADTTMP isn't
available in the fail shell, but here's a formal request to keep it if
possible.


- -- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.3.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages autopkgtest depends on:
ii  apt-utils       1.2.2
ii  libdpkg-perl    1.18.4
ii  procps          2:3.3.11-3
ii  python3         3.5.1-1
ii  python3-debian  0.1.27

Versions of packages autopkgtest recommends:
ii  autodep8  0.3

Versions of packages autopkgtest suggests:
pn  lxc          <none>
pn  lxd-client   <none>
pn  qemu-system  <none>
pn  qemu-utils   <none>
ii  schroot      1.6.10-2

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJWuLmjAAoJEBJutWOnSwa/0t4QALJZv5eWtIZUvkmDDc3k5zXg
IyskJtve7R59ZaGh2pd2UXrVizGFyeZJO3rfvbHu2UlaBASaK+jOMLUlFg7CG1pb
Vn3H8eZd12jsoTXDZccz8JpzNFPGnTqDL6gLlw19Bfusjj6fGo0FSz0548l4Bbd1
AhJN59PS58k/fFAb0g08YDtkGHaF7rPficf8BYN7QwWvD4PM6hF9iRq5m41qH2nK
8VmEZsD82bBm5yWWx95gQR/X2Ks+awiC1uWmBvjzSbvBnnM7GO4oBmuMUOAX4M3j
stT4OhOpJS5MkFnMfD9c94VjFNvJDgmbWr7uU3QzDkLev/DSLmXY7H7uxtdDcmn4
+pyArJlKNHDN67Nm5GGqQmAtHLRQlCkwjZP6+ermx/rOfgvTKrhPL+KA3vTPklJ6
mlzQBkFKRR2SPPSnfz/3sU28WbhsTltuja3yHcR8Ofx2hrVJlZNyVZMSsregnh8P
Y1w6Dk7y1MM3H367ubBFckDgLYMbKyk91Rezn5jOeSpzCFcBsSQp2hJe2ifUyCWU
tUGVoXkkiybPKCOVCrsrcZ9nIpmg19HRj6tvD3XTG6VPY1dzyoGZjPzHFnHCwtdU
z+rvh6OO5x9dfU6aeJmuPA72nFLtgqzTTCzT4Guv9KvTBcc61TpXbftSjP5aF7bj
L89b5t4kqWhG+29HaX82
=f5iV
-----END PGP SIGNATURE-----



More information about the autopkgtest-devel mailing list