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

2016-03-04 Thread Martin Pitt
Hey Barry,

Barry Warsaw [2016-02-08 10:52 -0500]:
> 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.

Not a principal design reason indeed, it's just the way how it's
currently implemented. But I'll see to shuffling this around a bit.

Martin
-- 
Martin Pitt| http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)



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

2016-02-08 Thread Barry Warsaw
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-perl1.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  
pn  lxd-client   
pn  qemu-system  
pn  qemu-utils   
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-