Diff of the two buildlogs: -- --- b1/build.log 2025-03-06 14:36:15.826040196 +0000 +++ b2/build.log 2025-03-06 14:38:35.907730088 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Apr 8 08:57:40 -12 2026 -I: pbuilder-time-stamp: 1775681860 +I: Current time: Fri Mar 7 04:36:18 +14 2025 +I: pbuilder-time-stamp: 1741271778 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-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/823195/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/3914854/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 6 14: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/3914854/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/3914854/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='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='0a2dc94fbb004c11801f86c75dff815c' - 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='823195' - PS1='# ' - PS2='> ' + INVOCATION_ID=f01cad40ed1546c5b63d0a85c4970ba0 + 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=3914854 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.HZJjDpBB/pbuilderrc_EN0g --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.HZJjDpBB/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.HZJjDpBB/pbuilderrc_4YIH --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.HZJjDpBB/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/823195/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/3914854/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 unstable/main arm64 python3-sphinxcontrib.jquery all 4.1-5 [7348 B] Get: 150 http://deb.debian.org/debian unstable/main arm64 python3-sphinx-rtd-theme all 3.0.2+dfsg-2 [29.7 kB] Get: 151 http://deb.debian.org/debian unstable/main arm64 python3-xmltodict all 0.13.0-1 [16.7 kB] -Fetched 49.3 MB in 0s (122 MB/s) +Fetched 49.3 MB in 0s (160 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 ... 19897 files and directories currently installed.) @@ -777,8 +809,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Wed Apr 8 20:58:05 UTC 2026. -Universal Time is now: Wed Apr 8 20:58:05 UTC 2026. +Local time is now: Thu Mar 6 14:36:53 UTC 2025. +Universal Time is now: Thu Mar 6 14:36:53 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/3914854/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/3914854/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 @@ -1041,33 +1077,14 @@ tests/unit/interceptors/aiohttp_test.py FFFFFFFFFFFFssssssss [ 25%] tests/unit/interceptors/httpx_test.py FFFFFFFFFFFFFFFFFFFFFFFFFsFFFF [ 37%] tests/unit/interceptors/module_test.py . [ 38%] -tests/unit/interceptors/urllib3_test.py 127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 -FFFFF127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 -FF127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 -FF127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 -FFFF127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/401 HTTP/1.1" 401 0 -F127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 -FFFFFFF127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 -F........ [ 52%] +tests/unit/interceptors/urllib3_test.py FFFFFFFFFFFFFFFFFFFFFFFF........ [ 52%] F [ 52%] -tests/unit/interceptors/urllib_test.py 127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 -FFFF127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [08/Apr/2026 08:59:04] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [08/Apr/2026 08:59:04] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [08/Apr/2026 08:59:04] "GET /status/404 HTTP/1.1" 404 0 -FF127.0.0.1 - - [08/Apr/2026 08:59:04] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [08/Apr/2026 08:59:04] "GET /status/404 HTTP/1.1" 404 0 -FFF [ 58%] +tests/unit/interceptors/urllib_test.py FFFFFFFFFFFFFF [ 58%] tests/unit/matchers/base_test.py .... [ 60%] tests/unit/matchers/headers_test.py ...........FF............ [ 71%] -tests/unit/matchers/query_test.py F127.0.0.1 - - [08/Apr/2026 08:59:04] "GET /status/404?x HTTP/1.1" 404 0 -F [ 71%] +tests/unit/matchers/query_test.py FF [ 71%] tests/unit/matchers/url_test.py ............................ [ 84%] -tests/unit/mock_engine_test.py ....127.0.0.1 - - [08/Apr/2026 08:59:04] "GET /status/404 HTTP/1.1" 404 0 -x [ 86%] +tests/unit/mock_engine_test.py ....x [ 86%] tests/unit/mock_test.py .FxxF......................... [ 99%] tests/unit/regex_test.py .. [100%] @@ -1140,7 +1157,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: <urllib3.connection.HTTPConnection object at 0xffffa00cc640>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffff8cf40640>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1199,7 +1216,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("<urllib3.connection.HTTPConnection object at 0xffffa00cc640>: 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("<urllib3.connection.HTTPConnection object at 0xffff8cf40640>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _____________________ test_examples[network_mode_httpx.py] _____________________ example = 'network_mode_httpx.py' @@ -1364,7 +1381,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: <urllib3.connection.HTTPConnection object at 0xffffa7f3c440>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffffa082c440>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1400,7 +1417,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("<urllib3.connection.HTTPConnection object at 0xffffa7f3c440>: 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("<urllib3.connection.HTTPConnection object at 0xffffa082c440>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -1418,7 +1435,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("<urllib3.connection.HTTPConnection object at 0xffffa7f3c440>: 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("<urllib3.connection.HTTPConnection object at 0xffffa082c440>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) ____________________ test_examples[mock_context_manager.py] ____________________ example = 'mock_context_manager.py' @@ -1499,7 +1516,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: <urllib3.connection.HTTPConnection object at 0xffffa4e4b230>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffff93c4b230>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1517,7 +1534,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("<urllib3.connection.HTTPConnection object at 0xffffa4e4b230>: 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("<urllib3.connection.HTTPConnection object at 0xffff93c4b230>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -1535,7 +1552,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("<urllib3.connection.HTTPConnection object at 0xffffa4e4b230>: 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("<urllib3.connection.HTTPConnection object at 0xffff93c4b230>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _________________________ test_examples[decorators.py] _________________________ example = 'decorators.py' @@ -1607,7 +1624,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: <urllib3.connection.HTTPConnection object at 0xffff97ecb230>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffffb555b230>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1625,7 +1642,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("<urllib3.connection.HTTPConnection object at 0xffff97ecb230>: 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("<urllib3.connection.HTTPConnection object at 0xffffb555b230>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -1643,7 +1660,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("<urllib3.connection.HTTPConnection object at 0xffff97ecb230>: 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("<urllib3.connection.HTTPConnection object at 0xffffb555b230>: Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _______________________ test_examples[aiohttp_client.py] _______________________ example = 'aiohttp_client.py' @@ -1676,7 +1693,7 @@ TypeError: 'Timeout' object does not support the context manager protocol ______________________________ test_requests_get _______________________________ -self = <urllib3.connection.HTTPConnection object at 0xffff91235a90> +self = <urllib3.connection.HTTPConnection object at 0xffff9d745a90> def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -1724,7 +1741,7 @@ The above exception was the direct cause of the following exception: -self = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff912356a0> +self = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff9d7456a0> 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) @@ -1962,7 +1979,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <urllib3.connection.HTTPConnection object at 0xffff91235a90> +self = <urllib3.connection.HTTPConnection object at 0xffff9d745a90> def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -1978,13 +1995,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffff91235a90>: Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffff9d745a90>: 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 = <requests.adapters.HTTPAdapter object at 0xffff9123cf50> +self = <requests.adapters.HTTPAdapter object at 0xffff9d6e8f50> request = <PreparedRequest [GET]>, stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2066,9 +2083,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError("<urllib3.connection.HTTPConnection object at 0xffff91235a90>: Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff912356a0> -_stacktrace = <traceback object at 0xffff918a69c0> +error = NameResolutionError("<urllib3.connection.HTTPConnection object at 0xffff9d745a90>: Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff9d7456a0> +_stacktrace = <traceback object at 0xffff9d61da40> def increment( self, @@ -2162,7 +2179,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("<urllib3.connection.HTTPConnection object at 0xffff91235a90>: 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("<urllib3.connection.HTTPConnection object at 0xffff9d745a90>: Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -2186,7 +2203,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <requests.adapters.HTTPAdapter object at 0xffff9123cf50> +self = <requests.adapters.HTTPAdapter object at 0xffff9d6e8f50> request = <PreparedRequest [GET]>, stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2280,12 +2297,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("<urllib3.connection.HTTPConnection object at 0xffff91235a90>: 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("<urllib3.connection.HTTPConnection object at 0xffff9d745a90>: 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 = <urllib3.connection.HTTPConnection object at 0xffff9123fed0> +self = <urllib3.connection.HTTPConnection object at 0xffff9d6ebed0> def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2333,7 +2350,7 @@ The above exception was the direct cause of the following exception: -self = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff9123fc50> +self = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff9d6ebc50> 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) @@ -2571,7 +2588,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <urllib3.connection.HTTPConnection object at 0xffff9123fed0> +self = <urllib3.connection.HTTPConnection object at 0xffff9d6ebed0> def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2587,13 +2604,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffff9123fed0>: Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffff9d6ebed0>: 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 = <requests.adapters.HTTPAdapter object at 0xffff91281f30> +self = <requests.adapters.HTTPAdapter object at 0xffff9d7a1f30> request = <PreparedRequest [GET]>, stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2675,9 +2692,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError("<urllib3.connection.HTTPConnection object at 0xffff9123fed0>: Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff9123fc50> -_stacktrace = <traceback object at 0xffff90afdc40> +error = NameResolutionError("<urllib3.connection.HTTPConnection object at 0xffff9d6ebed0>: Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff9d6ebc50> +_stacktrace = <traceback object at 0xffff9d01dc40> def increment( self, @@ -2771,7 +2788,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("<urllib3.connection.HTTPConnection object at 0xffff9123fed0>: 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("<urllib3.connection.HTTPConnection object at 0xffff9d6ebed0>: Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -2795,7 +2812,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <requests.adapters.HTTPAdapter object at 0xffff91281f30> +self = <requests.adapters.HTTPAdapter object at 0xffff9d7a1f30> request = <PreparedRequest [GET]>, stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2889,12 +2906,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("<urllib3.connection.HTTPConnection object at 0xffff9123fed0>: 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("<urllib3.connection.HTTPConnection object at 0xffff9d6ebed0>: 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 = <urllib3.connection.HTTPConnection object at 0xffff91161810> +self = <urllib3.connection.HTTPConnection object at 0xffff9d67d810> def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2942,7 +2959,7 @@ The above exception was the direct cause of the following exception: -self = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff91161590> +self = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff9d67d590> 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) @@ -3180,7 +3197,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <urllib3.connection.HTTPConnection object at 0xffff91161810> +self = <urllib3.connection.HTTPConnection object at 0xffff9d67d810> def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -3196,13 +3213,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffff91161810>: Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffff9d67d810>: 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 = <requests.adapters.HTTPAdapter object at 0xffff91269a30> +self = <requests.adapters.HTTPAdapter object at 0xffff9d7d9a30> request = <PreparedRequest [GET]>, stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -3284,9 +3301,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/?foo=bar', response = None -error = NameResolutionError("<urllib3.connection.HTTPConnection object at 0xffff91161810>: Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff91161590> -_stacktrace = <traceback object at 0xffff90b36480> +error = NameResolutionError("<urllib3.connection.HTTPConnection object at 0xffff9d67d810>: Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff9d67d590> +_stacktrace = <traceback object at 0xffff9cf35740> def increment( self, @@ -3380,7 +3397,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("<urllib3.connection.HTTPConnection object at 0xffff91161810>: 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("<urllib3.connection.HTTPConnection object at 0xffff9d67d810>: Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -3404,7 +3421,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <requests.adapters.HTTPAdapter object at 0xffff91269a30> +self = <requests.adapters.HTTPAdapter object at 0xffff9d7d9a30> request = <PreparedRequest [GET]>, stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -3498,13 +3515,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("<urllib3.connection.HTTPConnection object at 0xffff91161810>: 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("<urllib3.connection.HTTPConnection object at 0xffff9d67d810>: 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 = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff91766e90> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9dc86e90> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -3518,12 +3535,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:15] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardAiohttp.test_network_mode _____________________ -self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff917674d0> -url_404 = 'http://127.0.0.1:43965/status/404' -url_500 = 'http://127.0.0.1:43965/status/500' +self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9dc874d0> +url_404 = 'http://127.0.0.1:35847/status/404' +url_500 = 'http://127.0.0.1:35847/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -3543,12 +3560,12 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:15] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [07/Mar/2025 04:38:15] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardAiohttp.test_network_mode_hostname ________________ -self = <aiohttp.connector.TCPConnector object at 0xffff91283100> -req = <aiohttp.client_reqrep.ClientRequest object at 0xffff91281e00> +self = <aiohttp.connector.TCPConnector object at 0xffff9d7a2ea0> +req = <aiohttp.client_reqrep.ClientRequest object at 0xffff9d7a1e00> traces = [] timeout = ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=30, ceil_threshold=5) @@ -3620,8 +3637,8 @@ The above exception was the direct cause of the following exception: -self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff913929e0> -url_401 = 'http://127.0.0.1:43965/status/401' +self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9d8b29e0> +url_401 = 'http://127.0.0.1:35847/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -3657,8 +3674,8 @@ _, proto = await self._create_direct_connection(req, traces, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <aiohttp.connector.TCPConnector object at 0xffff91283100> -req = <aiohttp.client_reqrep.ClientRequest object at 0xffff91281e00> +self = <aiohttp.connector.TCPConnector object at 0xffff9d7a2ea0> +req = <aiohttp.client_reqrep.ClientRequest object at 0xffff9d7a1e00> traces = [] timeout = ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=30, ceil_threshold=5) @@ -3697,11 +3714,11 @@ /usr/lib/python3/dist-packages/aiohttp/connector.py:1341: ClientConnectorDNSError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:15] "GET /status/401 HTTP/1.1" 401 0 ______________ TestStandardAiohttp.test_multiple_network_filters _______________ -self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff91392650> -url_401 = 'http://127.0.0.1:43965/status/401' +self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9d8b2650> +url_401 = 'http://127.0.0.1:35847/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -3737,13 +3754,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:15] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:15] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:15] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardAiohttp.test_json_request _____________________ -self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff91432210> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9d952210> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -3760,11 +3777,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:15] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardAiohttp.test_json_response ____________________ -self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff91763130> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9dc83130> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -3779,11 +3796,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:15] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardAiohttp.test_json_request_and_response ______________ -self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff91831d00> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9dd51d00> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -3801,11 +3818,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestStandardAiohttp.test_header_sent _____________________ -self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff913ca950> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9d8ea950> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -3822,11 +3839,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAiohttp.test_mocked_response_headers _______________ -self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff913caa50> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9d8eaa50> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -3840,11 +3857,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardAiohttp.test_mutli_value_headers _________________ -self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff916cc500> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9dbec500> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -3859,11 +3876,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardAiohttp.test_mutli_value_response_headers _____________ -self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff913d9b80> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9d8f9b80> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -3879,11 +3896,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardAiohttp.test_unmatched_headers_none_sent _____________ -self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9146e970> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.aiohttp_test.TestStandardAiohttp object at 0xffff9d992970> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -3895,11 +3912,11 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAsyncHttpx.test_activate_deactivate ________________ -self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff91895e50> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9ddb5e50> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -3913,12 +3930,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardAsyncHttpx.test_network_mode ___________________ -self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff91767610> -url_404 = 'http://127.0.0.1:43965/status/404' -url_500 = 'http://127.0.0.1:43965/status/500' +self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9dc87610> +url_404 = 'http://127.0.0.1:35847/status/404' +url_500 = 'http://127.0.0.1:35847/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -3938,8 +3955,8 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:01] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [08/Apr/2026 08:59:01] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardAsyncHttpx.test_network_mode_hostname _______________ @contextlib.contextmanager @@ -3988,8 +4005,8 @@ The above exception was the direct cause of the following exception: -self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff91392520> -url_401 = 'http://127.0.0.1:43965/status/401' +self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9d8b2520> +url_401 = 'http://127.0.0.1:35847/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -4061,11 +4078,11 @@ /usr/lib/python3/dist-packages/httpx/_transports/default.py:118: ConnectError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/401 HTTP/1.1" 401 0 _____________ TestStandardAsyncHttpx.test_multiple_network_filters _____________ -self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff913922c0> -url_401 = 'http://127.0.0.1:43965/status/401' +self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9d8b22c0> +url_401 = 'http://127.0.0.1:35847/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -4101,13 +4118,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestStandardAsyncHttpx.test_json_request ___________________ -self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff91433770> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9d953770> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -4124,11 +4141,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/404 HTTP/1.1" 404 0 __________________ TestStandardAsyncHttpx.test_json_response ___________________ -self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9140c490> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9d92c490> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -4143,11 +4160,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardAsyncHttpx.test_json_request_and_response _____________ -self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9140c160> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9d92c160> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -4165,11 +4182,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:16] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardAsyncHttpx.test_header_sent ____________________ -self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff913ca850> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9d8ea850> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -4186,11 +4203,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardAsyncHttpx.test_mocked_response_headers ______________ -self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff913cac50> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9d8eac50> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -4204,11 +4221,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAsyncHttpx.test_mutli_value_headers ________________ -self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff913d9f40> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9d8f9f40> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -4223,11 +4240,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardAsyncHttpx.test_mutli_value_response_headers ___________ -self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff913d9c70> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9d8f9c70> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -4243,11 +4260,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardAsyncHttpx.test_unmatched_headers_none_sent ____________ -self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9146fa10> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardAsyncHttpx object at 0xffff9d993a10> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -4259,11 +4276,11 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardSyncHttpx.test_activate_deactivate ________________ -self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff91767750> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9dc87750> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -4277,12 +4294,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardSyncHttpx.test_network_mode ____________________ -self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff91767890> -url_404 = 'http://127.0.0.1:43965/status/404' -url_500 = 'http://127.0.0.1:43965/status/500' +self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9dc87890> +url_404 = 'http://127.0.0.1:35847/status/404' +url_500 = 'http://127.0.0.1:35847/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -4302,8 +4319,8 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardSyncHttpx.test_network_mode_hostname _______________ @contextlib.contextmanager @@ -4350,8 +4367,8 @@ The above exception was the direct cause of the following exception: -self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff91392b10> -url_401 = 'http://127.0.0.1:43965/status/401' +self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9d8b2b10> +url_401 = 'http://127.0.0.1:35847/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -4421,11 +4438,11 @@ /usr/lib/python3/dist-packages/httpx/_transports/default.py:118: ConnectError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/401 HTTP/1.1" 401 0 _____________ TestStandardSyncHttpx.test_multiple_network_filters ______________ -self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff91392c40> -url_401 = 'http://127.0.0.1:43965/status/401' +self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9d8b2c40> +url_401 = 'http://127.0.0.1:35847/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -4461,13 +4478,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestStandardSyncHttpx.test_json_request ____________________ -self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff91449490> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9d969490> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -4484,11 +4501,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardSyncHttpx.test_json_response ___________________ -self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9140c5a0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9d92c5a0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -4503,11 +4520,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:17] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardSyncHttpx.test_json_request_and_response _____________ -self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9140c6b0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9d92c6b0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -4525,11 +4542,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardSyncHttpx.test_header_sent ____________________ -self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff913cad50> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9d8ead50> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -4546,11 +4563,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardSyncHttpx.test_mocked_response_headers ______________ -self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff913cae50> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9d8eae50> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -4564,11 +4581,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardSyncHttpx.test_mutli_value_headers ________________ -self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff913d9d60> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9d8f9d60> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -4583,11 +4600,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:02] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardSyncHttpx.test_mutli_value_response_headers ____________ -self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff913da030> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9d8fa030> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -4603,11 +4620,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardSyncHttpx.test_unmatched_headers_none_sent ____________ -self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9122d0f0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.httpx_test.TestStandardSyncHttpx object at 0xffff9d9710f0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -4619,10 +4636,10 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "GET /status/404 HTTP/1.1" 404 0 __________________________________ test_sync ___________________________________ -URL = 'http://127.0.0.1:43965/status/404' +URL = 'http://127.0.0.1:35847/status/404' def test_sync(URL): pook.get(URL).times(1).reply(200).body("123") @@ -4635,10 +4652,10 @@ tests/unit/interceptors/httpx_test.py:43: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "GET /status/404 HTTP/1.1" 404 0 __________________________________ test_json ___________________________________ -URL = 'http://127.0.0.1:43965/status/404' +URL = 'http://127.0.0.1:35847/status/404' def test_json(URL): ( @@ -4657,10 +4674,10 @@ tests/unit/interceptors/httpx_test.py:67: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "POST /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "POST /status/404 HTTP/1.1" 404 0 __________________________ test_streaming[iter_bytes] __________________________ -URL = 'http://127.0.0.1:43965/status/404', response_method = 'iter_bytes' +URL = 'http://127.0.0.1:35847/status/404', response_method = 'iter_bytes' @pytest.mark.parametrize("response_method", ("iter_bytes", "iter_raw")) def test_streaming(URL, response_method): @@ -4677,10 +4694,10 @@ tests/unit/interceptors/httpx_test.py:79: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "GET /status/404 HTTP/1.1" 404 0 ___________________________ test_streaming[iter_raw] ___________________________ -URL = 'http://127.0.0.1:43965/status/404', response_method = 'iter_raw' +URL = 'http://127.0.0.1:35847/status/404', response_method = 'iter_raw' @pytest.mark.parametrize("response_method", ("iter_bytes", "iter_raw")) def test_streaming(URL, response_method): @@ -4697,10 +4714,10 @@ tests/unit/interceptors/httpx_test.py:79: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "GET /status/404 HTTP/1.1" 404 0 ___________________________ test_redirect_following ____________________________ -URL = 'http://127.0.0.1:43965/status/404' +URL = 'http://127.0.0.1:35847/status/404' def test_redirect_following(URL): urls = [URL, f"{URL}/redirected", f"{URL}/redirected_again"] @@ -4718,11 +4735,11 @@ tests/unit/interceptors/httpx_test.py:93: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardUrllib3.test_activate_deactivate _________________ -self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff917679d0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9dc879d0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -4735,11 +4752,13 @@ E AssertionError tests/unit/interceptors/base.py:74: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:18] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardUrllib3.test_network_mode _____________________ -self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff91767b10> -url_404 = 'http://127.0.0.1:43965/status/404' -url_500 = 'http://127.0.0.1:43965/status/500' +self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9dc87b10> +url_404 = 'http://127.0.0.1:35847/status/404' +url_500 = 'http://127.0.0.1:35847/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -4759,11 +4778,11 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardUrllib3.test_network_mode_hostname ________________ -self = <urllib3.connection.HTTPConnection object at 0xffff911af790> +self = <urllib3.connection.HTTPConnection object at 0xffff9d6cb790> def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -4811,7 +4830,7 @@ The above exception was the direct cause of the following exception: -self = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff911aecf0> +self = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff9d6cacf0> 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> @@ -5047,7 +5066,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <urllib3.connection.HTTPConnection object at 0xffff911af790> +self = <urllib3.connection.HTTPConnection object at 0xffff9d6cb790> def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5063,14 +5082,14 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffff911af790>: Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffff9d6cb790>: 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 = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff91393100> -url_401 = 'http://127.0.0.1:43965/status/401' +self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9d8b3100> +url_401 = 'http://127.0.0.1:35847/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -5112,9 +5131,9 @@ self = Retry(total=0, connect=None, read=None, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError("<urllib3.connection.HTTPConnection object at 0xffff911af790>: Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") -_pool = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff911aecf0> -_stacktrace = <traceback object at 0xffff8b78d3c0> +error = NameResolutionError("<urllib3.connection.HTTPConnection object at 0xffff9d6cb790>: Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") +_pool = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff9d6cacf0> +_stacktrace = <traceback object at 0xffff9d954840> def increment( self, @@ -5208,19 +5227,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("<urllib3.connection.HTTPConnection object at 0xffff911af790>: 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("<urllib3.connection.HTTPConnection object at 0xffff9d6cb790>: 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 - - [08/Apr/2026 08:59:03] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:18] "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("<urllib3.connection.HTTPConnection object at 0xffff911ad370>: 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("<urllib3.connection.HTTPConnection object at 0xffff911ade10>: 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("<urllib3.connection.HTTPConnection object at 0xffff911ae580>: 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("<urllib3.connection.HTTPConnection object at 0xffff9d6c9370>: 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("<urllib3.connection.HTTPConnection object at 0xffff9d6c9e10>: 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("<urllib3.connection.HTTPConnection object at 0xffff9d6ca580>: Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / ______________ TestStandardUrllib3.test_multiple_network_filters _______________ -self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff91392ea0> -url_401 = 'http://127.0.0.1:43965/status/401' +self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9d8b2ea0> +url_401 = 'http://127.0.0.1:35847/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -5256,13 +5275,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardUrllib3.test_json_request _____________________ -self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9144a9f0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9d96a9f0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -5279,11 +5298,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardUrllib3.test_json_response ____________________ -self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9140c7c0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9d92c7c0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -5297,10 +5316,12 @@ E AssertionError tests/unit/interceptors/base.py:178: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardUrllib3.test_json_request_and_response ______________ -self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9140c8d0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9d92c8d0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -5318,11 +5339,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestStandardUrllib3.test_header_sent _____________________ -self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff913cab50> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9d8eab50> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -5338,10 +5359,12 @@ E AssertionError tests/unit/interceptors/base.py:207: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardUrllib3.test_mocked_response_headers _______________ -self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff913cb050> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9d8eb050> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -5354,10 +5377,12 @@ E AssertionError tests/unit/interceptors/base.py:217: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardUrllib3.test_mutli_value_headers _________________ -self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff913da210> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9d8fa210> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -5372,11 +5397,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardUrllib3.test_mutli_value_response_headers _____________ -self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff913da120> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9d8fa120> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -5391,10 +5416,12 @@ E AssertionError tests/unit/interceptors/base.py:239: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardUrllib3.test_unmatched_headers_none_sent _____________ -self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9122def0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardUrllib3 object at 0xffff9d971ef0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -5405,10 +5432,12 @@ E Failed: DID NOT RAISE <class 'pook.exceptions.PookNoMatches'> tests/unit/interceptors/base.py:247: Failed +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardRequests.test_activate_deactivate _________________ -self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff91767c50> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9dc87c50> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -5422,12 +5451,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardRequests.test_network_mode ____________________ -self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff91767d90> -url_404 = 'http://127.0.0.1:43965/status/404' -url_500 = 'http://127.0.0.1:43965/status/500' +self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9dc87d90> +url_404 = 'http://127.0.0.1:35847/status/404' +url_500 = 'http://127.0.0.1:35847/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -5447,11 +5476,11 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardRequests.test_network_mode_hostname ________________ -self = <urllib3.connection.HTTPConnection object at 0xffff90ff2030> +self = <urllib3.connection.HTTPConnection object at 0xffff9d526030> def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5499,7 +5528,7 @@ The above exception was the direct cause of the following exception: -self = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff90a22350> +self = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff9cf96350> 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) @@ -5737,7 +5766,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <urllib3.connection.HTTPConnection object at 0xffff90ff2030> +self = <urllib3.connection.HTTPConnection object at 0xffff9d526030> def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5753,13 +5782,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffff90ff2030>: Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPConnection object at 0xffff9d526030>: 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 = <requests.adapters.HTTPAdapter object at 0xffff90a28410> +self = <requests.adapters.HTTPAdapter object at 0xffff9cfc0590> request = <PreparedRequest [GET]>, stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -5841,9 +5870,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError("<urllib3.connection.HTTPConnection object at 0xffff90ff2030>: Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") -_pool = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff90a22350> -_stacktrace = <traceback object at 0xffff90c31f80> +error = NameResolutionError("<urllib3.connection.HTTPConnection object at 0xffff9d526030>: Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") +_pool = <urllib3.connectionpool.HTTPConnectionPool object at 0xffff9cf96350> +_stacktrace = <traceback object at 0xffff9c57c540> def increment( self, @@ -5937,14 +5966,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("<urllib3.connection.HTTPConnection object at 0xffff90ff2030>: 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("<urllib3.connection.HTTPConnection object at 0xffff9d526030>: 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 = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff91392d70> -url_401 = 'http://127.0.0.1:43965/status/401' +self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9d8b2d70> +url_401 = 'http://127.0.0.1:35847/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -5976,7 +6005,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <requests.adapters.HTTPAdapter object at 0xffff90a28410> +self = <requests.adapters.HTTPAdapter object at 0xffff9cfc0590> request = <PreparedRequest [GET]>, stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -6070,15 +6099,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("<urllib3.connection.HTTPConnection object at 0xffff90ff2030>: 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("<urllib3.connection.HTTPConnection object at 0xffff9d526030>: 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 - - [08/Apr/2026 08:59:03] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/401 HTTP/1.1" 401 0 ______________ TestStandardRequests.test_multiple_network_filters ______________ -self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff91393230> -url_401 = 'http://127.0.0.1:43965/status/401' +self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9d8b3230> +url_401 = 'http://127.0.0.1:35847/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -6114,12 +6143,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardRequests.test_json_request ____________________ -self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff91224710> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9d734710> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -6135,10 +6165,12 @@ E AssertionError tests/unit/interceptors/base.py:167: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardRequests.test_json_response ____________________ -self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9140c9e0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9d92c9e0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -6153,11 +6185,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardRequests.test_json_request_and_response ______________ -self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9140caf0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9d92caf0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -6175,11 +6207,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardRequests.test_header_sent _____________________ -self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff913cb150> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9d8eb150> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -6196,11 +6228,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardRequests.test_mocked_response_headers _______________ -self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff913cb250> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9d8eb250> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -6214,11 +6246,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardRequests.test_mutli_value_headers _________________ -self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff913da990> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9d8fa990> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -6233,11 +6265,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardRequests.test_mutli_value_response_headers ____________ -self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff913daa80> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9d8faa80> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -6253,11 +6285,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardRequests.test_unmatched_headers_none_sent _____________ -self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9122f5b0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib3_test.TestStandardRequests object at 0xffff9d9735b0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -6268,9 +6300,11 @@ E Failed: DID NOT RAISE <class 'pook.exceptions.PookNoMatches'> tests/unit/interceptors/base.py:247: Failed +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ____________________________ test_post_with_headers ____________________________ -URL = 'http://127.0.0.1:43965/foo' +URL = 'http://127.0.0.1:35847/foo' @pytest.mark.pook def test_post_with_headers(URL): @@ -6279,15 +6313,15 @@ resp = http.request("POST", URL) > assert resp.status == 200 E assert 404 == 200 -E + where 404 = <urllib3.response.HTTPResponse object at 0xffff90b036d0>.status +E + where 404 = <urllib3.response.HTTPResponse object at 0xffff9d06e9e0>.status tests/unit/interceptors/urllib3_test.py:112: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "POST /foo HTTP/1.1" 404 207 +127.0.0.1 - - [07/Mar/2025 04:38:19] "POST /foo HTTP/1.1" 404 207 _____________________ TestUrllib.test_activate_deactivate ______________________ -self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff91767ed0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9dc87ed0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -6300,11 +6334,13 @@ E AssertionError tests/unit/interceptors/base.py:74: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 _________________________ TestUrllib.test_network_mode _________________________ -self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9123c050> -url_404 = 'http://127.0.0.1:43965/status/404' -url_500 = 'http://127.0.0.1:43965/status/500' +self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9d6e8050> +url_404 = 'http://127.0.0.1:35847/status/404' +url_500 = 'http://127.0.0.1:35847/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -6324,14 +6360,14 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestUrllib.test_network_mode_hostname _____________________ -self = <urllib.request.HTTPHandler object at 0xffff912356a0> +self = <urllib.request.HTTPHandler object at 0xffff9d7456a0> http_class = <class 'http.client.HTTPConnection'> -req = <urllib.request.Request object at 0xffff91281810>, http_conn_args = {} -host = 'example.com', h = <http.client.HTTPConnection object at 0xffff91281cd0> +req = <urllib.request.Request object at 0xffff9d7a1810>, http_conn_args = {} +host = 'example.com', h = <http.client.HTTPConnection object at 0xffff9d7a1cd0> headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6423,8 +6459,8 @@ During handling of the above exception, another exception occurred: -self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff91393360> -url_401 = 'http://127.0.0.1:43965/status/401' +self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9d8b3360> +url_401 = 'http://127.0.0.1:35847/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -6460,10 +6496,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <urllib.request.HTTPHandler object at 0xffff912356a0> +self = <urllib.request.HTTPHandler object at 0xffff9d7456a0> http_class = <class 'http.client.HTTPConnection'> -req = <urllib.request.Request object at 0xffff91281810>, http_conn_args = {} -host = 'example.com', h = <http.client.HTTPConnection object at 0xffff91281cd0> +req = <urllib.request.Request object at 0xffff9d7a1810>, http_conn_args = {} +host = 'example.com', h = <http.client.HTTPConnection object at 0xffff9d7a1cd0> headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6515,11 +6551,11 @@ /usr/lib/python3.13/urllib/request.py:1322: URLError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:19] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestUrllib.test_multiple_network_filters ___________________ -self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff91393490> -url_401 = 'http://127.0.0.1:43965/status/401' +self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9d8b3490> +url_401 = 'http://127.0.0.1:35847/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -6555,13 +6591,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [08/Apr/2026 08:59:03] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:20] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:20] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [07/Mar/2025 04:38:20] "GET /status/401 HTTP/1.1" 401 0 _________________________ TestUrllib.test_json_request _________________________ -self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9144a330> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9d96a330> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -6577,10 +6613,12 @@ E AssertionError tests/unit/interceptors/base.py:167: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:20] "GET /status/404 HTTP/1.1" 404 0 ________________________ TestUrllib.test_json_response _________________________ -self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9140cd10> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9d92cd10> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -6594,10 +6632,12 @@ E AssertionError tests/unit/interceptors/base.py:178: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:20] "GET /status/404 HTTP/1.1" 404 0 __________________ TestUrllib.test_json_request_and_response ___________________ -self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9140cc00> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9d92cc00> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -6614,10 +6654,12 @@ E AssertionError tests/unit/interceptors/base.py:193: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:20] "GET /status/404 HTTP/1.1" 404 0 _________________________ TestUrllib.test_header_sent __________________________ -self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff913cb450> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9d8eb450> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -6631,10 +6673,12 @@ E ValueError: not enough values to unpack (expected 3, got 2) tests/unit/interceptors/base.py:205: ValueError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:20] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestUrllib.test_mocked_response_headers ____________________ -self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff913cb550> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9d8eb550> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -6645,10 +6689,12 @@ 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 - - [07/Mar/2025 04:38:20] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestUrllib.test_mutli_value_headers ______________________ -self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff913dab70> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9d8fab70> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -6663,11 +6709,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:04] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:20] "GET /status/404 HTTP/1.1" 404 0 _________________ TestUrllib.test_mutli_value_response_headers _________________ -self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff913dac60> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9d8fac60> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -6680,10 +6726,12 @@ E ValueError: not enough values to unpack (expected 3, got 2) tests/unit/interceptors/base.py:237: ValueError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:20] "GET /status/404 HTTP/1.1" 404 0 _________________ TestUrllib.test_unmatched_headers_none_sent __________________ -self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9122c9f0> -url_404 = 'http://127.0.0.1:43965/status/404' +self = <tests.unit.interceptors.urllib_test.TestUrllib object at 0xffff9d9709f0> +url_404 = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -6694,13 +6742,15 @@ E Failed: DID NOT RAISE <class 'pook.exceptions.PookNoMatches'> tests/unit/interceptors/base.py:247: Failed +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [07/Mar/2025 04:38:20] "GET /status/404 HTTP/1.1" 404 0 _______________________________ test_urllib_ssl ________________________________ -self = <urllib.request.HTTPSHandler object at 0xffff91237a10> +self = <urllib.request.HTTPSHandler object at 0xffff9d7474d0> http_class = <class 'http.client.HTTPSConnection'> -req = <urllib.request.Request object at 0xffff90a28950> -http_conn_args = {'context': <ssl.SSLContext object at 0xffff90c3b650>} -host = '127.0.0.1:9', h = <http.client.HTTPSConnection object at 0xffff925a78c0> +req = <urllib.request.Request object at 0xffff9cfc0890> +http_conn_args = {'context': <ssl.SSLContext object at 0xffff9d153650>} +host = '127.0.0.1:9', h = <http.client.HTTPSConnection object at 0xffff9eac78c0> headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6767,7 +6817,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = <object object at 0xffff94b810a0> +address = ('127.0.0.1', 9), timeout = <object object at 0xffffa10a10a0> source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -6823,11 +6873,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <urllib.request.HTTPSHandler object at 0xffff91237a10> +self = <urllib.request.HTTPSHandler object at 0xffff9d7474d0> http_class = <class 'http.client.HTTPSConnection'> -req = <urllib.request.Request object at 0xffff90a28950> -http_conn_args = {'context': <ssl.SSLContext object at 0xffff90c3b650>} -host = '127.0.0.1:9', h = <http.client.HTTPSConnection object at 0xffff925a78c0> +req = <urllib.request.Request object at 0xffff9cfc0890> +http_conn_args = {'context': <ssl.SSLContext object at 0xffff9d153650>} +host = '127.0.0.1:9', h = <http.client.HTTPSConnection object at 0xffff9eac78c0> headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6880,10 +6930,10 @@ /usr/lib/python3.13/urllib/request.py:1322: URLError ______________________________ test_urllib_clear _______________________________ -self = <urllib.request.HTTPHandler object at 0xffff912356a0> +self = <urllib.request.HTTPHandler object at 0xffff9d7456a0> http_class = <class 'http.client.HTTPConnection'> -req = <urllib.request.Request object at 0xffff90a28f50>, http_conn_args = {} -host = 'example.com', h = <http.client.HTTPConnection object at 0xffff90ab02f0> +req = <urllib.request.Request object at 0xffff9cfc0e90>, http_conn_args = {} +host = 'example.com', h = <http.client.HTTPConnection object at 0xffff9cf902f0> headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6994,10 +7044,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <urllib.request.HTTPHandler object at 0xffff912356a0> +self = <urllib.request.HTTPHandler object at 0xffff9d7456a0> http_class = <class 'http.client.HTTPConnection'> -req = <urllib.request.Request object at 0xffff90a28f50>, http_conn_args = {} -host = 'example.com', h = <http.client.HTTPConnection object at 0xffff90ab02f0> +req = <urllib.request.Request object at 0xffff9cfc0e90>, http_conn_args = {} +host = 'example.com', h = <http.client.HTTPConnection object at 0xffff9cf902f0> headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -7238,7 +7288,7 @@ tests/unit/matchers/headers_test.py:171: AssertionError ______________________ test_param_exists_empty_disallowed ______________________ -URL = 'http://127.0.0.1:43965/status/404' +URL = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_param_exists_empty_disallowed(URL): @@ -7261,10 +7311,10 @@ result = func(*args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <urllib.request.HTTPDefaultErrorHandler object at 0xffff91235550> -req = <urllib.request.Request object at 0xffff911bab10> -fp = <http.client.HTTPResponse object at 0xffff90b109d0>, code = 404 -msg = 'NOT FOUND', hdrs = <http.client.HTTPMessage object at 0xffff90aa77f0> +self = <urllib.request.HTTPDefaultErrorHandler object at 0xffff9d745550> +req = <urllib.request.Request object at 0xffff9d6d5550> +fp = <http.client.HTTPResponse object at 0xffff9dc61210>, code = 404 +msg = 'NOT FOUND', hdrs = <http.client.HTTPMessage object at 0xffff9cf3f6b0> def http_error_default(self, req, fp, code, msg, hdrs): > raise HTTPError(req.full_url, code, msg, hdrs, fp) @@ -7272,10 +7322,10 @@ /usr/lib/python3.13/urllib/request.py:613: HTTPError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [08/Apr/2026 08:59:04] "GET /status/404?x HTTP/1.1" 404 0 +127.0.0.1 - - [07/Mar/2025 04:38:21] "GET /status/404?x HTTP/1.1" 404 0 _______________________ test_param_exists_empty_allowed ________________________ -URL = 'http://127.0.0.1:43965/status/404' +URL = 'http://127.0.0.1:35847/status/404' @pytest.mark.pook def test_param_exists_empty_allowed(URL): @@ -7297,16 +7347,18 @@ result = func(*args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <urllib.request.HTTPDefaultErrorHandler object at 0xffff91235550> -req = <urllib.request.Request object at 0xffff911b9550> -fp = <http.client.HTTPResponse object at 0xffff90b12bc0>, code = 404 -msg = 'NOT FOUND', hdrs = <http.client.HTTPMessage object at 0xffff90aa7930> +self = <urllib.request.HTTPDefaultErrorHandler object at 0xffff9d745550> +req = <urllib.request.Request object at 0xffff9d6d71d0> +fp = <http.client.HTTPResponse object at 0xffff9d0259f0>, code = 404 +msg = 'NOT FOUND', hdrs = <http.client.HTTPMessage object at 0xffff9cf3f750> 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 - - [07/Mar/2025 04:38:21] "GET /status/404?x HTTP/1.1" 404 0 ________________________ test_mock_constructor[params] _________________________ param_kwargs = {'params': {'x': '1'}}, query_string = '?x=1' @@ -7375,7 +7427,7 @@ self.no_matches(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <pook.engine.Engine object at 0xffff90a71050> +self = <pook.engine.Engine object at 0xffff9cf50f50> 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): @@ -7465,7 +7517,7 @@ self.no_matches(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = <pook.engine.Engine object at 0xffff910125d0> +self = <pook.engine.Engine object at 0xffff9d509d60> 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): @@ -7727,7 +7779,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 19.96s ====== +===== 95 failed, 124 passed, 10 skipped, 3 xfailed, 42 warnings in 33.15s ====== 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' @@ -7764,12 +7816,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/3914854/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/3914854/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/823195 and its subdirectories -I: Current time: Wed Apr 8 08:59:13 -12 2026 -I: pbuilder-time-stamp: 1775681953 +I: removing directory /srv/workspace/pbuilder/3914854 and its subdirectories +I: Current time: Fri Mar 7 04:38:34 +14 2025 +I: pbuilder-time-stamp: 1741271914