Diff of the two buildlogs: -- --- b1/build.log 2025-08-25 17:17:26.261280366 +0000 +++ b2/build.log 2025-08-25 17:22:24.973670985 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon Aug 25 05:14:11 -12 2025 -I: pbuilder-time-stamp: 1756142051 +I: Current time: Mon Sep 28 13:40:27 +14 2026 +I: pbuilder-time-stamp: 1790552427 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/forky-reproducible-base.tgz] I: copying local configuration @@ -26,53 +26,85 @@ dpkg-source: info: applying suppress-pytest-unraisable-exception-warning.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1837802/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2365736/tmp/hooks/D01_modify_environment starting +debug: Running on ionos15-amd64. +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 Sep 27 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/2365736/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2365736/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='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=40 ' - DISTRIBUTION='forky' - HOME='/root' - HOST_ARCH='amd64' + 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]="x86_64-pc-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=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=forky + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='d13dcd4e0c9f403590970ad59df8138a' - 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='1837802' - PS1='# ' - PS2='> ' + INVOCATION_ID=1a32bc7fdc7f4bdd894dad63fcece8ab + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-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=2365736 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.oDSuxyQF/pbuilderrc_6BaX --distribution forky --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oDSuxyQF/b1 --logfile b1/build.log python-cheroot_10.0.1+ds1-4.dsc' - SUDO_GID='111' - SUDO_HOME='/var/lib/jenkins' - SUDO_UID='106' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132: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.oDSuxyQF/pbuilderrc_63Eq --distribution forky --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/forky-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.oDSuxyQF/b2 --logfile b2/build.log python-cheroot_10.0.1+ds1-4.dsc' + SUDO_GID=111 + SUDO_HOME=/var/lib/jenkins + SUDO_UID=106 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos11-amd64 6.12.41+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.12.41+deb13-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.12.41-1 (2025-08-12) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Aug 10 12:30 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1837802/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Aug 10 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2365736/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -269,7 +301,7 @@ Get: 115 http://deb.debian.org/debian forky/main amd64 sphinx-common all 8.1.3-5 [617 kB] Get: 116 http://deb.debian.org/debian forky/main amd64 python3-sphinx all 8.1.3-5 [468 kB] Get: 117 http://deb.debian.org/debian forky/main amd64 python3-trustme all 1.2.1-1 [12.3 kB] -Fetched 33.3 MB in 1s (33.8 MB/s) +Fetched 33.3 MB in 18s (1803 kB/s) Preconfiguring packages ... Selecting previously unselected package libexpat1:amd64. (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 ... 19855 files and directories currently installed.) @@ -650,8 +682,8 @@ Setting up tzdata (2025b-5) ... Current default time zone: 'Etc/UTC' -Local time is now: Mon Aug 25 17:16:08 UTC 2025. -Universal Time is now: Mon Aug 25 17:16:08 UTC 2025. +Local time is now: Sun Sep 27 23:42:54 UTC 2026. +Universal Time is now: Sun Sep 27 23:42:54 UTC 2026. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up autotools-dev (20240727.1) ... @@ -774,7 +806,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/python-cheroot-10.0.1+ds1/ && 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-cheroot_10.0.1+ds1-4_source.changes +I: user script /srv/workspace/pbuilder/2365736/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for forky +I: user script /srv/workspace/pbuilder/2365736/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/python-cheroot-10.0.1+ds1/ && 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-cheroot_10.0.1+ds1-4_source.changes dpkg-buildpackage: info: source package python-cheroot dpkg-buildpackage: info: source version 10.0.1+ds1-4 dpkg-buildpackage: info: source distribution unstable @@ -795,6 +831,8 @@ I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot * Building wheel... +/usr/lib/python3/dist-packages/setuptools_scm/_integration/setuptools.py:92: UserWarning: version of None already set + warnings.warn(f"version of {dist_name} already set") /usr/lib/python3/dist-packages/setuptools/dist.py:759: SetuptoolsDeprecationWarning: License classifiers are deprecated. !! @@ -812,39 +850,39 @@ running build running build_py creating build/lib/cheroot -copying cheroot/__init__.py -> build/lib/cheroot -copying cheroot/makefile.py -> build/lib/cheroot -copying cheroot/cli.py -> build/lib/cheroot +copying cheroot/__main__.py -> build/lib/cheroot copying cheroot/_compat.py -> build/lib/cheroot +copying cheroot/cli.py -> build/lib/cheroot copying cheroot/server.py -> build/lib/cheroot -copying cheroot/__main__.py -> build/lib/cheroot +copying cheroot/errors.py -> build/lib/cheroot +copying cheroot/testing.py -> build/lib/cheroot +copying cheroot/makefile.py -> build/lib/cheroot +copying cheroot/__init__.py -> build/lib/cheroot copying cheroot/wsgi.py -> build/lib/cheroot copying cheroot/connections.py -> build/lib/cheroot -copying cheroot/testing.py -> build/lib/cheroot -copying cheroot/errors.py -> build/lib/cheroot -creating build/lib/cheroot/ssl -copying cheroot/ssl/__init__.py -> build/lib/cheroot/ssl -copying cheroot/ssl/builtin.py -> build/lib/cheroot/ssl -copying cheroot/ssl/pyopenssl.py -> build/lib/cheroot/ssl creating build/lib/cheroot/test -copying cheroot/test/__init__.py -> build/lib/cheroot/test +copying cheroot/test/test_makefile.py -> build/lib/cheroot/test copying cheroot/test/test_errors.py -> build/lib/cheroot/test +copying cheroot/test/test__compat.py -> build/lib/cheroot/test +copying cheroot/test/webtest.py -> build/lib/cheroot/test copying cheroot/test/test_core.py -> build/lib/cheroot/test -copying cheroot/test/conftest.py -> build/lib/cheroot/test +copying cheroot/test/_pytest_plugin.py -> build/lib/cheroot/test copying cheroot/test/test_cli.py -> build/lib/cheroot/test -copying cheroot/test/test_makefile.py -> build/lib/cheroot/test -copying cheroot/test/webtest.py -> build/lib/cheroot/test +copying cheroot/test/test_server.py -> build/lib/cheroot/test +copying cheroot/test/test_conn.py -> build/lib/cheroot/test copying cheroot/test/test_ssl.py -> build/lib/cheroot/test copying cheroot/test/test_wsgi.py -> build/lib/cheroot/test copying cheroot/test/helper.py -> build/lib/cheroot/test +copying cheroot/test/__init__.py -> build/lib/cheroot/test copying cheroot/test/test_dispatch.py -> build/lib/cheroot/test -copying cheroot/test/test_conn.py -> build/lib/cheroot/test -copying cheroot/test/test_server.py -> build/lib/cheroot/test -copying cheroot/test/_pytest_plugin.py -> build/lib/cheroot/test -copying cheroot/test/test__compat.py -> build/lib/cheroot/test +copying cheroot/test/conftest.py -> build/lib/cheroot/test +creating build/lib/cheroot/ssl +copying cheroot/ssl/builtin.py -> build/lib/cheroot/ssl +copying cheroot/ssl/__init__.py -> build/lib/cheroot/ssl +copying cheroot/ssl/pyopenssl.py -> build/lib/cheroot/ssl creating build/lib/cheroot/workers -copying cheroot/workers/__init__.py -> build/lib/cheroot/workers copying cheroot/workers/threadpool.py -> build/lib/cheroot/workers +copying cheroot/workers/__init__.py -> build/lib/cheroot/workers running egg_info creating cheroot.egg-info writing cheroot.egg-info/PKG-INFO @@ -876,59 +914,59 @@ running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/cheroot -copying build/lib/cheroot/__init__.py -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/wsgi.pyi -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/__init__.pyi -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/py.typed -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/makefile.pyi -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/makefile.py -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/cli.py -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/_compat.py -> build/bdist.linux-x86_64/wheel/./cheroot copying build/lib/cheroot/testing.pyi -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/server.pyi -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/_compat.pyi -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/__main__.py -> build/bdist.linux-x86_64/wheel/./cheroot copying build/lib/cheroot/errors.pyi -> build/bdist.linux-x86_64/wheel/./cheroot -creating build/bdist.linux-x86_64/wheel/cheroot/ssl -copying build/lib/cheroot/ssl/__init__.py -> build/bdist.linux-x86_64/wheel/./cheroot/ssl -copying build/lib/cheroot/ssl/__init__.pyi -> build/bdist.linux-x86_64/wheel/./cheroot/ssl -copying build/lib/cheroot/ssl/pyopenssl.pyi -> build/bdist.linux-x86_64/wheel/./cheroot/ssl -copying build/lib/cheroot/ssl/builtin.py -> build/bdist.linux-x86_64/wheel/./cheroot/ssl -copying build/lib/cheroot/ssl/builtin.pyi -> build/bdist.linux-x86_64/wheel/./cheroot/ssl -copying build/lib/cheroot/ssl/pyopenssl.py -> build/bdist.linux-x86_64/wheel/./cheroot/ssl -copying build/lib/cheroot/cli.pyi -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/_compat.py -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/cli.py -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/server.py -> build/bdist.linux-x86_64/wheel/./cheroot creating build/bdist.linux-x86_64/wheel/cheroot/test -copying build/lib/cheroot/test/__init__.py -> build/bdist.linux-x86_64/wheel/./cheroot/test +copying build/lib/cheroot/test/test_makefile.py -> build/bdist.linux-x86_64/wheel/./cheroot/test copying build/lib/cheroot/test/test_errors.py -> build/bdist.linux-x86_64/wheel/./cheroot/test +copying build/lib/cheroot/test/test__compat.py -> build/bdist.linux-x86_64/wheel/./cheroot/test +copying build/lib/cheroot/test/webtest.py -> build/bdist.linux-x86_64/wheel/./cheroot/test copying build/lib/cheroot/test/test_core.py -> build/bdist.linux-x86_64/wheel/./cheroot/test -copying build/lib/cheroot/test/conftest.py -> build/bdist.linux-x86_64/wheel/./cheroot/test +copying build/lib/cheroot/test/_pytest_plugin.py -> build/bdist.linux-x86_64/wheel/./cheroot/test copying build/lib/cheroot/test/test_cli.py -> build/bdist.linux-x86_64/wheel/./cheroot/test -copying build/lib/cheroot/test/test_makefile.py -> build/bdist.linux-x86_64/wheel/./cheroot/test -copying build/lib/cheroot/test/webtest.py -> build/bdist.linux-x86_64/wheel/./cheroot/test +copying build/lib/cheroot/test/test_server.py -> build/bdist.linux-x86_64/wheel/./cheroot/test +copying build/lib/cheroot/test/test_conn.py -> build/bdist.linux-x86_64/wheel/./cheroot/test copying build/lib/cheroot/test/test_ssl.py -> build/bdist.linux-x86_64/wheel/./cheroot/test copying build/lib/cheroot/test/test_wsgi.py -> build/bdist.linux-x86_64/wheel/./cheroot/test copying build/lib/cheroot/test/helper.py -> build/bdist.linux-x86_64/wheel/./cheroot/test +copying build/lib/cheroot/test/__init__.py -> build/bdist.linux-x86_64/wheel/./cheroot/test copying build/lib/cheroot/test/test_dispatch.py -> build/bdist.linux-x86_64/wheel/./cheroot/test -copying build/lib/cheroot/test/test_conn.py -> build/bdist.linux-x86_64/wheel/./cheroot/test -copying build/lib/cheroot/test/test_server.py -> build/bdist.linux-x86_64/wheel/./cheroot/test -copying build/lib/cheroot/test/_pytest_plugin.py -> build/bdist.linux-x86_64/wheel/./cheroot/test -copying build/lib/cheroot/test/test__compat.py -> build/bdist.linux-x86_64/wheel/./cheroot/test -copying build/lib/cheroot/server.py -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/__main__.py -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/wsgi.py -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/connections.py -> build/bdist.linux-x86_64/wheel/./cheroot -copying build/lib/cheroot/connections.pyi -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/test/conftest.py -> build/bdist.linux-x86_64/wheel/./cheroot/test +copying build/lib/cheroot/wsgi.pyi -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/errors.py -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/py.typed -> build/bdist.linux-x86_64/wheel/./cheroot copying build/lib/cheroot/testing.py -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/_compat.pyi -> build/bdist.linux-x86_64/wheel/./cheroot +creating build/bdist.linux-x86_64/wheel/cheroot/ssl +copying build/lib/cheroot/ssl/builtin.pyi -> build/bdist.linux-x86_64/wheel/./cheroot/ssl +copying build/lib/cheroot/ssl/builtin.py -> build/bdist.linux-x86_64/wheel/./cheroot/ssl +copying build/lib/cheroot/ssl/__init__.py -> build/bdist.linux-x86_64/wheel/./cheroot/ssl +copying build/lib/cheroot/ssl/pyopenssl.pyi -> build/bdist.linux-x86_64/wheel/./cheroot/ssl +copying build/lib/cheroot/ssl/pyopenssl.py -> build/bdist.linux-x86_64/wheel/./cheroot/ssl +copying build/lib/cheroot/ssl/__init__.pyi -> build/bdist.linux-x86_64/wheel/./cheroot/ssl +copying build/lib/cheroot/connections.pyi -> build/bdist.linux-x86_64/wheel/./cheroot creating build/bdist.linux-x86_64/wheel/cheroot/workers -copying build/lib/cheroot/workers/__init__.py -> build/bdist.linux-x86_64/wheel/./cheroot/workers -copying build/lib/cheroot/workers/__init__.pyi -> build/bdist.linux-x86_64/wheel/./cheroot/workers copying build/lib/cheroot/workers/threadpool.pyi -> build/bdist.linux-x86_64/wheel/./cheroot/workers copying build/lib/cheroot/workers/threadpool.py -> build/bdist.linux-x86_64/wheel/./cheroot/workers -copying build/lib/cheroot/errors.py -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/workers/__init__.py -> build/bdist.linux-x86_64/wheel/./cheroot/workers +copying build/lib/cheroot/workers/__init__.pyi -> build/bdist.linux-x86_64/wheel/./cheroot/workers +copying build/lib/cheroot/makefile.py -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/makefile.pyi -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/__init__.py -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/__init__.pyi -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/server.pyi -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/cli.pyi -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/wsgi.py -> build/bdist.linux-x86_64/wheel/./cheroot +copying build/lib/cheroot/connections.py -> build/bdist.linux-x86_64/wheel/./cheroot running install_egg_info Copying cheroot.egg-info to build/bdist.linux-x86_64/wheel/./cheroot-10.0.1+ds1.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/cheroot-10.0.1+ds1.dist-info/WHEEL -creating '/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/.tmp-szgzzavy/cheroot-10.0.1+ds1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it +creating '/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/.tmp-mq7r9jgh/cheroot-10.0.1+ds1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'cheroot/__init__.py' adding 'cheroot/__init__.pyi' adding 'cheroot/__main__.py' @@ -990,380 +1028,2007 @@ cachedir: .pytest_cache rootdir: /build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build configfile: pytest.ini -plugins: xdist-3.8.0, rerunfailures-15.1, cov-5.0.0, typeguard-4.4.4, mock-3.14.1, forked-1.6.0 +plugins: cov-5.0.0, mock-3.14.1, rerunfailures-15.1, typeguard-4.4.4, forked-1.6.0, xdist-3.8.0 created: 3/3 workers 3 workers [184 items] scheduling tests via LoadScheduling -cheroot/test/test__compat.py::test_compat_functions_positive[ntob-bar-bar] cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[/tmp/cheroot.sock-/tmp/cheroot.sock] +cheroot/test/test__compat.py::test_compat_functions_positive[ntob-bar-bar] cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(EPIPE)] -[gw0] [ 0%] PASSED cheroot/test/test__compat.py::test_compat_functions_positive[ntob-bar-bar] -[gw1] [ 1%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[/tmp/cheroot.sock-/tmp/cheroot.sock] +[gw1] [ 0%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[/tmp/cheroot.sock-/tmp/cheroot.sock] cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[/tmp/some-random-file-name-/tmp/some-random-file-name] [gw1] [ 1%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[/tmp/some-random-file-name-/tmp/some-random-file-name] +[gw2] [ 1%] PASSED cheroot/test/test__compat.py::test_compat_functions_positive[ntob-bar-bar] cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[@cheroot-\x00cheroot] -cheroot/test/test__compat.py::test_compat_functions_positive[ntou-bar-bar] -[gw0] [ 2%] PASSED cheroot/test/test__compat.py::test_compat_functions_positive[ntou-bar-bar] -cheroot/test/test__compat.py::test_compat_functions_positive[bton-bar-bar] -[gw0] [ 2%] PASSED cheroot/test/test__compat.py::test_compat_functions_positive[bton-bar-bar] -[gw1] [ 3%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[@cheroot-\x00cheroot] -cheroot/test/test__compat.py::test_compat_functions_negative_nonnative[ntob] +[gw1] [ 2%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[@cheroot-\x00cheroot] cheroot/test/test_cli.py::test_Aplication_resolve[None-application] -[gw1] [ 3%] PASSED cheroot/test/test_cli.py::test_Aplication_resolve[None-application] +[gw1] [ 2%] PASSED cheroot/test/test_cli.py::test_Aplication_resolve[None-application] +cheroot/test/test__compat.py::test_compat_functions_positive[ntou-bar-bar] cheroot/test/test_cli.py::test_Aplication_resolve[application-application] -[gw1] [ 4%] PASSED cheroot/test/test_cli.py::test_Aplication_resolve[application-application] +[gw2] [ 3%] PASSED cheroot/test/test__compat.py::test_compat_functions_positive[ntou-bar-bar] +[gw1] [ 3%] PASSED cheroot/test/test_cli.py::test_Aplication_resolve[application-application] +cheroot/test/test__compat.py::test_compat_functions_positive[bton-bar-bar] cheroot/test/test_cli.py::test_Aplication_resolve[main-main] [gw1] [ 4%] PASSED cheroot/test/test_cli.py::test_Aplication_resolve[main-main] cheroot/test/test_conn.py::test_HTTP11_persistent_connections -[gw0] [ 5%] PASSED cheroot/test/test__compat.py::test_compat_functions_negative_nonnative[ntob] +[gw2] [ 4%] PASSED cheroot/test/test__compat.py::test_compat_functions_positive[bton-bar-bar] +cheroot/test/test__compat.py::test_compat_functions_negative_nonnative[ntob] +[gw2] [ 5%] PASSED cheroot/test/test__compat.py::test_compat_functions_negative_nonnative[ntob] cheroot/test/test__compat.py::test_compat_functions_negative_nonnative[ntou] -[gw0] [ 5%] PASSED cheroot/test/test__compat.py::test_compat_functions_negative_nonnative[ntou] +[gw2] [ 5%] PASSED cheroot/test/test__compat.py::test_compat_functions_negative_nonnative[ntou] cheroot/test/test__compat.py::test_ntou_escape -[gw0] [ 6%] PASSED cheroot/test/test__compat.py::test_ntou_escape +[gw2] [ 6%] PASSED cheroot/test/test__compat.py::test_ntou_escape cheroot/test/test__compat.py::test_extract_bytes[qwerty-qwerty] -[gw0] [ 7%] PASSED cheroot/test/test__compat.py::test_extract_bytes[qwerty-qwerty] +[gw2] [ 7%] PASSED cheroot/test/test__compat.py::test_extract_bytes[qwerty-qwerty] cheroot/test/test__compat.py::test_extract_bytes[input_argument1-asdfgh] -[gw0] [ 7%] PASSED cheroot/test/test__compat.py::test_extract_bytes[input_argument1-asdfgh] +[gw2] [ 7%] PASSED cheroot/test/test__compat.py::test_extract_bytes[input_argument1-asdfgh] cheroot/test/test__compat.py::test_extract_bytes_invalid -[gw0] [ 8%] PASSED cheroot/test/test__compat.py::test_extract_bytes_invalid +[gw2] [ 8%] PASSED cheroot/test/test__compat.py::test_extract_bytes_invalid cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[192.168.1.1:80-expected_bind_addr0] -[gw0] [ 8%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[192.168.1.1:80-expected_bind_addr0] +[gw2] [ 8%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[192.168.1.1:80-expected_bind_addr0] cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[[::1]:8000-expected_bind_addr1] -[gw0] [ 9%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[[::1]:8000-expected_bind_addr1] +[gw2] [ 9%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[[::1]:8000-expected_bind_addr1] cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[localhost:5000-expected_bind_addr2] -[gw0] [ 9%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[localhost:5000-expected_bind_addr2] +[gw2] [ 9%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[localhost:5000-expected_bind_addr2] cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[foo@bar:5000-expected_bind_addr3] -[gw0] [ 10%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[foo@bar:5000-expected_bind_addr3] +[gw2] [ 10%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[foo@bar:5000-expected_bind_addr3] cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[foo-expected_bind_addr4] -[gw0] [ 10%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[foo-expected_bind_addr4] +[gw2] [ 10%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[foo-expected_bind_addr4] +[gw1] [ 11%] PASSED cheroot/test/test_conn.py::test_HTTP11_persistent_connections cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[123456789-expected_bind_addr5] -[gw0] [ 11%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[123456789-expected_bind_addr5] +[gw2] [ 11%] PASSED cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[123456789-expected_bind_addr5] cheroot/test/test_conn.py::test_No_CRLF[\r\n\n] -[gw1] [ 11%] PASSED cheroot/test/test_conn.py::test_HTTP11_persistent_connections -[gw0] [ 12%] PASSED cheroot/test/test_conn.py::test_No_CRLF[\r\n\n] -[gw2] [ 13%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(EPIPE)] +[gw0] [ 12%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(EPIPE)] +[gw2] [ 13%] PASSED cheroot/test/test_conn.py::test_No_CRLF[\r\n\n] cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[simulated socket.error(ENOTCONN)] cheroot/test/test_conn.py::test_streaming_11[False] cheroot/test/test_conn.py::test_invalid_selected_connection [gw1] [ 13%] PASSED cheroot/test/test_conn.py::test_streaming_11[False] -[gw2] [ 14%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[simulated socket.error(ENOTCONN)] +[gw0] [ 14%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[simulated socket.error(ENOTCONN)] cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[real socket.error(ENOTCONN)] cheroot/test/test_conn.py::test_streaming_11[True] [gw1] [ 14%] PASSED cheroot/test/test_conn.py::test_streaming_11[True] -[gw2] [ 15%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[real socket.error(ENOTCONN)] -[gw0] [ 15%] PASSED cheroot/test/test_conn.py::test_invalid_selected_connection +[gw0] [ 15%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[real socket.error(ENOTCONN)] +[gw2] [ 15%] PASSED cheroot/test/test_conn.py::test_invalid_selected_connection cheroot/test/test_core.py::test_http_connect_request -[gw0] [ 16%] PASSED cheroot/test/test_core.py::test_http_connect_request -cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(ESHUTDOWN)] cheroot/test/test_conn.py::test_streaming_10[False] +[gw2] [ 16%] PASSED cheroot/test/test_core.py::test_http_connect_request [gw1] [ 16%] PASSED cheroot/test/test_conn.py::test_streaming_10[False] -[gw2] [ 17%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(ESHUTDOWN)] +cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(ESHUTDOWN)] cheroot/test/test_core.py::test_normal_request -[gw0] [ 17%] PASSED cheroot/test/test_core.py::test_normal_request -cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[RuntimeError(666)] +[gw0] [ 17%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(ESHUTDOWN)] cheroot/test/test_conn.py::test_streaming_10[True] +[gw2] [ 17%] PASSED cheroot/test/test_core.py::test_normal_request [gw1] [ 18%] PASSED cheroot/test/test_conn.py::test_streaming_10[True] -[gw2] [ 19%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[RuntimeError(666)] +cheroot/test/test_conn.py::test_keepalive[HTTP/1.0] +cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[RuntimeError(666)] +[gw1] [ 19%] PASSED cheroot/test/test_conn.py::test_keepalive[HTTP/1.0] cheroot/test/test_core.py::test_query_string_request -[gw0] [ 19%] PASSED cheroot/test/test_core.py::test_query_string_request +[gw0] [ 19%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[RuntimeError(666)] +[gw2] [ 20%] PASSED cheroot/test/test_core.py::test_query_string_request +cheroot/test/test_conn.py::test_keepalive[HTTP/1.1] cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(-1)] -cheroot/test/test_conn.py::test_keepalive[HTTP/1.0] -[gw1] [ 20%] PASSED cheroot/test/test_conn.py::test_keepalive[HTTP/1.0] -[gw2] [ 20%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(-1)] +[gw1] [ 20%] PASSED cheroot/test/test_conn.py::test_keepalive[HTTP/1.1] cheroot/test/test_core.py::test_parse_acceptable_uri[/hello] -[gw0] [ 21%] PASSED cheroot/test/test_core.py::test_parse_acceptable_uri[/hello] +[gw0] [ 21%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(-1)] +[gw2] [ 21%] PASSED cheroot/test/test_core.py::test_parse_acceptable_uri[/hello] +cheroot/test/test_conn.py::test_keepalive_conn_management cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[ConnectionResetError(ECONNRESET)] -cheroot/test/test_conn.py::test_keepalive[HTTP/1.1] -[gw1] [ 21%] PASSED cheroot/test/test_conn.py::test_keepalive[HTTP/1.1] -[gw2] [ 22%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[ConnectionResetError(ECONNRESET)] cheroot/test/test_core.py::test_parse_acceptable_uri[/query_string?test=True] -[gw0] [ 22%] PASSED cheroot/test/test_core.py::test_parse_acceptable_uri[/query_string?test=True] +[gw0] [ 22%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[ConnectionResetError(ECONNRESET)] +[gw2] [ 22%] PASSED cheroot/test/test_core.py::test_parse_acceptable_uri[/query_string?test=True] cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[BrokenPipeError(EPIPE)] -cheroot/test/test_conn.py::test_keepalive_conn_management -[gw2] [ 23%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[BrokenPipeError(EPIPE)] cheroot/test/test_core.py::test_parse_acceptable_uri[/%D0%AE%D1%85%D1%85%D1%83%D1%83%D1%83?%D1%97=%D0%B9%D0%BE] -[gw0] [ 23%] PASSED cheroot/test/test_core.py::test_parse_acceptable_uri[/%D0%AE%D1%85%D1%85%D1%83%D1%83%D1%83?%D1%97=%D0%B9%D0%BE] +[gw0] [ 23%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[BrokenPipeError(EPIPE)] +[gw2] [ 23%] PASSED cheroot/test/test_core.py::test_parse_acceptable_uri[/%D0%AE%D1%85%D1%85%D1%83%D1%83%D1%83?%D1%97=%D0%B9%D0%BE] cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[BrokenPipeError(ESHUTDOWN)] -[gw2] [ 24%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[BrokenPipeError(ESHUTDOWN)] cheroot/test/test_core.py::test_parse_uri_unsafe_uri -[gw0] [ 25%] PASSED cheroot/test/test_core.py::test_parse_uri_unsafe_uri +[gw0] [ 24%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[BrokenPipeError(ESHUTDOWN)] +[gw2] [ 25%] PASSED cheroot/test/test_core.py::test_parse_uri_unsafe_uri cheroot/test/test_conn.py::test_broken_connection_during_http_communication_fallback cheroot/test/test_core.py::test_parse_uri_invalid_uri -[gw0] [ 25%] PASSED cheroot/test/test_core.py::test_parse_uri_invalid_uri -cheroot/test/test_core.py::test_parse_no_leading_slash_invalid[hello] -[gw2] [ 26%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_http_communication_fallback +[gw2] [ 25%] PASSED cheroot/test/test_core.py::test_parse_uri_invalid_uri +[gw0] [ 26%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_http_communication_fallback cheroot/test/test_conn.py::test_kb_int_from_http_handler -[gw0] [ 26%] PASSED cheroot/test/test_core.py::test_parse_no_leading_slash_invalid[hello] -cheroot/test/test_core.py::test_parse_no_leading_slash_invalid[\u043f\u0440\u0438\u0432\u0456\u0442] -[gw0] [ 27%] PASSED cheroot/test/test_core.py::test_parse_no_leading_slash_invalid[\u043f\u0440\u0438\u0432\u0456\u0442] -[gw2] [ 27%] PASSED cheroot/test/test_conn.py::test_kb_int_from_http_handler +cheroot/test/test_core.py::test_parse_no_leading_slash_invalid[hello] +[gw2] [ 26%] PASSED cheroot/test/test_core.py::test_parse_no_leading_slash_invalid[hello] +[gw0] [ 27%] PASSED cheroot/test/test_conn.py::test_kb_int_from_http_handler cheroot/test/test_conn.py::test_unhandled_exception_in_request_handler -cheroot/test/test_core.py::test_parse_uri_absolute_uri -[gw1] [ 28%] PASSED cheroot/test/test_conn.py::test_keepalive_conn_management -[gw0] [ 28%] PASSED cheroot/test/test_core.py::test_parse_uri_absolute_uri +[gw1] [ 27%] FAILED cheroot/test/test_conn.py::test_keepalive_conn_management cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(ECONNRESET)] -[gw1] [ 29%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(ECONNRESET)] -cheroot/test/test_core.py::test_parse_uri_asterisk_uri -[gw2] [ 29%] PASSED cheroot/test/test_conn.py::test_unhandled_exception_in_request_handler +cheroot/test/test_core.py::test_parse_no_leading_slash_invalid[\u043f\u0440\u0438\u0432\u0456\u0442] +[gw2] [ 28%] PASSED cheroot/test/test_core.py::test_parse_no_leading_slash_invalid[\u043f\u0440\u0438\u0432\u0456\u0442] +[gw0] [ 28%] PASSED cheroot/test/test_conn.py::test_unhandled_exception_in_request_handler cheroot/test/test_conn.py::test_remains_alive_post_unhandled_exception -[gw0] [ 30%] PASSED cheroot/test/test_core.py::test_parse_uri_asterisk_uri -cheroot/test/test_core.py::test_parse_uri_fragment_uri +[gw1] [ 29%] PASSED cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(ECONNRESET)] cheroot/test/test_conn.py::test_HTTP11_Timeout_after_request -[gw2] [ 30%] PASSED cheroot/test/test_conn.py::test_remains_alive_post_unhandled_exception -[gw0] [ 31%] PASSED cheroot/test/test_core.py::test_parse_uri_fragment_uri +cheroot/test/test_core.py::test_parse_uri_absolute_uri +[gw2] [ 29%] PASSED cheroot/test/test_core.py::test_parse_uri_absolute_uri +[gw0] [ 30%] PASSED cheroot/test/test_conn.py::test_remains_alive_post_unhandled_exception cheroot/test/test_conn.py::test_HTTP11_Timeout[True] +cheroot/test/test_core.py::test_parse_uri_asterisk_uri +[gw2] [ 30%] PASSED cheroot/test/test_core.py::test_parse_uri_asterisk_uri +cheroot/test/test_core.py::test_parse_uri_fragment_uri +[gw2] [ 31%] PASSED cheroot/test/test_core.py::test_parse_uri_fragment_uri cheroot/test/test_core.py::test_no_content_length -[gw0] [ 32%] PASSED cheroot/test/test_core.py::test_no_content_length +[gw2] [ 32%] PASSED cheroot/test/test_core.py::test_no_content_length cheroot/test/test_core.py::test_content_length_required -[gw0] [ 32%] PASSED cheroot/test/test_core.py::test_content_length_required +[gw0] [ 32%] PASSED cheroot/test/test_conn.py::test_HTTP11_Timeout[True] +cheroot/test/test_conn.py::test_HTTP11_Timeout[False] +[gw2] [ 33%] PASSED cheroot/test/test_core.py::test_content_length_required cheroot/test/test_core.py::test_large_request -[gw0] [ 33%] XFAIL cheroot/test/test_core.py::test_large_request -[gw2] [ 33%] PASSED cheroot/test/test_conn.py::test_HTTP11_Timeout[True] +[gw2] [ 33%] XFAIL cheroot/test/test_core.py::test_large_request cheroot/test/test_core.py::test_malformed_request_line[GET /-400-Malformed Request-Line] -cheroot/test/test_conn.py::test_HTTP11_Timeout[False] -[gw0] [ 34%] PASSED cheroot/test/test_core.py::test_malformed_request_line[GET /-400-Malformed Request-Line] +[gw2] [ 34%] PASSED cheroot/test/test_core.py::test_malformed_request_line[GET /-400-Malformed Request-Line] +[gw1] [ 34%] PASSED cheroot/test/test_conn.py::test_HTTP11_Timeout_after_request cheroot/test/test_core.py::test_malformed_request_line[GET / HTTPS/1.1-400-Malformed Request-Line: bad protocol] -[gw0] [ 34%] PASSED cheroot/test/test_core.py::test_malformed_request_line[GET / HTTPS/1.1-400-Malformed Request-Line: bad protocol] -[gw1] [ 35%] PASSED cheroot/test/test_conn.py::test_HTTP11_Timeout_after_request -cheroot/test/test_core.py::test_malformed_request_line[GET / HTTP/1-400-Malformed Request-Line: bad version] -[gw0] [ 35%] PASSED cheroot/test/test_core.py::test_malformed_request_line[GET / HTTP/1-400-Malformed Request-Line: bad version] cheroot/test/test_conn.py::test_HTTP11_pipelining -[gw1] [ 36%] PASSED cheroot/test/test_conn.py::test_HTTP11_pipelining -cheroot/test/test_core.py::test_malformed_request_line[GET / HTTP/2.15-505-Cannot fulfill request] -[gw0] [ 36%] PASSED cheroot/test/test_core.py::test_malformed_request_line[GET / HTTP/2.15-505-Cannot fulfill request] -[gw2] [ 37%] PASSED cheroot/test/test_conn.py::test_HTTP11_Timeout[False] +[gw2] [ 35%] PASSED cheroot/test/test_core.py::test_malformed_request_line[GET / HTTPS/1.1-400-Malformed Request-Line: bad protocol] +[gw1] [ 35%] PASSED cheroot/test/test_conn.py::test_HTTP11_pipelining +cheroot/test/test_conn.py::test_100_Continue +[gw0] [ 36%] PASSED cheroot/test/test_conn.py::test_HTTP11_Timeout[False] +cheroot/test/test_core.py::test_malformed_request_line[GET / HTTP/1-400-Malformed Request-Line: bad version] +[gw1] [ 36%] PASSED cheroot/test/test_conn.py::test_100_Continue cheroot/test/test_makefile.py::test_bytes_read -[gw2] [ 38%] PASSED cheroot/test/test_makefile.py::test_bytes_read +[gw0] [ 37%] PASSED cheroot/test/test_makefile.py::test_bytes_read cheroot/test/test_makefile.py::test_bytes_written -[gw2] [ 38%] PASSED cheroot/test/test_makefile.py::test_bytes_written +[gw0] [ 38%] PASSED cheroot/test/test_makefile.py::test_bytes_written cheroot/test/test_server.py::test_prepare_makes_server_ready -[gw2] [ 39%] PASSED cheroot/test/test_server.py::test_prepare_makes_server_ready +[gw0] [ 38%] PASSED cheroot/test/test_server.py::test_prepare_makes_server_ready cheroot/test/test_server.py::test_stop_interrupts_serve -cheroot/test/test_conn.py::test_100_Continue -[gw1] [ 39%] PASSED cheroot/test/test_conn.py::test_100_Continue -cheroot/test/test_core.py::test_malformed_http_method -[gw2] [ 40%] PASSED cheroot/test/test_server.py::test_stop_interrupts_serve -cheroot/test/test_server.py::test_server_interrupt[OSError0] -[gw0] [ 40%] PASSED cheroot/test/test_core.py::test_malformed_http_method +[gw2] [ 39%] PASSED cheroot/test/test_core.py::test_malformed_request_line[GET / HTTP/1-400-Malformed Request-Line: bad version] cheroot/test/test_conn.py::test_readall_or_close[0] -[gw1] [ 41%] PASSED cheroot/test/test_conn.py::test_readall_or_close[0] -cheroot/test/test_core.py::test_malformed_header -[gw2] [ 41%] PASSED cheroot/test/test_server.py::test_server_interrupt[OSError0] -cheroot/test/test_server.py::test_server_interrupt[KeyboardInterrupt] -[gw0] [ 42%] PASSED cheroot/test/test_core.py::test_malformed_header +[gw0] [ 39%] PASSED cheroot/test/test_server.py::test_stop_interrupts_serve +cheroot/test/test_server.py::test_server_interrupt[OSError0] +cheroot/test/test_core.py::test_malformed_request_line[GET / HTTP/2.15-505-Cannot fulfill request] +[gw2] [ 40%] PASSED cheroot/test/test_core.py::test_malformed_request_line[GET / HTTP/2.15-505-Cannot fulfill request] +[gw1] [ 40%] PASSED cheroot/test/test_conn.py::test_readall_or_close[0] cheroot/test/test_conn.py::test_readall_or_close[1001] -[gw1] [ 42%] PASSED cheroot/test/test_conn.py::test_readall_or_close[1001] -cheroot/test/test_core.py::test_request_line_split_issue_1220 -[gw2] [ 43%] PASSED cheroot/test/test_server.py::test_server_interrupt[KeyboardInterrupt] -cheroot/test/test_server.py::test_server_interrupt[OSError1] -[gw0] [ 44%] PASSED cheroot/test/test_core.py::test_request_line_split_issue_1220 +[gw1] [ 41%] PASSED cheroot/test/test_conn.py::test_readall_or_close[1001] cheroot/test/test_conn.py::test_No_Message_Body -[gw1] [ 44%] PASSED cheroot/test/test_conn.py::test_No_Message_Body -cheroot/test/test_core.py::test_garbage_in -[gw2] [ 45%] PASSED cheroot/test/test_server.py::test_server_interrupt[OSError1] -cheroot/test/test_server.py::test_server_interrupt[RuntimeError] -[gw0] [ 45%] PASSED cheroot/test/test_core.py::test_garbage_in +[gw1] [ 41%] PASSED cheroot/test/test_conn.py::test_No_Message_Body cheroot/test/test_conn.py::test_Chunked_Encoding -[gw1] [ 46%] XFAIL cheroot/test/test_conn.py::test_Chunked_Encoding -cheroot/test/test_core.py::test_send_header_before_closing -[gw2] [ 46%] PASSED cheroot/test/test_server.py::test_server_interrupt[RuntimeError] +[gw0] [ 42%] PASSED cheroot/test/test_server.py::test_server_interrupt[OSError0] +cheroot/test/test_core.py::test_malformed_http_method +cheroot/test/test_server.py::test_server_interrupt[KeyboardInterrupt] +[gw2] [ 42%] PASSED cheroot/test/test_core.py::test_malformed_http_method +[gw1] [ 43%] XFAIL cheroot/test/test_conn.py::test_Chunked_Encoding +cheroot/test/test_conn.py::test_Content_Length_in +[gw1] [ 44%] PASSED cheroot/test/test_conn.py::test_Content_Length_in +cheroot/test/test_core.py::test_malformed_header +[gw0] [ 44%] PASSED cheroot/test/test_server.py::test_server_interrupt[KeyboardInterrupt] +cheroot/test/test_server.py::test_server_interrupt[OSError1] +[gw2] [ 45%] PASSED cheroot/test/test_core.py::test_malformed_header +cheroot/test/test_conn.py::test_Content_Length_not_int +[gw1] [ 45%] PASSED cheroot/test/test_conn.py::test_Content_Length_not_int +cheroot/test/test_core.py::test_request_line_split_issue_1220 +[gw0] [ 46%] PASSED cheroot/test/test_server.py::test_server_interrupt[OSError1] +cheroot/test/test_server.py::test_server_interrupt[RuntimeError] +[gw2] [ 46%] PASSED cheroot/test/test_core.py::test_request_line_split_issue_1220 +cheroot/test/test_conn.py::test_Content_Length_out[/wrong_cl_buffered-500-The requested resource returned more bytes than the declared Content-Length.] +[gw1] [ 47%] PASSED cheroot/test/test_conn.py::test_Content_Length_out[/wrong_cl_buffered-500-The requested resource returned more bytes than the declared Content-Length.] +cheroot/test/test_core.py::test_garbage_in +[gw0] [ 47%] PASSED cheroot/test/test_server.py::test_server_interrupt[RuntimeError] cheroot/test/test_server.py::test_serving_is_false_and_stop_returns_after_ctrlc -[gw2] [ 47%] PASSED cheroot/test/test_server.py::test_serving_is_false_and_stop_returns_after_ctrlc +[gw0] [ 48%] PASSED cheroot/test/test_server.py::test_serving_is_false_and_stop_returns_after_ctrlc cheroot/test/test_server.py::test_bind_addr_inet[0.0.0.0] -[gw2] [ 47%] PASSED cheroot/test/test_server.py::test_bind_addr_inet[0.0.0.0] -[gw0] [ 48%] PASSED cheroot/test/test_core.py::test_send_header_before_closing -cheroot/test/test_conn.py::test_Content_Length_in -[gw1] [ 48%] PASSED cheroot/test/test_conn.py::test_Content_Length_in +[gw2] [ 48%] PASSED cheroot/test/test_core.py::test_garbage_in +[gw0] [ 49%] PASSED cheroot/test/test_server.py::test_bind_addr_inet[0.0.0.0] +cheroot/test/test_conn.py::test_Content_Length_out[/wrong_cl_unbuffered-200-I too] cheroot/test/test_server.py::test_bind_addr_inet[::] -[gw2] [ 49%] PASSED cheroot/test/test_server.py::test_bind_addr_inet[::] +[gw1] [ 50%] PASSED cheroot/test/test_conn.py::test_Content_Length_out[/wrong_cl_unbuffered-200-I too] +cheroot/test/test_core.py::test_send_header_before_closing +[gw0] [ 50%] PASSED cheroot/test/test_server.py::test_bind_addr_inet[::] +[gw2] [ 51%] PASSED cheroot/test/test_core.py::test_send_header_before_closing +cheroot/test/test_server.py::test_bind_addr_unix[abstract] +cheroot/test/test_conn.py::test_598 +[gw0] [ 51%] PASSED cheroot/test/test_server.py::test_bind_addr_unix[abstract] cheroot/test/test_dispatch.py::test_dispatch_no_script_name -[gw0] [ 50%] PASSED cheroot/test/test_dispatch.py::test_dispatch_no_script_name +[gw2] [ 52%] PASSED cheroot/test/test_dispatch.py::test_dispatch_no_script_name cheroot/test/test_errors.py::test_plat_specific_errors[err_names0-err_nums0] -[gw0] [ 50%] PASSED cheroot/test/test_errors.py::test_plat_specific_errors[err_names0-err_nums0] +[gw2] [ 52%] PASSED cheroot/test/test_errors.py::test_plat_specific_errors[err_names0-err_nums0] cheroot/test/test_errors.py::test_plat_specific_errors[err_names1-err_nums1] -[gw0] [ 51%] PASSED cheroot/test/test_errors.py::test_plat_specific_errors[err_names1-err_nums1] +[gw2] [ 53%] PASSED cheroot/test/test_errors.py::test_plat_specific_errors[err_names1-err_nums1] cheroot/test/test_server.py::test_peercreds_unix_sock[file] -cheroot/test/test_conn.py::test_Content_Length_not_int -[gw1] [ 51%] PASSED cheroot/test/test_conn.py::test_Content_Length_not_int -cheroot/test/test_server.py::test_bind_addr_unix[abstract] -[gw2] [ 52%] PASSED cheroot/test/test_server.py::test_bind_addr_unix[abstract] -[gw0] [ 52%] PASSED cheroot/test/test_server.py::test_peercreds_unix_sock[file] -cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[abstract] -cheroot/test/test_conn.py::test_Content_Length_out[/wrong_cl_buffered-500-The requested resource returned more bytes than the declared Content-Length.] -[gw0] [ 53%] PASSED cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[abstract] -[gw1] [ 53%] PASSED cheroot/test/test_conn.py::test_Content_Length_out[/wrong_cl_buffered-500-The requested resource returned more bytes than the declared Content-Length.] cheroot/test/test_server.py::test_bind_addr_unix[file] -[gw2] [ 54%] PASSED cheroot/test/test_server.py::test_bind_addr_unix[file] -cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[file] -cheroot/test/test_conn.py::test_Content_Length_out[/wrong_cl_unbuffered-200-I too] -[gw0] [ 54%] PASSED cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[file] -[gw1] [ 55%] PASSED cheroot/test/test_conn.py::test_Content_Length_out[/wrong_cl_unbuffered-200-I too] +[gw0] [ 53%] PASSED cheroot/test/test_server.py::test_bind_addr_unix[file] +[gw1] [ 54%] XFAIL cheroot/test/test_conn.py::test_598 +[gw2] [ 54%] PASSED cheroot/test/test_server.py::test_peercreds_unix_sock[file] +cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[abstract] +[gw2] [ 55%] PASSED cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[abstract] +cheroot/test/test_conn.py::test_No_CRLF[\n\n] cheroot/test/test_server.py::test_bind_addr_unix_abstract -[gw2] [ 55%] PASSED cheroot/test/test_server.py::test_bind_addr_unix_abstract -cheroot/test/test_server.py::test_high_number_of_file_descriptors[1024] -cheroot/test/test_conn.py::test_598 +[gw1] [ 55%] PASSED cheroot/test/test_conn.py::test_No_CRLF[\n\n] +[gw0] [ 56%] PASSED cheroot/test/test_server.py::test_bind_addr_unix_abstract +cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[file] +[gw2] [ 57%] PASSED cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[file] cheroot/test/test_server.py::test_peercreds_unix_sock[abstract] -[gw2] [ 56%] PASSED cheroot/test/test_server.py::test_peercreds_unix_sock[abstract] cheroot/test/test_server.py::test_threadpool_threadrange_set[1-inf-inf] -[gw2] [ 57%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[1-inf-inf] +[gw1] [ 57%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[1-inf-inf] +cheroot/test/test_server.py::test_high_number_of_file_descriptors[1024] Traceback (most recent call last): + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1291, in communicate + req.respond() + ~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1081, in respond + self.server.gateway(self).respond() + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/test/test_server.py", line 236, in respond + self.send_payload('!'.join((conn.peer_user, conn.peer_group))) + ^^^^^^^^^^^^^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1466, in peer_user + user, _ = self.resolve_peer_creds() + ~~~~~~~~~~~~~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1454, in resolve_peer_creds + raise RuntimeError( + 'UID/GID lookup is disabled within this server', + ) +RuntimeError: UID/GID lookup is disabled within this server + cheroot/test/test_server.py::test_threadpool_threadrange_set[2--2-inf] -[gw2] [ 57%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[2--2-inf] +[gw1] [ 58%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[2--2-inf] cheroot/test/test_server.py::test_threadpool_threadrange_set[2--1-inf] -[gw0] [ 58%] PASSED cheroot/test/test_server.py::test_high_number_of_file_descriptors[1024] -[gw2] [ 58%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[2--1-inf] -cheroot/test/test_server.py::test_high_number_of_file_descriptors[2048] +[gw1] [ 58%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[2--1-inf] cheroot/test/test_server.py::test_threadpool_threadrange_set[2-2-2] -[gw2] [ 59%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[2-2-2] +[gw1] [ 59%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[2-2-2] cheroot/test/test_server.py::test_threadpool_threadrange_set[2-inf-inf] -[gw2] [ 59%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[2-inf-inf] +[gw1] [ 59%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[2-inf-inf] cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1--1-min=-1 must be > 0] -[gw2] [ 60%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1--1-min=-1 must be > 0] +[gw1] [ 60%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1--1-min=-1 must be > 0] cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1-0-min=-1 must be > 0] -[gw2] [ 60%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1-0-min=-1 must be > 0] +[gw1] [ 60%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1-0-min=-1 must be > 0] cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1-1-min=-1 must be > 0] -[gw2] [ 61%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1-1-min=-1 must be > 0] +[gw1] [ 61%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1-1-min=-1 must be > 0] cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1-2-min=-1 must be > 0] -[gw2] [ 61%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1-2-min=-1 must be > 0] +[gw1] [ 61%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1-2-min=-1 must be > 0] cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0--1-min=0 must be > 0] -[gw2] [ 62%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0--1-min=0 must be > 0] -cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-0-min=0 must be > 0] -[gw2] [ 63%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-0-min=0 must be > 0] -cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-1-min=0 must be > 0] -[gw2] [ 63%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-1-min=0 must be > 0] -cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-2-min=0 must be > 0] -[gw2] [ 64%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-2-min=0 must be > 0] -cheroot/test/test_server.py::test_threadpool_invalid_threadrange[1-0-Expected an integer or the infinity value for the `max` argument but got 0.] -[gw2] [ 64%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[1-0-Expected an integer or the infinity value for the `max` argument but got 0.] -cheroot/test/test_server.py::test_threadpool_invalid_threadrange[1-0.5-Expected an integer or the infinity value for the `max` argument but got 0.5.] -[gw2] [ 65%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[1-0.5-Expected an integer or the infinity value for the `max` argument but got 0.5.] -cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-0-Expected an integer or the infinity value for the `max` argument but got 0.] -[gw2] [ 65%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-0-Expected an integer or the infinity value for the `max` argument but got 0.] -cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-1-Expected an integer or the infinity value for the `max` argument but got '1'.] -[gw2] [ 66%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-1-Expected an integer or the infinity value for the `max` argument but got '1'.] -cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-1-max=1 must be > min=2] -[gw2] [ 66%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-1-max=1 must be > min=2] -cheroot/test/test_server.py::test_threadpool_multistart_validation -[gw2] [ 67%] PASSED cheroot/test/test_server.py::test_threadpool_multistart_validation +[gw1] [ 62%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0--1-min=0 must be > 0] cheroot/test/test_ssl.py::test_ssl_adapters[builtin] -[gw1] [ 67%] XFAIL cheroot/test/test_conn.py::test_598 -[gw2] [ 68%] PASSED cheroot/test/test_ssl.py::test_ssl_adapters[builtin] -cheroot/test/test_conn.py::test_No_CRLF[\n\n] -[gw1] [ 69%] PASSED cheroot/test/test_conn.py::test_No_CRLF[\n\n] -[gw0] [ 69%] PASSED cheroot/test/test_server.py::test_high_number_of_file_descriptors[2048] +[gw1] [ 63%] PASSED cheroot/test/test_ssl.py::test_ssl_adapters[builtin] +[gw2] [ 63%] PASSED cheroot/test/test_server.py::test_high_number_of_file_descriptors[1024] +cheroot/test/test_server.py::test_high_number_of_file_descriptors[2048] +cheroot/test/test_ssl.py::test_ssl_adapters[pyopenssl] +[gw1] [ 64%] PASSED cheroot/test/test_ssl.py::test_ssl_adapters[pyopenssl] +cheroot/test/test_ssl.py::test_tls_client_auth[0-True-localhost-builtin] +[gw2] [ 64%] PASSED cheroot/test/test_server.py::test_high_number_of_file_descriptors[2048] cheroot/test/test_server.py::test_reuse_port[0.0.0.0] -[gw0] [ 70%] PASSED cheroot/test/test_server.py::test_reuse_port[0.0.0.0] +[gw2] [ 65%] PASSED cheroot/test/test_server.py::test_reuse_port[0.0.0.0] cheroot/test/test_server.py::test_reuse_port[::] -[gw0] [ 70%] PASSED cheroot/test/test_server.py::test_reuse_port[::] +[gw2] [ 65%] PASSED cheroot/test/test_server.py::test_reuse_port[::] cheroot/test/test_server.py::test_threadpool_threadrange_set[1--2-inf] -[gw0] [ 71%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[1--2-inf] +[gw2] [ 66%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[1--2-inf] cheroot/test/test_server.py::test_threadpool_threadrange_set[1--1-inf] -[gw0] [ 71%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[1--1-inf] +[gw2] [ 66%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[1--1-inf] cheroot/test/test_server.py::test_threadpool_threadrange_set[1-1-1] -cheroot/test/test_ssl.py::test_ssl_adapters[pyopenssl] -[gw0] [ 72%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[1-1-1] +[gw2] [ 67%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[1-1-1] cheroot/test/test_server.py::test_threadpool_threadrange_set[1-2-2] -[gw0] [ 72%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[1-2-2] -cheroot/test/test_ssl.py::test_tls_client_auth[1-True-127.0.0.1-builtin] -[gw2] [ 73%] PASSED cheroot/test/test_ssl.py::test_ssl_adapters[pyopenssl] -[gw0] [ 73%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-127.0.0.1-builtin] -cheroot/test/test_ssl.py::test_tls_client_auth[0-True-not_localhost-builtin] -[gw1] [ 74%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-not_localhost-builtin] -cheroot/test/test_ssl.py::test_tls_client_auth[0-True-localhost-builtin] -cheroot/test/test_ssl.py::test_tls_client_auth[1-True-127.0.0.1-pyopenssl] -[gw2] [ 75%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-localhost-builtin] -[gw0] [ 75%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-127.0.0.1-pyopenssl] -cheroot/test/test_ssl.py::test_tls_client_auth[0-True-not_localhost-pyopenssl] -[gw1] [ 76%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-not_localhost-pyopenssl] +[gw2] [ 67%] PASSED cheroot/test/test_server.py::test_threadpool_threadrange_set[1-2-2] +cheroot/test/test_ssl.py::test_tls_client_auth[0-True-127.0.0.1-pyopenssl] +[gw1] [ 68%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-localhost-builtin] +[gw2] [ 69%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-127.0.0.1-pyopenssl] cheroot/test/test_ssl.py::test_tls_client_auth[0-True-localhost-pyopenssl] -cheroot/test/test_ssl.py::test_tls_client_auth[1-True-*.localhost-builtin] -[gw2] [ 76%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-localhost-pyopenssl] -[gw0] [ 77%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-*.localhost-builtin] -cheroot/test/test_ssl.py::test_tls_client_auth[0-False-localhost-builtin] -[gw1] [ 77%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-False-localhost-builtin] +[gw0] [ 69%] RERUN cheroot/test/test_server.py::test_peercreds_unix_sock[abstract] +cheroot/test/test_server.py::test_peercreds_unix_sock[abstract] Traceback (most recent call last): + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1291, in communicate + req.respond() + ~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1081, in respond + self.server.gateway(self).respond() + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/test/test_server.py", line 236, in respond + self.send_payload('!'.join((conn.peer_user, conn.peer_group))) + ^^^^^^^^^^^^^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1466, in peer_user + user, _ = self.resolve_peer_creds() + ~~~~~~~~~~~~~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1454, in resolve_peer_creds + raise RuntimeError( + 'UID/GID lookup is disabled within this server', + ) +RuntimeError: UID/GID lookup is disabled within this server + +[gw1] [ 70%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-localhost-pyopenssl] +cheroot/test/test_ssl.py::test_tls_client_auth[0-True-*.localhost-builtin] cheroot/test/test_ssl.py::test_tls_client_auth[0-True-127.0.0.1-builtin] -cheroot/test/test_ssl.py::test_tls_client_auth[1-True-*.localhost-pyopenssl] -[gw2] [ 78%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-127.0.0.1-builtin] -[gw0] [ 78%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-*.localhost-pyopenssl] +[gw2] [ 70%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-*.localhost-builtin] +[gw1] [ 71%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-127.0.0.1-builtin] +cheroot/test/test_ssl.py::test_tls_client_auth[0-False-localhost-builtin] +cheroot/test/test_ssl.py::test_tls_client_auth[0-True-*.localhost-pyopenssl] +[gw2] [ 71%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-*.localhost-pyopenssl] +[gw1] [ 72%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-False-localhost-builtin] +cheroot/test/test_ssl.py::test_tls_client_auth[0-True-not_localhost-builtin] cheroot/test/test_ssl.py::test_tls_client_auth[0-False-localhost-pyopenssl] -[gw1] [ 79%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-False-localhost-pyopenssl] -cheroot/test/test_ssl.py::test_tls_client_auth[0-True-127.0.0.1-pyopenssl] -cheroot/test/test_ssl.py::test_tls_client_auth[1-True-not_localhost-builtin] -[gw2] [ 79%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-127.0.0.1-pyopenssl] -[gw0] [ 80%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-not_localhost-builtin] +[gw0] [ 72%] RERUN cheroot/test/test_server.py::test_peercreds_unix_sock[abstract] +cheroot/test/test_server.py::test_peercreds_unix_sock[abstract] +[gw1] [ 72%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-False-localhost-pyopenssl] cheroot/test/test_ssl.py::test_tls_client_auth[1-True-localhost-builtin] -[gw1] [ 80%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-localhost-builtin] -cheroot/test/test_ssl.py::test_tls_client_auth[0-True-*.localhost-builtin] +[gw0] [ 72%] PASSED cheroot/test/test_server.py::test_peercreds_unix_sock[abstract] +cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-0-min=0 must be > 0] +[gw0] [ 73%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-0-min=0 must be > 0] +cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-1-min=0 must be > 0] +[gw0] [ 73%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-1-min=0 must be > 0] +cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-2-min=0 must be > 0] +[gw0] [ 74%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-2-min=0 must be > 0] +cheroot/test/test_server.py::test_threadpool_invalid_threadrange[1-0-Expected an integer or the infinity value for the `max` argument but got 0.] +[gw0] [ 75%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[1-0-Expected an integer or the infinity value for the `max` argument but got 0.] +cheroot/test/test_server.py::test_threadpool_invalid_threadrange[1-0.5-Expected an integer or the infinity value for the `max` argument but got 0.5.] +[gw0] [ 75%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[1-0.5-Expected an integer or the infinity value for the `max` argument but got 0.5.] +cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-0-Expected an integer or the infinity value for the `max` argument but got 0.] +[gw0] [ 76%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-0-Expected an integer or the infinity value for the `max` argument but got 0.] +cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-1-Expected an integer or the infinity value for the `max` argument but got '1'.] +[gw0] [ 76%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-1-Expected an integer or the infinity value for the `max` argument but got '1'.] +cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-1-max=1 must be > min=2] +[gw0] [ 77%] PASSED cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-1-max=1 must be > min=2] +cheroot/test/test_server.py::test_threadpool_multistart_validation +[gw0] [ 77%] PASSED cheroot/test/test_server.py::test_threadpool_multistart_validation +cheroot/test/test_ssl.py::test_tls_client_auth[1-True-127.0.0.1-pyopenssl] +[gw2] [ 78%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-not_localhost-builtin] +cheroot/test/test_ssl.py::test_tls_client_auth[0-True-not_localhost-pyopenssl] +[gw1] [ 78%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-localhost-builtin] +[gw2] [ 79%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-not_localhost-pyopenssl] cheroot/test/test_ssl.py::test_tls_client_auth[1-True-not_localhost-pyopenssl] -[gw2] [ 81%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-*.localhost-builtin] -[gw0] [ 82%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-not_localhost-pyopenssl] +[gw0] [ 79%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-127.0.0.1-pyopenssl] +[gw2] [ 80%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-not_localhost-pyopenssl] +cheroot/test/test_ssl.py::test_tls_client_auth[1-True-*.localhost-builtin] cheroot/test/test_ssl.py::test_tls_client_auth[1-True-localhost-pyopenssl] -[gw1] [ 82%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-localhost-pyopenssl] -cheroot/test/test_ssl.py::test_tls_client_auth[0-True-*.localhost-pyopenssl] cheroot/test/test_ssl.py::test_tls_client_auth[1-False-localhost-builtin] -[gw2] [ 83%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[0-True-*.localhost-pyopenssl] -[gw0] [ 83%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-False-localhost-builtin] -cheroot/test/test_ssl.py::test_tls_client_auth[2-True-localhost-builtin] -[gw1] [ 84%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-localhost-builtin] -cheroot/test/test_ssl.py::test_tls_client_auth[2-True-127.0.0.1-pyopenssl] +[gw1] [ 80%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-localhost-pyopenssl] +[gw2] [ 81%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-False-localhost-builtin] +[gw0] [ 82%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-*.localhost-builtin] +cheroot/test/test_ssl.py::test_tls_client_auth[1-True-127.0.0.1-builtin] cheroot/test/test_ssl.py::test_tls_client_auth[1-False-localhost-pyopenssl] -[gw2] [ 84%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-127.0.0.1-pyopenssl] -[gw0] [ 85%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-False-localhost-pyopenssl] +cheroot/test/test_ssl.py::test_tls_client_auth[1-True-*.localhost-pyopenssl] +[gw2] [ 82%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-False-localhost-pyopenssl] +[gw1] [ 83%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-127.0.0.1-builtin] cheroot/test/test_ssl.py::test_tls_client_auth[2-True-localhost-pyopenssl] -[gw1] [ 85%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-localhost-pyopenssl] -cheroot/test/test_ssl.py::test_tls_client_auth[2-True-*.localhost-builtin] -cheroot/test/test_ssl.py::test_tls_client_auth[2-True-not_localhost-builtin] -[gw0] [ 86%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-not_localhost-builtin] -[gw2] [ 86%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-*.localhost-builtin] +cheroot/test/test_ssl.py::test_tls_client_auth[2-True-localhost-builtin] +[gw1] [ 83%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-localhost-pyopenssl] +[gw0] [ 84%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-*.localhost-pyopenssl] cheroot/test/test_ssl.py::test_tls_client_auth[2-True-127.0.0.1-builtin] -[gw1] [ 87%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-127.0.0.1-builtin] +cheroot/test/test_ssl.py::test_tls_client_auth[1-True-not_localhost-builtin] +[gw2] [ 84%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-localhost-builtin] +[gw1] [ 85%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-127.0.0.1-builtin] +[gw0] [ 85%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[1-True-not_localhost-builtin] cheroot/test/test_ssl.py::test_tls_client_auth[2-True-not_localhost-pyopenssl] -cheroot/test/test_ssl.py::test_tls_client_auth[2-True-*.localhost-pyopenssl] -[gw0] [ 88%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-not_localhost-pyopenssl] -[gw2] [ 88%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-*.localhost-pyopenssl] +cheroot/test/test_ssl.py::test_tls_client_auth[2-True-127.0.0.1-pyopenssl] +cheroot/test/test_ssl.py::test_tls_client_auth[2-True-*.localhost-builtin] +[gw0] [ 86%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-not_localhost-pyopenssl] +[gw1] [ 86%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-127.0.0.1-pyopenssl] cheroot/test/test_ssl.py::test_tls_client_auth[2-False-localhost-builtin] -[gw1] [ 89%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-False-localhost-builtin] -cheroot/test/test_ssl.py::test_ssl_env[0-False-builtin] -cheroot/test/test_ssl.py::test_ssl_env[0-True-builtin] -[gw0] [ 89%] PASSED cheroot/test/test_ssl.py::test_ssl_env[0-False-builtin] -[gw2] [ 90%] PASSED cheroot/test/test_ssl.py::test_ssl_env[0-True-builtin] +[gw2] [ 87%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-*.localhost-builtin] cheroot/test/test_ssl.py::test_tls_client_auth[2-False-localhost-pyopenssl] -[gw1] [ 90%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-False-localhost-pyopenssl] +[gw1] [ 88%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-False-localhost-pyopenssl] +[gw0] [ 88%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-False-localhost-builtin] +cheroot/test/test_ssl.py::test_tls_client_auth[2-True-*.localhost-pyopenssl] +cheroot/test/test_ssl.py::test_ssl_env[0-False-builtin] cheroot/test/test_ssl.py::test_ssl_env[0-False-pyopenssl] +[gw2] [ 89%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-*.localhost-pyopenssl] +[gw1] [ 89%] PASSED cheroot/test/test_ssl.py::test_ssl_env[0-False-builtin] Traceback (most recent call last): + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1291, in communicate + req.respond() + ~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1085, in respond + self.conn.wfile.write(b'0\r\n\r\n') + ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 68, in write + res = super().write(val, *args, **kwargs) + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 24, in write + self._flush_unlocked() + ~~~~~~~~~~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 33, in _flush_unlocked + n = self.raw.write(bytes(self._write_buf)) + File "/usr/lib/python3.13/socket.py", line 737, in write + return self._sock.send(b) + ~~~~~~~~~~~~~~~^^^ + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2235, in send + self._raise_ssl_error(self._ssl, result) + ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2014, in _raise_ssl_error + raise SysCallError(errno, errorcode.get(errno)) +OpenSSL.SSL.SysCallError: (32, 'EPIPE') + +cheroot/test/test_ssl.py::test_tls_client_auth[2-True-not_localhost-builtin] +[gw2] [ 90%] PASSED cheroot/test/test_ssl.py::test_tls_client_auth[2-True-not_localhost-builtin] cheroot/test/test_ssl.py::test_ssl_env[0-True-pyopenssl] -[gw0] [ 91%] PASSED cheroot/test/test_ssl.py::test_ssl_env[0-False-pyopenssl] -[gw2] [ 91%] PASSED cheroot/test/test_ssl.py::test_ssl_env[0-True-pyopenssl] +[gw0] [ 90%] FAILED cheroot/test/test_ssl.py::test_ssl_env[0-False-pyopenssl] cheroot/test/test_ssl.py::test_ssl_env[1-False-builtin] -[gw1] [ 92%] PASSED cheroot/test/test_ssl.py::test_ssl_env[1-False-builtin] -cheroot/test/test_ssl.py::test_ssl_env[1-False-pyopenssl] +cheroot/test/test_ssl.py::test_ssl_env[0-True-builtin] +[gw2] [ 91%] PASSED cheroot/test/test_ssl.py::test_ssl_env[1-False-builtin] +[gw1] [ 91%] FAILED cheroot/test/test_ssl.py::test_ssl_env[0-True-pyopenssl] cheroot/test/test_ssl.py::test_ssl_env[1-True-builtin] -[gw0] [ 92%] PASSED cheroot/test/test_ssl.py::test_ssl_env[1-False-pyopenssl] -[gw2] [ 93%] PASSED cheroot/test/test_ssl.py::test_ssl_env[1-True-builtin] +[gw0] [ 92%] PASSED cheroot/test/test_ssl.py::test_ssl_env[0-True-builtin] cheroot/test/test_ssl.py::test_ssl_env[1-True-pyopenssl] -[gw1] [ 94%] PASSED cheroot/test/test_ssl.py::test_ssl_env[1-True-pyopenssl] -cheroot/test/test_ssl.py::test_ssl_env[2-True-pyopenssl] +cheroot/test/test_ssl.py::test_ssl_env[1-False-pyopenssl] +[gw2] [ 92%] PASSED cheroot/test/test_ssl.py::test_ssl_env[1-True-builtin] SysCallError(32, 'EPIPE') +Traceback (most recent call last): + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1291, in communicate + req.respond() + ~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1085, in respond + self.conn.wfile.write(b'0\r\n\r\n') + ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 68, in write + res = super().write(val, *args, **kwargs) + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 24, in write + self._flush_unlocked() + ~~~~~~~~~~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 33, in _flush_unlocked + n = self.raw.write(bytes(self._write_buf)) + File "/usr/lib/python3.13/socket.py", line 737, in write + return self._sock.send(b) + ~~~~~~~~~~~~~~~^^^ + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2235, in send + self._raise_ssl_error(self._ssl, result) + ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2014, in _raise_ssl_error + raise SysCallError(errno, errorcode.get(errno)) +OpenSSL.SSL.SysCallError: (32, 'EPIPE') +SysCallError(32, 'EPIPE') +Exception ignored in: +Traceback (most recent call last): + File "/usr/lib/python3.13/_pyio.py", line 421, in __del__ + self.close() + File "/usr/lib/python3.13/_pyio.py", line 1318, in close + self.flush() + File "/usr/lib/python3.13/_pyio.py", line 1279, in flush + self._flush_unlocked() + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 33, in _flush_unlocked + n = self.raw.write(bytes(self._write_buf)) + File "/usr/lib/python3.13/socket.py", line 737, in write + return self._sock.send(b) + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2235, in send + self._raise_ssl_error(self._ssl, result) + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2030, in _raise_ssl_error + _openssl_assert( +Traceback (most recent call last): + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1291, in communicate + req.respond() + ~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1085, in respond + self.conn.wfile.write(b'0\r\n\r\n') + ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 68, in write + res = super().write(val, *args, **kwargs) + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 24, in write + self._flush_unlocked() + ~~~~~~~~~~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 33, in _flush_unlocked + n = self.raw.write(bytes(self._write_buf)) + File "/usr/lib/python3.13/socket.py", line 737, in write + return self._sock.send(b) + ~~~~~~~~~~~~~~~^^^ + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2235, in send + self._raise_ssl_error(self._ssl, result) + ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2014, in _raise_ssl_error + raise SysCallError(errno, errorcode.get(errno)) +OpenSSL.SSL.SysCallError: (32, 'EPIPE') + File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 76, in openssl_assert + exception_from_error_queue(error) + File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 62, in exception_from_error_queue + raise exception_type(errors) +OpenSSL.SSL.Error: [('SSL routines', '', 'bad write retry')] + cheroot/test/test_ssl.py::test_ssl_env[2-True-builtin] -[gw0] [ 94%] PASSED cheroot/test/test_ssl.py::test_ssl_env[2-True-builtin] -[gw2] [ 95%] PASSED cheroot/test/test_ssl.py::test_ssl_env[2-True-pyopenssl] +[gw0] [ 93%] FAILED cheroot/test/test_ssl.py::test_ssl_env[1-True-pyopenssl] +[gw1] [ 94%] FAILED cheroot/test/test_ssl.py::test_ssl_env[1-False-pyopenssl] cheroot/test/test_ssl.py::test_http_over_https_error[0.0.0.0-builtin] -cheroot/test/test_ssl.py::test_http_over_https_error[::-builtin] +cheroot/test/test_ssl.py::test_ssl_env[2-True-pyopenssl] +[gw2] [ 94%] PASSED cheroot/test/test_ssl.py::test_ssl_env[2-True-builtin] cheroot/test/test_ssl.py::test_http_over_https_error[0.0.0.0-pyopenssl] -[gw1] [ 95%] PASSED cheroot/test/test_ssl.py::test_http_over_https_error[0.0.0.0-builtin] -cheroot/test/test_ssl.py::test_http_over_https_error[::-pyopenssl] +[gw1] [ 95%] PASSED cheroot/test/test_ssl.py::test_ssl_env[2-True-pyopenssl] +[gw0] [ 95%] PASSED cheroot/test/test_ssl.py::test_http_over_https_error[0.0.0.0-builtin] +cheroot/test/test_ssl.py::test_http_over_https_error[::-builtin] [gw2] [ 96%] PASSED cheroot/test/test_ssl.py::test_http_over_https_error[0.0.0.0-pyopenssl] -cheroot/test/test_wsgi.py::test_gateway_start_response_called_twice -[gw2] [ 96%] PASSED cheroot/test/test_wsgi.py::test_gateway_start_response_called_twice -cheroot/test/webtest.py::cheroot.test.webtest.WebCase.getPage -[gw2] [ 97%] PASSED cheroot/test/webtest.py::cheroot.test.webtest.WebCase.getPage -cheroot/test/webtest.py::cheroot.test.webtest.strip_netloc -[gw2] [ 97%] PASSED cheroot/test/webtest.py::cheroot.test.webtest.strip_netloc -[gw0] [ 98%] PASSED cheroot/test/test_ssl.py::test_http_over_https_error[::-builtin] cheroot/test/test_wsgi.py::test_connection_keepalive -[gw1] [ 98%] PASSED cheroot/test/test_ssl.py::test_http_over_https_error[::-pyopenssl] +cheroot/test/test_ssl.py::test_http_over_https_error[::-pyopenssl] +[gw0] [ 96%] PASSED cheroot/test/test_ssl.py::test_http_over_https_error[::-builtin] +[gw1] [ 97%] PASSED cheroot/test/test_ssl.py::test_http_over_https_error[::-pyopenssl] +cheroot/test/test_wsgi.py::test_gateway_start_response_called_twice +[gw0] [ 97%] PASSED cheroot/test/test_wsgi.py::test_gateway_start_response_called_twice cheroot/test/test_wsgi.py::test_gateway_write_needs_start_response_called_before -[gw1] [ 99%] PASSED cheroot/test/test_wsgi.py::test_gateway_write_needs_start_response_called_before -[gw0] [100%] PASSED cheroot/test/test_wsgi.py::test_connection_keepalive +cheroot/test/webtest.py::cheroot.test.webtest.strip_netloc +[gw1] [ 98%] PASSED cheroot/test/test_wsgi.py::test_gateway_write_needs_start_response_called_before +[gw0] [ 98%] PASSED cheroot/test/webtest.py::cheroot.test.webtest.strip_netloc +[gw2] [ 99%] PASSED cheroot/test/test_wsgi.py::test_connection_keepalive +cheroot/test/webtest.py::cheroot.test.webtest.WebCase.getPage +[gw2] [100%] PASSED cheroot/test/webtest.py::cheroot.test.webtest.WebCase.getPage Exception ignored in: +Traceback (most recent call last): + File "/usr/lib/python3.13/_pyio.py", line 421, in __del__ + self.close() + File "/usr/lib/python3.13/_pyio.py", line 1318, in close + self.flush() + File "/usr/lib/python3.13/_pyio.py", line 1279, in flush + self._flush_unlocked() + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 33, in _flush_unlocked + n = self.raw.write(bytes(self._write_buf)) + File "/usr/lib/python3.13/socket.py", line 737, in write + return self._sock.send(b) + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2235, in send + self._raise_ssl_error(self._ssl, result) + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2030, in _raise_ssl_error + _openssl_assert( + File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 76, in openssl_assert + exception_from_error_queue(error) + File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 62, in exception_from_error_queue + raise exception_type(errors) +OpenSSL.SSL.Error: [('SSL routines', '', 'bad write retry')] +Exception ignored in: +Traceback (most recent call last): + File "/usr/lib/python3.13/_pyio.py", line 421, in __del__ + self.close() + File "/usr/lib/python3.13/_pyio.py", line 1318, in close + self.flush() + File "/usr/lib/python3.13/_pyio.py", line 1279, in flush + self._flush_unlocked() + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 33, in _flush_unlocked + n = self.raw.write(bytes(self._write_buf)) + File "/usr/lib/python3.13/socket.py", line 737, in write + return self._sock.send(b) + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2235, in send + self._raise_ssl_error(self._ssl, result) + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2030, in _raise_ssl_error + _openssl_assert( + File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 76, in openssl_assert +Exception ignored in: +Traceback (most recent call last): + File "/usr/lib/python3.13/_pyio.py", line 421, in __del__ + exception_from_error_queue(error) + File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 62, in exception_from_error_queue + raise exception_type(errors) +OpenSSL.SSL.Error: [('SSL routines', '', 'bad write retry')] + self.close() + File "/usr/lib/python3.13/_pyio.py", line 1318, in close + self.flush() + File "/usr/lib/python3.13/_pyio.py", line 1279, in flush + self._flush_unlocked() + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 33, in _flush_unlocked + n = self.raw.write(bytes(self._write_buf)) + File "/usr/lib/python3.13/socket.py", line 737, in write + return self._sock.send(b) +OSError: [Errno 9] Bad file descriptor +Exception ignored in: +Traceback (most recent call last): + File "/usr/lib/python3.13/_pyio.py", line 421, in __del__ + self.close() + File "/usr/lib/python3.13/_pyio.py", line 1318, in close + self.flush() + File "/usr/lib/python3.13/_pyio.py", line 1279, in flush + self._flush_unlocked() + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 33, in _flush_unlocked + n = self.raw.write(bytes(self._write_buf)) + File "/usr/lib/python3.13/socket.py", line 737, in write + return self._sock.send(b) +OSError: [Errno 9] Bad file descriptor +Exception ignored in: +Traceback (most recent call last): + File "/usr/lib/python3.13/_pyio.py", line 421, in __del__ + self.close() + File "/usr/lib/python3.13/_pyio.py", line 1318, in close + self.flush() + File "/usr/lib/python3.13/_pyio.py", line 1279, in flush + self._flush_unlocked() + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 33, in _flush_unlocked + n = self.raw.write(bytes(self._write_buf)) + File "/usr/lib/python3.13/socket.py", line 737, in write + return self._sock.send(b) + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2235, in send + self._raise_ssl_error(self._ssl, result) + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2030, in _raise_ssl_error + _openssl_assert( + File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 76, in openssl_assert + exception_from_error_queue(error) + File "/usr/lib/python3/dist-packages/OpenSSL/_util.py", line 62, in exception_from_error_queue + raise exception_type(errors) +OpenSSL.SSL.Error: [('SSL routines', '', 'bad write retry')] + + +=================================== FAILURES =================================== +________________________ test_keepalive_conn_management ________________________ +[gw1] linux -- Python 3.13.6 /usr/bin/python3.13 + +test_client = + + def test_keepalive_conn_management(test_client): + """Test management of Keep-Alive connections.""" + test_client.server_instance.timeout = 2 + + def connection(): + # Initialize a persistent HTTP connection + http_connection = test_client.get_connection() + http_connection.auto_open = False + http_connection.connect() + return http_connection + + def request(conn, keepalive=True): + status_line, actual_headers, actual_resp_body = test_client.get( + '/page3', headers=[('Connection', 'Keep-Alive')], + http_conn=conn, protocol='HTTP/1.0', + ) + actual_status = int(status_line[:3]) + assert actual_status == 200 + assert status_line[4:] == 'OK' + assert actual_resp_body == pov.encode() + if keepalive: + assert header_has_value('Connection', 'Keep-Alive', actual_headers) + assert header_has_value( + 'Keep-Alive', + 'timeout={test_client.server_instance.timeout}'. + format(**locals()), + actual_headers, + ) + else: + assert not header_exists('Connection', actual_headers) + assert not header_exists('Keep-Alive', actual_headers) + + def check_server_idle_conn_count(count, timeout=1.0): + deadline = time.time() + timeout + while True: + n = test_client.server_instance._connections._num_connections + if n == count: + return + assert time.time() <= deadline, ( + 'idle conn count mismatch, wanted {count}, got {n}'. + format(**locals()), + ) + + disconnect_errors = ( + http.client.BadStatusLine, + http.client.CannotSendRequest, + http.client.NotConnected, + ) + + # Make a new connection. + c1 = connection() + request(c1) + check_server_idle_conn_count(1) + + # Make a second one. + c2 = connection() + request(c2) + check_server_idle_conn_count(2) + + # Reusing the first connection should still work. + request(c1) + check_server_idle_conn_count(2) + + # Creating a new connection should still work, but we should + # have run out of available connections to keep alive, so the + # server should tell us to close. + c3 = connection() + request(c3, keepalive=False) + check_server_idle_conn_count(2) + + # Show that the third connection was closed. + with pytest.raises(disconnect_errors): + request(c3) + check_server_idle_conn_count(2) + + # Wait for some of our timeout. + time.sleep(1.2) + + # Refresh the second connection. + request(c2) + check_server_idle_conn_count(2) + + # Wait for the remainder of our timeout, plus one tick. + time.sleep(1.2) + check_server_idle_conn_count(1) + + # First connection should now be expired. + with pytest.raises(disconnect_errors): + request(c1) +> check_server_idle_conn_count(1) + +c1 = +c2 = +c3 = +check_server_idle_conn_count = .check_server_idle_conn_count at 0x7fbacc844c20> +connection = .connection at 0x7fbacc844d60> +disconnect_errors = (, , ) +request = .request at 0x7fbacc844b80> +test_client = + +cheroot/test/test_conn.py:566: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +count = 1, timeout = 1.0 + + def check_server_idle_conn_count(count, timeout=1.0): + deadline = time.time() + timeout + while True: + n = test_client.server_instance._connections._num_connections + if n == count: + return +> assert time.time() <= deadline, ( + 'idle conn count mismatch, wanted {count}, got {n}'. + format(**locals()), + ) +E AssertionError: ('idle conn count mismatch, wanted 1, got 0',) +E assert 1790552661.9730499 <= 1790552661.970017 +E + where 1790552661.9730499 = () +E + where = time.time + +count = 1 +deadline = 1790552661.970017 +n = 0 +test_client = +timeout = 1.0 + +cheroot/test/test_conn.py:515: AssertionError +_______________________ test_ssl_env[0-False-pyopenssl] ________________________ +[gw0] linux -- Python 3.13.6 /usr/bin/python3.13 + +self = + + @contextmanager + def _error_catcher(self) -> typing.Generator[None]: + """ + Catch low-level python exceptions, instead re-raising urllib3 + variants, so that low-level exceptions are not leaked in the + high-level api. + + On exit, release the connection back to the pool. + """ + clean_exit = False + + try: + try: +> yield + +clean_exit = False +self = + +/usr/lib/python3/dist-packages/urllib3/response.py:779: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/urllib3/response.py:1248: in read_chunked + self._update_chunk_length() + amt = 10240 + decode_content = True + self = +/usr/lib/python3/dist-packages/urllib3/response.py:1167: in _update_chunk_length + line = self._fp.fp.readline() # type: ignore[union-attr] + self = +/usr/lib/python3.13/socket.py:719: in readinto + return self._sock.recv_into(b) + b = + self = +/usr/lib/python3.13/ssl.py:1304: in recv_into + return self.read(nbytes, buffer) + __class__ = + buffer = + flags = 0 + nbytes = 8192 + self = + view = +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = , len = 8192 +buffer = + + def read(self, len=1024, buffer=None): + """Read up to LEN bytes and return them. + Return zero-length string on EOF.""" + + self._checkClosed() + if self._sslobj is None: + raise ValueError("Read on closed or unwrapped SSL socket.") + try: + if buffer is not None: +> return self._sslobj.read(len, buffer) +E TimeoutError: The read operation timed out + +buffer = +len = 8192 +self = + +/usr/lib/python3.13/ssl.py:1138: TimeoutError + +The above exception was the direct cause of the following exception: + + def generate(): + # Special case for urllib3. + if hasattr(self.raw, "stream"): + try: +> yield from self.raw.stream(chunk_size, decode_content=True) + +chunk_size = 10240 +self = + +/usr/lib/python3/dist-packages/requests/models.py:820: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/urllib3/response.py:1088: in stream + yield from self.read_chunked(amt, decode_content=decode_content) + amt = 10240 + decode_content = True + self = +/usr/lib/python3/dist-packages/urllib3/response.py:1231: in read_chunked + with self._error_catcher(): + amt = 10240 + decode_content = True + self = +/usr/lib/python3.13/contextlib.py:162: in __exit__ + self.gen.throw(value) + self = + traceback = + typ = + value = TimeoutError('The read operation timed out') +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = + + @contextmanager + def _error_catcher(self) -> typing.Generator[None]: + """ + Catch low-level python exceptions, instead re-raising urllib3 + variants, so that low-level exceptions are not leaked in the + high-level api. + + On exit, release the connection back to the pool. + """ + clean_exit = False + + try: + try: + yield + + except SocketTimeout as e: + # FIXME: Ideally we'd like to include the url in the ReadTimeoutError but + # there is yet no clean way to get at it from this context. +> raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type] +E urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='127.0.0.1', port=47053): Read timed out. + +clean_exit = False +self = + +/usr/lib/python3/dist-packages/urllib3/response.py:784: ReadTimeoutError + +During handling of the above exception, another exception occurred: + +thread_exceptions = [], recwarn = WarningsRecorder(record=True) +mocker = +http_request_timeout = 0.1 +tls_http_server = functools.partial(, request=>) +adapter_type = 'pyopenssl', ca = +tls_verify_mode = +tls_certificate = +tls_certificate_chain_pem_path = '/tmp/tmpsiq4hn9j.pem' +tls_certificate_private_key_pem_path = '/tmp/tmpfvwu5yg9.pem' +tls_ca_certificate_pem_path = '/tmp/tmp9rfd1khn.pem', use_client_cert = False + + @pytest.mark.parametrize( # noqa: C901 # FIXME + 'adapter_type', + ( + pytest.param( + 'builtin', + marks=pytest.mark.xfail( + IS_MACOS and PY310_PLUS, + reason='Unclosed TLS resource warnings happen on macOS ' + 'under Python 3.10 (#508)', + strict=False, + ), + ), + 'pyopenssl', + ), + ) + @pytest.mark.parametrize( + ('tls_verify_mode', 'use_client_cert'), + ( + (ssl.CERT_NONE, False), + (ssl.CERT_NONE, True), + (ssl.CERT_OPTIONAL, False), + (ssl.CERT_OPTIONAL, True), + (ssl.CERT_REQUIRED, True), + ), + ) + def test_ssl_env( # noqa: C901 # FIXME + thread_exceptions, + recwarn, + mocker, + http_request_timeout, + tls_http_server, adapter_type, + ca, tls_verify_mode, tls_certificate, + tls_certificate_chain_pem_path, + tls_certificate_private_key_pem_path, + tls_ca_certificate_pem_path, + use_client_cert, + ): + """Test the SSL environment generated by the SSL adapters.""" + interface, _host, port = _get_conn_data(ANY_INTERFACE_IPV4) + + with mocker.mock_module.patch( + 'idna.core.ulabel', + return_value=ntob('127.0.0.1'), + ): + client_cert = ca.issue_cert(ntou('127.0.0.1')) + + with client_cert.private_key_and_cert_chain_pem.tempfile() as cl_pem: + tls_adapter_cls = get_ssl_adapter_class(name=adapter_type) + tls_adapter = tls_adapter_cls( + tls_certificate_chain_pem_path, + tls_certificate_private_key_pem_path, + ) + if adapter_type == 'pyopenssl': + tls_adapter.context = tls_adapter.get_context() + tls_adapter.context.set_verify( + _stdlib_to_openssl_verify[tls_verify_mode], + lambda conn, cert, errno, depth, preverify_ok: preverify_ok, + ) + else: + tls_adapter.context.verify_mode = tls_verify_mode + + ca.configure_trust(tls_adapter.context) + tls_certificate.configure_cert(tls_adapter.context) + + tlswsgiserver = tls_http_server((interface, port), tls_adapter) + + interface, _host, port = _get_conn_data(tlswsgiserver.bind_addr) + +> resp = requests.get( + 'https://' + interface + ':' + str(port) + '/env', + timeout=http_request_timeout, + verify=tls_ca_certificate_pem_path, + cert=cl_pem if use_client_cert else None, + ) + +_host = '127.0.0.1' +adapter_type = 'pyopenssl' +ca = +cl_pem = '/tmp/tmp3skn16fi.pem' +client_cert = +http_request_timeout = 0.1 +interface = '127.0.0.1' +mocker = +port = 47053 +recwarn = WarningsRecorder(record=True) +thread_exceptions = [] +tls_adapter = +tls_adapter_cls = +tls_ca_certificate_pem_path = '/tmp/tmp9rfd1khn.pem' +tls_certificate = +tls_certificate_chain_pem_path = '/tmp/tmpsiq4hn9j.pem' +tls_certificate_private_key_pem_path = '/tmp/tmpfvwu5yg9.pem' +tls_http_server = functools.partial(, request=>) +tls_verify_mode = +tlswsgiserver = +use_client_cert = False + +cheroot/test/test_ssl.py:507: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/requests/api.py:73: in get + return request("get", url, params=params, **kwargs) + kwargs = {'cert': None, 'timeout': 0.1, 'verify': '/tmp/tmp9rfd1khn.pem'} + params = None + url = 'https://127.0.0.1:47053/env' +/usr/lib/python3/dist-packages/requests/api.py:59: in request + return session.request(method=method, url=url, **kwargs) + kwargs = {'cert': None, 'params': None, 'timeout': 0.1, 'verify': '/tmp/tmp9rfd1khn.pem'} + method = 'get' + session = + url = 'https://127.0.0.1:47053/env' +/usr/lib/python3/dist-packages/requests/sessions.py:589: in request + resp = self.send(prep, **send_kwargs) + allow_redirects = True + auth = None + cert = None + cookies = None + data = None + files = None + headers = None + hooks = None + json = None + method = 'get' + params = None + prep = + proxies = {'no': 'localhost'} + req = + self = + send_kwargs = {'allow_redirects': True, 'cert': None, 'proxies': OrderedDict({'no': 'localhost'}), 'stream': False, ...} + settings = {'cert': None, 'proxies': OrderedDict({'no': 'localhost'}), 'stream': False, 'verify': '/tmp/tmp9rfd1khn.pem'} + stream = None + timeout = 0.1 + url = 'https://127.0.0.1:47053/env' + verify = '/tmp/tmp9rfd1khn.pem' +/usr/lib/python3/dist-packages/requests/sessions.py:746: in send + r.content + adapter = + allow_redirects = True + elapsed = 0.024643659591674805 + gen = + history = [] + hooks = {'response': []} + kwargs = {'cert': None, 'proxies': OrderedDict({'no': 'localhost'}), 'stream': False, 'timeout': 0.1, ...} + r = + request = + self = + start = 1790552698.5066402 + stream = False +/usr/lib/python3/dist-packages/requests/models.py:902: in content + self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b"" + self = +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + def generate(): + # Special case for urllib3. + if hasattr(self.raw, "stream"): + try: + yield from self.raw.stream(chunk_size, decode_content=True) + except ProtocolError as e: + raise ChunkedEncodingError(e) + except DecodeError as e: + raise ContentDecodingError(e) + except ReadTimeoutError as e: +> raise ConnectionError(e) +E requests.exceptions.ConnectionError: HTTPSConnectionPool(host='127.0.0.1', port=47053): Read timed out. + +chunk_size = 10240 +self = + +/usr/lib/python3/dist-packages/requests/models.py:826: ConnectionError +----------------------------- Captured stdout call ----------------------------- +{'ACTUAL_SERVER_PROTOCOL': 'HTTP/1.1', 'PATH_INFO': '/env', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '36670', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/env', 'SCRIPT_NAME': '', 'SERVER_NAME': 'Cheroot/10.0.1', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'Cheroot/10.0.1 Server', 'wsgi.input_terminated': False, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0), 'SERVER_PORT': '47053', 'HTTP_HOST': '127.0.0.1:47053', 'HTTP_USER_AGENT': 'python-requests/2.32.4', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'keep-alive', 'HTTPS': 'on', 'SSL_VERSION_INTERFACE': 'Cheroot/10.0.1 pyOpenSSL/25.1.0 Python/3.13.6 (main, Aug 7 2025, 10:53:54) [GCC 14.2.0]', 'SSL_VERSION_LIBRARY': 'OpenSSL 3.5.2 5 Aug 2025', 'SSL_SERVER_M_VERSION': 2, 'SSL_SERVER_M_SERIAL': 695421258312715974562181805461080792391010509274, 'SSL_SERVER_I_DN': '/O=trustme v1.2.1/OU=Testing CA #2ayJeEHVo_ouKVWl', 'SSL_SERVER_I_DN_OU': 'Testing CA #2ayJeEHVo_ouKVWl', 'SSL_SERVER_I_DN_O': 'trustme v1.2.1', 'SSL_SERVER_S_DN': '/O=trustme v1.2.1/OU=Testing cert #pZLpleePSjeWn8g4', 'SSL_SERVER_S_DN_OU': 'Testing cert #pZLpleePSjeWn8g4', 'SSL_SERVER_S_DN_O': 'trustme v1.2.1'} +----------------------------- Captured stderr call ----------------------------- +SysCallError(32, 'EPIPE') +________________________ test_ssl_env[0-True-pyopenssl] ________________________ +[gw1] linux -- Python 3.13.6 /usr/bin/python3.13 + +self = + + @contextmanager + def _error_catcher(self) -> typing.Generator[None]: + """ + Catch low-level python exceptions, instead re-raising urllib3 + variants, so that low-level exceptions are not leaked in the + high-level api. + + On exit, release the connection back to the pool. + """ + clean_exit = False + + try: + try: +> yield + +clean_exit = False +self = + +/usr/lib/python3/dist-packages/urllib3/response.py:779: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/urllib3/response.py:1248: in read_chunked + self._update_chunk_length() + amt = 10240 + decode_content = True + self = +/usr/lib/python3/dist-packages/urllib3/response.py:1167: in _update_chunk_length + line = self._fp.fp.readline() # type: ignore[union-attr] + self = +/usr/lib/python3.13/socket.py:719: in readinto + return self._sock.recv_into(b) + b = + self = +/usr/lib/python3.13/ssl.py:1304: in recv_into + return self.read(nbytes, buffer) + __class__ = + buffer = + flags = 0 + nbytes = 8192 + self = + view = +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = , len = 8192 +buffer = + + def read(self, len=1024, buffer=None): + """Read up to LEN bytes and return them. + Return zero-length string on EOF.""" + + self._checkClosed() + if self._sslobj is None: + raise ValueError("Read on closed or unwrapped SSL socket.") + try: + if buffer is not None: +> return self._sslobj.read(len, buffer) +E TimeoutError: The read operation timed out + +buffer = +len = 8192 +self = + +/usr/lib/python3.13/ssl.py:1138: TimeoutError + +The above exception was the direct cause of the following exception: + + def generate(): + # Special case for urllib3. + if hasattr(self.raw, "stream"): + try: +> yield from self.raw.stream(chunk_size, decode_content=True) + +chunk_size = 10240 +self = + +/usr/lib/python3/dist-packages/requests/models.py:820: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/urllib3/response.py:1088: in stream + yield from self.read_chunked(amt, decode_content=decode_content) + amt = 10240 + decode_content = True + self = +/usr/lib/python3/dist-packages/urllib3/response.py:1231: in read_chunked + with self._error_catcher(): + amt = 10240 + decode_content = True + self = +/usr/lib/python3.13/contextlib.py:162: in __exit__ + self.gen.throw(value) + self = + traceback = + typ = + value = TimeoutError('The read operation timed out') +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = + + @contextmanager + def _error_catcher(self) -> typing.Generator[None]: + """ + Catch low-level python exceptions, instead re-raising urllib3 + variants, so that low-level exceptions are not leaked in the + high-level api. + + On exit, release the connection back to the pool. + """ + clean_exit = False + + try: + try: + yield + + except SocketTimeout as e: + # FIXME: Ideally we'd like to include the url in the ReadTimeoutError but + # there is yet no clean way to get at it from this context. +> raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type] +E urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='127.0.0.1', port=58715): Read timed out. + +clean_exit = False +self = + +/usr/lib/python3/dist-packages/urllib3/response.py:784: ReadTimeoutError + +During handling of the above exception, another exception occurred: + +thread_exceptions = [], recwarn = WarningsRecorder(record=True) +mocker = +http_request_timeout = 0.1 +tls_http_server = functools.partial(, request=>) +adapter_type = 'pyopenssl', ca = +tls_verify_mode = +tls_certificate = +tls_certificate_chain_pem_path = '/tmp/tmp40c_8rxn.pem' +tls_certificate_private_key_pem_path = '/tmp/tmpx_b_esoo.pem' +tls_ca_certificate_pem_path = '/tmp/tmpnmn_v5d9.pem', use_client_cert = True + + @pytest.mark.parametrize( # noqa: C901 # FIXME + 'adapter_type', + ( + pytest.param( + 'builtin', + marks=pytest.mark.xfail( + IS_MACOS and PY310_PLUS, + reason='Unclosed TLS resource warnings happen on macOS ' + 'under Python 3.10 (#508)', + strict=False, + ), + ), + 'pyopenssl', + ), + ) + @pytest.mark.parametrize( + ('tls_verify_mode', 'use_client_cert'), + ( + (ssl.CERT_NONE, False), + (ssl.CERT_NONE, True), + (ssl.CERT_OPTIONAL, False), + (ssl.CERT_OPTIONAL, True), + (ssl.CERT_REQUIRED, True), + ), + ) + def test_ssl_env( # noqa: C901 # FIXME + thread_exceptions, + recwarn, + mocker, + http_request_timeout, + tls_http_server, adapter_type, + ca, tls_verify_mode, tls_certificate, + tls_certificate_chain_pem_path, + tls_certificate_private_key_pem_path, + tls_ca_certificate_pem_path, + use_client_cert, + ): + """Test the SSL environment generated by the SSL adapters.""" + interface, _host, port = _get_conn_data(ANY_INTERFACE_IPV4) + + with mocker.mock_module.patch( + 'idna.core.ulabel', + return_value=ntob('127.0.0.1'), + ): + client_cert = ca.issue_cert(ntou('127.0.0.1')) + + with client_cert.private_key_and_cert_chain_pem.tempfile() as cl_pem: + tls_adapter_cls = get_ssl_adapter_class(name=adapter_type) + tls_adapter = tls_adapter_cls( + tls_certificate_chain_pem_path, + tls_certificate_private_key_pem_path, + ) + if adapter_type == 'pyopenssl': + tls_adapter.context = tls_adapter.get_context() + tls_adapter.context.set_verify( + _stdlib_to_openssl_verify[tls_verify_mode], + lambda conn, cert, errno, depth, preverify_ok: preverify_ok, + ) + else: + tls_adapter.context.verify_mode = tls_verify_mode + + ca.configure_trust(tls_adapter.context) + tls_certificate.configure_cert(tls_adapter.context) + + tlswsgiserver = tls_http_server((interface, port), tls_adapter) + + interface, _host, port = _get_conn_data(tlswsgiserver.bind_addr) + +> resp = requests.get( + 'https://' + interface + ':' + str(port) + '/env', + timeout=http_request_timeout, + verify=tls_ca_certificate_pem_path, + cert=cl_pem if use_client_cert else None, + ) + +_host = '127.0.0.1' +adapter_type = 'pyopenssl' +ca = +cl_pem = '/tmp/tmp9ziwmhj7.pem' +client_cert = +http_request_timeout = 0.1 +interface = '127.0.0.1' +mocker = +port = 58715 +recwarn = WarningsRecorder(record=True) +thread_exceptions = [] +tls_adapter = +tls_adapter_cls = +tls_ca_certificate_pem_path = '/tmp/tmpnmn_v5d9.pem' +tls_certificate = +tls_certificate_chain_pem_path = '/tmp/tmp40c_8rxn.pem' +tls_certificate_private_key_pem_path = '/tmp/tmpx_b_esoo.pem' +tls_http_server = functools.partial(, request=>) +tls_verify_mode = +tlswsgiserver = +use_client_cert = True + +cheroot/test/test_ssl.py:507: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/requests/api.py:73: in get + return request("get", url, params=params, **kwargs) + kwargs = {'cert': '/tmp/tmp9ziwmhj7.pem', 'timeout': 0.1, 'verify': '/tmp/tmpnmn_v5d9.pem'} + params = None + url = 'https://127.0.0.1:58715/env' +/usr/lib/python3/dist-packages/requests/api.py:59: in request + return session.request(method=method, url=url, **kwargs) + kwargs = {'cert': '/tmp/tmp9ziwmhj7.pem', 'params': None, 'timeout': 0.1, 'verify': '/tmp/tmpnmn_v5d9.pem'} + method = 'get' + session = + url = 'https://127.0.0.1:58715/env' +/usr/lib/python3/dist-packages/requests/sessions.py:589: in request + resp = self.send(prep, **send_kwargs) + allow_redirects = True + auth = None + cert = '/tmp/tmp9ziwmhj7.pem' + cookies = None + data = None + files = None + headers = None + hooks = None + json = None + method = 'get' + params = None + prep = + proxies = {'no': 'localhost'} + req = + self = + send_kwargs = {'allow_redirects': True, 'cert': '/tmp/tmp9ziwmhj7.pem', 'proxies': OrderedDict({'no': 'localhost'}), 'stream': False, ...} + settings = {'cert': '/tmp/tmp9ziwmhj7.pem', 'proxies': OrderedDict({'no': 'localhost'}), 'stream': False, 'verify': '/tmp/tmpnmn_v5d9.pem'} + stream = None + timeout = 0.1 + url = 'https://127.0.0.1:58715/env' + verify = '/tmp/tmpnmn_v5d9.pem' +/usr/lib/python3/dist-packages/requests/sessions.py:746: in send + r.content + adapter = + allow_redirects = True + elapsed = 0.15271782875061035 + gen = + history = [] + hooks = {'response': []} + kwargs = {'cert': '/tmp/tmp9ziwmhj7.pem', 'proxies': OrderedDict({'no': 'localhost'}), 'stream': False, 'timeout': 0.1, ...} + r = + request = + self = + start = 1790552699.37545 + stream = False +/usr/lib/python3/dist-packages/requests/models.py:902: in content + self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b"" + self = +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + def generate(): + # Special case for urllib3. + if hasattr(self.raw, "stream"): + try: + yield from self.raw.stream(chunk_size, decode_content=True) + except ProtocolError as e: + raise ChunkedEncodingError(e) + except DecodeError as e: + raise ContentDecodingError(e) + except ReadTimeoutError as e: +> raise ConnectionError(e) +E requests.exceptions.ConnectionError: HTTPSConnectionPool(host='127.0.0.1', port=58715): Read timed out. + +chunk_size = 10240 +self = + +/usr/lib/python3/dist-packages/requests/models.py:826: ConnectionError +----------------------------- Captured stdout call ----------------------------- +{'ACTUAL_SERVER_PROTOCOL': 'HTTP/1.1', 'PATH_INFO': '/env', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '42672', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/env', 'SCRIPT_NAME': '', 'SERVER_NAME': 'Cheroot/10.0.1', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'Cheroot/10.0.1 Server', 'wsgi.input_terminated': False, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0), 'SERVER_PORT': '58715', 'HTTP_HOST': '127.0.0.1:58715', 'HTTP_USER_AGENT': 'python-requests/2.32.4', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'keep-alive', 'HTTPS': 'on', 'SSL_VERSION_INTERFACE': 'Cheroot/10.0.1 pyOpenSSL/25.1.0 Python/3.13.6 (main, Aug 7 2025, 10:53:54) [GCC 14.2.0]', 'SSL_VERSION_LIBRARY': 'OpenSSL 3.5.2 5 Aug 2025', 'SSL_SERVER_M_VERSION': 2, 'SSL_SERVER_M_SERIAL': 155670821650851915906191974330310731186792263213, 'SSL_SERVER_I_DN': '/O=trustme v1.2.1/OU=Testing CA #AjCzpICsci0QHvQT', 'SSL_SERVER_I_DN_OU': 'Testing CA #AjCzpICsci0QHvQT', 'SSL_SERVER_I_DN_O': 'trustme v1.2.1', 'SSL_SERVER_S_DN': '/O=trustme v1.2.1/OU=Testing cert #m8DyF2MAUP-T2jeH', 'SSL_SERVER_S_DN_OU': 'Testing cert #m8DyF2MAUP-T2jeH', 'SSL_SERVER_S_DN_O': 'trustme v1.2.1'} +----------------------------- Captured stderr call ----------------------------- +SysCallError(32, 'EPIPE') +Traceback (most recent call last): + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1291, in communicate + req.respond() + ~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/server.py", line 1085, in respond + self.conn.wfile.write(b'0\r\n\r\n') + ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 68, in write + res = super().write(val, *args, **kwargs) + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 24, in write + self._flush_unlocked() + ~~~~~~~~~~~~~~~~~~~~^^ + File "/build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/cheroot/makefile.py", line 33, in _flush_unlocked + n = self.raw.write(bytes(self._write_buf)) + File "/usr/lib/python3.13/socket.py", line 737, in write + return self._sock.send(b) + ~~~~~~~~~~~~~~~^^^ + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2235, in send + self._raise_ssl_error(self._ssl, result) + ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/OpenSSL/SSL.py", line 2014, in _raise_ssl_error + raise SysCallError(errno, errorcode.get(errno)) +OpenSSL.SSL.SysCallError: (32, 'EPIPE') +________________________ test_ssl_env[1-True-pyopenssl] ________________________ +[gw0] linux -- Python 3.13.6 /usr/bin/python3.13 + +self = + + @contextmanager + def _error_catcher(self) -> typing.Generator[None]: + """ + Catch low-level python exceptions, instead re-raising urllib3 + variants, so that low-level exceptions are not leaked in the + high-level api. + + On exit, release the connection back to the pool. + """ + clean_exit = False + + try: + try: +> yield + +clean_exit = False +self = + +/usr/lib/python3/dist-packages/urllib3/response.py:779: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/urllib3/response.py:1248: in read_chunked + self._update_chunk_length() + amt = 10240 + decode_content = True + self = +/usr/lib/python3/dist-packages/urllib3/response.py:1167: in _update_chunk_length + line = self._fp.fp.readline() # type: ignore[union-attr] + self = +/usr/lib/python3.13/socket.py:719: in readinto + return self._sock.recv_into(b) + b = + self = +/usr/lib/python3.13/ssl.py:1304: in recv_into + return self.read(nbytes, buffer) + __class__ = + buffer = + flags = 0 + nbytes = 8192 + self = + view = +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = , len = 8192 +buffer = + + def read(self, len=1024, buffer=None): + """Read up to LEN bytes and return them. + Return zero-length string on EOF.""" + + self._checkClosed() + if self._sslobj is None: + raise ValueError("Read on closed or unwrapped SSL socket.") + try: + if buffer is not None: +> return self._sslobj.read(len, buffer) +E TimeoutError: The read operation timed out + +buffer = +len = 8192 +self = + +/usr/lib/python3.13/ssl.py:1138: TimeoutError + +The above exception was the direct cause of the following exception: + + def generate(): + # Special case for urllib3. + if hasattr(self.raw, "stream"): + try: +> yield from self.raw.stream(chunk_size, decode_content=True) + +chunk_size = 10240 +self = + +/usr/lib/python3/dist-packages/requests/models.py:820: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/urllib3/response.py:1088: in stream + yield from self.read_chunked(amt, decode_content=decode_content) + amt = 10240 + decode_content = True + self = +/usr/lib/python3/dist-packages/urllib3/response.py:1231: in read_chunked + with self._error_catcher(): + amt = 10240 + decode_content = True + self = +/usr/lib/python3.13/contextlib.py:162: in __exit__ + self.gen.throw(value) + self = + traceback = + typ = + value = TimeoutError('The read operation timed out') +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = + + @contextmanager + def _error_catcher(self) -> typing.Generator[None]: + """ + Catch low-level python exceptions, instead re-raising urllib3 + variants, so that low-level exceptions are not leaked in the + high-level api. + + On exit, release the connection back to the pool. + """ + clean_exit = False + + try: + try: + yield + + except SocketTimeout as e: + # FIXME: Ideally we'd like to include the url in the ReadTimeoutError but + # there is yet no clean way to get at it from this context. +> raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type] +E urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='127.0.0.1', port=40291): Read timed out. + +clean_exit = False +self = + +/usr/lib/python3/dist-packages/urllib3/response.py:784: ReadTimeoutError + +During handling of the above exception, another exception occurred: + +thread_exceptions = [], recwarn = WarningsRecorder(record=True) +mocker = +http_request_timeout = 0.1 +tls_http_server = functools.partial(, request=>) +adapter_type = 'pyopenssl', ca = +tls_verify_mode = +tls_certificate = +tls_certificate_chain_pem_path = '/tmp/tmpz1aeu2c9.pem' +tls_certificate_private_key_pem_path = '/tmp/tmpo8dpgkxh.pem' +tls_ca_certificate_pem_path = '/tmp/tmp2z3pngck.pem', use_client_cert = True + + @pytest.mark.parametrize( # noqa: C901 # FIXME + 'adapter_type', + ( + pytest.param( + 'builtin', + marks=pytest.mark.xfail( + IS_MACOS and PY310_PLUS, + reason='Unclosed TLS resource warnings happen on macOS ' + 'under Python 3.10 (#508)', + strict=False, + ), + ), + 'pyopenssl', + ), + ) + @pytest.mark.parametrize( + ('tls_verify_mode', 'use_client_cert'), + ( + (ssl.CERT_NONE, False), + (ssl.CERT_NONE, True), + (ssl.CERT_OPTIONAL, False), + (ssl.CERT_OPTIONAL, True), + (ssl.CERT_REQUIRED, True), + ), + ) + def test_ssl_env( # noqa: C901 # FIXME + thread_exceptions, + recwarn, + mocker, + http_request_timeout, + tls_http_server, adapter_type, + ca, tls_verify_mode, tls_certificate, + tls_certificate_chain_pem_path, + tls_certificate_private_key_pem_path, + tls_ca_certificate_pem_path, + use_client_cert, + ): + """Test the SSL environment generated by the SSL adapters.""" + interface, _host, port = _get_conn_data(ANY_INTERFACE_IPV4) + + with mocker.mock_module.patch( + 'idna.core.ulabel', + return_value=ntob('127.0.0.1'), + ): + client_cert = ca.issue_cert(ntou('127.0.0.1')) + + with client_cert.private_key_and_cert_chain_pem.tempfile() as cl_pem: + tls_adapter_cls = get_ssl_adapter_class(name=adapter_type) + tls_adapter = tls_adapter_cls( + tls_certificate_chain_pem_path, + tls_certificate_private_key_pem_path, + ) + if adapter_type == 'pyopenssl': + tls_adapter.context = tls_adapter.get_context() + tls_adapter.context.set_verify( + _stdlib_to_openssl_verify[tls_verify_mode], + lambda conn, cert, errno, depth, preverify_ok: preverify_ok, + ) + else: + tls_adapter.context.verify_mode = tls_verify_mode + + ca.configure_trust(tls_adapter.context) + tls_certificate.configure_cert(tls_adapter.context) + + tlswsgiserver = tls_http_server((interface, port), tls_adapter) + + interface, _host, port = _get_conn_data(tlswsgiserver.bind_addr) + +> resp = requests.get( + 'https://' + interface + ':' + str(port) + '/env', + timeout=http_request_timeout, + verify=tls_ca_certificate_pem_path, + cert=cl_pem if use_client_cert else None, + ) + +_host = '127.0.0.1' +adapter_type = 'pyopenssl' +ca = +cl_pem = '/tmp/tmpos7lf3v9.pem' +client_cert = +http_request_timeout = 0.1 +interface = '127.0.0.1' +mocker = +port = 40291 +recwarn = WarningsRecorder(record=True) +thread_exceptions = [] +tls_adapter = +tls_adapter_cls = +tls_ca_certificate_pem_path = '/tmp/tmp2z3pngck.pem' +tls_certificate = +tls_certificate_chain_pem_path = '/tmp/tmpz1aeu2c9.pem' +tls_certificate_private_key_pem_path = '/tmp/tmpo8dpgkxh.pem' +tls_http_server = functools.partial(, request=>) +tls_verify_mode = +tlswsgiserver = +use_client_cert = True + +cheroot/test/test_ssl.py:507: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/requests/api.py:73: in get + return request("get", url, params=params, **kwargs) + kwargs = {'cert': '/tmp/tmpos7lf3v9.pem', 'timeout': 0.1, 'verify': '/tmp/tmp2z3pngck.pem'} + params = None + url = 'https://127.0.0.1:40291/env' +/usr/lib/python3/dist-packages/requests/api.py:59: in request + return session.request(method=method, url=url, **kwargs) + kwargs = {'cert': '/tmp/tmpos7lf3v9.pem', 'params': None, 'timeout': 0.1, 'verify': '/tmp/tmp2z3pngck.pem'} + method = 'get' + session = + url = 'https://127.0.0.1:40291/env' +/usr/lib/python3/dist-packages/requests/sessions.py:589: in request + resp = self.send(prep, **send_kwargs) + allow_redirects = True + auth = None + cert = '/tmp/tmpos7lf3v9.pem' + cookies = None + data = None + files = None + headers = None + hooks = None + json = None + method = 'get' + params = None + prep = + proxies = {'no': 'localhost'} + req = + self = + send_kwargs = {'allow_redirects': True, 'cert': '/tmp/tmpos7lf3v9.pem', 'proxies': OrderedDict({'no': 'localhost'}), 'stream': False, ...} + settings = {'cert': '/tmp/tmpos7lf3v9.pem', 'proxies': OrderedDict({'no': 'localhost'}), 'stream': False, 'verify': '/tmp/tmp2z3pngck.pem'} + stream = None + timeout = 0.1 + url = 'https://127.0.0.1:40291/env' + verify = '/tmp/tmp2z3pngck.pem' +/usr/lib/python3/dist-packages/requests/sessions.py:746: in send + r.content + adapter = + allow_redirects = True + elapsed = 0.041597604751586914 + gen = + history = [] + hooks = {'response': []} + kwargs = {'cert': '/tmp/tmpos7lf3v9.pem', 'proxies': OrderedDict({'no': 'localhost'}), 'stream': False, 'timeout': 0.1, ...} + r = + request = + self = + start = 1790552702.063604 + stream = False +/usr/lib/python3/dist-packages/requests/models.py:902: in content + self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b"" + self = +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + def generate(): + # Special case for urllib3. + if hasattr(self.raw, "stream"): + try: + yield from self.raw.stream(chunk_size, decode_content=True) + except ProtocolError as e: + raise ChunkedEncodingError(e) + except DecodeError as e: + raise ContentDecodingError(e) + except ReadTimeoutError as e: +> raise ConnectionError(e) +E requests.exceptions.ConnectionError: HTTPSConnectionPool(host='127.0.0.1', port=40291): Read timed out. + +chunk_size = 10240 +self = + +/usr/lib/python3/dist-packages/requests/models.py:826: ConnectionError +----------------------------- Captured stdout call ----------------------------- +{'ACTUAL_SERVER_PROTOCOL': 'HTTP/1.1', 'PATH_INFO': '/env', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '34824', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/env', 'SCRIPT_NAME': '', 'SERVER_NAME': 'Cheroot/10.0.1', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'Cheroot/10.0.1 Server', 'wsgi.input_terminated': False, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0), 'SERVER_PORT': '40291', 'HTTP_HOST': '127.0.0.1:40291', 'HTTP_USER_AGENT': 'python-requests/2.32.4', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'keep-alive', 'HTTPS': 'on', 'SSL_VERSION_INTERFACE': 'Cheroot/10.0.1 pyOpenSSL/25.1.0 Python/3.13.6 (main, Aug 7 2025, 10:53:54) [GCC 14.2.0]', 'SSL_VERSION_LIBRARY': 'OpenSSL 3.5.2 5 Aug 2025', 'SSL_SERVER_M_VERSION': 2, 'SSL_SERVER_M_SERIAL': 162731826021548157618318796088299607085352019861, 'SSL_SERVER_I_DN': '/O=trustme v1.2.1/OU=Testing CA #JYvyPzAPMHLLB2F9', 'SSL_SERVER_I_DN_OU': 'Testing CA #JYvyPzAPMHLLB2F9', 'SSL_SERVER_I_DN_O': 'trustme v1.2.1', 'SSL_SERVER_S_DN': '/O=trustme v1.2.1/OU=Testing cert #WKbl1xT__Ql0cYkv', 'SSL_SERVER_S_DN_OU': 'Testing cert #WKbl1xT__Ql0cYkv', 'SSL_SERVER_S_DN_O': 'trustme v1.2.1'} +_______________________ test_ssl_env[1-False-pyopenssl] ________________________ +[gw1] linux -- Python 3.13.6 /usr/bin/python3.13 + +self = + + @contextmanager + def _error_catcher(self) -> typing.Generator[None]: + """ + Catch low-level python exceptions, instead re-raising urllib3 + variants, so that low-level exceptions are not leaked in the + high-level api. + + On exit, release the connection back to the pool. + """ + clean_exit = False + + try: + try: +> yield + +clean_exit = False +self = + +/usr/lib/python3/dist-packages/urllib3/response.py:779: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/urllib3/response.py:1248: in read_chunked + self._update_chunk_length() + amt = 10240 + decode_content = True + self = +/usr/lib/python3/dist-packages/urllib3/response.py:1167: in _update_chunk_length + line = self._fp.fp.readline() # type: ignore[union-attr] + self = +/usr/lib/python3.13/socket.py:719: in readinto + return self._sock.recv_into(b) + b = + self = +/usr/lib/python3.13/ssl.py:1304: in recv_into + return self.read(nbytes, buffer) + __class__ = + buffer = + flags = 0 + nbytes = 8192 + self = + view = +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = , len = 8192 +buffer = + + def read(self, len=1024, buffer=None): + """Read up to LEN bytes and return them. + Return zero-length string on EOF.""" + + self._checkClosed() + if self._sslobj is None: + raise ValueError("Read on closed or unwrapped SSL socket.") + try: + if buffer is not None: +> return self._sslobj.read(len, buffer) +E TimeoutError: The read operation timed out + +buffer = +len = 8192 +self = + +/usr/lib/python3.13/ssl.py:1138: TimeoutError + +The above exception was the direct cause of the following exception: + + def generate(): + # Special case for urllib3. + if hasattr(self.raw, "stream"): + try: +> yield from self.raw.stream(chunk_size, decode_content=True) + +chunk_size = 10240 +self = + +/usr/lib/python3/dist-packages/requests/models.py:820: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/urllib3/response.py:1088: in stream + yield from self.read_chunked(amt, decode_content=decode_content) + amt = 10240 + decode_content = True + self = +/usr/lib/python3/dist-packages/urllib3/response.py:1231: in read_chunked + with self._error_catcher(): + amt = 10240 + decode_content = True + self = +/usr/lib/python3.13/contextlib.py:162: in __exit__ + self.gen.throw(value) + self = + traceback = + typ = + value = TimeoutError('The read operation timed out') +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + +self = + + @contextmanager + def _error_catcher(self) -> typing.Generator[None]: + """ + Catch low-level python exceptions, instead re-raising urllib3 + variants, so that low-level exceptions are not leaked in the + high-level api. + + On exit, release the connection back to the pool. + """ + clean_exit = False + + try: + try: + yield + + except SocketTimeout as e: + # FIXME: Ideally we'd like to include the url in the ReadTimeoutError but + # there is yet no clean way to get at it from this context. +> raise ReadTimeoutError(self._pool, None, "Read timed out.") from e # type: ignore[arg-type] +E urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='127.0.0.1', port=54041): Read timed out. + +clean_exit = False +self = + +/usr/lib/python3/dist-packages/urllib3/response.py:784: ReadTimeoutError + +During handling of the above exception, another exception occurred: + +thread_exceptions = [], recwarn = WarningsRecorder(record=True) +mocker = +http_request_timeout = 0.1 +tls_http_server = functools.partial(, request=>) +adapter_type = 'pyopenssl', ca = +tls_verify_mode = +tls_certificate = +tls_certificate_chain_pem_path = '/tmp/tmp0grb_t5t.pem' +tls_certificate_private_key_pem_path = '/tmp/tmpo1wun40m.pem' +tls_ca_certificate_pem_path = '/tmp/tmpl17fxv6b.pem', use_client_cert = False + + @pytest.mark.parametrize( # noqa: C901 # FIXME + 'adapter_type', + ( + pytest.param( + 'builtin', + marks=pytest.mark.xfail( + IS_MACOS and PY310_PLUS, + reason='Unclosed TLS resource warnings happen on macOS ' + 'under Python 3.10 (#508)', + strict=False, + ), + ), + 'pyopenssl', + ), + ) + @pytest.mark.parametrize( + ('tls_verify_mode', 'use_client_cert'), + ( + (ssl.CERT_NONE, False), + (ssl.CERT_NONE, True), + (ssl.CERT_OPTIONAL, False), + (ssl.CERT_OPTIONAL, True), + (ssl.CERT_REQUIRED, True), + ), + ) + def test_ssl_env( # noqa: C901 # FIXME + thread_exceptions, + recwarn, + mocker, + http_request_timeout, + tls_http_server, adapter_type, + ca, tls_verify_mode, tls_certificate, + tls_certificate_chain_pem_path, + tls_certificate_private_key_pem_path, + tls_ca_certificate_pem_path, + use_client_cert, + ): + """Test the SSL environment generated by the SSL adapters.""" + interface, _host, port = _get_conn_data(ANY_INTERFACE_IPV4) + + with mocker.mock_module.patch( + 'idna.core.ulabel', + return_value=ntob('127.0.0.1'), + ): + client_cert = ca.issue_cert(ntou('127.0.0.1')) + + with client_cert.private_key_and_cert_chain_pem.tempfile() as cl_pem: + tls_adapter_cls = get_ssl_adapter_class(name=adapter_type) + tls_adapter = tls_adapter_cls( + tls_certificate_chain_pem_path, + tls_certificate_private_key_pem_path, + ) + if adapter_type == 'pyopenssl': + tls_adapter.context = tls_adapter.get_context() + tls_adapter.context.set_verify( + _stdlib_to_openssl_verify[tls_verify_mode], + lambda conn, cert, errno, depth, preverify_ok: preverify_ok, + ) + else: + tls_adapter.context.verify_mode = tls_verify_mode + + ca.configure_trust(tls_adapter.context) + tls_certificate.configure_cert(tls_adapter.context) + + tlswsgiserver = tls_http_server((interface, port), tls_adapter) + + interface, _host, port = _get_conn_data(tlswsgiserver.bind_addr) + +> resp = requests.get( + 'https://' + interface + ':' + str(port) + '/env', + timeout=http_request_timeout, + verify=tls_ca_certificate_pem_path, + cert=cl_pem if use_client_cert else None, + ) + +_host = '127.0.0.1' +adapter_type = 'pyopenssl' +ca = +cl_pem = '/tmp/tmpr3_mbzo9.pem' +client_cert = +http_request_timeout = 0.1 +interface = '127.0.0.1' +mocker = +port = 54041 +recwarn = WarningsRecorder(record=True) +thread_exceptions = [] +tls_adapter = +tls_adapter_cls = +tls_ca_certificate_pem_path = '/tmp/tmpl17fxv6b.pem' +tls_certificate = +tls_certificate_chain_pem_path = '/tmp/tmp0grb_t5t.pem' +tls_certificate_private_key_pem_path = '/tmp/tmpo1wun40m.pem' +tls_http_server = functools.partial(, request=>) +tls_verify_mode = +tlswsgiserver = +use_client_cert = False + +cheroot/test/test_ssl.py:507: +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ +/usr/lib/python3/dist-packages/requests/api.py:73: in get + return request("get", url, params=params, **kwargs) + kwargs = {'cert': None, 'timeout': 0.1, 'verify': '/tmp/tmpl17fxv6b.pem'} + params = None + url = 'https://127.0.0.1:54041/env' +/usr/lib/python3/dist-packages/requests/api.py:59: in request + return session.request(method=method, url=url, **kwargs) + kwargs = {'cert': None, 'params': None, 'timeout': 0.1, 'verify': '/tmp/tmpl17fxv6b.pem'} + method = 'get' + session = + url = 'https://127.0.0.1:54041/env' +/usr/lib/python3/dist-packages/requests/sessions.py:589: in request + resp = self.send(prep, **send_kwargs) + allow_redirects = True + auth = None + cert = None + cookies = None + data = None + files = None + headers = None + hooks = None + json = None + method = 'get' + params = None + prep = + proxies = {'no': 'localhost'} + req = + self = + send_kwargs = {'allow_redirects': True, 'cert': None, 'proxies': OrderedDict({'no': 'localhost'}), 'stream': False, ...} + settings = {'cert': None, 'proxies': OrderedDict({'no': 'localhost'}), 'stream': False, 'verify': '/tmp/tmpl17fxv6b.pem'} + stream = None + timeout = 0.1 + url = 'https://127.0.0.1:54041/env' + verify = '/tmp/tmpl17fxv6b.pem' +/usr/lib/python3/dist-packages/requests/sessions.py:746: in send + r.content + adapter = + allow_redirects = True + elapsed = 0.06118059158325195 + gen = + history = [] + hooks = {'response': []} + kwargs = {'cert': None, 'proxies': OrderedDict({'no': 'localhost'}), 'stream': False, 'timeout': 0.1, ...} + r = + request = + self = + start = 1790552702.0531964 + stream = False +/usr/lib/python3/dist-packages/requests/models.py:902: in content + self._content = b"".join(self.iter_content(CONTENT_CHUNK_SIZE)) or b"" + self = +_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ + + def generate(): + # Special case for urllib3. + if hasattr(self.raw, "stream"): + try: + yield from self.raw.stream(chunk_size, decode_content=True) + except ProtocolError as e: + raise ChunkedEncodingError(e) + except DecodeError as e: + raise ContentDecodingError(e) + except ReadTimeoutError as e: +> raise ConnectionError(e) +E requests.exceptions.ConnectionError: HTTPSConnectionPool(host='127.0.0.1', port=54041): Read timed out. + +chunk_size = 10240 +self = + +/usr/lib/python3/dist-packages/requests/models.py:826: ConnectionError +----------------------------- Captured stdout call ----------------------------- +{'ACTUAL_SERVER_PROTOCOL': 'HTTP/1.1', 'PATH_INFO': '/env', 'QUERY_STRING': '', 'REMOTE_ADDR': '127.0.0.1', 'REMOTE_PORT': '55222', 'REQUEST_METHOD': 'GET', 'REQUEST_URI': '/env', 'SCRIPT_NAME': '', 'SERVER_NAME': 'Cheroot/10.0.1', 'SERVER_PROTOCOL': 'HTTP/1.1', 'SERVER_SOFTWARE': 'Cheroot/10.0.1 Server', 'wsgi.input_terminated': False, 'wsgi.multiprocess': False, 'wsgi.multithread': True, 'wsgi.run_once': False, 'wsgi.url_scheme': 'https', 'wsgi.version': (1, 0), 'SERVER_PORT': '54041', 'HTTP_HOST': '127.0.0.1:54041', 'HTTP_USER_AGENT': 'python-requests/2.32.4', 'HTTP_ACCEPT_ENCODING': 'gzip, deflate', 'HTTP_ACCEPT': '*/*', 'HTTP_CONNECTION': 'keep-alive', 'HTTPS': 'on', 'SSL_VERSION_INTERFACE': 'Cheroot/10.0.1 pyOpenSSL/25.1.0 Python/3.13.6 (main, Aug 7 2025, 10:53:54) [GCC 14.2.0]', 'SSL_VERSION_LIBRARY': 'OpenSSL 3.5.2 5 Aug 2025', 'SSL_SERVER_M_VERSION': 2, 'SSL_SERVER_M_SERIAL': 311571406766053110174865195153763949059760967010, 'SSL_SERVER_I_DN': '/O=trustme v1.2.1/OU=Testing CA #78_o6SwdlZzHWMwK', 'SSL_SERVER_I_DN_OU': 'Testing CA #78_o6SwdlZzHWMwK', 'SSL_SERVER_I_DN_O': 'trustme v1.2.1', 'SSL_SERVER_S_DN': '/O=trustme v1.2.1/OU=Testing cert #OigTdANSqeP1Vaaf', 'SSL_SERVER_S_DN_OU': 'Testing cert #OigTdANSqeP1Vaaf', 'SSL_SERVER_S_DN_O': 'trustme v1.2.1'} +--------------------------- Captured stdout teardown --------------------------- - generated xml file: /build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/.test-results/pytest/test.xml - @@ -1383,72 +3048,58 @@ cheroot/test/_pytest_plugin.py 6 4 33% 7-13, 16 cheroot/test/conftest.py 54 4 93% 29, 32, 55-56 cheroot/test/helper.py 99 42 58% 42-70, 75-76, 81-83, 88-91, 97-105, 135, 150-151, 166 -cheroot/test/test_conn.py 719 31 96% 55, 97, 176, 306-311, 1049-1053, 1077-1080, 1083, 1177, 1351-1364, 1477-1479 +cheroot/test/test_conn.py 719 38 95% 55, 97, 176, 306-311, 569-578, 848, 1049-1053, 1077-1080, 1083, 1177, 1351-1364, 1477-1479 cheroot/test/test_core.py 220 7 97% 32, 296-298, 403-406, 439 cheroot/test/test_makefile.py 30 4 87% 24-27 cheroot/test/test_server.py 242 8 97% 54, 238, 265, 307, 415, 447, 475-476 cheroot/test/test_ssl.py 251 30 88% 89, 153-156, 338, 354, 358, 364-368, 378, 430, 551, 553-569, 574, 590-603, 637, 687, 691 cheroot/test/webtest.py 306 176 42% 54-57, 62-64, 72-79, 94-96, 125-126, 130-134, 145-150, 159, 163, 171, 198-228, 238-246, 251-296, 301, 305-310, 318-323, 327-338, 342-351, 355-362, 366-371, 375-381, 385-392, 396-401, 405-410, 414-419, 439, 451-454, 478, 502-505, 509, 518, 524, 579-588 cheroot/testing.py 88 9 90% 46-47, 147-149, 153, 165-167 -cheroot/workers/threadpool.py 176 38 78% 26, 29, 163, 218-222, 305-310, 320, 336-352, 363-364, 394-395, 400-411, 426 +cheroot/workers/threadpool.py 176 37 79% 26, 29, 163, 218-222, 305-310, 336-352, 363-364, 394-395, 400-411, 426 cheroot/wsgi.py 144 33 77% 88, 92, 140, 163-164, 170, 174, 194, 271-282, 325-342, 396-402 -------------------------------------------------------------- -TOTAL 4193 748 82% +TOTAL 4193 754 82% 8 files skipped due to complete coverage. Coverage XML written to file .test-results/pytest/cov.xml ============================= slowest 10 durations ============================= -4.01s call cheroot/test/test_conn.py::test_HTTP11_Timeout_after_request -3.61s call cheroot/test/test_conn.py::test_keepalive_conn_management -3.50s call cheroot/test/test_wsgi.py::test_connection_keepalive -2.06s call cheroot/test/test_conn.py::test_HTTP11_Timeout[True] -2.00s call cheroot/test/test_conn.py::test_HTTP11_Timeout[False] -1.03s call cheroot/test/test_conn.py::test_invalid_selected_connection -0.76s call cheroot/test/test_conn.py::test_remains_alive_post_unhandled_exception -0.69s teardown cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(ECONNRESET)] -0.62s call cheroot/test/test_conn.py::test_unhandled_exception_in_request_handler -0.62s setup cheroot/test/test_conn.py::test_kb_int_from_http_handler +8.72s call cheroot/test/test_conn.py::test_keepalive_conn_management +7.49s call cheroot/test/test_wsgi.py::test_connection_keepalive +4.51s teardown cheroot/test/test_core.py::test_parse_uri_unsafe_uri +4.43s teardown cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[BrokenPipeError(ESHUTDOWN)] +4.02s call cheroot/test/test_conn.py::test_HTTP11_Timeout_after_request +3.06s teardown cheroot/test/test_conn.py::test_HTTP11_persistent_connections +3.02s teardown cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(EPIPE)] +2.98s teardown cheroot/test/test_core.py::test_malformed_request_line[GET / HTTPS/1.1-400-Malformed Request-Line: bad protocol] +2.95s teardown cheroot/test/test_conn.py::test_No_CRLF[\r\n\n] +2.72s call cheroot/test/test_ssl.py::test_ssl_env[0-False-builtin] =========================== short test summary info ============================ XFAIL cheroot/test/test_core.py::test_large_request - https://github.com/cherrypy/cheroot/issues/106 XFAIL cheroot/test/test_conn.py::test_Chunked_Encoding - Headers from earlier request leak into the request line for a subsequent request, resulting in 400 instead of 413. See cherrypy/cheroot#69 for details. XFAIL cheroot/test/test_conn.py::test_598 - Sometimes this test fails due to low timeout. Ref: https://github.com/cherrypy/cherrypy/issues/598 -======================= 181 passed, 3 xfailed in 37.66s ======================== -I: pybuild pybuild:334: rm -Rf /build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/.test-results /build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build/.coverage - create-stamp debian/debhelper-build-stamp - dh_testroot -O--buildsystem=pybuild -O--max-parallel=3 - dh_prep -O--buildsystem=pybuild -O--max-parallel=3 - dh_auto_install --destdir=debian/python3-cheroot/ -O--buildsystem=pybuild -O--max-parallel=3 -I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir - dh_installdocs -O--buildsystem=pybuild -O--max-parallel=3 - dh_installchangelogs -O--buildsystem=pybuild -O--max-parallel=3 - dh_python3 -O--buildsystem=pybuild -O--max-parallel=3 -I: dh_python3 tools:114: replacing shebang in debian/python3-cheroot/usr/bin/cheroot - dh_installsystemduser -O--buildsystem=pybuild -O--max-parallel=3 - dh_perl -O--buildsystem=pybuild -O--max-parallel=3 - dh_link -O--buildsystem=pybuild -O--max-parallel=3 - dh_strip_nondeterminism -O--buildsystem=pybuild -O--max-parallel=3 - dh_compress -O--buildsystem=pybuild -O--max-parallel=3 - dh_fixperms -O--buildsystem=pybuild -O--max-parallel=3 - dh_missing -O--buildsystem=pybuild -O--max-parallel=3 - dh_installdeb -O--buildsystem=pybuild -O--max-parallel=3 - dh_gencontrol -O--buildsystem=pybuild -O--max-parallel=3 - dh_md5sums -O--buildsystem=pybuild -O--max-parallel=3 - dh_builddeb -O--buildsystem=pybuild -O--max-parallel=3 -dpkg-deb: building package 'python3-cheroot' in '../python3-cheroot_10.0.1+ds1-4_all.deb'. - dpkg-genbuildinfo --build=binary -O../python-cheroot_10.0.1+ds1-4_amd64.buildinfo - dpkg-genchanges --build=binary -O../python-cheroot_10.0.1+ds1-4_amd64.changes -dpkg-genchanges: info: binary-only upload (no source code included) - dpkg-source --after-build . -dpkg-buildpackage: info: binary-only upload (no source included) -dpkg-genchanges: info: not including original source code in upload +FAILED cheroot/test/test_conn.py::test_keepalive_conn_management - AssertionE... +FAILED cheroot/test/test_ssl.py::test_ssl_env[0-False-pyopenssl] - requests.e... +FAILED cheroot/test/test_ssl.py::test_ssl_env[0-True-pyopenssl] - requests.ex... +FAILED cheroot/test/test_ssl.py::test_ssl_env[1-True-pyopenssl] - requests.ex... +FAILED cheroot/test/test_ssl.py::test_ssl_env[1-False-pyopenssl] - requests.e... +========= 5 failed, 176 passed, 3 xfailed, 2 rerun in 72.44s (0:01:12) ========= +E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/python-cheroot-10.0.1+ds1/.pybuild/cpython3_3.13_cheroot/build; python3.13 -m pytest -k "not (test_https_over_http_error)" -n3 --pyargs cheroot.test +dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.13 returned exit code 13 +make: *** [debian/rules:20: binary] Error 25 +dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 I: copying local configuration +E: Failed autobuilding of package +I: user script /srv/workspace/pbuilder/2365736/tmp/hooks/C01_cleanup starting +debug output: disk usage on i-capture-the-hostname at Sun Sep 27 23:45:17 UTC 2026 +Filesystem Size Used Avail Use% Mounted on +tmpfs 40G 0 40G 0% /dev/shm + +I: user script /srv/workspace/pbuilder/2365736/tmp/hooks/C01_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/1837802 and its subdirectories -I: Current time: Mon Aug 25 05:17:25 -12 2025 -I: pbuilder-time-stamp: 1756142245 +I: removing directory /srv/workspace/pbuilder/2365736 and its subdirectories