Diff of the two buildlogs: -- --- b1/build.log 2025-03-11 08:56:39.841144327 +0000 +++ b2/build.log 2025-03-11 08:59:19.274024821 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Apr 13 03:16:29 -12 2026 -I: pbuilder-time-stamp: 1776093389 +I: Current time: Tue Mar 11 22:56:43 +14 2025 +I: pbuilder-time-stamp: 1741683403 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -25,52 +25,84 @@ dpkg-source: info: applying 020_fix-sufix_versions.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1912555/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1425019/tmp/hooks/D01_modify_environment starting +debug: Running on codethink04-arm64. +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 Mar 11 08:56 /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/1425019/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1425019/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='arm64' - DEBIAN_FRONTEND='noninteractive' + 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]="aarch64-unknown-linux-gnu") + 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=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='690411caa4214ad28b6ab0b32d1904ad' - 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='1912555' - PS1='# ' - PS2='> ' + INVOCATION_ID=a94f341de72849ccaf3352b740efc8a6 + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + 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=1425019 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.Iz6oT6oU/pbuilderrc_BJGd --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Iz6oT6oU/b1 --logfile b1/build.log python-pook_2.1.3-1.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + 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.Iz6oT6oU/pbuilderrc_jjNr --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.Iz6oT6oU/b2 --logfile b2/build.log python-pook_2.1.3-1.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink03-arm64 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-31-cloud-arm64 #1 SMP Debian 6.1.128-1 (2025-02-07) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1912555/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1425019/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -291,7 +323,7 @@ Get: 149 http://deb.debian.org/debian trixie/main arm64 python3-sphinxcontrib.jquery all 4.1-5 [7348 B] Get: 150 http://deb.debian.org/debian trixie/main arm64 python3-sphinx-rtd-theme all 3.0.2+dfsg-2 [29.7 kB] Get: 151 http://deb.debian.org/debian trixie/main arm64 python3-xmltodict all 0.13.0-1 [16.7 kB] -Fetched 49.3 MB in 1s (81.6 MB/s) +Fetched 49.3 MB in 0s (101 MB/s) Preconfiguring packages ... Selecting previously unselected package fonts-lato. (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 ... 19914 files and directories currently installed.) @@ -777,8 +809,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Apr 13 15:17:20 UTC 2026. -Universal Time is now: Mon Apr 13 15:17:20 UTC 2026. +Local time is now: Tue Mar 11 08:57:44 UTC 2025. +Universal Time is now: Tue Mar 11 08:57:44 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20220109.1) ... @@ -932,7 +964,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/python-pook-2.1.3/ && 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-pook_2.1.3-1_source.changes +I: user script /srv/workspace/pbuilder/1425019/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1425019/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/python-pook-2.1.3/ && 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-pook_2.1.3-1_source.changes dpkg-buildpackage: info: source package python-pook dpkg-buildpackage: info: source version 2.1.3-1 dpkg-buildpackage: info: source distribution unstable @@ -1039,16 +1075,29 @@ tests/unit/engine_test.py .. [ 15%] tests/unit/exceptions_test.py . [ 16%] tests/unit/interceptors/aiohttp_test.py FFFFFFFFFFFFssssssss [ 25%] -tests/unit/interceptors/httpx_test.py FFFFFFFFFFFFFFFFFFFFFFFFFsFFFF [ 37%] +tests/unit/interceptors/httpx_test.py FFFFFFFFFFFFFFFFFFFFFFFFFsFFF127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 +F [ 37%] tests/unit/interceptors/module_test.py . [ 38%] -tests/unit/interceptors/urllib3_test.py FFFFFFFFFFFFFFFFFFFFFFFF........ [ 52%] +tests/unit/interceptors/urllib3_test.py 127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 +F127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 +FFF127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 +F127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 +FFF127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 +FFFFFFFFF127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 +FFFFFFF........ [ 52%] F [ 52%] -tests/unit/interceptors/urllib_test.py FFFFFFFFFFFFFF [ 58%] +tests/unit/interceptors/urllib_test.py F127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 +FF127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/401 HTTP/1.1" 401 0 +FFFFF127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 +FFFFFF [ 58%] tests/unit/matchers/base_test.py .... [ 60%] tests/unit/matchers/headers_test.py ...........FF............ [ 71%] -tests/unit/matchers/query_test.py FF [ 71%] +tests/unit/matchers/query_test.py 127.0.0.1 - - [11/Mar/2025 22:59:09] "GET /status/404?x HTTP/1.1" 404 0 +F127.0.0.1 - - [11/Mar/2025 22:59:09] "GET /status/404?x HTTP/1.1" 404 0 +F [ 71%] tests/unit/matchers/url_test.py ............................ [ 84%] -tests/unit/mock_engine_test.py ....x [ 86%] +tests/unit/mock_engine_test.py ....127.0.0.1 - - [11/Mar/2025 22:59:09] "GET /status/404 HTTP/1.1" 404 0 +x [ 86%] tests/unit/mock_test.py .FxxF......................... [ 99%] tests/unit/regex_test.py .. [100%] @@ -1121,7 +1170,7 @@ ~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 205, in _new_conn raise NameResolutionError(self.host, self, e) from e -urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1180,7 +1229,7 @@ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/404 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/404 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _____________________ test_examples[network_mode_httpx.py] _____________________ example = 'network_mode_httpx.py' @@ -1345,7 +1394,7 @@ ~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 205, in _new_conn raise NameResolutionError(self.host, self, e) from e -urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1381,7 +1430,7 @@ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -1399,7 +1448,7 @@ r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 700, in send raise ConnectionError(e, request=request) -requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) ____________________ test_examples[mock_context_manager.py] ____________________ example = 'mock_context_manager.py' @@ -1480,7 +1529,7 @@ ~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 205, in _new_conn raise NameResolutionError(self.host, self, e) from e -urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1498,7 +1547,7 @@ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -1516,7 +1565,7 @@ r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 700, in send raise ConnectionError(e, request=request) -requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _________________________ test_examples[decorators.py] _________________________ example = 'decorators.py' @@ -1588,7 +1637,7 @@ ~~~~~~~~~~~~~~^^ File "/usr/lib/python3/dist-packages/urllib3/connection.py", line 205, in _new_conn raise NameResolutionError(self.host, self, e) from e -urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1606,7 +1655,7 @@ File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 519, in increment raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -1624,7 +1673,7 @@ r = adapter.send(request, **kwargs) File "/usr/lib/python3/dist-packages/requests/adapters.py", line 700, in send raise ConnectionError(e, request=request) -requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _______________________ test_examples[aiohttp_client.py] _______________________ example = 'aiohttp_client.py' @@ -1657,7 +1706,7 @@ TypeError: 'Timeout' object does not support the context manager protocol ______________________________ test_requests_get _______________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -1705,7 +1754,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -1943,7 +1992,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -1959,13 +2008,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:205: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2047,9 +2096,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -2143,7 +2192,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='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -2167,7 +2216,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2261,12 +2310,12 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError ___________________________ test_requests_match_url ____________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2314,7 +2363,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -2552,7 +2601,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2568,13 +2617,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:205: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2656,9 +2705,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -2752,7 +2801,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='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -2776,7 +2825,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2870,12 +2919,12 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError _______________________ test_requests_match_query_params _______________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2923,7 +2972,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/?foo=bar', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -3161,7 +3210,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -3177,13 +3226,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:205: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -3265,9 +3314,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/?foo=bar', response = None -error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -3361,7 +3410,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='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -3385,7 +3434,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -3479,13 +3528,13 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError _________________ TestStandardAiohttp.test_activate_deactivate _________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -3499,12 +3548,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:14] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardAiohttp.test_network_mode _____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' -url_500 = 'http://127.0.0.1:36511/status/500' +self = +url_404 = 'http://127.0.0.1:45219/status/404' +url_500 = 'http://127.0.0.1:45219/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -3524,12 +3573,12 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:14] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [13/Apr/2026 03:19:14] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardAiohttp.test_network_mode_hostname ________________ -self = -req = +self = +req = traces = [] timeout = ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=30, ceil_threshold=5) @@ -3601,8 +3650,8 @@ The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:36511/status/401' +self = +url_401 = 'http://127.0.0.1:45219/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -3638,8 +3687,8 @@ _, proto = await self._create_direct_connection(req, traces, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = traces = [] timeout = ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=30, ceil_threshold=5) @@ -3678,11 +3727,11 @@ /usr/lib/python3/dist-packages/aiohttp/connector.py:1341: ClientConnectorDNSError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:14] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/401 HTTP/1.1" 401 0 ______________ TestStandardAiohttp.test_multiple_network_filters _______________ -self = -url_401 = 'http://127.0.0.1:36511/status/401' +self = +url_401 = 'http://127.0.0.1:45219/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -3718,13 +3767,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:14] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [13/Apr/2026 03:19:14] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [13/Apr/2026 03:19:14] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardAiohttp.test_json_request _____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -3741,11 +3790,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:14] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardAiohttp.test_json_response ____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -3760,11 +3809,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardAiohttp.test_json_request_and_response ______________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -3782,11 +3831,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestStandardAiohttp.test_header_sent _____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -3803,11 +3852,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAiohttp.test_mocked_response_headers _______________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -3821,11 +3870,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardAiohttp.test_mutli_value_headers _________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -3840,11 +3889,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardAiohttp.test_mutli_value_response_headers _____________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -3860,11 +3909,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardAiohttp.test_unmatched_headers_none_sent _____________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -3876,11 +3925,11 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAsyncHttpx.test_activate_deactivate ________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -3894,12 +3943,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardAsyncHttpx.test_network_mode ___________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' -url_500 = 'http://127.0.0.1:36511/status/500' +self = +url_404 = 'http://127.0.0.1:45219/status/404' +url_500 = 'http://127.0.0.1:45219/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -3919,8 +3968,8 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:15] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardAsyncHttpx.test_network_mode_hostname _______________ @contextlib.contextmanager @@ -3966,8 +4015,8 @@ The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:36511/status/401' +self = +url_401 = 'http://127.0.0.1:45219/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -4036,11 +4085,11 @@ /usr/lib/python3/dist-packages/httpx/_transports/default.py:89: ConnectError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/401 HTTP/1.1" 401 0 _____________ TestStandardAsyncHttpx.test_multiple_network_filters _____________ -self = -url_401 = 'http://127.0.0.1:36511/status/401' +self = +url_401 = 'http://127.0.0.1:45219/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -4076,13 +4125,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [13/Apr/2026 03:19:15] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestStandardAsyncHttpx.test_json_request ___________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -4099,11 +4148,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:16] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:06] "GET /status/404 HTTP/1.1" 404 0 __________________ TestStandardAsyncHttpx.test_json_response ___________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -4118,11 +4167,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:16] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardAsyncHttpx.test_json_request_and_response _____________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -4140,11 +4189,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:16] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardAsyncHttpx.test_header_sent ____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -4161,11 +4210,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:16] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardAsyncHttpx.test_mocked_response_headers ______________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -4179,11 +4228,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:16] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAsyncHttpx.test_mutli_value_headers ________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -4198,11 +4247,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:16] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardAsyncHttpx.test_mutli_value_response_headers ___________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -4218,11 +4267,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:16] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardAsyncHttpx.test_unmatched_headers_none_sent ____________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -4234,11 +4283,11 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:16] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardSyncHttpx.test_activate_deactivate ________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -4252,12 +4301,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:16] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardSyncHttpx.test_network_mode ____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' -url_500 = 'http://127.0.0.1:36511/status/500' +self = +url_404 = 'http://127.0.0.1:45219/status/404' +url_500 = 'http://127.0.0.1:45219/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -4277,8 +4326,8 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:16] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [13/Apr/2026 03:19:16] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardSyncHttpx.test_network_mode_hostname _______________ @contextlib.contextmanager @@ -4322,8 +4371,8 @@ The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:36511/status/401' +self = +url_401 = 'http://127.0.0.1:45219/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -4390,11 +4439,11 @@ /usr/lib/python3/dist-packages/httpx/_transports/default.py:89: ConnectError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:16] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/401 HTTP/1.1" 401 0 _____________ TestStandardSyncHttpx.test_multiple_network_filters ______________ -self = -url_401 = 'http://127.0.0.1:36511/status/401' +self = +url_401 = 'http://127.0.0.1:45219/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -4430,13 +4479,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestStandardSyncHttpx.test_json_request ____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -4453,11 +4502,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardSyncHttpx.test_json_response ___________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -4472,11 +4521,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardSyncHttpx.test_json_request_and_response _____________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -4494,11 +4543,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardSyncHttpx.test_header_sent ____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -4515,11 +4564,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardSyncHttpx.test_mocked_response_headers ______________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -4533,11 +4582,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardSyncHttpx.test_mutli_value_headers ________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -4552,11 +4601,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardSyncHttpx.test_mutli_value_response_headers ____________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -4572,11 +4621,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardSyncHttpx.test_unmatched_headers_none_sent ____________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -4588,10 +4637,10 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 __________________________________ test_sync ___________________________________ -URL = 'http://127.0.0.1:36511/status/404' +URL = 'http://127.0.0.1:45219/status/404' def test_sync(URL): pook.get(URL).times(1).reply(200).body("123") @@ -4604,10 +4653,10 @@ tests/unit/interceptors/httpx_test.py:43: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 __________________________________ test_json ___________________________________ -URL = 'http://127.0.0.1:36511/status/404' +URL = 'http://127.0.0.1:45219/status/404' def test_json(URL): ( @@ -4626,10 +4675,10 @@ tests/unit/interceptors/httpx_test.py:67: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "POST /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "POST /status/404 HTTP/1.1" 404 0 __________________________ test_streaming[iter_bytes] __________________________ -URL = 'http://127.0.0.1:36511/status/404', response_method = 'iter_bytes' +URL = 'http://127.0.0.1:45219/status/404', response_method = 'iter_bytes' @pytest.mark.parametrize("response_method", ("iter_bytes", "iter_raw")) def test_streaming(URL, response_method): @@ -4646,10 +4695,10 @@ tests/unit/interceptors/httpx_test.py:79: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ___________________________ test_streaming[iter_raw] ___________________________ -URL = 'http://127.0.0.1:36511/status/404', response_method = 'iter_raw' +URL = 'http://127.0.0.1:45219/status/404', response_method = 'iter_raw' @pytest.mark.parametrize("response_method", ("iter_bytes", "iter_raw")) def test_streaming(URL, response_method): @@ -4666,10 +4715,10 @@ tests/unit/interceptors/httpx_test.py:79: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/404 HTTP/1.1" 404 0 ___________________________ test_redirect_following ____________________________ -URL = 'http://127.0.0.1:36511/status/404' +URL = 'http://127.0.0.1:45219/status/404' def test_redirect_following(URL): urls = [URL, f"{URL}/redirected", f"{URL}/redirected_again"] @@ -4686,12 +4735,10 @@ E + where 404 = .status_code tests/unit/interceptors/httpx_test.py:93: AssertionError ------------------------------ Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardUrllib3.test_activate_deactivate _________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -4704,13 +4751,11 @@ E AssertionError tests/unit/interceptors/base.py:74: AssertionError ------------------------------ Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardUrllib3.test_network_mode _____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' -url_500 = 'http://127.0.0.1:36511/status/500' +self = +url_404 = 'http://127.0.0.1:45219/status/404' +url_500 = 'http://127.0.0.1:45219/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -4730,11 +4775,10 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "POST /status/500 HTTP/1.1" 500 0 ________________ TestStandardUrllib3.test_network_mode_hostname ________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -4782,7 +4826,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None, headers = {} retries = Retry(total=0, connect=None, read=None, redirect=None, status=None) redirect = False, assert_same_host = False, timeout = <_TYPE_DEFAULT.token: -1> @@ -5018,7 +5062,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5034,14 +5078,14 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:205: NameResolutionError The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:36511/status/401' +self = +url_401 = 'http://127.0.0.1:45219/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -5083,9 +5127,9 @@ self = Retry(total=0, connect=None, read=None, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -5179,19 +5223,19 @@ 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='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:17] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:07] "GET /status/401 HTTP/1.1" 401 0 ------------------------------ Captured log call ------------------------------- -WARNING urllib3.connectionpool:connectionpool.py:868 Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / -WARNING urllib3.connectionpool:connectionpool.py:868 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / -WARNING urllib3.connectionpool:connectionpool.py:868 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / +WARNING urllib3.connectionpool:connectionpool.py:868 Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / +WARNING urllib3.connectionpool:connectionpool.py:868 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / +WARNING urllib3.connectionpool:connectionpool.py:868 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / ______________ TestStandardUrllib3.test_multiple_network_filters _______________ -self = -url_401 = 'http://127.0.0.1:36511/status/401' +self = +url_401 = 'http://127.0.0.1:45219/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -5227,13 +5271,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardUrllib3.test_json_request _____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -5249,12 +5293,10 @@ E AssertionError tests/unit/interceptors/base.py:167: AssertionError ------------------------------ Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardUrllib3.test_json_response ____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -5268,12 +5310,10 @@ E AssertionError tests/unit/interceptors/base.py:178: AssertionError ------------------------------ Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardUrllib3.test_json_request_and_response ______________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -5291,11 +5331,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestStandardUrllib3.test_header_sent _____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -5312,11 +5352,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardUrllib3.test_mocked_response_headers _______________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -5329,12 +5369,10 @@ E AssertionError tests/unit/interceptors/base.py:217: AssertionError ------------------------------ Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardUrllib3.test_mutli_value_headers _________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -5349,11 +5387,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardUrllib3.test_mutli_value_response_headers _____________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -5369,11 +5407,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardUrllib3.test_unmatched_headers_none_sent _____________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -5385,11 +5423,11 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardRequests.test_activate_deactivate _________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -5403,12 +5441,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardRequests.test_network_mode ____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' -url_500 = 'http://127.0.0.1:36511/status/500' +self = +url_404 = 'http://127.0.0.1:45219/status/404' +url_500 = 'http://127.0.0.1:45219/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -5428,11 +5466,11 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardRequests.test_network_mode_hostname ________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5480,7 +5518,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -5718,7 +5756,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5734,13 +5772,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:205: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -5822,9 +5860,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -5918,14 +5956,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='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url_401 = 'http://127.0.0.1:36511/status/401' +self = +url_401 = 'http://127.0.0.1:45219/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -5957,7 +5995,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -6051,15 +6089,15 @@ raise SSLError(e, request=request) > raise ConnectionError(e, request=request) -E requests.exceptions.ConnectionError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/401 HTTP/1.1" 401 0 ______________ TestStandardRequests.test_multiple_network_filters ______________ -self = -url_401 = 'http://127.0.0.1:36511/status/401' +self = +url_401 = 'http://127.0.0.1:45219/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -6095,13 +6133,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardRequests.test_json_request ____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -6118,11 +6156,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardRequests.test_json_response ____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -6136,12 +6174,10 @@ E AssertionError tests/unit/interceptors/base.py:178: AssertionError ------------------------------ Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardRequests.test_json_request_and_response ______________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -6159,11 +6195,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardRequests.test_header_sent _____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -6180,11 +6216,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardRequests.test_mocked_response_headers _______________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -6198,11 +6234,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardRequests.test_mutli_value_headers _________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -6217,11 +6253,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardRequests.test_mutli_value_response_headers ____________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -6237,11 +6273,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardRequests.test_unmatched_headers_none_sent _____________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -6253,10 +6289,10 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 ____________________________ test_post_with_headers ____________________________ -URL = 'http://127.0.0.1:36511/foo' +URL = 'http://127.0.0.1:45219/foo' @pytest.mark.pook def test_post_with_headers(URL): @@ -6265,15 +6301,15 @@ resp = http.request("POST", URL) > assert resp.status == 200 E assert 404 == 200 -E + where 404 = .status +E + where 404 = .status tests/unit/interceptors/urllib3_test.py:112: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "POST /foo HTTP/1.1" 404 207 +127.0.0.1 - - [11/Mar/2025 22:59:08] "POST /foo HTTP/1.1" 404 207 _____________________ TestUrllib.test_activate_deactivate ______________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -6287,12 +6323,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 _________________________ TestUrllib.test_network_mode _________________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' -url_500 = 'http://127.0.0.1:36511/status/500' +self = +url_404 = 'http://127.0.0.1:45219/status/404' +url_500 = 'http://127.0.0.1:45219/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -6312,14 +6348,13 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "POST /status/500 HTTP/1.1" 500 0 ____________________ TestUrllib.test_network_mode_hostname _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6411,8 +6446,8 @@ During handling of the above exception, another exception occurred: -self = -url_401 = 'http://127.0.0.1:36511/status/401' +self = +url_401 = 'http://127.0.0.1:45219/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -6448,10 +6483,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6503,11 +6538,11 @@ /usr/lib/python3.13/urllib/request.py:1322: URLError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:18] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestUrllib.test_multiple_network_filters ___________________ -self = -url_401 = 'http://127.0.0.1:36511/status/401' +self = +url_401 = 'http://127.0.0.1:45219/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -6543,13 +6578,12 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:19] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [13/Apr/2026 03:19:19] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [13/Apr/2026 03:19:19] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/401 HTTP/1.1" 401 0 _________________________ TestUrllib.test_json_request _________________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -6566,11 +6600,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:19] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 ________________________ TestUrllib.test_json_response _________________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -6585,11 +6619,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:19] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 __________________ TestUrllib.test_json_request_and_response ___________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -6607,11 +6641,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:19] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 _________________________ TestUrllib.test_header_sent __________________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -6626,11 +6660,11 @@ tests/unit/interceptors/base.py:205: ValueError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:19] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestUrllib.test_mocked_response_headers ____________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -6641,12 +6675,10 @@ E ValueError: not enough values to unpack (expected 3, got 2) tests/unit/interceptors/base.py:215: ValueError ------------------------------ Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:19] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestUrllib.test_mutli_value_headers ______________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -6661,11 +6693,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:19] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 _________________ TestUrllib.test_mutli_value_response_headers _________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -6679,11 +6711,11 @@ tests/unit/interceptors/base.py:237: ValueError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:19] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 _________________ TestUrllib.test_unmatched_headers_none_sent __________________ -self = -url_404 = 'http://127.0.0.1:36511/status/404' +self = +url_404 = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -6695,14 +6727,14 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:19] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [11/Mar/2025 22:59:08] "GET /status/404 HTTP/1.1" 404 0 _______________________________ test_urllib_ssl ________________________________ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6769,7 +6801,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -6825,11 +6857,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6882,10 +6914,10 @@ /usr/lib/python3.13/urllib/request.py:1322: URLError ______________________________ test_urllib_clear _______________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6996,10 +7028,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -7240,7 +7272,7 @@ tests/unit/matchers/headers_test.py:171: AssertionError ______________________ test_param_exists_empty_disallowed ______________________ -URL = 'http://127.0.0.1:36511/status/404' +URL = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_param_exists_empty_disallowed(URL): @@ -7263,21 +7295,19 @@ result = func(*args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = -fp = , code = 404 -msg = 'NOT FOUND', hdrs = +self = +req = +fp = , code = 404 +msg = 'NOT FOUND', hdrs = def http_error_default(self, req, fp, code, msg, hdrs): > raise HTTPError(req.full_url, code, msg, hdrs, fp) E urllib.error.HTTPError: HTTP Error 404: NOT FOUND /usr/lib/python3.13/urllib/request.py:613: HTTPError ------------------------------ Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:20] "GET /status/404?x HTTP/1.1" 404 0 _______________________ test_param_exists_empty_allowed ________________________ -URL = 'http://127.0.0.1:36511/status/404' +URL = 'http://127.0.0.1:45219/status/404' @pytest.mark.pook def test_param_exists_empty_allowed(URL): @@ -7299,18 +7329,16 @@ result = func(*args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = -fp = , code = 404 -msg = 'NOT FOUND', hdrs = +self = +req = +fp = , code = 404 +msg = 'NOT FOUND', hdrs = def http_error_default(self, req, fp, code, msg, hdrs): > raise HTTPError(req.full_url, code, msg, hdrs, fp) E urllib.error.HTTPError: HTTP Error 404: NOT FOUND /usr/lib/python3.13/urllib/request.py:613: HTTPError ------------------------------ Captured stderr call ----------------------------- -127.0.0.1 - - [13/Apr/2026 03:19:20] "GET /status/404?x HTTP/1.1" 404 0 ________________________ test_mock_constructor[params] _________________________ param_kwargs = {'params': {'x': '1'}}, query_string = '?x=1' @@ -7379,7 +7407,7 @@ self.no_matches(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = msg = "pook error!\n\n=> Cannot match any mock for the following request:\n=================================================...============\n\n=> Detailed matching errors:\nURLMatcher: 'httpbin.org' != '127.0.0.1'\n- httpbin.org\n+ 127.0.0.1\n\n" def no_matches(self, msg): @@ -7469,7 +7497,7 @@ self.no_matches(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = msg = "pook error!\n\n=> Cannot match any mock for the following request:\n=================================================...============\n\n=> Detailed matching errors:\nURLMatcher: 'httpbin.org' != '127.0.0.1'\n- httpbin.org\n+ 127.0.0.1\n\n" def no_matches(self, msg): @@ -7731,7 +7759,7 @@ FAILED tests/unit/matchers/query_test.py::test_param_exists_empty_allowed - u... FAILED tests/unit/mock_test.py::test_mock_constructor[params] - pook.exceptio... FAILED tests/unit/mock_test.py::test_mock_constructor[param_exists_has_value] -===== 95 failed, 124 passed, 10 skipped, 3 xfailed, 42 warnings in 47.83s ====== +===== 95 failed, 124 passed, 10 skipped, 3 xfailed, 42 warnings in 21.50s ====== E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-pook-2.1.3/.pybuild/cpython3_3.13_pook/build; python3.13 -m pytest tests dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 make[1]: Leaving directory '/build/reproducible-path/python-pook-2.1.3' @@ -7768,12 +7796,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/1425019/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1425019/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/1912555 and its subdirectories -I: Current time: Mon Apr 13 03:19:35 -12 2026 -I: pbuilder-time-stamp: 1776093575 +I: removing directory /srv/workspace/pbuilder/1425019 and its subdirectories +I: Current time: Tue Mar 11 22:59:18 +14 2025 +I: pbuilder-time-stamp: 1741683558