Bug#801895: autopkgtest: Add a Restriction to prohibit network access

Barry Warsaw barry at debian.org
Thu Oct 15 17:50:52 UTC 2015


Package: autopkgtest
Version: 3.17.3
Severity: normal

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

Dear Maintainer,

python-pex tries to go out to pypi.python.org if it finds a dependency
that it can't satisfy with a system package.  This hid some test
failures.  I ended up doing this:

# Now ensure that pex can't download anything from PyPI.
export http_proxy=127.0.0.1:9
export https_proxy=127.0.0.1:9
pex -m textwrap -vv -o script && ./script

but note that I had to do this *after* apt-get installing the
conditional, Ubuntu-only dependency.  If that gets solved (via a
separate bug report), then it might be nice to be able to specify the
discard port proxy in a Restrictions header.


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

Kernel: Linux 4.2.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.0.10.2
ii  libdpkg-perl    1.18.3
ii  procps          2:3.3.10-4
ii  python3         3.4.3-7
ii  python3-debian  0.1.27

Versions of packages autopkgtest recommends:
ii  autodep8  0.2

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

- -- no debconf information

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

iQIcBAEBCAAGBQJWH+d6AAoJEBJutWOnSwa/S/AP/1sn50t72NhcAyfHJJww/X9R
3b/r6Y5XaFy6JWEpinJ3lVPfmnSw1lXia6i0ajGaI0eet2YKp8mgshlWka4j4xfT
lmda1J32dq6bXduKFMdj1dpRMrSLF/oo1QzKe1TJ9b7RkFD2wOY1rRgEMxzdKtuU
sWI4uInMHgw3SY5KkqK/jjVQcf0iIvdRNYgK4gTeQGZXyXB6bCc3OPVuHpZ/m1Sp
ZAhiN+oFWbSMkfa6RKA1T3COLYIX6ig5+AwhM6eLiRpBsP0VqOxW3m3+tkoQhUgX
aYuYWyNEQzCz9OhPTrwX4vfyx+LRjN+ge2GrASO/AfO0GgDct17S4inC4Wkdxde5
+VYHjwSUK+mDq0iLhn5jA7mXYCED57zaNthy78+oeJxATEgbvxs5Q7KKoOqRg9Kv
SjQab1Fox8tVY0gXhcZAQ+3CkiMUcnM604Ai6FF2fwz+6Ovmfn3J3O2yc/LrGUXQ
Lp36hlikv2tADd6Va7rRfYtHhYjo/P5x9PuVkOU87mMrQTvw5YMsXPedulRlcizQ
fa9vpYM6ADI0s0rhnBFVyky2Rp87gvzGjyVcyshcFg7GJUah4csjMGoOT4zBS7wB
Mpfv5tVP3g3cGEJR7JjaVT0zfBiQBJZIdzAx9t6ooWY2TcOT7efFyvkeaYPs5XTR
JbGbIRtHWobShmTG3oi5
=qfJU
-----END PGP SIGNATURE-----



More information about the autopkgtest-devel mailing list