Opened two PR upstream: * https://github.com/psf/requests/pull/6137 to override the HTTP proxy variables when running the test suite. * https://github.com/psf/requests/pull/6136 to make timeout failures more obvious. I encountered the issue while debugging the issue with HTTP proxy. Tests were failing because of a timeout but the output would only show:
E urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7fc3a3e30a90>: Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:181: NewConnectionError -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1974182 Title: Autopkgtest fails when HTTP proxy is used To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1974182/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs