Diff of the two buildlogs: -- --- b1/build.log 2025-04-13 23:39:59.198367491 +0000 +++ b2/build.log 2025-04-13 23:41:40.076154047 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 16 18:01:32 -12 2026 -I: pbuilder-time-stamp: 1778997692 +I: Current time: Mon Apr 14 13:40:02 +14 2025 +I: pbuilder-time-stamp: 1744587602 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/3813252/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2136273/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 Apr 13 23:40 /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/2136273/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2136273/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='8e33556a901049378757ce66953b26b0' - 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='3813252' - PS1='# ' - PS2='> ' + INVOCATION_ID=16ed06e931e3429fa3bd31f9a62eb889 + 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=2136273 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.arvL7HiD/pbuilderrc_LC5G --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.arvL7HiD/b1 --logfile b1/build.log python-pook_2.1.3-2.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.arvL7HiD/pbuilderrc_VlhU --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.arvL7HiD/b2 --logfile b2/build.log python-pook_2.1.3-2.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-33-cloud-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-33-cloud-arm64 #1 SMP Debian 6.1.133-1 (2025-04-10) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/3813252/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2136273/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 40.3 MB in 0s (90.2 MB/s) +Fetched 40.3 MB in 0s (154 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 ... 19954 files and directories currently installed.) @@ -776,8 +808,8 @@ Setting up tzdata (2025b-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Sun May 17 06:01:54 UTC 2026. -Universal Time is now: Sun May 17 06:01:54 UTC 2026. +Local time is now: Sun Apr 13 23:40:23 UTC 2025. +Universal Time is now: Sun Apr 13 23:40:23 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20240727.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-2_source.changes +I: user script /srv/workspace/pbuilder/2136273/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/2136273/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-2_source.changes dpkg-buildpackage: info: source package python-pook dpkg-buildpackage: info: source version 2.1.3-2 dpkg-buildpackage: info: source distribution unstable @@ -1039,34 +1075,16 @@ tests/unit/engine_test.py .. [ 15%] tests/unit/exceptions_test.py . [ 16%] tests/unit/interceptors/aiohttp_test.py FFFFFFFFFFFFssssssss [ 25%] -tests/unit/interceptors/httpx_test.py FFFFFFFFFFFFFFF127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/401 HTTP/1.1" 401 0 -FFFFFFFFFFs127.0.0.1 - - [16/May/2026 18:02:48] "POST /status/404 HTTP/1.1" 404 0 -FFFF [ 37%] +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 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 -FFFF127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 -FF127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 -FF127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 -FF127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 -FFFFFFF127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 -FF127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 -FFFFF........ [ 52%] +tests/unit/interceptors/urllib3_test.py FFFFFFFFFFFFFFFFFFFFFFFF........ [ 52%] F [ 52%] -tests/unit/interceptors/urllib_test.py F127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/404 HTTP/1.1" 404 0 -FFF127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/404 HTTP/1.1" 404 0 -FF127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/404 HTTP/1.1" 404 0 -FF127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/404 HTTP/1.1" 404 0 -F127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/404 HTTP/1.1" 404 0 -FFFF [ 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 127.0.0.1 - - [16/May/2026 18:02:50] "GET /status/404?x HTTP/1.1" 404 0 -F127.0.0.1 - - [16/May/2026 18:02:50] "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 - - [16/May/2026 18:02:50] "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%] @@ -1139,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: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1198,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(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/404 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _____________________ test_examples[network_mode_httpx.py] _____________________ example = 'network_mode_httpx.py' @@ -1363,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: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1399,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(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -1417,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(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) ____________________ test_examples[mock_context_manager.py] ____________________ example = 'mock_context_manager.py' @@ -1498,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: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1516,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(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -1534,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(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /ip (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _________________________ test_examples[decorators.py] _________________________ example = 'decorators.py' @@ -1606,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: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) +urllib3.exceptions.NameResolutionError: : Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution) The above exception was the direct cause of the following exception: @@ -1624,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(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) During handling of the above exception, another exception occurred: @@ -1642,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(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) +requests.exceptions.ConnectionError: HTTPConnectionPool(host='httpbin.org', port=80): Max retries exceeded with url: /status/400 (Caused by NameResolutionError(": Failed to resolve 'httpbin.org' ([Errno -3] Temporary failure in name resolution)")) _______________________ test_examples[aiohttp_client.py] _______________________ example = 'aiohttp_client.py' @@ -1675,7 +1693,7 @@ TypeError: 'Timeout' object does not support the context manager protocol ______________________________ test_requests_get _______________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -1723,7 +1741,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -1961,7 +1979,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -1977,13 +1995,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:205: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2065,9 +2083,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -2161,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(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -2185,7 +2203,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2279,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(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError ___________________________ test_requests_match_url ____________________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2332,7 +2350,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -2570,7 +2588,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2586,13 +2604,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:205: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2674,9 +2692,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -2770,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(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -2794,7 +2812,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -2888,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(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError _______________________ test_requests_match_query_params _______________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -2941,7 +2959,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/?foo=bar', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -3179,7 +3197,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -3195,13 +3213,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:205: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -3283,9 +3301,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/?foo=bar', response = None -error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -3379,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(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError @@ -3403,7 +3421,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -3497,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(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='foo.com', port=80): Max retries exceeded with url: /?foo=bar (Caused by NameResolutionError(": Failed to resolve 'foo.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError _________________ TestStandardAiohttp.test_activate_deactivate _________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -3517,12 +3535,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardAiohttp.test_network_mode _____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' -url_500 = 'http://127.0.0.1:38823/status/500' +self = +url_404 = 'http://127.0.0.1:39443/status/404' +url_500 = 'http://127.0.0.1:39443/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -3542,12 +3560,12 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardAiohttp.test_network_mode_hostname ________________ -self = -req = +self = +req = traces = [] timeout = ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=30, ceil_threshold=5) @@ -3619,8 +3637,8 @@ The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:38823/status/401' +self = +url_401 = 'http://127.0.0.1:39443/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -3656,8 +3674,8 @@ _, proto = await self._create_direct_connection(req, traces, timeout) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = +self = +req = traces = [] timeout = ClientTimeout(total=300, connect=None, sock_read=None, sock_connect=30, ceil_threshold=5) @@ -3696,11 +3714,11 @@ /usr/lib/python3/dist-packages/aiohttp/connector.py:1357: ClientConnectorDNSError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/401 HTTP/1.1" 401 0 ______________ TestStandardAiohttp.test_multiple_network_filters _______________ -self = -url_401 = 'http://127.0.0.1:38823/status/401' +self = +url_401 = 'http://127.0.0.1:39443/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -3736,13 +3754,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardAiohttp.test_json_request _____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -3758,10 +3776,12 @@ E AssertionError tests/unit/interceptors/base.py:167: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardAiohttp.test_json_response ____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -3776,12 +3796,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/404 HTTP/1.1" 404 0 -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardAiohttp.test_json_request_and_response ______________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -3799,11 +3818,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestStandardAiohttp.test_header_sent _____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -3820,11 +3839,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAiohttp.test_mocked_response_headers _______________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -3838,11 +3857,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardAiohttp.test_mutli_value_headers _________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -3857,11 +3876,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardAiohttp.test_mutli_value_response_headers _____________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -3877,11 +3896,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardAiohttp.test_unmatched_headers_none_sent _____________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -3893,11 +3912,11 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAsyncHttpx.test_activate_deactivate ________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -3911,12 +3930,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardAsyncHttpx.test_network_mode ___________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' -url_500 = 'http://127.0.0.1:38823/status/500' +self = +url_404 = 'http://127.0.0.1:39443/status/404' +url_500 = 'http://127.0.0.1:39443/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -3936,8 +3955,8 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:46] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [16/May/2026 18:02:46] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [14/Apr/2025 13:41:25] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardAsyncHttpx.test_network_mode_hostname _______________ @contextlib.contextmanager @@ -3986,8 +4005,8 @@ The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:38823/status/401' +self = +url_401 = 'http://127.0.0.1:39443/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -4059,11 +4078,11 @@ /usr/lib/python3/dist-packages/httpx/_transports/default.py:118: ConnectError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/401 HTTP/1.1" 401 0 _____________ TestStandardAsyncHttpx.test_multiple_network_filters _____________ -self = -url_401 = 'http://127.0.0.1:38823/status/401' +self = +url_401 = 'http://127.0.0.1:39443/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -4099,13 +4118,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestStandardAsyncHttpx.test_json_request ___________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -4122,11 +4141,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/404 HTTP/1.1" 404 0 __________________ TestStandardAsyncHttpx.test_json_response ___________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -4141,11 +4160,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardAsyncHttpx.test_json_request_and_response _____________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -4163,11 +4182,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardAsyncHttpx.test_header_sent ____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -4184,11 +4203,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardAsyncHttpx.test_mocked_response_headers ______________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -4202,11 +4221,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardAsyncHttpx.test_mutli_value_headers ________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -4221,11 +4240,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardAsyncHttpx.test_mutli_value_response_headers ___________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -4241,11 +4260,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardAsyncHttpx.test_unmatched_headers_none_sent ____________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -4257,11 +4276,11 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardSyncHttpx.test_activate_deactivate ________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -4275,12 +4294,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardSyncHttpx.test_network_mode ____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' -url_500 = 'http://127.0.0.1:38823/status/500' +self = +url_404 = 'http://127.0.0.1:39443/status/404' +url_500 = 'http://127.0.0.1:39443/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -4300,8 +4319,8 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardSyncHttpx.test_network_mode_hostname _______________ @contextlib.contextmanager @@ -4348,8 +4367,8 @@ The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:38823/status/401' +self = +url_401 = 'http://127.0.0.1:39443/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -4419,11 +4438,11 @@ /usr/lib/python3/dist-packages/httpx/_transports/default.py:118: ConnectError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/401 HTTP/1.1" 401 0 _____________ TestStandardSyncHttpx.test_multiple_network_filters ______________ -self = -url_401 = 'http://127.0.0.1:38823/status/401' +self = +url_401 = 'http://127.0.0.1:39443/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -4459,12 +4478,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestStandardSyncHttpx.test_json_request ____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -4481,11 +4501,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:47] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:26] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardSyncHttpx.test_json_response ___________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -4500,11 +4520,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardSyncHttpx.test_json_request_and_response _____________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -4522,11 +4542,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardSyncHttpx.test_header_sent ____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -4543,11 +4563,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardSyncHttpx.test_mocked_response_headers ______________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -4561,11 +4581,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardSyncHttpx.test_mutli_value_headers ________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -4580,11 +4600,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ___________ TestStandardSyncHttpx.test_mutli_value_response_headers ____________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -4600,11 +4620,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardSyncHttpx.test_unmatched_headers_none_sent ____________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -4616,10 +4636,10 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 __________________________________ test_sync ___________________________________ -URL = 'http://127.0.0.1:38823/status/404' +URL = 'http://127.0.0.1:39443/status/404' def test_sync(URL): pook.get(URL).times(1).reply(200).body("123") @@ -4632,10 +4652,10 @@ tests/unit/interceptors/httpx_test.py:43: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 __________________________________ test_json ___________________________________ -URL = 'http://127.0.0.1:38823/status/404' +URL = 'http://127.0.0.1:39443/status/404' def test_json(URL): ( @@ -4653,9 +4673,11 @@ E + where 404 = .status_code tests/unit/interceptors/httpx_test.py:67: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:27] "POST /status/404 HTTP/1.1" 404 0 __________________________ test_streaming[iter_bytes] __________________________ -URL = 'http://127.0.0.1:38823/status/404', response_method = 'iter_bytes' +URL = 'http://127.0.0.1:39443/status/404', response_method = 'iter_bytes' @pytest.mark.parametrize("response_method", ("iter_bytes", "iter_raw")) def test_streaming(URL, response_method): @@ -4672,10 +4694,10 @@ tests/unit/interceptors/httpx_test.py:79: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ___________________________ test_streaming[iter_raw] ___________________________ -URL = 'http://127.0.0.1:38823/status/404', response_method = 'iter_raw' +URL = 'http://127.0.0.1:39443/status/404', response_method = 'iter_raw' @pytest.mark.parametrize("response_method", ("iter_bytes", "iter_raw")) def test_streaming(URL, response_method): @@ -4692,10 +4714,10 @@ tests/unit/interceptors/httpx_test.py:79: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ___________________________ test_redirect_following ____________________________ -URL = 'http://127.0.0.1:38823/status/404' +URL = 'http://127.0.0.1:39443/status/404' def test_redirect_following(URL): urls = [URL, f"{URL}/redirected", f"{URL}/redirected_again"] @@ -4713,11 +4735,11 @@ tests/unit/interceptors/httpx_test.py:93: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardUrllib3.test_activate_deactivate _________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -4730,11 +4752,13 @@ E AssertionError tests/unit/interceptors/base.py:74: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardUrllib3.test_network_mode _____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' -url_500 = 'http://127.0.0.1:38823/status/500' +self = +url_404 = 'http://127.0.0.1:39443/status/404' +url_500 = 'http://127.0.0.1:39443/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -4754,11 +4778,11 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardUrllib3.test_network_mode_hostname ________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -4806,7 +4830,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None, headers = {} retries = Retry(total=0, connect=None, read=None, redirect=None, status=None) redirect = False, assert_same_host = False, timeout = <_TYPE_DEFAULT.token: -1> @@ -5042,7 +5066,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5058,14 +5082,14 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:205: NameResolutionError The above exception was the direct cause of the following exception: -self = -url_401 = 'http://127.0.0.1:38823/status/401' +self = +url_401 = 'http://127.0.0.1:39443/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -5107,9 +5131,9 @@ self = Retry(total=0, connect=None, read=None, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -5203,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(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/401 HTTP/1.1" 401 0 ------------------------------ Captured log call ------------------------------- -WARNING urllib3.connectionpool:connectionpool.py:868 Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / -WARNING urllib3.connectionpool:connectionpool.py:868 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / -WARNING urllib3.connectionpool:connectionpool.py:868 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / +WARNING urllib3.connectionpool:connectionpool.py:868 Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / +WARNING urllib3.connectionpool:connectionpool.py:868 Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / +WARNING urllib3.connectionpool:connectionpool.py:868 Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")': / ______________ TestStandardUrllib3.test_multiple_network_filters _______________ -self = -url_401 = 'http://127.0.0.1:38823/status/401' +self = +url_401 = 'http://127.0.0.1:39443/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -5251,13 +5275,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardUrllib3.test_json_request _____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -5273,10 +5297,12 @@ E AssertionError tests/unit/interceptors/base.py:167: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardUrllib3.test_json_response ____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -5291,11 +5317,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardUrllib3.test_json_request_and_response ______________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -5312,10 +5338,12 @@ E AssertionError tests/unit/interceptors/base.py:193: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestStandardUrllib3.test_header_sent _____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -5332,11 +5360,11 @@ tests/unit/interceptors/base.py:207: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardUrllib3.test_mocked_response_headers _______________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -5349,10 +5377,12 @@ E AssertionError tests/unit/interceptors/base.py:217: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 _________________ TestStandardUrllib3.test_mutli_value_headers _________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -5367,11 +5397,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardUrllib3.test_mutli_value_response_headers _____________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -5386,10 +5416,12 @@ E AssertionError tests/unit/interceptors/base.py:239: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardUrllib3.test_unmatched_headers_none_sent _____________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -5401,11 +5433,11 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardRequests.test_activate_deactivate _________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -5419,12 +5451,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardRequests.test_network_mode ____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' -url_500 = 'http://127.0.0.1:38823/status/500' +self = +url_404 = 'http://127.0.0.1:39443/status/404' +url_500 = 'http://127.0.0.1:39443/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -5444,11 +5476,11 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "POST /status/500 HTTP/1.1" 500 0 -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 _______________ TestStandardRequests.test_network_mode_hostname ________________ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5496,7 +5528,7 @@ The above exception was the direct cause of the following exception: -self = +self = method = 'GET', url = '/', body = None headers = {'User-Agent': 'python-requests/2.32.3', 'Accept-Encoding': 'gzip, deflate, br', 'Accept': '*/*', 'Connection': 'keep-alive'} retries = Retry(total=0, connect=None, read=False, redirect=None, status=None) @@ -5734,7 +5766,7 @@ self.sock = self._new_conn() _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = def _new_conn(self) -> socket.socket: """Establish a socket connection and set nodelay settings on it. @@ -5750,13 +5782,13 @@ ) except socket.gaierror as e: > raise NameResolutionError(self.host, self, e) from e -E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) +E urllib3.exceptions.NameResolutionError: : Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution) /usr/lib/python3/dist-packages/urllib3/connection.py:205: NameResolutionError The above exception was the direct cause of the following exception: -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -5838,9 +5870,9 @@ self = Retry(total=0, connect=None, read=False, redirect=None, status=None) method = 'GET', url = '/', response = None -error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") -_pool = -_stacktrace = +error = NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)") +_pool = +_stacktrace = def increment( self, @@ -5934,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(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) +E urllib3.exceptions.MaxRetryError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/urllib3/util/retry.py:519: MaxRetryError During handling of the above exception, another exception occurred: -self = -url_401 = 'http://127.0.0.1:38823/status/401' +self = +url_401 = 'http://127.0.0.1:39443/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -5973,7 +6005,7 @@ r = adapter.send(request, **kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = request = , stream = False timeout = Timeout(connect=None, read=None, total=None), verify = True cert = None @@ -6067,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(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) +E requests.exceptions.ConnectionError: HTTPConnectionPool(host='example.com', port=80): Max retries exceeded with url: / (Caused by NameResolutionError(": Failed to resolve 'example.com' ([Errno -3] Temporary failure in name resolution)")) /usr/lib/python3/dist-packages/requests/adapters.py:700: ConnectionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/401 HTTP/1.1" 401 0 ______________ TestStandardRequests.test_multiple_network_filters ______________ -self = -url_401 = 'http://127.0.0.1:38823/status/401' +self = +url_401 = 'http://127.0.0.1:39443/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -6111,13 +6143,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/401 HTTP/1.1" 401 0 ____________________ TestStandardRequests.test_json_request ____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -6134,11 +6166,11 @@ tests/unit/interceptors/base.py:167: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestStandardRequests.test_json_response ____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -6152,10 +6184,12 @@ E AssertionError tests/unit/interceptors/base.py:178: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 _____________ TestStandardRequests.test_json_request_and_response ______________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -6173,11 +6207,11 @@ tests/unit/interceptors/base.py:193: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestStandardRequests.test_header_sent _____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -6193,10 +6227,12 @@ E AssertionError tests/unit/interceptors/base.py:207: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ______________ TestStandardRequests.test_mocked_response_headers _______________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -6210,11 +6246,11 @@ tests/unit/interceptors/base.py:217: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ________________ TestStandardRequests.test_mutli_value_headers _________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -6229,11 +6265,11 @@ tests/unit/interceptors/base.py:228: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:48] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardRequests.test_mutli_value_response_headers ____________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -6249,11 +6285,11 @@ tests/unit/interceptors/base.py:239: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ____________ TestStandardRequests.test_unmatched_headers_none_sent _____________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -6265,10 +6301,10 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:27] "GET /status/404 HTTP/1.1" 404 0 ____________________________ test_post_with_headers ____________________________ -URL = 'http://127.0.0.1:38823/foo' +URL = 'http://127.0.0.1:39443/foo' @pytest.mark.pook def test_post_with_headers(URL): @@ -6277,15 +6313,15 @@ resp = http.request("POST", URL) > assert resp.status == 200 E assert 404 == 200 -E + where 404 = .status +E + where 404 = .status tests/unit/interceptors/urllib3_test.py:112: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:49] "POST /foo HTTP/1.1" 404 207 +127.0.0.1 - - [14/Apr/2025 13:41:27] "POST /foo HTTP/1.1" 404 207 _____________________ TestUrllib.test_activate_deactivate ______________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_activate_deactivate(self, url_404): @@ -6299,12 +6335,12 @@ tests/unit/interceptors/base.py:74: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/404 HTTP/1.1" 404 0 _________________________ TestUrllib.test_network_mode _________________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' -url_500 = 'http://127.0.0.1:38823/status/500' +self = +url_404 = 'http://127.0.0.1:39443/status/404' +url_500 = 'http://127.0.0.1:39443/status/500' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode(self, url_404, url_500): @@ -6324,13 +6360,14 @@ tests/unit/interceptors/base.py:96: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:49] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [14/Apr/2025 13:41:28] "POST /status/500 HTTP/1.1" 500 0 +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/404 HTTP/1.1" 404 0 ____________________ TestUrllib.test_network_mode_hostname _____________________ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6422,8 +6459,8 @@ During handling of the above exception, another exception occurred: -self = -url_401 = 'http://127.0.0.1:38823/status/401' +self = +url_401 = 'http://127.0.0.1:39443/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_network_mode_hostname(self, url_401): @@ -6459,10 +6496,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6514,11 +6551,11 @@ /usr/lib/python3.13/urllib/request.py:1322: URLError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/401 HTTP/1.1" 401 0 ___________________ TestUrllib.test_multiple_network_filters ___________________ -self = -url_401 = 'http://127.0.0.1:38823/status/401' +self = +url_401 = 'http://127.0.0.1:39443/status/401' @pytest.mark.pook(allow_pending_mocks=True) def test_multiple_network_filters(self, url_401): @@ -6554,13 +6591,13 @@ tests/unit/interceptors/base.py:154: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/401 HTTP/1.1" 401 0 -127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/401 HTTP/1.1" 401 0 +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/401 HTTP/1.1" 401 0 _________________________ TestUrllib.test_json_request _________________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_request(self, url_404): @@ -6576,10 +6613,12 @@ E AssertionError tests/unit/interceptors/base.py:167: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/404 HTTP/1.1" 404 0 ________________________ TestUrllib.test_json_response _________________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_response(self, url_404): @@ -6594,11 +6633,11 @@ tests/unit/interceptors/base.py:178: AssertionError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/404 HTTP/1.1" 404 0 __________________ TestUrllib.test_json_request_and_response ___________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_json_request_and_response(self, url_404): @@ -6615,10 +6654,12 @@ E AssertionError tests/unit/interceptors/base.py:193: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/404 HTTP/1.1" 404 0 _________________________ TestUrllib.test_header_sent __________________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_header_sent(self, url_404): @@ -6633,11 +6674,11 @@ tests/unit/interceptors/base.py:205: ValueError ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/404 HTTP/1.1" 404 0 ___________________ TestUrllib.test_mocked_response_headers ____________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mocked_response_headers(self, url_404): @@ -6648,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 - - [14/Apr/2025 13:41:28] "GET /status/404 HTTP/1.1" 404 0 _____________________ TestUrllib.test_mutli_value_headers ______________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mutli_value_headers(self, url_404): @@ -6665,10 +6708,12 @@ E AssertionError tests/unit/interceptors/base.py:228: AssertionError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/404 HTTP/1.1" 404 0 _________________ TestUrllib.test_mutli_value_response_headers _________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_mutli_value_response_headers(self, url_404): @@ -6681,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 - - [14/Apr/2025 13:41:28] "GET /status/404 HTTP/1.1" 404 0 _________________ TestUrllib.test_unmatched_headers_none_sent __________________ -self = -url_404 = 'http://127.0.0.1:38823/status/404' +self = +url_404 = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_unmatched_headers_none_sent(self, url_404): @@ -6696,14 +6743,14 @@ tests/unit/interceptors/base.py:247: Failed ----------------------------- Captured stderr call ----------------------------- -127.0.0.1 - - [16/May/2026 18:02:49] "GET /status/404 HTTP/1.1" 404 0 +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/404 HTTP/1.1" 404 0 _______________________________ test_urllib_ssl ________________________________ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6770,7 +6817,7 @@ raise exceptions[0] _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -address = ('127.0.0.1', 9), timeout = +address = ('127.0.0.1', 9), timeout = source_address = None def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT, @@ -6826,11 +6873,11 @@ return self.do_open(http.client.HTTPSConnection, req, _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = -http_conn_args = {'context': } -host = '127.0.0.1:9', h = +req = +http_conn_args = {'context': } +host = '127.0.0.1:9', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6883,10 +6930,10 @@ /usr/lib/python3.13/urllib/request.py:1322: URLError ______________________________ test_urllib_clear _______________________________ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -6997,10 +7044,10 @@ return self.do_open(http.client.HTTPConnection, req) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = http_class = -req = , http_conn_args = {} -host = 'example.com', h = +req = , http_conn_args = {} +host = 'example.com', h = headers = {'Connection': 'close', 'Host': 'example.com', 'User-Agent': 'Python-urllib/3.13'} def do_open(self, http_class, req, **http_conn_args): @@ -7241,7 +7288,7 @@ tests/unit/matchers/headers_test.py:171: AssertionError ______________________ test_param_exists_empty_disallowed ______________________ -URL = 'http://127.0.0.1:38823/status/404' +URL = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook(allow_pending_mocks=True) def test_param_exists_empty_disallowed(URL): @@ -7264,19 +7311,21 @@ result = func(*args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = -fp = , code = 404 -msg = 'NOT FOUND', hdrs = +self = +req = +fp = , code = 404 +msg = 'NOT FOUND', hdrs = def http_error_default(self, req, fp, code, msg, hdrs): > raise HTTPError(req.full_url, code, msg, hdrs, fp) E urllib.error.HTTPError: HTTP Error 404: NOT FOUND /usr/lib/python3.13/urllib/request.py:613: HTTPError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:28] "GET /status/404?x HTTP/1.1" 404 0 _______________________ test_param_exists_empty_allowed ________________________ -URL = 'http://127.0.0.1:38823/status/404' +URL = 'http://127.0.0.1:39443/status/404' @pytest.mark.pook def test_param_exists_empty_allowed(URL): @@ -7298,16 +7347,18 @@ result = func(*args) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = -req = -fp = , code = 404 -msg = 'NOT FOUND', hdrs = +self = +req = +fp = , code = 404 +msg = 'NOT FOUND', hdrs = def http_error_default(self, req, fp, code, msg, hdrs): > raise HTTPError(req.full_url, code, msg, hdrs, fp) E urllib.error.HTTPError: HTTP Error 404: NOT FOUND /usr/lib/python3.13/urllib/request.py:613: HTTPError +----------------------------- Captured stderr call ----------------------------- +127.0.0.1 - - [14/Apr/2025 13:41:29] "GET /status/404?x HTTP/1.1" 404 0 ________________________ test_mock_constructor[params] _________________________ param_kwargs = {'params': {'x': '1'}}, query_string = '?x=1' @@ -7376,7 +7427,7 @@ self.no_matches(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = msg = "pook error!\n\n=> Cannot match any mock for the following request:\n=================================================...============\n\n=> Detailed matching errors:\nURLMatcher: 'httpbin.org' != '127.0.0.1'\n- httpbin.org\n+ 127.0.0.1\n\n" def no_matches(self, msg): @@ -7466,7 +7517,7 @@ self.no_matches(msg) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ -self = +self = msg = "pook error!\n\n=> Cannot match any mock for the following request:\n=================================================...============\n\n=> Detailed matching errors:\nURLMatcher: 'httpbin.org' != '127.0.0.1'\n- httpbin.org\n+ 127.0.0.1\n\n" def no_matches(self, msg): @@ -7728,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 20.57s ====== +===== 95 failed, 124 passed, 10 skipped, 3 xfailed, 42 warnings in 21.75s ====== 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' @@ -7765,12 +7816,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2136273/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2136273/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/3813252 and its subdirectories -I: Current time: Sat May 16 18:02:58 -12 2026 -I: pbuilder-time-stamp: 1778997778 +I: removing directory /srv/workspace/pbuilder/2136273 and its subdirectories +I: Current time: Mon Apr 14 13:41:39 +14 2025 +I: pbuilder-time-stamp: 1744587699