Package: python-pex
Version: 1.1.14-1
Usertags: autopkgtest


python-pex' "" autopkgtest started failing:

| adt-run [12:10:00]: test [-----------------------
| + export http_proxy=
| + export https_proxy=
| + pex -m textwrap -vv -o script
| pex: Building pex
| pex: Building pex :: Resolving interpreter
| pex: Building pex :: Resolving interpreter :: Setting up interpreter 
| pex: Warning, using a UrllibContext which is known to be flaky.
| pex: Please build pex with the requests module for more reliable downloads.
| pex: Unknown exception encountered: <urlopen error [Errno 111] Connection 
| pex: Traceback (most recent call last):
| pex:   File "/usr/lib/python3.5/urllib/", line 1254, in do_open
| pex:     h.request(req.get_method(), req.selector,, headers)
| pex:   File "/usr/lib/python3.5/http/", line 1107, in request
| pex:     self._send_request(method, url, body, headers)
| pex:   File "/usr/lib/python3.5/http/", line 1152, in _send_request
| pex:     self.endheaders(body)
| pex:   File "/usr/lib/python3.5/http/", line 1103, in endheaders
| pex:     self._send_output(message_body)
| pex:   File "/usr/lib/python3.5/http/", line 934, in _send_output
| pex:     self.send(msg)
| pex:   File "/usr/lib/python3.5/http/", line 877, in send
| pex:     self.connect()
| pex:   File "/usr/lib/python3.5/http/", line 1253, in connect
| pex:     super().connect()
| pex:   File "/usr/lib/python3.5/http/", line 849, in connect
| pex:     (,self.port), self.timeout, self.source_address)
| pex:   File "/usr/lib/python3.5/", line 712, in create_connection
| pex:     raise err
| pex:   File "/usr/lib/python3.5/", line 703, in create_connection
| pex:     sock.connect(sa)
| pex: ConnectionRefusedError: [Errno 111] Connection refused

The test sets an invalid proxy, presumably to ensure that the test
does not actually download anything but gets along with what the
package ships. Apparently something changed there not too long ago.

This does not depend on Debian vs. Ubuntu or container vs. qemu or
whether the test environment uses a proxy by itself. It can trivially
be reproduced locally with the schroot runner:

  autopkgtest --testname python-pex -- schroot sid


Martin Pitt                        |
Ubuntu Developer (  | Debian Developer  (

Attachment: signature.asc
Description: PGP signature

Reply via email to