Diff of the two buildlogs: -- --- b1/build.log 2024-12-18 07:35:59.003257003 +0000 +++ b2/build.log 2024-12-18 07:39:23.285981987 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Dec 17 19:32:48 -12 2024 -I: pbuilder-time-stamp: 1734507168 +I: Current time: Wed Dec 18 21:36:08 +14 2024 +I: pbuilder-time-stamp: 1734507368 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -26,52 +26,84 @@ dpkg-source: info: unpacking python-tuf_5.1.0-1.debian.tar.xz I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2582/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/10658/tmp/hooks/D01_modify_environment starting +debug: Running on virt64c. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Dec 18 07:36 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/10658/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/10658/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='1c836bb73fcb4907a13bd93e0c1fbdbf' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2582' - PS1='# ' - PS2='> ' + INVOCATION_ID=4d7af3ef264a47f7bdd1283f6df8f4f6 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=10658 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.potf5hRL/pbuilderrc_zRac --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.potf5hRL/b1 --logfile b1/build.log python-tuf_5.1.0-1.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.potf5hRL/pbuilderrc_HWwg --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.potf5hRL/b2 --logfile b2/build.log python-tuf_5.1.0-1.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt32z 6.1.0-28-armmp-lpae #1 SMP Debian 6.1.119-1 (2024-11-22) armv7l GNU/Linux + Linux i-capture-the-hostname 6.1.0-28-arm64 #1 SMP Debian 6.1.119-1 (2024-11-22) aarch64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2582/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/10658/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -216,7 +248,7 @@ Get: 91 http://deb.debian.org/debian unstable/main armhf python3-urllib3 all 2.2.3-4 [112 kB] Get: 92 http://deb.debian.org/debian unstable/main armhf python3-requests all 2.32.3+dfsg-1 [71.9 kB] Get: 93 http://deb.debian.org/debian unstable/main armhf python3-securesystemslib all 1.2.0-2 [755 kB] -Fetched 36.5 MB in 1s (29.1 MB/s) +Fetched 36.5 MB in 1s (45.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.12-minimal:armhf. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19680 files and directories currently installed.) @@ -529,8 +561,8 @@ Setting up tzdata (2024b-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Dec 18 07:33:52 UTC 2024. -Universal Time is now: Wed Dec 18 07:33:52 UTC 2024. +Local time is now: Wed Dec 18 07:37:17 UTC 2024. +Universal Time is now: Wed Dec 18 07:37:17 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:armhf (3.13.1-2) ... @@ -624,7 +656,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/python-tuf-5.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../python-tuf_5.1.0-1_source.changes +I: user script /srv/workspace/pbuilder/10658/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/10658/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/python-tuf-5.1.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../python-tuf_5.1.0-1_source.changes dpkg-buildpackage: info: source package python-tuf dpkg-buildpackage: info: source version 5.1.0-1 dpkg-buildpackage: info: source distribution unstable @@ -846,7 +882,7 @@ tests/test_examples.py:53: FileNotFoundError _______________________ TestFetcher.test_download_bytes ________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -923,15 +959,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', body = None +self = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42881, path='/tmptx6bs4wl', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=41793, path='/tmp93n2ubzz', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -1161,7 +1197,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -1187,7 +1223,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -1244,15 +1280,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -1332,10 +1368,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -1429,14 +1465,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:42881/tmptx6bs4wl' +self = +url = 'http://127.0.0.1:41793/tmp93n2ubzz' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -1468,7 +1504,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -1555,7 +1591,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -1576,8 +1612,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:42881/tmptx6bs4wl' +self = +url = 'http://127.0.0.1:41793/tmp93n2ubzz' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -1600,12 +1636,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42881/tmptx6bs4wl +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:41793/tmp93n2ubzz tuf/ngclient/fetcher.py:72: DownloadError _______________ TestFetcher.test_download_bytes_length_mismatch ________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -1682,15 +1718,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', body = None +self = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42881, path='/tmptx6bs4wl', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=41793, path='/tmp93n2ubzz', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -1920,7 +1956,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -1946,7 +1982,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -2003,15 +2039,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -2091,10 +2127,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -2188,7 +2224,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -2224,7 +2260,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -2311,7 +2347,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -2354,12 +2390,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42881/tmptx6bs4wl +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:41793/tmp93n2ubzz tuf/ngclient/fetcher.py:72: DownloadError _________________ TestFetcher.test_download_bytes_upper_length _________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2436,15 +2472,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', body = None +self = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42881, path='/tmptx6bs4wl', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=41793, path='/tmp93n2ubzz', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -2674,7 +2710,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2700,7 +2736,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -2757,15 +2793,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -2845,10 +2881,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -2942,14 +2978,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:42881/tmptx6bs4wl' +self = +url = 'http://127.0.0.1:41793/tmp93n2ubzz' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -2981,7 +3017,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -3068,7 +3104,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -3089,8 +3125,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:42881/tmptx6bs4wl' +self = +url = 'http://127.0.0.1:41793/tmp93n2ubzz' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -3113,12 +3149,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42881/tmptx6bs4wl +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:41793/tmp93n2ubzz tuf/ngclient/fetcher.py:72: DownloadError ________________________ TestFetcher.test_download_file ________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -3195,15 +3231,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', body = None +self = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42881, path='/tmptx6bs4wl', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=41793, path='/tmp93n2ubzz', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -3433,7 +3469,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -3459,7 +3495,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -3516,15 +3552,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -3604,10 +3640,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -3701,14 +3737,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:42881/tmptx6bs4wl' +self = +url = 'http://127.0.0.1:41793/tmp93n2ubzz' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -3740,7 +3776,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -3827,7 +3863,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -3848,8 +3884,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:42881/tmptx6bs4wl' +self = +url = 'http://127.0.0.1:41793/tmp93n2ubzz' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -3872,12 +3908,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42881/tmptx6bs4wl +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:41793/tmp93n2ubzz tuf/ngclient/fetcher.py:72: DownloadError _________________ TestFetcher.test_download_file_upper_length __________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -3954,15 +3990,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', body = None +self = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42881, path='/tmptx6bs4wl', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=41793, path='/tmp93n2ubzz', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -4192,7 +4228,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -4218,7 +4254,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -4275,15 +4311,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -4363,10 +4399,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -4460,14 +4496,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:42881/tmptx6bs4wl' +self = +url = 'http://127.0.0.1:41793/tmp93n2ubzz' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -4499,7 +4535,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -4586,7 +4622,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -4607,8 +4643,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:42881/tmptx6bs4wl' +self = +url = 'http://127.0.0.1:41793/tmp93n2ubzz' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -4631,12 +4667,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42881/tmptx6bs4wl +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:41793/tmp93n2ubzz tuf/ngclient/fetcher.py:72: DownloadError ____________________________ TestFetcher.test_fetch ____________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -4713,15 +4749,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', body = None +self = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42881, path='/tmptx6bs4wl', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=41793, path='/tmp93n2ubzz', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -4951,7 +4987,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -4977,7 +5013,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -5034,15 +5070,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -5122,10 +5158,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -5219,14 +5255,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:42881/tmptx6bs4wl' +self = +url = 'http://127.0.0.1:41793/tmp93n2ubzz' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -5258,7 +5294,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -5345,7 +5381,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -5360,8 +5396,8 @@ tests/test_fetcher_ng.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:42881/tmptx6bs4wl' +self = +url = 'http://127.0.0.1:41793/tmp93n2ubzz' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -5384,12 +5420,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42881/tmptx6bs4wl +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:41793/tmp93n2ubzz tuf/ngclient/fetcher.py:72: DownloadError _______________________ TestFetcher.test_fetch_in_chunks _______________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5466,15 +5502,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', body = None +self = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42881, path='/tmptx6bs4wl', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=41793, path='/tmp93n2ubzz', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -5704,7 +5740,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5730,7 +5766,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -5787,15 +5823,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -5875,10 +5911,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:42881/tmptx6bs4wl', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:41793/tmp93n2ubzz', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -5972,14 +6008,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:42881/tmptx6bs4wl' +self = +url = 'http://127.0.0.1:41793/tmp93n2ubzz' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -6011,7 +6047,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -6098,7 +6134,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/tmptx6bs4wl (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/tmp93n2ubzz (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -6124,8 +6160,8 @@ tests/test_fetcher_ng.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:42881/tmptx6bs4wl' +self = +url = 'http://127.0.0.1:41793/tmp93n2ubzz' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -6148,12 +6184,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42881/tmptx6bs4wl +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:41793/tmp93n2ubzz tuf/ngclient/fetcher.py:72: DownloadError _________________________ TestFetcher.test_http_error __________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -6230,15 +6266,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:42881/non-existing-path', body = None +self = +method = 'GET', url = 'http://127.0.0.1:41793/non-existing-path', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42881, path='/non-existing-path', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=41793, path='/non-existing-path', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -6468,7 +6504,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -6494,7 +6530,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -6551,15 +6587,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -6639,11 +6675,11 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:42881/non-existing-path' +method = 'GET', url = 'http://127.0.0.1:41793/non-existing-path' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -6737,7 +6773,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/non-existing-path (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/non-existing-path (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -6773,7 +6809,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -6860,7 +6896,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42881/non-existing-path (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:41793/non-existing-path (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -6897,12 +6933,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42881/non-existing-path +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:41793/non-existing-path tuf/ngclient/fetcher.py:72: DownloadError ____________________ TestUpdater.test_external_targets_url _____________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -6979,9 +7015,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmphc36_dd0/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmps_fpxyot/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -6989,7 +7025,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40611, path='/tmp0c6hwtga/tmphc36_dd0/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=33011, path='/tmplbty1tkp/tmps_fpxyot/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -7219,7 +7255,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -7245,7 +7281,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -7302,15 +7338,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -7391,11 +7427,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmphc36_dd0/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmps_fpxyot/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -7489,14 +7525,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmphc36_dd0/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmps_fpxyot/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmphc36_dd0/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmps_fpxyot/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -7528,7 +7564,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -7615,7 +7651,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmphc36_dd0/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmps_fpxyot/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -7642,8 +7678,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmphc36_dd0/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmps_fpxyot/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -7666,12 +7702,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40611/tmp0c6hwtga/tmphc36_dd0/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:33011/tmplbty1tkp/tmps_fpxyot/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError ____________ TestUpdater.test_implicit_refresh_with_only_local_root ____________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -7748,9 +7784,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpnfw3pnft/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpxochzxgj/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -7758,7 +7794,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40611, path='/tmp0c6hwtga/tmpnfw3pnft/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=33011, path='/tmplbty1tkp/tmpxochzxgj/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -7988,7 +8024,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -8014,7 +8050,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -8071,15 +8107,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -8160,11 +8196,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpnfw3pnft/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpxochzxgj/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -8258,14 +8294,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmpnfw3pnft/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmpxochzxgj/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpnfw3pnft/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpxochzxgj/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -8297,7 +8333,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -8384,7 +8420,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmpnfw3pnft/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmpxochzxgj/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -8422,8 +8458,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpnfw3pnft/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpxochzxgj/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -8446,12 +8482,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40611/tmp0c6hwtga/tmpnfw3pnft/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:33011/tmplbty1tkp/tmpxochzxgj/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError ____________________ TestUpdater.test_length_hash_mismatch _____________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -8528,9 +8564,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpqxxneuq1/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpoimum9a2/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -8538,7 +8574,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40611, path='/tmp0c6hwtga/tmpqxxneuq1/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=33011, path='/tmplbty1tkp/tmpoimum9a2/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -8768,7 +8804,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -8794,7 +8830,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -8851,15 +8887,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -8940,11 +8976,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpqxxneuq1/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpoimum9a2/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -9038,14 +9074,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmpqxxneuq1/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmpoimum9a2/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpqxxneuq1/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpoimum9a2/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -9077,7 +9113,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -9164,7 +9200,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmpqxxneuq1/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmpoimum9a2/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -9191,8 +9227,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpqxxneuq1/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpoimum9a2/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -9215,12 +9251,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40611/tmp0c6hwtga/tmpqxxneuq1/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:33011/tmplbty1tkp/tmpoimum9a2/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError _____________________ TestUpdater.test_missing_targetinfo ______________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -9297,9 +9333,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpkcgt3vnx/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpjtq30ou5/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -9307,7 +9343,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40611, path='/tmp0c6hwtga/tmpkcgt3vnx/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=33011, path='/tmplbty1tkp/tmpjtq30ou5/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -9537,7 +9573,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -9563,7 +9599,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -9620,15 +9656,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -9709,11 +9745,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpkcgt3vnx/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpjtq30ou5/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -9807,14 +9843,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmpkcgt3vnx/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmpjtq30ou5/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpkcgt3vnx/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpjtq30ou5/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -9846,7 +9882,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -9933,7 +9969,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmpkcgt3vnx/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmpjtq30ou5/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -9960,8 +9996,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpkcgt3vnx/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpjtq30ou5/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -9984,12 +10020,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40611/tmp0c6hwtga/tmpkcgt3vnx/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:33011/tmplbty1tkp/tmpjtq30ou5/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError __________________ TestUpdater.test_non_existing_target_file ___________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -10066,9 +10102,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpk1z3q72j/repository/targets//non_existing_file.txt' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmph1gg5yca/repository/targets//non_existing_file.txt' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -10076,7 +10112,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40611, path='/tmp0c6hwtga/tmpk1z3q72j/repository/targets//non_existing_file.txt', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=33011, path='/tmplbty1tkp/tmph1gg5yca/repository/targets//non_existing_file.txt', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -10306,7 +10342,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -10332,7 +10368,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -10389,15 +10425,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -10478,11 +10514,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpk1z3q72j/repository/targets//non_existing_file.txt' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmph1gg5yca/repository/targets//non_existing_file.txt' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -10576,7 +10612,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmpk1z3q72j/repository/targets//non_existing_file.txt (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmph1gg5yca/repository/targets//non_existing_file.txt (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -10612,7 +10648,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -10699,7 +10735,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmpk1z3q72j/repository/targets//non_existing_file.txt (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmph1gg5yca/repository/targets//non_existing_file.txt (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -10745,12 +10781,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40611/tmp0c6hwtga/tmpk1z3q72j/repository/targets//non_existing_file.txt +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:33011/tmplbty1tkp/tmph1gg5yca/repository/targets//non_existing_file.txt tuf/ngclient/fetcher.py:72: DownloadError ____________________ TestUpdater.test_refresh_and_download _____________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -10827,9 +10863,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpbyr1yg74/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpmxrb8mqy/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -10837,7 +10873,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40611, path='/tmp0c6hwtga/tmpbyr1yg74/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=33011, path='/tmplbty1tkp/tmpmxrb8mqy/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -11067,7 +11103,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -11093,7 +11129,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -11150,15 +11186,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -11239,11 +11275,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpbyr1yg74/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpmxrb8mqy/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -11337,14 +11373,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmpbyr1yg74/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmpmxrb8mqy/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpbyr1yg74/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpmxrb8mqy/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -11376,7 +11412,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -11463,7 +11499,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmpbyr1yg74/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmpmxrb8mqy/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -11498,8 +11534,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpbyr1yg74/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpmxrb8mqy/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -11522,12 +11558,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40611/tmp0c6hwtga/tmpbyr1yg74/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:33011/tmplbty1tkp/tmpmxrb8mqy/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError ________________ TestUpdater.test_refresh_with_only_local_root _________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -11604,9 +11640,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmp2fcu4k4y/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmp9d4n2ka5/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -11614,7 +11650,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40611, path='/tmp0c6hwtga/tmp2fcu4k4y/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=33011, path='/tmplbty1tkp/tmp9d4n2ka5/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -11844,7 +11880,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -11870,7 +11906,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -11927,15 +11963,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -12016,11 +12052,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmp2fcu4k4y/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmp9d4n2ka5/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -12114,14 +12150,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmp2fcu4k4y/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmp9d4n2ka5/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmp2fcu4k4y/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmp9d4n2ka5/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -12153,7 +12189,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -12240,7 +12276,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmp2fcu4k4y/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmp9d4n2ka5/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -12275,8 +12311,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmp2fcu4k4y/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmp9d4n2ka5/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -12299,12 +12335,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40611/tmp0c6hwtga/tmp2fcu4k4y/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:33011/tmplbty1tkp/tmp9d4n2ka5/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError ________________________ TestUpdater.test_updating_root ________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -12381,9 +12417,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmptz3j4jha/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmp47_b0148/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -12391,7 +12427,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40611, path='/tmp0c6hwtga/tmptz3j4jha/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=33011, path='/tmplbty1tkp/tmp47_b0148/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -12621,7 +12657,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -12647,7 +12683,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -12704,15 +12740,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -12793,11 +12829,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmptz3j4jha/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmp47_b0148/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -12891,14 +12927,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmptz3j4jha/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmp47_b0148/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmptz3j4jha/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmp47_b0148/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -12930,7 +12966,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -13017,7 +13053,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmptz3j4jha/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmp47_b0148/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -13046,8 +13082,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmptz3j4jha/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmp47_b0148/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -13070,12 +13106,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40611/tmp0c6hwtga/tmptz3j4jha/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:33011/tmplbty1tkp/tmp47_b0148/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError _________________________ TestUpdater.test_user_agent __________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -13152,9 +13188,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpvw0h22zm/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpxz2sgi5a/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -13162,7 +13198,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40611, path='/tmp0c6hwtga/tmpvw0h22zm/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=33011, path='/tmplbty1tkp/tmpxz2sgi5a/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -13392,7 +13428,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -13418,7 +13454,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -13475,15 +13511,15 @@ raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -13564,11 +13600,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpvw0h22zm/repository/metadata/2.root.json' +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpxz2sgi5a/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -13662,14 +13698,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmpvw0h22zm/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmpxz2sgi5a/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpvw0h22zm/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpxz2sgi5a/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -13701,7 +13737,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -13788,7 +13824,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40611/tmp0c6hwtga/tmpvw0h22zm/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:33011/tmplbty1tkp/tmpxz2sgi5a/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -13816,8 +13852,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40611/tmp0c6hwtga/tmpvw0h22zm/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:33011/tmplbty1tkp/tmpxz2sgi5a/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -13840,7 +13876,7 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40611/tmp0c6hwtga/tmpvw0h22zm/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:33011/tmplbty1tkp/tmpxz2sgi5a/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError ________________________ TestServerProcess.test_cleanup ________________________ @@ -13863,7 +13899,7 @@ self._wait_for_port(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , timeout = 10 +self = , timeout = 10 def _wait_for_port(self, timeout: int) -> None: """ @@ -13949,7 +13985,7 @@ FAILED tests/test_updater_ng.py::TestUpdater::test_updating_root - tuf.api.ex... FAILED tests/test_updater_ng.py::TestUpdater::test_user_agent - tuf.api.excep... FAILED tests/test_utils.py::TestServerProcess::test_cleanup - tests.utils.Tes... -================= 21 failed, 163 passed, 5 warnings in 16.58s ================== +================= 21 failed, 163 passed, 5 warnings in 19.32s ================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-tuf-5.1.0/.pybuild/cpython3_3.13/build; python3.13 -m pytest --ignore tests/test_metadata_generation.py I: pybuild base:311: cd /build/reproducible-path/python-tuf-5.1.0/.pybuild/cpython3_3.12/build; python3.12 -m pytest --ignore tests/test_metadata_generation.py ============================= test session starts ============================== @@ -14142,7 +14178,7 @@ tests/test_examples.py:53: FileNotFoundError _______________________ TestFetcher.test_download_bytes ________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -14219,15 +14255,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', body = None +self = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=43845, path='/tmp367qzdxy', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42625, path='/tmp53k9v_05', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -14457,7 +14493,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -14483,7 +14519,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -14519,15 +14555,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -14607,10 +14643,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -14704,14 +14740,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:43845/tmp367qzdxy' +self = +url = 'http://127.0.0.1:42625/tmp53k9v_05' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -14743,7 +14779,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -14830,7 +14866,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -14851,8 +14887,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:43845/tmp367qzdxy' +self = +url = 'http://127.0.0.1:42625/tmp53k9v_05' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -14875,12 +14911,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:43845/tmp367qzdxy +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42625/tmp53k9v_05 tuf/ngclient/fetcher.py:72: DownloadError _______________ TestFetcher.test_download_bytes_length_mismatch ________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -14957,15 +14993,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', body = None +self = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=43845, path='/tmp367qzdxy', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42625, path='/tmp53k9v_05', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -15195,7 +15231,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -15221,7 +15257,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -15257,15 +15293,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -15345,10 +15381,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -15442,7 +15478,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -15478,7 +15514,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -15565,7 +15601,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -15608,12 +15644,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:43845/tmp367qzdxy +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42625/tmp53k9v_05 tuf/ngclient/fetcher.py:72: DownloadError _________________ TestFetcher.test_download_bytes_upper_length _________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -15690,15 +15726,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', body = None +self = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=43845, path='/tmp367qzdxy', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42625, path='/tmp53k9v_05', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -15928,7 +15964,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -15954,7 +15990,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -15990,15 +16026,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -16078,10 +16114,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -16175,14 +16211,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:43845/tmp367qzdxy' +self = +url = 'http://127.0.0.1:42625/tmp53k9v_05' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -16214,7 +16250,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -16301,7 +16337,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -16322,8 +16358,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:43845/tmp367qzdxy' +self = +url = 'http://127.0.0.1:42625/tmp53k9v_05' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -16346,12 +16382,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:43845/tmp367qzdxy +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42625/tmp53k9v_05 tuf/ngclient/fetcher.py:72: DownloadError ________________________ TestFetcher.test_download_file ________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -16428,15 +16464,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', body = None +self = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=43845, path='/tmp367qzdxy', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42625, path='/tmp53k9v_05', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -16666,7 +16702,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -16692,7 +16728,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -16728,15 +16764,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -16816,10 +16852,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -16913,14 +16949,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:43845/tmp367qzdxy' +self = +url = 'http://127.0.0.1:42625/tmp53k9v_05' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -16952,7 +16988,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -17039,7 +17075,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -17060,8 +17096,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:43845/tmp367qzdxy' +self = +url = 'http://127.0.0.1:42625/tmp53k9v_05' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -17084,12 +17120,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:43845/tmp367qzdxy +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42625/tmp53k9v_05 tuf/ngclient/fetcher.py:72: DownloadError _________________ TestFetcher.test_download_file_upper_length __________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -17166,15 +17202,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', body = None +self = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=43845, path='/tmp367qzdxy', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42625, path='/tmp53k9v_05', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -17404,7 +17440,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -17430,7 +17466,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -17466,15 +17502,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -17554,10 +17590,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -17651,14 +17687,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:43845/tmp367qzdxy' +self = +url = 'http://127.0.0.1:42625/tmp53k9v_05' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -17690,7 +17726,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -17777,7 +17813,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -17798,8 +17834,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:43845/tmp367qzdxy' +self = +url = 'http://127.0.0.1:42625/tmp53k9v_05' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -17822,12 +17858,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:43845/tmp367qzdxy +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42625/tmp53k9v_05 tuf/ngclient/fetcher.py:72: DownloadError ____________________________ TestFetcher.test_fetch ____________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -17904,15 +17940,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', body = None +self = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=43845, path='/tmp367qzdxy', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42625, path='/tmp53k9v_05', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -18142,7 +18178,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -18168,7 +18204,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -18204,15 +18240,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -18292,10 +18328,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -18389,14 +18425,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:43845/tmp367qzdxy' +self = +url = 'http://127.0.0.1:42625/tmp53k9v_05' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -18428,7 +18464,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -18515,7 +18551,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -18530,8 +18566,8 @@ tests/test_fetcher_ng.py:65: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:43845/tmp367qzdxy' +self = +url = 'http://127.0.0.1:42625/tmp53k9v_05' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -18554,12 +18590,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:43845/tmp367qzdxy +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42625/tmp53k9v_05 tuf/ngclient/fetcher.py:72: DownloadError _______________________ TestFetcher.test_fetch_in_chunks _______________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -18636,15 +18672,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', body = None +self = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=43845, path='/tmp367qzdxy', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42625, path='/tmp53k9v_05', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -18874,7 +18910,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -18900,7 +18936,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -18936,15 +18972,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -19024,10 +19060,10 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:43845/tmp367qzdxy', response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +method = 'GET', url = 'http://127.0.0.1:42625/tmp53k9v_05', response = None +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -19121,14 +19157,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:43845/tmp367qzdxy' +self = +url = 'http://127.0.0.1:42625/tmp53k9v_05' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -19160,7 +19196,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -19247,7 +19283,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/tmp367qzdxy (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/tmp53k9v_05 (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -19273,8 +19309,8 @@ tests/test_fetcher_ng.py:85: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:43845/tmp367qzdxy' +self = +url = 'http://127.0.0.1:42625/tmp53k9v_05' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -19297,12 +19333,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:43845/tmp367qzdxy +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42625/tmp53k9v_05 tuf/ngclient/fetcher.py:72: DownloadError _________________________ TestFetcher.test_http_error __________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -19379,15 +19415,15 @@ The above exception was the direct cause of the following exception: -self = -method = 'GET', url = 'http://127.0.0.1:43845/non-existing-path', body = None +self = +method = 'GET', url = 'http://127.0.0.1:42625/non-existing-path', body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) redirect = False, assert_same_host = False timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=43845, path='/non-existing-path', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=42625, path='/non-existing-path', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -19617,7 +19653,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -19643,7 +19679,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -19679,15 +19715,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -19767,11 +19803,11 @@ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) -method = 'GET', url = 'http://127.0.0.1:43845/non-existing-path' +method = 'GET', url = 'http://127.0.0.1:42625/non-existing-path' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -19865,7 +19901,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/non-existing-path (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/non-existing-path (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -19901,7 +19937,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -19988,7 +20024,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:43845/non-existing-path (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:42625/non-existing-path (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -20025,12 +20061,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:43845/non-existing-path +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:42625/non-existing-path tuf/ngclient/fetcher.py:72: DownloadError ____________________ TestUpdater.test_external_targets_url _____________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -20107,9 +20143,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpjnpjfqda/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpg63nwfi8/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -20117,7 +20153,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40375, path='/tmprxp1pugb/tmpjnpjfqda/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=35849, path='/tmpczrh9v1z/tmpg63nwfi8/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -20347,7 +20383,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -20373,7 +20409,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -20409,15 +20445,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -20498,11 +20534,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpjnpjfqda/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpg63nwfi8/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -20596,14 +20632,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpjnpjfqda/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpg63nwfi8/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpjnpjfqda/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpg63nwfi8/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -20635,7 +20671,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -20722,7 +20758,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpjnpjfqda/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpg63nwfi8/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -20749,8 +20785,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpjnpjfqda/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpg63nwfi8/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -20773,12 +20809,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40375/tmprxp1pugb/tmpjnpjfqda/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:35849/tmpczrh9v1z/tmpg63nwfi8/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError ____________ TestUpdater.test_implicit_refresh_with_only_local_root ____________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -20855,9 +20891,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpvhk0tx8c/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpqd8qo7vs/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -20865,7 +20901,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40375, path='/tmprxp1pugb/tmpvhk0tx8c/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=35849, path='/tmpczrh9v1z/tmpqd8qo7vs/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -21095,7 +21131,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -21121,7 +21157,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -21157,15 +21193,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -21246,11 +21282,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpvhk0tx8c/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpqd8qo7vs/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -21344,14 +21380,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpvhk0tx8c/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpqd8qo7vs/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpvhk0tx8c/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpqd8qo7vs/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -21383,7 +21419,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -21470,7 +21506,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpvhk0tx8c/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpqd8qo7vs/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -21508,8 +21544,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpvhk0tx8c/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpqd8qo7vs/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -21532,12 +21568,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40375/tmprxp1pugb/tmpvhk0tx8c/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:35849/tmpczrh9v1z/tmpqd8qo7vs/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError ____________________ TestUpdater.test_length_hash_mismatch _____________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -21614,9 +21650,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmprfmoxk8w/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpt6q2_one/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -21624,7 +21660,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40375, path='/tmprxp1pugb/tmprfmoxk8w/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=35849, path='/tmpczrh9v1z/tmpt6q2_one/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -21854,7 +21890,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -21880,7 +21916,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -21916,15 +21952,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -22005,11 +22041,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmprfmoxk8w/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpt6q2_one/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -22103,14 +22139,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmprfmoxk8w/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpt6q2_one/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmprfmoxk8w/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpt6q2_one/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -22142,7 +22178,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -22229,7 +22265,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmprfmoxk8w/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpt6q2_one/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -22256,8 +22292,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmprfmoxk8w/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpt6q2_one/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -22280,12 +22316,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40375/tmprxp1pugb/tmprfmoxk8w/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:35849/tmpczrh9v1z/tmpt6q2_one/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError _____________________ TestUpdater.test_missing_targetinfo ______________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -22362,9 +22398,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpdw9bm73j/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpyegd05ru/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -22372,7 +22408,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40375, path='/tmprxp1pugb/tmpdw9bm73j/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=35849, path='/tmpczrh9v1z/tmpyegd05ru/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -22602,7 +22638,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -22628,7 +22664,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -22664,15 +22700,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -22753,11 +22789,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpdw9bm73j/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpyegd05ru/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -22851,14 +22887,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpdw9bm73j/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpyegd05ru/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpdw9bm73j/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpyegd05ru/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -22890,7 +22926,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -22977,7 +23013,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpdw9bm73j/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpyegd05ru/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -23004,8 +23040,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpdw9bm73j/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpyegd05ru/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -23028,12 +23064,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40375/tmprxp1pugb/tmpdw9bm73j/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:35849/tmpczrh9v1z/tmpyegd05ru/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError __________________ TestUpdater.test_non_existing_target_file ___________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -23110,9 +23146,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpbcajr9pk/repository/targets//non_existing_file.txt' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpfrucnj2x/repository/targets//non_existing_file.txt' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -23120,7 +23156,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40375, path='/tmprxp1pugb/tmpbcajr9pk/repository/targets//non_existing_file.txt', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=35849, path='/tmpczrh9v1z/tmpfrucnj2x/repository/targets//non_existing_file.txt', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -23350,7 +23386,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -23376,7 +23412,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -23412,15 +23448,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -23501,11 +23537,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpbcajr9pk/repository/targets//non_existing_file.txt' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpfrucnj2x/repository/targets//non_existing_file.txt' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -23599,7 +23635,7 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpbcajr9pk/repository/targets//non_existing_file.txt (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpfrucnj2x/repository/targets//non_existing_file.txt (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -23635,7 +23671,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -23722,7 +23758,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpbcajr9pk/repository/targets//non_existing_file.txt (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpfrucnj2x/repository/targets//non_existing_file.txt (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -23768,12 +23804,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40375/tmprxp1pugb/tmpbcajr9pk/repository/targets//non_existing_file.txt +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:35849/tmpczrh9v1z/tmpfrucnj2x/repository/targets//non_existing_file.txt tuf/ngclient/fetcher.py:72: DownloadError ____________________ TestUpdater.test_refresh_and_download _____________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -23850,9 +23886,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmp24_t2kqj/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpias6unr_/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -23860,7 +23896,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40375, path='/tmprxp1pugb/tmp24_t2kqj/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=35849, path='/tmpczrh9v1z/tmpias6unr_/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -24090,7 +24126,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -24116,7 +24152,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -24152,15 +24188,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -24241,11 +24277,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmp24_t2kqj/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpias6unr_/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -24339,14 +24375,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmp24_t2kqj/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpias6unr_/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmp24_t2kqj/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpias6unr_/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -24378,7 +24414,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -24465,7 +24501,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmp24_t2kqj/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpias6unr_/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -24500,8 +24536,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmp24_t2kqj/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpias6unr_/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -24524,12 +24560,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40375/tmprxp1pugb/tmp24_t2kqj/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:35849/tmpczrh9v1z/tmpias6unr_/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError ________________ TestUpdater.test_refresh_with_only_local_root _________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -24606,9 +24642,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpmtp2e7rb/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpr60yaz02/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -24616,7 +24652,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40375, path='/tmprxp1pugb/tmpmtp2e7rb/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=35849, path='/tmpczrh9v1z/tmpr60yaz02/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -24846,7 +24882,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -24872,7 +24908,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -24908,15 +24944,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -24997,11 +25033,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpmtp2e7rb/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpr60yaz02/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -25095,14 +25131,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpmtp2e7rb/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpr60yaz02/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpmtp2e7rb/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpr60yaz02/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -25134,7 +25170,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -25221,7 +25257,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpmtp2e7rb/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpr60yaz02/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -25256,8 +25292,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpmtp2e7rb/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpr60yaz02/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -25280,12 +25316,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40375/tmprxp1pugb/tmpmtp2e7rb/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:35849/tmpczrh9v1z/tmpr60yaz02/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError ________________________ TestUpdater.test_updating_root ________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -25362,9 +25398,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpgx3co0da/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpdjghgfod/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -25372,7 +25408,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40375, path='/tmprxp1pugb/tmpgx3co0da/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=35849, path='/tmpczrh9v1z/tmpdjghgfod/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -25602,7 +25638,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -25628,7 +25664,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -25664,15 +25700,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -25753,11 +25789,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpgx3co0da/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpdjghgfod/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -25851,14 +25887,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpgx3co0da/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpdjghgfod/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpgx3co0da/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpdjghgfod/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -25890,7 +25926,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -25977,7 +26013,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpgx3co0da/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpdjghgfod/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -26006,8 +26042,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpgx3co0da/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpdjghgfod/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -26030,12 +26066,12 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40375/tmprxp1pugb/tmpgx3co0da/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:35849/tmpczrh9v1z/tmpdjghgfod/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError _________________________ TestUpdater.test_user_agent __________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -26112,9 +26148,9 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpa96qesj7/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpao9jwxkf/repository/metadata/2.root.json' body = None headers = {'User-Agent': 'python-tuf/5.1.0 python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -26122,7 +26158,7 @@ timeout = Timeout(connect=30, read=30, total=None), pool_timeout = None release_conn = False, chunked = False, body_pos = None, preload_content = False decode_content = False, response_kw = {} -parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=40375, path='/tmprxp1pugb/tmpa96qesj7/repository/metadata/2.root.json', query=None, fragment=None) +parsed_url = Url(scheme='http', auth=None, host='127.0.0.1', port=35849, path='/tmpczrh9v1z/tmpao9jwxkf/repository/metadata/2.root.json', query=None, fragment=None) destination_scheme = 'http', conn = None, release_this_conn = True http_tunnel_required = False, err = None, clean_exit = False @@ -26352,7 +26388,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -26378,7 +26414,7 @@ > raise NewConnectionError( self, f"Failed to establish a new connection: {e}" ) from e -E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +E urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused /usr/lib/python3/dist-packages/urllib3/connection.py:214: NewConnectionError @@ -26414,15 +26450,15 @@ ^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 214, in _new_conn raise NewConnectionError( -urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused +urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [Errno 111] Connection refused The above exception was the direct cause of the following exception: -urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +urllib3.exceptions.ProxyError: ('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) The above exception was the direct cause of the following exception: -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -26503,11 +26539,11 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET' -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpa96qesj7/repository/metadata/2.root.json' +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpao9jwxkf/repository/metadata/2.root.json' response = None -error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) -_pool = -_stacktrace = +error = ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused')) +_pool = +_stacktrace = def increment( self, @@ -26601,14 +26637,14 @@ if new_retry.is_exhausted(): reason = error or ResponseError(cause) > raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] -E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpa96qesj7/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpao9jwxkf/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpa96qesj7/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpao9jwxkf/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -26640,7 +26676,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = True timeout = Timeout(connect=30, read=30, total=None), verify = True, cert = None proxies = OrderedDict({'no': 'localhost', 'https': 'https://127.0.0.1:9/', 'http': 'http://127.0.0.1:9/'}) @@ -26727,7 +26763,7 @@ if isinstance(e.reason, _ProxyError): > raise ProxyError(e, request=request) -E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:40375/tmprxp1pugb/tmpa96qesj7/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) +E requests.exceptions.ProxyError: HTTPConnectionPool(host='127.0.0.1', port=9): Max retries exceeded with url: http://127.0.0.1:35849/tmpczrh9v1z/tmpao9jwxkf/repository/metadata/2.root.json (Caused by ProxyError('Unable to connect to proxy', NewConnectionError(': Failed to establish a new connection: [Errno 111] Connection refused'))) /usr/lib/python3/dist-packages/requests/adapters.py:694: ProxyError @@ -26755,8 +26791,8 @@ chunks = self.fetch(url) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -url = 'http://127.0.0.1:40375/tmprxp1pugb/tmpa96qesj7/repository/metadata/2.root.json' +self = +url = 'http://127.0.0.1:35849/tmpczrh9v1z/tmpao9jwxkf/repository/metadata/2.root.json' def fetch(self, url: str) -> Iterator[bytes]: """Fetch the contents of HTTP/HTTPS ``url`` from a remote server. @@ -26779,7 +26815,7 @@ raise e except Exception as e: > raise exceptions.DownloadError(f"Failed to download {url}") from e -E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:40375/tmprxp1pugb/tmpa96qesj7/repository/metadata/2.root.json +E tuf.api.exceptions.DownloadError: Failed to download http://127.0.0.1:35849/tmpczrh9v1z/tmpao9jwxkf/repository/metadata/2.root.json tuf/ngclient/fetcher.py:72: DownloadError ________________________ TestServerProcess.test_cleanup ________________________ @@ -26802,7 +26838,7 @@ self._wait_for_port(timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = , timeout = 10 +self = , timeout = 10 def _wait_for_port(self, timeout: int) -> None: """ @@ -26888,7 +26924,7 @@ FAILED tests/test_updater_ng.py::TestUpdater::test_updating_root - tuf.api.ex... FAILED tests/test_updater_ng.py::TestUpdater::test_user_agent - tuf.api.excep... FAILED tests/test_utils.py::TestServerProcess::test_cleanup - tests.utils.Tes... -================= 21 failed, 163 passed, 5 warnings in 16.82s ================== +================= 21 failed, 163 passed, 5 warnings in 22.39s ================== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-tuf-5.1.0/.pybuild/cpython3_3.12/build; python3.12 -m pytest --ignore tests/test_metadata_generation.py dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 make[1]: [debian/rules:10: override_dh_auto_test] Error 25 (ignored) @@ -26921,12 +26957,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/10658/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/10658/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2582 and its subdirectories -I: Current time: Tue Dec 17 19:35:52 -12 2024 -I: pbuilder-time-stamp: 1734507352 +I: removing directory /srv/workspace/pbuilder/10658 and its subdirectories +I: Current time: Wed Dec 18 21:39:17 +14 2024 +I: pbuilder-time-stamp: 1734507557