Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 897553 Details for
Bug 936015
dev-python/cheroot-10.0.1 fails tests: "requests.exceptions.InvalidURL: Not supported URL scheme http+unix"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python:cheroot-10.0.1:20240713-202507.log
dev-python:cheroot-10.0.1:20240713-202507.log (text/plain; charset=utf-8), 158.71 KB, created by
Jonathan Lovelace
on 2024-07-13 21:51:26 UTC
(
hide
)
Description:
dev-python:cheroot-10.0.1:20240713-202507.log
Filename:
MIME Type:
Creator:
Jonathan Lovelace
Created:
2024-07-13 21:51:26 UTC
Size:
158.71 KB
patch
obsolete
>[32m * [39;49;00mPackage: dev-python/cheroot-10.0.1:0 >[32m * [39;49;00mRepository: gentoo >[32m * [39;49;00mMaintainer: python@gentoo.org >[32m * [39;49;00mUSE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_12 test test-rust >[32m * [39;49;00mFEATURES: distcc fakeroot network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking cheroot-10.0.1.tar.gz to /var/tmp/portage/dev-python/cheroot-10.0.1/work >>>> Source unpacked in /var/tmp/portage/dev-python/cheroot-10.0.1/work >>>> Preparing source in /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1 ... > [32m*[0m Build system packages: > [32m*[0m dev-python/gpep517 : 16 > [32m*[0m dev-python/installer : 0.7.0 > [32m*[0m dev-python/setuptools : 70.0.0 > [32m*[0m dev-python/setuptools-rust : 1.9.0 > [32m*[0m dev-python/setuptools-scm : 8.1.0 > [32m*[0m dev-python/wheel : 0.43.0 >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1 ... > [32m*[0m python3_12: running distutils-r1_run_phase distutils-r1_python_compile > [32m*[0m Building the wheel for cheroot-10.0.1 via setuptools.build_meta >python3.12 -m gpep517 build-wheel --prefix=/usr --backend setuptools.build_meta --output-fd 3 --wheel-dir /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/wheel >2024-07-13 16:25:39,776 gpep517 INFO Building wheel via backend setuptools.build_meta >/usr/lib/python3.12/site-packages/setuptools_scm/git.py:312: UserWarning: git archive did not support describe output > warnings.warn("git archive did not support describe output") >/usr/lib/python3.12/site-packages/setuptools_scm/git.py:331: UserWarning: unprocessed git archival found (no export subst applied) > warnings.warn("unprocessed git archival found (no export subst applied)") >2024-07-13 16:25:46,114 root INFO running bdist_wheel >2024-07-13 16:25:49,342 root INFO running build >2024-07-13 16:25:49,343 root INFO running build_py >2024-07-13 16:25:49,949 root INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build >2024-07-13 16:25:49,950 root INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib >2024-07-13 16:25:49,951 root INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:49,952 root INFO copying cheroot/cli.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:49,954 root INFO copying cheroot/__init__.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:49,956 root INFO copying cheroot/__main__.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:49,961 root INFO copying cheroot/wsgi.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:49,963 root INFO copying cheroot/connections.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:49,967 root INFO copying cheroot/makefile.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:49,971 root INFO copying cheroot/errors.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:49,973 root INFO copying cheroot/_compat.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:49,978 root INFO copying cheroot/testing.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:49,980 root INFO copying cheroot/server.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:49,985 root INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/workers >2024-07-13 16:25:49,989 root INFO copying cheroot/workers/threadpool.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/workers >2024-07-13 16:25:49,992 root INFO copying cheroot/workers/__init__.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/workers >2024-07-13 16:25:49,995 root INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:49,998 root INFO copying cheroot/test/conftest.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,000 root INFO copying cheroot/test/test_server.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,004 root INFO copying cheroot/test/__init__.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,006 root INFO copying cheroot/test/test_dispatch.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,008 root INFO copying cheroot/test/test_ssl.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,015 root INFO copying cheroot/test/helper.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,019 root INFO copying cheroot/test/test_core.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,021 root INFO copying cheroot/test/test__compat.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,025 root INFO copying cheroot/test/test_errors.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,027 root INFO copying cheroot/test/test_cli.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,032 root INFO copying cheroot/test/test_makefile.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,034 root INFO copying cheroot/test/test_wsgi.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,038 root INFO copying cheroot/test/webtest.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,043 root INFO copying cheroot/test/_pytest_plugin.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,045 root INFO copying cheroot/test/test_conn.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test >2024-07-13 16:25:50,048 root INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl >2024-07-13 16:25:50,057 root INFO copying cheroot/ssl/pyopenssl.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl >2024-07-13 16:25:50,059 root INFO copying cheroot/ssl/__init__.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl >2024-07-13 16:25:50,061 root INFO copying cheroot/ssl/builtin.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl >2024-07-13 16:25:50,063 root INFO running egg_info >2024-07-13 16:25:50,698 root INFO writing cheroot.egg-info/PKG-INFO >2024-07-13 16:25:50,716 root INFO writing dependency_links to cheroot.egg-info/dependency_links.txt >2024-07-13 16:25:50,720 root INFO writing entry points to cheroot.egg-info/entry_points.txt >2024-07-13 16:25:50,732 root INFO writing requirements to cheroot.egg-info/requires.txt >2024-07-13 16:25:50,735 root INFO writing top-level names to cheroot.egg-info/top_level.txt >[07/13/24 16:25:54] ERROR listing git files failed - pretending there aren't any git.py:26 >2024-07-13 16:25:56,076 root INFO reading manifest file 'cheroot.egg-info/SOURCES.txt' >2024-07-13 16:25:56,100 root INFO adding license file 'LICENSE.md' >2024-07-13 16:25:56,133 root INFO writing manifest file 'cheroot.egg-info/SOURCES.txt' >2024-07-13 16:25:56,164 root INFO copying cheroot/__init__.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:56,170 root INFO copying cheroot/_compat.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:56,178 root INFO copying cheroot/cli.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:56,183 root INFO copying cheroot/connections.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:56,191 root INFO copying cheroot/errors.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:56,197 root INFO copying cheroot/makefile.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:56,203 root INFO copying cheroot/py.typed -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:56,209 root INFO copying cheroot/server.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:56,212 root INFO copying cheroot/testing.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:56,220 root INFO copying cheroot/wsgi.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot >2024-07-13 16:25:56,226 root INFO copying cheroot/workers/__init__.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/workers >2024-07-13 16:25:56,235 root INFO copying cheroot/workers/threadpool.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/workers >2024-07-13 16:25:56,240 root INFO copying cheroot/ssl/__init__.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl >2024-07-13 16:25:56,247 root INFO copying cheroot/ssl/builtin.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl >2024-07-13 16:25:56,251 root INFO copying cheroot/ssl/pyopenssl.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl >2024-07-13 16:25:56,263 root WARNING warning: build_py: byte-compiling is disabled, skipping. > >2024-07-13 16:25:57,527 wheel INFO installing to /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel >2024-07-13 16:25:57,527 root INFO running install >2024-07-13 16:25:57,637 root INFO running install_lib >2024-07-13 16:25:58,226 root INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64 >2024-07-13 16:25:58,228 root INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel >2024-07-13 16:25:58,230 root INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,231 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/cli.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,233 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/cli.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,237 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/wsgi.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,241 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/__init__.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,244 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/makefile.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,247 root INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/workers >2024-07-13 16:25:58,248 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/workers/threadpool.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/workers >2024-07-13 16:25:58,252 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/workers/threadpool.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/workers >2024-07-13 16:25:58,254 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/workers/__init__.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/workers >2024-07-13 16:25:58,259 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/workers/__init__.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/workers >2024-07-13 16:25:58,264 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/__main__.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,266 root INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,270 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/conftest.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,274 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/test_server.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,278 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/__init__.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,282 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/test_dispatch.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,286 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/test_ssl.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,290 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/helper.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,297 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/test_core.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,302 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/test__compat.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,305 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/test_errors.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,312 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/test_cli.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,314 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/test_makefile.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,318 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/test_wsgi.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,323 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/webtest.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,326 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/_pytest_plugin.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,330 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/test/test_conn.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/test >2024-07-13 16:25:58,337 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/wsgi.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,341 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/connections.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,346 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/makefile.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,349 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/errors.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,353 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/connections.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,358 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/__init__.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,360 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/_compat.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,364 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/errors.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,367 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/_compat.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,372 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/testing.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,374 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/testing.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,379 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/py.typed -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,383 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/server.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,388 root INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/ssl >2024-07-13 16:25:58,391 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl/pyopenssl.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/ssl >2024-07-13 16:25:58,393 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl/__init__.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/ssl >2024-07-13 16:25:58,400 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl/__init__.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/ssl >2024-07-13 16:25:58,403 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl/pyopenssl.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/ssl >2024-07-13 16:25:58,407 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl/builtin.py -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/ssl >2024-07-13 16:25:58,412 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/ssl/builtin.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot/ssl >2024-07-13 16:25:58,415 root INFO copying /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/lib/cheroot/server.pyi -> /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot >2024-07-13 16:25:58,417 root WARNING warning: install_lib: byte-compiling is disabled, skipping. > >2024-07-13 16:25:58,417 root INFO running install_egg_info >2024-07-13 16:25:59,092 root INFO Copying cheroot.egg-info to /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot-10.0.1-py3.12.egg-info >2024-07-13 16:25:59,113 root INFO running install_scripts >2024-07-13 16:25:59,153 wheel INFO creating /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel/cheroot-10.0.1.dist-info/WHEEL >2024-07-13 16:25:59,157 wheel INFO creating '/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/wheel/.tmp-i0h4svuu/cheroot-10.0.1-py3-none-any.whl' and adding '/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel' to it >2024-07-13 16:25:59,165 wheel INFO adding 'cheroot/__init__.py' >2024-07-13 16:25:59,167 wheel INFO adding 'cheroot/__init__.pyi' >2024-07-13 16:25:59,168 wheel INFO adding 'cheroot/__main__.py' >2024-07-13 16:25:59,170 wheel INFO adding 'cheroot/_compat.py' >2024-07-13 16:25:59,171 wheel INFO adding 'cheroot/_compat.pyi' >2024-07-13 16:25:59,173 wheel INFO adding 'cheroot/cli.py' >2024-07-13 16:25:59,178 wheel INFO adding 'cheroot/cli.pyi' >2024-07-13 16:25:59,179 wheel INFO adding 'cheroot/connections.py' >2024-07-13 16:25:59,181 wheel INFO adding 'cheroot/connections.pyi' >2024-07-13 16:25:59,188 wheel INFO adding 'cheroot/errors.py' >2024-07-13 16:25:59,189 wheel INFO adding 'cheroot/errors.pyi' >2024-07-13 16:25:59,191 wheel INFO adding 'cheroot/makefile.py' >2024-07-13 16:25:59,193 wheel INFO adding 'cheroot/makefile.pyi' >2024-07-13 16:25:59,194 wheel INFO adding 'cheroot/py.typed' >2024-07-13 16:25:59,201 wheel INFO adding 'cheroot/server.py' >2024-07-13 16:25:59,204 wheel INFO adding 'cheroot/server.pyi' >2024-07-13 16:25:59,206 wheel INFO adding 'cheroot/testing.py' >2024-07-13 16:25:59,208 wheel INFO adding 'cheroot/testing.pyi' >2024-07-13 16:25:59,214 wheel INFO adding 'cheroot/wsgi.py' >2024-07-13 16:25:59,216 wheel INFO adding 'cheroot/wsgi.pyi' >2024-07-13 16:25:59,218 wheel INFO adding 'cheroot/ssl/__init__.py' >2024-07-13 16:25:59,220 wheel INFO adding 'cheroot/ssl/__init__.pyi' >2024-07-13 16:25:59,222 wheel INFO adding 'cheroot/ssl/builtin.py' >2024-07-13 16:25:59,228 wheel INFO adding 'cheroot/ssl/builtin.pyi' >2024-07-13 16:25:59,230 wheel INFO adding 'cheroot/ssl/pyopenssl.py' >2024-07-13 16:25:59,232 wheel INFO adding 'cheroot/ssl/pyopenssl.pyi' >2024-07-13 16:25:59,235 wheel INFO adding 'cheroot/test/__init__.py' >2024-07-13 16:25:59,236 wheel INFO adding 'cheroot/test/_pytest_plugin.py' >2024-07-13 16:25:59,237 wheel INFO adding 'cheroot/test/conftest.py' >2024-07-13 16:25:59,239 wheel INFO adding 'cheroot/test/helper.py' >2024-07-13 16:25:59,246 wheel INFO adding 'cheroot/test/test__compat.py' >2024-07-13 16:25:59,247 wheel INFO adding 'cheroot/test/test_cli.py' >2024-07-13 16:25:59,249 wheel INFO adding 'cheroot/test/test_conn.py' >2024-07-13 16:25:59,252 wheel INFO adding 'cheroot/test/test_core.py' >2024-07-13 16:25:59,259 wheel INFO adding 'cheroot/test/test_dispatch.py' >2024-07-13 16:25:59,261 wheel INFO adding 'cheroot/test/test_errors.py' >2024-07-13 16:25:59,262 wheel INFO adding 'cheroot/test/test_makefile.py' >2024-07-13 16:25:59,264 wheel INFO adding 'cheroot/test/test_server.py' >2024-07-13 16:25:59,270 wheel INFO adding 'cheroot/test/test_ssl.py' >2024-07-13 16:25:59,272 wheel INFO adding 'cheroot/test/test_wsgi.py' >2024-07-13 16:25:59,274 wheel INFO adding 'cheroot/test/webtest.py' >2024-07-13 16:25:59,276 wheel INFO adding 'cheroot/workers/__init__.py' >2024-07-13 16:25:59,284 wheel INFO adding 'cheroot/workers/__init__.pyi' >2024-07-13 16:25:59,286 wheel INFO adding 'cheroot/workers/threadpool.py' >2024-07-13 16:25:59,287 wheel INFO adding 'cheroot/workers/threadpool.pyi' >2024-07-13 16:25:59,295 wheel INFO adding 'cheroot-10.0.1.dist-info/LICENSE.md' >2024-07-13 16:25:59,296 wheel INFO adding 'cheroot-10.0.1.dist-info/METADATA' >2024-07-13 16:25:59,298 wheel INFO adding 'cheroot-10.0.1.dist-info/WHEEL' >2024-07-13 16:25:59,299 wheel INFO adding 'cheroot-10.0.1.dist-info/entry_points.txt' >2024-07-13 16:25:59,300 wheel INFO adding 'cheroot-10.0.1.dist-info/top_level.txt' >2024-07-13 16:25:59,307 wheel INFO adding 'cheroot-10.0.1.dist-info/RECORD' >2024-07-13 16:25:59,311 wheel INFO removing /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/build/bdist.linux-x86_64/wheel >2024-07-13 16:25:59,345 gpep517 INFO The backend produced /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/wheel/cheroot-10.0.1-py3-none-any.whl > [32m*[0m Installing cheroot-10.0.1-py3-none-any.whl to /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/install >python3.12 -m gpep517 install-wheel --destdir=/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/install --interpreter=/usr/bin/python3.12 --prefix=/usr --optimize=all /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/wheel/cheroot-10.0.1-py3-none-any.whl >2024-07-13 16:26:00,868 gpep517 INFO Installing /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/wheel/cheroot-10.0.1-py3-none-any.whl into /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/install >2024-07-13 16:26:03,359 gpep517 INFO Installation complete >>>> Source compiled. >>>> Test phase: dev-python/cheroot-10.0.1 > [32m*[0m python3_12: running distutils-r1_run_phase python_test >python3.12 -m pytest -vv -ra -l -Wdefault -Werror::pytest.PytestUnhandledCoroutineWarning --color=yes -o console_output_style=count -o tmp_path_retention_count=0 -o tmp_path_retention_policy=failed -p xdist -n 3 --dist=worksteal --deselect cheroot/test/test_server.py::test_high_number_of_file_descriptors --deselect cheroot/test/test_ssl.py::test_https_over_http_error -p pytest_mock >[1m============================================================= test session starts ==============================================================[0m >platform linux -- Python 3.12.3, pytest-8.0.2, pluggy-1.5.0 -- /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/install/usr/bin/python3.12 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1 >configfile: pytest.ini >testpaths: cheroot/test/ >plugins: xdist-3.6.1, mock-3.14.0 >created: 3/3 workers >3 workers [176 items] > >scheduling tests via WorkStealingScheduling > >cheroot/test/test__compat.py::test_compat_functions_positive[ntob-bar-bar] >cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1--1-min=-1 must be > 0] >cheroot/test/test_conn.py::test_No_CRLF[\r\n\n] >[gw2][36m [ 1/176] [0m[32mPASSED[0m 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] >[gw0][36m [ 2/176] [0m[32mPASSED[0m cheroot/test/test__compat.py::test_compat_functions_positive[ntob-bar-bar] >[gw2][36m [ 3/176] [0m[32mPASSED[0m 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] >cheroot/test/test__compat.py::test_compat_functions_positive[ntou-bar-bar] >[gw2][36m [ 4/176] [0m[32mPASSED[0m 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][36m [ 5/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_invalid_threadrange[-1-2-min=-1 must be > 0] >[gw0][36m [ 6/176] [0m[32mPASSED[0m cheroot/test/test__compat.py::test_compat_functions_positive[ntou-bar-bar] >cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0--1-min=0 must be > 0] >[gw2][36m [ 7/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0--1-min=0 must be > 0] >cheroot/test/test__compat.py::test_compat_functions_positive[bton-bar-bar] >cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-0-min=0 must be > 0] >[gw2][36m [ 8/176] [0m[32mPASSED[0m 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][36m [ 9/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-1-min=0 must be > 0] >[gw0][36m [ 10/176] [0m[32mPASSED[0m cheroot/test/test__compat.py::test_compat_functions_positive[bton-bar-bar] >cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-2-min=0 must be > 0] >[gw2][36m [ 11/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_invalid_threadrange[0-2-min=0 must be > 0] >cheroot/test/test__compat.py::test_compat_functions_negative_nonnative[ntob] >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][36m [ 12/176] [0m[32mPASSED[0m cheroot/test/test__compat.py::test_compat_functions_negative_nonnative[ntob] >[gw2][36m [ 13/176] [0m[32mPASSED[0m 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.] >cheroot/test/test__compat.py::test_compat_functions_negative_nonnative[ntou] >[gw2][36m [ 14/176] [0m[32mPASSED[0m 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.] >[gw1][36m [ 15/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_No_CRLF[\r\n\n] >[gw0][36m [ 16/176] [0m[32mPASSED[0m cheroot/test/test__compat.py::test_compat_functions_negative_nonnative[ntou] >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__compat.py::test_ntou_escape >[gw2][36m [ 17/176] [0m[32mPASSED[0m 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][36m [ 18/176] [0m[32mPASSED[0m cheroot/test/test__compat.py::test_ntou_escape >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__compat.py::test_extract_bytes[qwerty-qwerty] >[gw0][36m [ 19/176] [0m[32mPASSED[0m cheroot/test/test__compat.py::test_extract_bytes[qwerty-qwerty] >[gw2][36m [ 20/176] [0m[32mPASSED[0m 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__compat.py::test_extract_bytes[input_argument1-asdfgh] >cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-1-max=1 must be > min=2] >[gw0][36m [ 21/176] [0m[32mPASSED[0m cheroot/test/test__compat.py::test_extract_bytes[input_argument1-asdfgh] >[gw2][36m [ 22/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_invalid_threadrange[2-1-max=1 must be > min=2] >cheroot/test/test__compat.py::test_extract_bytes_invalid >cheroot/test/test_server.py::test_threadpool_multistart_validation >[gw0][36m [ 23/176] [0m[32mPASSED[0m 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] >[gw2][36m [ 24/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_multistart_validation >[gw0][36m [ 25/176] [0m[32mPASSED[0m cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[192.168.1.1:80-expected_bind_addr0] >cheroot/test/test_ssl.py::test_ssl_adapters[builtin] >cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[[::1]:8000-expected_bind_addr1] >[gw0][36m [ 26/176] [0m[32mPASSED[0m 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][36m [ 27/176] [0m[32mPASSED[0m 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][36m [ 28/176] [0m[32mPASSED[0m 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][36m [ 29/176] [0m[32mPASSED[0m cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[foo-expected_bind_addr4] >cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[123456789-expected_bind_addr5] >[gw0][36m [ 30/176] [0m[32mPASSED[0m cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[123456789-expected_bind_addr5] >cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[/tmp/cheroot.sock-/tmp/cheroot.sock] >[gw0][36m [ 31/176] [0m[32mPASSED[0m 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] >[gw0][36m [ 32/176] [0m[32mPASSED[0m cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[/tmp/some-random-file-name-/tmp/some-random-file-name] >cheroot/test/test_conn.py::test_invalid_selected_connection >cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[@cheroot-\x00cheroot] >[gw0][36m [ 33/176] [0m[32mPASSED[0m cheroot/test/test_cli.py::test_parse_wsgi_bind_addr[@cheroot-\x00cheroot] >cheroot/test/test_cli.py::test_Aplication_resolve[None-application] >[gw0][36m [ 34/176] [0m[32mPASSED[0m cheroot/test/test_cli.py::test_Aplication_resolve[None-application] >cheroot/test/test_cli.py::test_Aplication_resolve[application-application] >[gw0][36m [ 35/176] [0m[32mPASSED[0m cheroot/test/test_cli.py::test_Aplication_resolve[application-application] >cheroot/test/test_cli.py::test_Aplication_resolve[main-main] >[gw0][36m [ 36/176] [0m[32mPASSED[0m cheroot/test/test_cli.py::test_Aplication_resolve[main-main] >cheroot/test/test_conn.py::test_HTTP11_persistent_connections >[gw2][36m [ 37/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_ssl_adapters[builtin] >[gw0][36m [ 38/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_HTTP11_persistent_connections >cheroot/test/test_ssl.py::test_ssl_adapters[pyopenssl] >cheroot/test/test_conn.py::test_streaming_11[False] >[gw0][36m [ 39/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_streaming_11[False] >[gw1][36m [ 40/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_invalid_selected_connection >cheroot/test/test_core.py::test_http_connect_request >[gw2][36m [ 41/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_ssl_adapters[pyopenssl] >[gw1][36m [ 42/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_http_connect_request >cheroot/test/test_conn.py::test_streaming_11[True] >[gw0][36m [ 43/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_streaming_11[True] >cheroot/test/test_ssl.py::test_tls_client_auth[0-True-localhost-builtin] >cheroot/test/test_core.py::test_normal_request >[gw1][36m [ 44/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_normal_request >[gw2][36m [ 45/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[0-True-localhost-builtin] >cheroot/test/test_conn.py::test_streaming_10[False] >[gw0][36m [ 46/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_streaming_10[False] >cheroot/test/test_core.py::test_query_string_request >cheroot/test/test_ssl.py::test_tls_client_auth[0-True-localhost-pyopenssl] >[gw1][36m [ 47/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_query_string_request >cheroot/test/test_conn.py::test_streaming_10[True] >[gw2][36m [ 48/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[0-True-localhost-pyopenssl] >[gw0][36m [ 49/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_streaming_10[True] >cheroot/test/test_core.py::test_parse_acceptable_uri[/hello] >[gw1][36m [ 50/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_parse_acceptable_uri[/hello] >cheroot/test/test_ssl.py::test_tls_client_auth[0-True-127.0.0.1-builtin] >cheroot/test/test_conn.py::test_keepalive[HTTP/1.0] >[gw0][36m [ 51/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_keepalive[HTTP/1.0] >[gw2][36m [ 52/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[0-True-127.0.0.1-builtin] >cheroot/test/test_core.py::test_parse_acceptable_uri[/query_string?test=True] >[gw1][36m [ 53/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_parse_acceptable_uri[/query_string?test=True] >cheroot/test/test_conn.py::test_keepalive[HTTP/1.1] >cheroot/test/test_ssl.py::test_tls_client_auth[0-True-127.0.0.1-pyopenssl] >[gw0][36m [ 54/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_keepalive[HTTP/1.1] >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] >[gw2][36m [ 55/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[0-True-127.0.0.1-pyopenssl] >[gw1][36m [ 56/176] [0m[32mPASSED[0m 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_keepalive_conn_management >cheroot/test/test_ssl.py::test_tls_client_auth[0-True-*.localhost-builtin] >cheroot/test/test_core.py::test_parse_uri_unsafe_uri >[gw1][36m [ 57/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_parse_uri_unsafe_uri >[gw2][36m [ 58/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[0-True-*.localhost-builtin] >cheroot/test/test_core.py::test_parse_uri_invalid_uri >cheroot/test/test_ssl.py::test_tls_client_auth[0-True-*.localhost-pyopenssl] >[gw1][36m [ 59/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_parse_uri_invalid_uri >[gw2][36m [ 60/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[0-True-*.localhost-pyopenssl] >cheroot/test/test_core.py::test_parse_no_leading_slash_invalid[hello] >[gw1][36m [ 61/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_parse_no_leading_slash_invalid[hello] >cheroot/test/test_ssl.py::test_tls_client_auth[0-True-not_localhost-builtin] >[gw2][36m [ 62/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[0-True-not_localhost-builtin] >cheroot/test/test_core.py::test_parse_no_leading_slash_invalid[\u043f\u0440\u0438\u0432\u0456\u0442] >[gw1][36m [ 63/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_parse_no_leading_slash_invalid[\u043f\u0440\u0438\u0432\u0456\u0442] >cheroot/test/test_ssl.py::test_tls_client_auth[0-True-not_localhost-pyopenssl] >cheroot/test/test_core.py::test_parse_uri_absolute_uri >[gw2][36m [ 64/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[0-True-not_localhost-pyopenssl] >[gw1][36m [ 65/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_parse_uri_absolute_uri >cheroot/test/test_ssl.py::test_tls_client_auth[1-True-localhost-builtin] >cheroot/test/test_core.py::test_parse_uri_asterisk_uri >[gw0][36m [ 66/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_keepalive_conn_management >[gw1][36m [ 67/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_parse_uri_asterisk_uri >[gw2][36m [ 68/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[1-True-localhost-builtin] >cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(ECONNRESET)] >cheroot/test/test_core.py::test_parse_uri_fragment_uri >cheroot/test/test_ssl.py::test_tls_client_auth[1-True-localhost-pyopenssl] >[gw1][36m [ 69/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_parse_uri_fragment_uri >[gw0][36m [ 70/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(ECONNRESET)] >[gw2][36m [ 71/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[1-True-localhost-pyopenssl] >cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(EPIPE)] >cheroot/test/test_core.py::test_no_content_length >[gw1][36m [ 72/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_no_content_length >[gw0][36m [ 73/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(EPIPE)] >cheroot/test/test_ssl.py::test_tls_client_auth[1-True-127.0.0.1-builtin] >[gw2][36m [ 74/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[1-True-127.0.0.1-builtin] >cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[simulated socket.error(ENOTCONN)] >cheroot/test/test_core.py::test_content_length_required >[gw1][36m [ 75/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_content_length_required >[gw0][36m [ 76/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[simulated socket.error(ENOTCONN)] >cheroot/test/test_ssl.py::test_tls_client_auth[1-True-127.0.0.1-pyopenssl] >cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[real socket.error(ENOTCONN)] >[gw2][36m [ 77/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[1-True-127.0.0.1-pyopenssl] >cheroot/test/test_core.py::test_large_request >[gw0][36m [ 78/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[real socket.error(ENOTCONN)] >cheroot/test/test_ssl.py::test_tls_client_auth[1-True-*.localhost-builtin] >cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(ESHUTDOWN)] >[gw2][36m [ 79/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[1-True-*.localhost-builtin] >[gw0][36m [ 80/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(ESHUTDOWN)] >[gw1][36m [ 81/176] [0m[33mXFAIL[0m 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_broken_connection_during_tcp_fin[RuntimeError(666)] >[gw1][36m [ 82/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_malformed_request_line[GET /-400-Malformed Request-Line] >cheroot/test/test_ssl.py::test_tls_client_auth[1-True-*.localhost-pyopenssl] >[gw0][36m [ 83/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[RuntimeError(666)] >[gw2][36m [ 84/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[1-True-*.localhost-pyopenssl] >cheroot/test/test_core.py::test_malformed_request_line[GET / HTTPS/1.1-400-Malformed Request-Line: bad protocol] >cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(-1)] >[gw1][36m [ 85/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_malformed_request_line[GET / HTTPS/1.1-400-Malformed Request-Line: bad protocol] >cheroot/test/test_ssl.py::test_tls_client_auth[1-True-not_localhost-builtin] >[gw0][36m [ 86/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[socket.error(-1)] >[gw2][36m [ 87/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[1-True-not_localhost-builtin] >cheroot/test/test_ssl.py::test_tls_client_auth[1-True-not_localhost-pyopenssl] >cheroot/test/test_core.py::test_malformed_request_line[GET / HTTP/1-400-Malformed Request-Line: bad version] >cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[ConnectionResetError(ECONNRESET)] >[gw1][36m [ 88/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_malformed_request_line[GET / HTTP/1-400-Malformed Request-Line: bad version] >[gw2][36m [ 89/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[1-True-not_localhost-pyopenssl] >[gw0][36m [ 90/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[ConnectionResetError(ECONNRESET)] >cheroot/test/test_core.py::test_malformed_request_line[GET / HTTP/2.15-505-Cannot fulfill request] >[gw1][36m [ 91/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_malformed_request_line[GET / HTTP/2.15-505-Cannot fulfill request] >cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[BrokenPipeError(EPIPE)] >cheroot/test/test_ssl.py::test_tls_client_auth[2-True-localhost-builtin] >[gw0][36m [ 92/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[BrokenPipeError(EPIPE)] >[gw2][36m [ 93/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[2-True-localhost-builtin] >cheroot/test/test_core.py::test_malformed_http_method >[gw1][36m [ 94/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_malformed_http_method >cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[BrokenPipeError(ESHUTDOWN)] >[gw0][36m [ 95/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_broken_connection_during_tcp_fin[BrokenPipeError(ESHUTDOWN)] >cheroot/test/test_ssl.py::test_tls_client_auth[2-True-localhost-pyopenssl] >cheroot/test/test_core.py::test_malformed_header >[gw2][36m [ 96/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[2-True-localhost-pyopenssl] >[gw1][36m [ 97/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_malformed_header >cheroot/test/test_conn.py::test_broken_connection_during_http_communication_fallback >cheroot/test/test_ssl.py::test_tls_client_auth[2-True-127.0.0.1-builtin] >cheroot/test/test_core.py::test_request_line_split_issue_1220 >[gw2][36m [ 98/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[2-True-127.0.0.1-builtin] >[gw1][36m [ 99/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_request_line_split_issue_1220 >[gw0][36m [100/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_broken_connection_during_http_communication_fallback >cheroot/test/test_conn.py::test_kb_int_from_http_handler >cheroot/test/test_core.py::test_garbage_in >cheroot/test/test_ssl.py::test_tls_client_auth[2-True-127.0.0.1-pyopenssl] >[gw1][36m [101/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_garbage_in >[gw2][36m [102/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[2-True-127.0.0.1-pyopenssl] >[gw0][36m [103/176] [0m[32mPASSED[0m 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_send_header_before_closing >[gw1][36m [104/176] [0m[32mPASSED[0m cheroot/test/test_core.py::test_send_header_before_closing >cheroot/test/test_ssl.py::test_tls_client_auth[2-True-*.localhost-builtin] >[gw2][36m [105/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[2-True-*.localhost-builtin] >[gw0][36m [106/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_unhandled_exception_in_request_handler >cheroot/test/test_conn.py::test_remains_alive_post_unhandled_exception >cheroot/test/test_dispatch.py::test_dispatch_no_script_name >[gw1][36m [107/176] [0m[32mPASSED[0m cheroot/test/test_dispatch.py::test_dispatch_no_script_name >cheroot/test/test_errors.py::test_plat_specific_errors[err_names0-err_nums0] >[gw1][36m [108/176] [0m[32mPASSED[0m 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] >[gw1][36m [109/176] [0m[32mPASSED[0m cheroot/test/test_errors.py::test_plat_specific_errors[err_names1-err_nums1] >cheroot/test/test_makefile.py::test_bytes_read >[gw1][36m [110/176] [0m[32mPASSED[0m cheroot/test/test_makefile.py::test_bytes_read >cheroot/test/test_makefile.py::test_bytes_written >[gw1][36m [111/176] [0m[32mPASSED[0m cheroot/test/test_makefile.py::test_bytes_written >cheroot/test/test_server.py::test_prepare_makes_server_ready >[gw1][36m [112/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_prepare_makes_server_ready >cheroot/test/test_server.py::test_stop_interrupts_serve >cheroot/test/test_ssl.py::test_tls_client_auth[2-True-*.localhost-pyopenssl] >[gw2][36m [113/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[2-True-*.localhost-pyopenssl] >[gw0][36m [114/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_remains_alive_post_unhandled_exception >cheroot/test/test_conn.py::test_HTTP11_Timeout[True] >[gw1][36m [115/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_stop_interrupts_serve >cheroot/test/test_server.py::test_server_interrupt[OSError0] >cheroot/test/test_ssl.py::test_tls_client_auth[2-True-not_localhost-builtin] >[gw1][36m [116/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_server_interrupt[OSError0] >cheroot/test/test_server.py::test_server_interrupt[KeyboardInterrupt] >[gw2][36m [117/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[2-True-not_localhost-builtin] >cheroot/test/test_ssl.py::test_tls_client_auth[2-True-not_localhost-pyopenssl] >[gw1][36m [118/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_server_interrupt[KeyboardInterrupt] >cheroot/test/test_server.py::test_server_interrupt[OSError1] >[gw2][36m [119/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_tls_client_auth[2-True-not_localhost-pyopenssl] >[gw1][36m [120/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_server_interrupt[OSError1] >cheroot/test/test_server.py::test_server_interrupt[RuntimeError] >cheroot/test/test_ssl.py::test_ssl_env[0-False-builtin] >[gw0][36m [121/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_HTTP11_Timeout[True] >cheroot/test/test_conn.py::test_HTTP11_Timeout[False] >[gw2][36m [122/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_ssl_env[0-False-builtin] >cheroot/test/test_ssl.py::test_ssl_env[0-False-pyopenssl] >[gw2][36m [123/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_ssl_env[0-False-pyopenssl] >[gw1][36m [124/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_server_interrupt[RuntimeError] >cheroot/test/test_server.py::test_serving_is_false_and_stop_returns_after_ctrlc >[gw1][36m [125/176] [0m[32mPASSED[0m 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] >[gw1][36m [126/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_bind_addr_inet[0.0.0.0] >cheroot/test/test_ssl.py::test_ssl_env[0-True-builtin] >cheroot/test/test_server.py::test_bind_addr_inet[::] >[gw2][36m [127/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_ssl_env[0-True-builtin] >[gw1][36m [128/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_bind_addr_inet[::] >[gw0][36m [129/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_HTTP11_Timeout[False] >cheroot/test/test_ssl.py::test_ssl_env[0-True-pyopenssl] >cheroot/test/test_server.py::test_bind_addr_unix[abstract] >[gw1][36m [130/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_bind_addr_unix[abstract] >[gw2][36m [131/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_ssl_env[0-True-pyopenssl] >cheroot/test/test_conn.py::test_HTTP11_Timeout_after_request >cheroot/test/test_server.py::test_bind_addr_unix[file] >[gw1][36m [132/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_bind_addr_unix[file] >cheroot/test/test_ssl.py::test_ssl_env[1-False-builtin] >[gw2][36m [133/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_ssl_env[1-False-builtin] >cheroot/test/test_server.py::test_bind_addr_unix_abstract >[gw1][36m [134/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_bind_addr_unix_abstract >cheroot/test/test_ssl.py::test_ssl_env[1-False-pyopenssl] >cheroot/test/test_server.py::test_peercreds_unix_sock[abstract] >[gw2][36m [135/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_ssl_env[1-False-pyopenssl] >cheroot/test/test_ssl.py::test_ssl_env[1-True-builtin] >[gw1][36m [136/176] [0m[31mFAILED[0m cheroot/test/test_server.py::test_peercreds_unix_sock[abstract] >[gw2][36m [137/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_ssl_env[1-True-builtin] >cheroot/test/test_server.py::test_peercreds_unix_sock[file] >cheroot/test/test_ssl.py::test_ssl_env[1-True-pyopenssl] >[gw1][36m [138/176] [0m[31mFAILED[0m cheroot/test/test_server.py::test_peercreds_unix_sock[file] >[gw2][36m [139/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_ssl_env[1-True-pyopenssl] >cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[abstract] >cheroot/test/test_ssl.py::test_ssl_env[2-True-builtin] >[gw2][36m [140/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_ssl_env[2-True-builtin] >[gw0][36m [141/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_HTTP11_Timeout_after_request >[gw1][36m [142/176] [0m[31mFAILED[0m cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[abstract] >cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[file] >cheroot/test/test_ssl.py::test_ssl_env[2-True-pyopenssl] >cheroot/test/test_conn.py::test_HTTP11_pipelining >[gw2][36m [143/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_ssl_env[2-True-pyopenssl] >[gw0][36m [144/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_HTTP11_pipelining >[gw1][36m [145/176] [0m[31mFAILED[0m cheroot/test/test_server.py::test_peercreds_unix_sock_with_lookup[file] >cheroot/test/test_ssl.py::test_http_over_https_error[0.0.0.0-builtin] >[gw2][36m [146/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_http_over_https_error[0.0.0.0-builtin] >cheroot/test/test_conn.py::test_100_Continue >cheroot/test/test_server.py::test_reuse_port[0.0.0.0] >[gw0][36m [147/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_100_Continue >[gw1][36m [148/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_reuse_port[0.0.0.0] >cheroot/test/test_server.py::test_reuse_port[::] >[gw1][36m [149/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_reuse_port[::] >cheroot/test/test_server.py::test_threadpool_threadrange_set[1--2-inf] >[gw1][36m [150/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_threadrange_set[1--2-inf] >cheroot/test/test_server.py::test_threadpool_threadrange_set[1--1-inf] >[gw1][36m [151/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_threadrange_set[1--1-inf] >cheroot/test/test_server.py::test_threadpool_threadrange_set[1-1-1] >[gw1][36m [152/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_threadrange_set[1-1-1] >cheroot/test/test_server.py::test_threadpool_threadrange_set[1-2-2] >[gw1][36m [153/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_threadrange_set[1-2-2] >cheroot/test/test_server.py::test_threadpool_threadrange_set[1-inf-inf] >[gw1][36m [154/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_threadrange_set[1-inf-inf] >cheroot/test/test_server.py::test_threadpool_threadrange_set[2--2-inf] >[gw1][36m [155/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_threadrange_set[2--2-inf] >cheroot/test/test_server.py::test_threadpool_threadrange_set[2--1-inf] >[gw1][36m [156/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_threadrange_set[2--1-inf] >cheroot/test/test_server.py::test_threadpool_threadrange_set[2-2-2] >[gw1][36m [157/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_threadrange_set[2-2-2] >cheroot/test/test_server.py::test_threadpool_threadrange_set[2-inf-inf] >[gw1][36m [158/176] [0m[32mPASSED[0m cheroot/test/test_server.py::test_threadpool_threadrange_set[2-inf-inf] >cheroot/test/test_conn.py::test_Content_Length_not_int >[gw1][36m [159/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_Content_Length_not_int >cheroot/test/test_ssl.py::test_http_over_https_error[0.0.0.0-pyopenssl] >[gw2][36m [160/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_http_over_https_error[0.0.0.0-pyopenssl] >cheroot/test/test_conn.py::test_readall_or_close[0] >[gw0][36m [161/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_readall_or_close[0] >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][36m [162/176] [0m[32mPASSED[0m 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_ssl.py::test_http_over_https_error[::-builtin] >cheroot/test/test_conn.py::test_readall_or_close[1001] >[gw2][36m [163/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_http_over_https_error[::-builtin] >[gw0][36m [164/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_readall_or_close[1001] >cheroot/test/test_conn.py::test_Content_Length_out[/wrong_cl_unbuffered-200-I too] >[gw1][36m [165/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_Content_Length_out[/wrong_cl_unbuffered-200-I too] >cheroot/test/test_ssl.py::test_http_over_https_error[::-pyopenssl] >cheroot/test/test_conn.py::test_No_Message_Body >[gw2][36m [166/176] [0m[32mPASSED[0m cheroot/test/test_ssl.py::test_http_over_https_error[::-pyopenssl] >[gw0][36m [167/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_No_Message_Body >cheroot/test/test_conn.py::test_598 >cheroot/test/test_wsgi.py::test_connection_keepalive >cheroot/test/test_conn.py::test_Chunked_Encoding >[gw1][36m [168/176] [0m[33mXFAIL[0m cheroot/test/test_conn.py::test_598 >cheroot/test/test_conn.py::test_No_CRLF[\n\n] >[gw1][36m [169/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_No_CRLF[\n\n] >cheroot/test/webtest.py::cheroot.test.webtest.WebCase.getPage >[gw1][36m [170/176] [0m[32mPASSED[0m cheroot/test/webtest.py::cheroot.test.webtest.WebCase.getPage >cheroot/test/webtest.py::cheroot.test.webtest.strip_netloc >[gw1][36m [171/176] [0m[32mPASSED[0m cheroot/test/webtest.py::cheroot.test.webtest.strip_netloc >cheroot/test/test_wsgi.py::test_gateway_write_needs_start_response_called_before >[gw1][36m [172/176] [0m[32mPASSED[0m cheroot/test/test_wsgi.py::test_gateway_write_needs_start_response_called_before >[gw0][36m [173/176] [0m[33mXFAIL[0m cheroot/test/test_conn.py::test_Chunked_Encoding >cheroot/test/test_conn.py::test_Content_Length_in >[gw0][36m [174/176] [0m[32mPASSED[0m cheroot/test/test_conn.py::test_Content_Length_in >[gw2][36m [175/176] [0m[32mPASSED[0m cheroot/test/test_wsgi.py::test_connection_keepalive >cheroot/test/test_wsgi.py::test_gateway_start_response_called_twice >[gw2][36m [176/176] [0m[32mPASSED[0m cheroot/test/test_wsgi.py::test_gateway_start_response_called_twice > >=================================================================== FAILURES =================================================================== >[31m[1m______________________________________________________ test_peercreds_unix_sock[abstract] ______________________________________________________[0m >[gw1] linux -- Python 3.12.3 /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/install/usr/bin/python3.12 > >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe77866bd70>, request = <PreparedRequest [GET]>, stream = False, timeout = 0.1 >verify = True, cert = None >proxies = OrderedDict({'distcc_socks': '/var/tmp/portage/.portage.13728.net.sock', 'portage_socks5': '/var/tmp/portage/.portage.13728.net.sock'}) > > [0m[94mdef[39;49;00m [92msend[39;49;00m([90m[39;49;00m > [96mself[39;49;00m, request, stream=[94mFalse[39;49;00m, timeout=[94mNone[39;49;00m, verify=[94mTrue[39;49;00m, cert=[94mNone[39;49;00m, proxies=[94mNone[39;49;00m[90m[39;49;00m > ):[90m[39;49;00m > [90m [39;49;00m[33m"""Sends PreparedRequest object. Returns Response object.[39;49;00m > [33m[39;49;00m > [33m :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.[39;49;00m > [33m :param stream: (optional) Whether to stream the request content.[39;49;00m > [33m :param timeout: (optional) How long to wait for the server to send[39;49;00m > [33m data before giving up, as a float, or a :ref:`(connect timeout,[39;49;00m > [33m read timeout) <timeouts>` tuple.[39;49;00m > [33m :type timeout: float or tuple or urllib3 Timeout object[39;49;00m > [33m :param verify: (optional) Either a boolean, in which case it controls whether[39;49;00m > [33m we verify the server's TLS certificate, or a string, in which case it[39;49;00m > [33m must be a path to a CA bundle to use[39;49;00m > [33m :param cert: (optional) Any user-provided SSL certificate to be trusted.[39;49;00m > [33m :param proxies: (optional) The proxies dictionary to apply to the request.[39;49;00m > [33m :rtype: requests.Response[39;49;00m > [33m """[39;49;00m[90m[39;49;00m > [90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m >> conn = [96mself[39;49;00m._get_connection(request, verify, proxies=proxies, cert=cert)[90m[39;49;00m > >cert = None >proxies = OrderedDict([('distcc_socks', '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', '/var/tmp/portage/.portage.13728.net.sock')]) >request = <PreparedRequest [GET]> >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe77866bd70> >stream = False >timeout = 0.1 >verify = True > >[1m[31m/usr/lib/python3.12/site-packages/requests/adapters.py[0m:532: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31m/usr/lib/python3.12/site-packages/requests/adapters.py[0m:400: in _get_connection > [0mconn = [96mself[39;49;00m.poolmanager.connection_from_host([90m[39;49;00m > cert = None > host_params = {'host': '%00cheroot-test-socketdd5f0b77-c33f-4035-8bde-ce428b6937d4', > 'port': None, > 'scheme': 'http+unix'} > pool_kwargs = {'cert_reqs': 'CERT_REQUIRED', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} > proxies = OrderedDict([('distcc_socks', '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', '/var/tmp/portage/.portage.13728.net.sock')]) > proxy = None > request = <PreparedRequest [GET]> > self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe77866bd70> > verify = True >[1m[31m/usr/lib/python3.12/site-packages/urllib3/poolmanager.py[0m:304: in connection_from_host > [0m[94mreturn[39;49;00m [96mself[39;49;00m.connection_from_context(request_context)[90m[39;49;00m > host = '%00cheroot-test-socketdd5f0b77-c33f-4035-8bde-ce428b6937d4' > pool_kwargs = {'cert_reqs': 'CERT_REQUIRED', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} > port = 80 > request_context = {'block': False, > 'cert_reqs': 'CERT_REQUIRED', > 'host': '%00cheroot-test-socketdd5f0b77-c33f-4035-8bde-ce428b6937d4', > 'maxsize': 10, > 'port': 80, > 'scheme': 'http+unix', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} > scheme = 'http+unix' > self = <urllib3.poolmanager.PoolManager object at 0x7fe77866be00> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <urllib3.poolmanager.PoolManager object at 0x7fe77866be00> >request_context = {'block': False, 'cert_reqs': 'CERT_REQUIRED', 'host': '%00cheroot-test-socketdd5f0b77-c33f-4035-8bde-ce428b6937d4', 'maxsize': 10, ...} > > [0m[94mdef[39;49;00m [92mconnection_from_context[39;49;00m([90m[39;49;00m > [96mself[39;49;00m, request_context: [96mdict[39;49;00m[[96mstr[39;49;00m, typing.Any][90m[39;49;00m > ) -> HTTPConnectionPool:[90m[39;49;00m > [90m [39;49;00m[33m"""[39;49;00m > [33m Get a :class:`urllib3.connectionpool.ConnectionPool` based on the request context.[39;49;00m > [33m[39;49;00m > [33m ``request_context`` must at least contain the ``scheme`` key and its[39;49;00m > [33m value must be a key in ``key_fn_by_scheme`` instance variable.[39;49;00m > [33m """[39;49;00m[90m[39;49;00m > [94mif[39;49;00m [33m"[39;49;00m[33mstrict[39;49;00m[33m"[39;49;00m [95min[39;49;00m request_context:[90m[39;49;00m > warnings.warn([90m[39;49;00m > [33m"[39;49;00m[33mThe [39;49;00m[33m'[39;49;00m[33mstrict[39;49;00m[33m'[39;49;00m[33m parameter is no longer needed on Python 3+. [39;49;00m[33m"[39;49;00m[90m[39;49;00m > [33m"[39;49;00m[33mThis will raise an error in urllib3 v2.1.0.[39;49;00m[33m"[39;49;00m,[90m[39;49;00m > [96mDeprecationWarning[39;49;00m,[90m[39;49;00m > )[90m[39;49;00m > request_context.pop([33m"[39;49;00m[33mstrict[39;49;00m[33m"[39;49;00m)[90m[39;49;00m > [90m[39;49;00m > scheme = request_context[[33m"[39;49;00m[33mscheme[39;49;00m[33m"[39;49;00m].lower()[90m[39;49;00m > pool_key_constructor = [96mself[39;49;00m.key_fn_by_scheme.get(scheme)[90m[39;49;00m > [94mif[39;49;00m [95mnot[39;49;00m pool_key_constructor:[90m[39;49;00m >> [94mraise[39;49;00m URLSchemeUnknown(scheme)[90m[39;49;00m >[1m[31mE urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+unix[0m > >pool_key_constructor = None >request_context = {'block': False, > 'cert_reqs': 'CERT_REQUIRED', > 'host': '%00cheroot-test-socketdd5f0b77-c33f-4035-8bde-ce428b6937d4', > 'maxsize': 10, > 'port': 80, > 'scheme': 'http+unix', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} >scheme = 'http+unix' >self = <urllib3.poolmanager.PoolManager object at 0x7fe77866be00> > >[1m[31m/usr/lib/python3.12/site-packages/urllib3/poolmanager.py[0m:326: URLSchemeUnknown > >[33mDuring handling of the above exception, another exception occurred:[0m > >http_request_timeout = 0.1, peercreds_enabled_server = <cheroot.server.HTTPServer object at 0x7fe778693ad0> > > [0m[37m@unix_only_sock_test[39;49;00m[90m[39;49;00m > [37m@non_macos_sock_test[39;49;00m[90m[39;49;00m > [37m@pytest[39;49;00m.mark.flaky(reruns=[94m3[39;49;00m, reruns_delay=[94m2[39;49;00m)[90m[39;49;00m > [94mdef[39;49;00m [92mtest_peercreds_unix_sock[39;49;00m(http_request_timeout, peercreds_enabled_server):[90m[39;49;00m > [90m [39;49;00m[33m"""Check that ``PEERCRED`` lookup works when enabled."""[39;49;00m[90m[39;49;00m > httpserver = peercreds_enabled_server[90m[39;49;00m > bind_addr = httpserver.bind_addr[90m[39;49;00m > [90m[39;49;00m > [94mif[39;49;00m [96misinstance[39;49;00m(bind_addr, [96mbytes[39;49;00m):[90m[39;49;00m > bind_addr = bind_addr.decode()[90m[39;49;00m > [90m[39;49;00m > [90m# pylint: disable=possibly-unused-variable[39;49;00m[90m[39;49;00m > quoted = urllib.parse.quote(bind_addr, safe=[33m'[39;49;00m[33m'[39;49;00m)[90m[39;49;00m > unix_base_uri = [33m'[39;49;00m[33mhttp+unix://[39;49;00m[33m{quoted}[39;49;00m[33m'[39;49;00m.format(**[96mlocals[39;49;00m())[90m[39;49;00m > [90m[39;49;00m > expected_peercreds = os.getpid(), os.getuid(), os.getgid()[90m[39;49;00m > expected_peercreds = [33m'[39;49;00m[33m|[39;49;00m[33m'[39;49;00m.join([96mmap[39;49;00m([96mstr[39;49;00m, expected_peercreds))[90m[39;49;00m > [90m[39;49;00m > [94mwith[39;49;00m requests_unixsocket.monkeypatch():[90m[39;49;00m >> peercreds_resp = requests.get([90m[39;49;00m > unix_base_uri + PEERCRED_IDS_URI,[90m[39;49;00m > timeout=http_request_timeout,[90m[39;49;00m > )[90m[39;49;00m > >bind_addr = '\x00cheroot-test-socketdd5f0b77-c33f-4035-8bde-ce428b6937d4' >expected_peercreds = '105|250|250' >http_request_timeout = 0.1 >httpserver = <cheroot.server.HTTPServer object at 0x7fe778693ad0> >peercreds_enabled_server = <cheroot.server.HTTPServer object at 0x7fe778693ad0> >quoted = '%00cheroot-test-socketdd5f0b77-c33f-4035-8bde-ce428b6937d4' >unix_base_uri = 'http+unix://%00cheroot-test-socketdd5f0b77-c33f-4035-8bde-ce428b6937d4' > >[1m[31mcheroot/test/test_server.py[0m:275: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31m/usr/lib/python3.12/site-packages/requests_unixsocket/__init__.py[0m:51: in get > [0m[94mreturn[39;49;00m request([33m'[39;49;00m[33mget[39;49;00m[33m'[39;49;00m, url, **kwargs)[90m[39;49;00m > kwargs = {'allow_redirects': True, 'timeout': 0.1} > url = 'http+unix://%00cheroot-test-socketdd5f0b77-c33f-4035-8bde-ce428b6937d4/peer_creds/ids' >[1m[31m/usr/lib/python3.12/site-packages/requests_unixsocket/__init__.py[0m:46: in request > [0m[94mreturn[39;49;00m session.request(method=method, url=url, **kwargs)[90m[39;49;00m > kwargs = {'allow_redirects': True, 'timeout': 0.1} > method = 'get' > session = <requests_unixsocket.Session object at 0x7fe77866b7d0> > url = 'http+unix://%00cheroot-test-socketdd5f0b77-c33f-4035-8bde-ce428b6937d4/peer_creds/ids' >[1m[31m/usr/lib/python3.12/site-packages/requests/sessions.py[0m:589: in request > [0mresp = [96mself[39;49;00m.send(prep, **send_kwargs)[90m[39;49;00m > allow_redirects = True > auth = None > cert = None > cookies = None > data = None > files = None > headers = None > hooks = None > json = None > method = 'get' > params = None > prep = <PreparedRequest [GET]> > proxies = {'distcc_socks': '/var/tmp/portage/.portage.13728.net.sock', > 'portage_socks5': '/var/tmp/portage/.portage.13728.net.sock'} > req = <Request [GET]> > self = <requests_unixsocket.Session object at 0x7fe77866b7d0> > send_kwargs = {'allow_redirects': True, > 'cert': None, > 'proxies': OrderedDict([('distcc_socks', > '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', > '/var/tmp/portage/.portage.13728.net.sock')]), > 'stream': False, > 'timeout': 0.1, > 'verify': True} > settings = {'cert': None, > 'proxies': OrderedDict([('distcc_socks', > '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', > '/var/tmp/portage/.portage.13728.net.sock')]), > 'stream': False, > 'verify': True} > stream = None > timeout = 0.1 > url = 'http+unix://%00cheroot-test-socketdd5f0b77-c33f-4035-8bde-ce428b6937d4/peer_creds/ids' > verify = None >[1m[31m/usr/lib/python3.12/site-packages/requests/sessions.py[0m:703: in send > [0mr = adapter.send(request, **kwargs)[90m[39;49;00m > adapter = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe77866bd70> > allow_redirects = True > hooks = {'response': []} > kwargs = {'cert': None, > 'proxies': OrderedDict([('distcc_socks', > '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', > '/var/tmp/portage/.portage.13728.net.sock')]), > 'stream': False, > 'timeout': 0.1, > 'verify': True} > request = <PreparedRequest [GET]> > self = <requests_unixsocket.Session object at 0x7fe77866b7d0> > start = 1720902428.2037256 > stream = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe77866bd70>, request = <PreparedRequest [GET]>, stream = False, timeout = 0.1 >verify = True, cert = None >proxies = OrderedDict({'distcc_socks': '/var/tmp/portage/.portage.13728.net.sock', 'portage_socks5': '/var/tmp/portage/.portage.13728.net.sock'}) > > [0m[94mdef[39;49;00m [92msend[39;49;00m([90m[39;49;00m > [96mself[39;49;00m, request, stream=[94mFalse[39;49;00m, timeout=[94mNone[39;49;00m, verify=[94mTrue[39;49;00m, cert=[94mNone[39;49;00m, proxies=[94mNone[39;49;00m[90m[39;49;00m > ):[90m[39;49;00m > [90m [39;49;00m[33m"""Sends PreparedRequest object. Returns Response object.[39;49;00m > [33m[39;49;00m > [33m :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.[39;49;00m > [33m :param stream: (optional) Whether to stream the request content.[39;49;00m > [33m :param timeout: (optional) How long to wait for the server to send[39;49;00m > [33m data before giving up, as a float, or a :ref:`(connect timeout,[39;49;00m > [33m read timeout) <timeouts>` tuple.[39;49;00m > [33m :type timeout: float or tuple or urllib3 Timeout object[39;49;00m > [33m :param verify: (optional) Either a boolean, in which case it controls whether[39;49;00m > [33m we verify the server's TLS certificate, or a string, in which case it[39;49;00m > [33m must be a path to a CA bundle to use[39;49;00m > [33m :param cert: (optional) Any user-provided SSL certificate to be trusted.[39;49;00m > [33m :param proxies: (optional) The proxies dictionary to apply to the request.[39;49;00m > [33m :rtype: requests.Response[39;49;00m > [33m """[39;49;00m[90m[39;49;00m > [90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > conn = [96mself[39;49;00m._get_connection(request, verify, proxies=proxies, cert=cert)[90m[39;49;00m > [94mexcept[39;49;00m LocationValueError [94mas[39;49;00m e:[90m[39;49;00m >> [94mraise[39;49;00m InvalidURL(e, request=request)[90m[39;49;00m >[1m[31mE requests.exceptions.InvalidURL: Not supported URL scheme http+unix[0m > >cert = None >proxies = OrderedDict([('distcc_socks', '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', '/var/tmp/portage/.portage.13728.net.sock')]) >request = <PreparedRequest [GET]> >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe77866bd70> >stream = False >timeout = 0.1 >verify = True > >[1m[31m/usr/lib/python3.12/site-packages/requests/adapters.py[0m:534: InvalidURL >[31m[1m________________________________________________________ test_peercreds_unix_sock[file] ________________________________________________________[0m >[gw1] linux -- Python 3.12.3 /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/install/usr/bin/python3.12 > >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe77865be00>, request = <PreparedRequest [GET]>, stream = False, timeout = 0.1 >verify = True, cert = None >proxies = OrderedDict({'distcc_socks': '/var/tmp/portage/.portage.13728.net.sock', 'portage_socks5': '/var/tmp/portage/.portage.13728.net.sock'}) > > [0m[94mdef[39;49;00m [92msend[39;49;00m([90m[39;49;00m > [96mself[39;49;00m, request, stream=[94mFalse[39;49;00m, timeout=[94mNone[39;49;00m, verify=[94mTrue[39;49;00m, cert=[94mNone[39;49;00m, proxies=[94mNone[39;49;00m[90m[39;49;00m > ):[90m[39;49;00m > [90m [39;49;00m[33m"""Sends PreparedRequest object. Returns Response object.[39;49;00m > [33m[39;49;00m > [33m :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.[39;49;00m > [33m :param stream: (optional) Whether to stream the request content.[39;49;00m > [33m :param timeout: (optional) How long to wait for the server to send[39;49;00m > [33m data before giving up, as a float, or a :ref:`(connect timeout,[39;49;00m > [33m read timeout) <timeouts>` tuple.[39;49;00m > [33m :type timeout: float or tuple or urllib3 Timeout object[39;49;00m > [33m :param verify: (optional) Either a boolean, in which case it controls whether[39;49;00m > [33m we verify the server's TLS certificate, or a string, in which case it[39;49;00m > [33m must be a path to a CA bundle to use[39;49;00m > [33m :param cert: (optional) Any user-provided SSL certificate to be trusted.[39;49;00m > [33m :param proxies: (optional) The proxies dictionary to apply to the request.[39;49;00m > [33m :rtype: requests.Response[39;49;00m > [33m """[39;49;00m[90m[39;49;00m > [90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m >> conn = [96mself[39;49;00m._get_connection(request, verify, proxies=proxies, cert=cert)[90m[39;49;00m > >cert = None >proxies = OrderedDict([('distcc_socks', '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', '/var/tmp/portage/.portage.13728.net.sock')]) >request = <PreparedRequest [GET]> >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe77865be00> >stream = False >timeout = 0.1 >verify = True > >[1m[31m/usr/lib/python3.12/site-packages/requests/adapters.py[0m:532: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31m/usr/lib/python3.12/site-packages/requests/adapters.py[0m:400: in _get_connection > [0mconn = [96mself[39;49;00m.poolmanager.connection_from_host([90m[39;49;00m > cert = None > host_params = {'host': '%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmpl3zprga_', > 'port': None, > 'scheme': 'http+unix'} > pool_kwargs = {'cert_reqs': 'CERT_REQUIRED', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} > proxies = OrderedDict([('distcc_socks', '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', '/var/tmp/portage/.portage.13728.net.sock')]) > proxy = None > request = <PreparedRequest [GET]> > self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe77865be00> > verify = True >[1m[31m/usr/lib/python3.12/site-packages/urllib3/poolmanager.py[0m:304: in connection_from_host > [0m[94mreturn[39;49;00m [96mself[39;49;00m.connection_from_context(request_context)[90m[39;49;00m > host = '%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmpl3zprga_' > pool_kwargs = {'cert_reqs': 'CERT_REQUIRED', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} > port = 80 > request_context = {'block': False, > 'cert_reqs': 'CERT_REQUIRED', > 'host': '%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmpl3zprga_', > 'maxsize': 10, > 'port': 80, > 'scheme': 'http+unix', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} > scheme = 'http+unix' > self = <urllib3.poolmanager.PoolManager object at 0x7fe77865be90> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <urllib3.poolmanager.PoolManager object at 0x7fe77865be90> >request_context = {'block': False, 'cert_reqs': 'CERT_REQUIRED', 'host': '%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmpl3zprga_', 'maxsize': 10, ...} > > [0m[94mdef[39;49;00m [92mconnection_from_context[39;49;00m([90m[39;49;00m > [96mself[39;49;00m, request_context: [96mdict[39;49;00m[[96mstr[39;49;00m, typing.Any][90m[39;49;00m > ) -> HTTPConnectionPool:[90m[39;49;00m > [90m [39;49;00m[33m"""[39;49;00m > [33m Get a :class:`urllib3.connectionpool.ConnectionPool` based on the request context.[39;49;00m > [33m[39;49;00m > [33m ``request_context`` must at least contain the ``scheme`` key and its[39;49;00m > [33m value must be a key in ``key_fn_by_scheme`` instance variable.[39;49;00m > [33m """[39;49;00m[90m[39;49;00m > [94mif[39;49;00m [33m"[39;49;00m[33mstrict[39;49;00m[33m"[39;49;00m [95min[39;49;00m request_context:[90m[39;49;00m > warnings.warn([90m[39;49;00m > [33m"[39;49;00m[33mThe [39;49;00m[33m'[39;49;00m[33mstrict[39;49;00m[33m'[39;49;00m[33m parameter is no longer needed on Python 3+. [39;49;00m[33m"[39;49;00m[90m[39;49;00m > [33m"[39;49;00m[33mThis will raise an error in urllib3 v2.1.0.[39;49;00m[33m"[39;49;00m,[90m[39;49;00m > [96mDeprecationWarning[39;49;00m,[90m[39;49;00m > )[90m[39;49;00m > request_context.pop([33m"[39;49;00m[33mstrict[39;49;00m[33m"[39;49;00m)[90m[39;49;00m > [90m[39;49;00m > scheme = request_context[[33m"[39;49;00m[33mscheme[39;49;00m[33m"[39;49;00m].lower()[90m[39;49;00m > pool_key_constructor = [96mself[39;49;00m.key_fn_by_scheme.get(scheme)[90m[39;49;00m > [94mif[39;49;00m [95mnot[39;49;00m pool_key_constructor:[90m[39;49;00m >> [94mraise[39;49;00m URLSchemeUnknown(scheme)[90m[39;49;00m >[1m[31mE urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+unix[0m > >pool_key_constructor = None >request_context = {'block': False, > 'cert_reqs': 'CERT_REQUIRED', > 'host': '%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmpl3zprga_', > 'maxsize': 10, > 'port': 80, > 'scheme': 'http+unix', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} >scheme = 'http+unix' >self = <urllib3.poolmanager.PoolManager object at 0x7fe77865be90> > >[1m[31m/usr/lib/python3.12/site-packages/urllib3/poolmanager.py[0m:326: URLSchemeUnknown > >[33mDuring handling of the above exception, another exception occurred:[0m > >http_request_timeout = 0.1, peercreds_enabled_server = <cheroot.server.HTTPServer object at 0x7fe778669910> > > [0m[37m@unix_only_sock_test[39;49;00m[90m[39;49;00m > [37m@non_macos_sock_test[39;49;00m[90m[39;49;00m > [37m@pytest[39;49;00m.mark.flaky(reruns=[94m3[39;49;00m, reruns_delay=[94m2[39;49;00m)[90m[39;49;00m > [94mdef[39;49;00m [92mtest_peercreds_unix_sock[39;49;00m(http_request_timeout, peercreds_enabled_server):[90m[39;49;00m > [90m [39;49;00m[33m"""Check that ``PEERCRED`` lookup works when enabled."""[39;49;00m[90m[39;49;00m > httpserver = peercreds_enabled_server[90m[39;49;00m > bind_addr = httpserver.bind_addr[90m[39;49;00m > [90m[39;49;00m > [94mif[39;49;00m [96misinstance[39;49;00m(bind_addr, [96mbytes[39;49;00m):[90m[39;49;00m > bind_addr = bind_addr.decode()[90m[39;49;00m > [90m[39;49;00m > [90m# pylint: disable=possibly-unused-variable[39;49;00m[90m[39;49;00m > quoted = urllib.parse.quote(bind_addr, safe=[33m'[39;49;00m[33m'[39;49;00m)[90m[39;49;00m > unix_base_uri = [33m'[39;49;00m[33mhttp+unix://[39;49;00m[33m{quoted}[39;49;00m[33m'[39;49;00m.format(**[96mlocals[39;49;00m())[90m[39;49;00m > [90m[39;49;00m > expected_peercreds = os.getpid(), os.getuid(), os.getgid()[90m[39;49;00m > expected_peercreds = [33m'[39;49;00m[33m|[39;49;00m[33m'[39;49;00m.join([96mmap[39;49;00m([96mstr[39;49;00m, expected_peercreds))[90m[39;49;00m > [90m[39;49;00m > [94mwith[39;49;00m requests_unixsocket.monkeypatch():[90m[39;49;00m >> peercreds_resp = requests.get([90m[39;49;00m > unix_base_uri + PEERCRED_IDS_URI,[90m[39;49;00m > timeout=http_request_timeout,[90m[39;49;00m > )[90m[39;49;00m > >bind_addr = '/var/tmp/portage/dev-python/cheroot-10.0.1/temp/tmpl3zprga_' >expected_peercreds = '105|250|250' >http_request_timeout = 0.1 >httpserver = <cheroot.server.HTTPServer object at 0x7fe778669910> >peercreds_enabled_server = <cheroot.server.HTTPServer object at 0x7fe778669910> >quoted = '%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmpl3zprga_' >unix_base_uri = 'http+unix://%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmpl3zprga_' > >[1m[31mcheroot/test/test_server.py[0m:275: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31m/usr/lib/python3.12/site-packages/requests_unixsocket/__init__.py[0m:51: in get > [0m[94mreturn[39;49;00m request([33m'[39;49;00m[33mget[39;49;00m[33m'[39;49;00m, url, **kwargs)[90m[39;49;00m > kwargs = {'allow_redirects': True, 'timeout': 0.1} > url = 'http+unix://%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmpl3zprga_/peer_creds/ids' >[1m[31m/usr/lib/python3.12/site-packages/requests_unixsocket/__init__.py[0m:46: in request > [0m[94mreturn[39;49;00m session.request(method=method, url=url, **kwargs)[90m[39;49;00m > kwargs = {'allow_redirects': True, 'timeout': 0.1} > method = 'get' > session = <requests_unixsocket.Session object at 0x7fe77865b620> > url = 'http+unix://%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmpl3zprga_/peer_creds/ids' >[1m[31m/usr/lib/python3.12/site-packages/requests/sessions.py[0m:589: in request > [0mresp = [96mself[39;49;00m.send(prep, **send_kwargs)[90m[39;49;00m > allow_redirects = True > auth = None > cert = None > cookies = None > data = None > files = None > headers = None > hooks = None > json = None > method = 'get' > params = None > prep = <PreparedRequest [GET]> > proxies = {'distcc_socks': '/var/tmp/portage/.portage.13728.net.sock', > 'portage_socks5': '/var/tmp/portage/.portage.13728.net.sock'} > req = <Request [GET]> > self = <requests_unixsocket.Session object at 0x7fe77865b620> > send_kwargs = {'allow_redirects': True, > 'cert': None, > 'proxies': OrderedDict([('distcc_socks', > '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', > '/var/tmp/portage/.portage.13728.net.sock')]), > 'stream': False, > 'timeout': 0.1, > 'verify': True} > settings = {'cert': None, > 'proxies': OrderedDict([('distcc_socks', > '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', > '/var/tmp/portage/.portage.13728.net.sock')]), > 'stream': False, > 'verify': True} > stream = None > timeout = 0.1 > url = 'http+unix://%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmpl3zprga_/peer_creds/ids' > verify = None >[1m[31m/usr/lib/python3.12/site-packages/requests/sessions.py[0m:703: in send > [0mr = adapter.send(request, **kwargs)[90m[39;49;00m > adapter = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe77865be00> > allow_redirects = True > hooks = {'response': []} > kwargs = {'cert': None, > 'proxies': OrderedDict([('distcc_socks', > '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', > '/var/tmp/portage/.portage.13728.net.sock')]), > 'stream': False, > 'timeout': 0.1, > 'verify': True} > request = <PreparedRequest [GET]> > self = <requests_unixsocket.Session object at 0x7fe77865b620> > start = 1720902429.248522 > stream = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe77865be00>, request = <PreparedRequest [GET]>, stream = False, timeout = 0.1 >verify = True, cert = None >proxies = OrderedDict({'distcc_socks': '/var/tmp/portage/.portage.13728.net.sock', 'portage_socks5': '/var/tmp/portage/.portage.13728.net.sock'}) > > [0m[94mdef[39;49;00m [92msend[39;49;00m([90m[39;49;00m > [96mself[39;49;00m, request, stream=[94mFalse[39;49;00m, timeout=[94mNone[39;49;00m, verify=[94mTrue[39;49;00m, cert=[94mNone[39;49;00m, proxies=[94mNone[39;49;00m[90m[39;49;00m > ):[90m[39;49;00m > [90m [39;49;00m[33m"""Sends PreparedRequest object. Returns Response object.[39;49;00m > [33m[39;49;00m > [33m :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.[39;49;00m > [33m :param stream: (optional) Whether to stream the request content.[39;49;00m > [33m :param timeout: (optional) How long to wait for the server to send[39;49;00m > [33m data before giving up, as a float, or a :ref:`(connect timeout,[39;49;00m > [33m read timeout) <timeouts>` tuple.[39;49;00m > [33m :type timeout: float or tuple or urllib3 Timeout object[39;49;00m > [33m :param verify: (optional) Either a boolean, in which case it controls whether[39;49;00m > [33m we verify the server's TLS certificate, or a string, in which case it[39;49;00m > [33m must be a path to a CA bundle to use[39;49;00m > [33m :param cert: (optional) Any user-provided SSL certificate to be trusted.[39;49;00m > [33m :param proxies: (optional) The proxies dictionary to apply to the request.[39;49;00m > [33m :rtype: requests.Response[39;49;00m > [33m """[39;49;00m[90m[39;49;00m > [90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > conn = [96mself[39;49;00m._get_connection(request, verify, proxies=proxies, cert=cert)[90m[39;49;00m > [94mexcept[39;49;00m LocationValueError [94mas[39;49;00m e:[90m[39;49;00m >> [94mraise[39;49;00m InvalidURL(e, request=request)[90m[39;49;00m >[1m[31mE requests.exceptions.InvalidURL: Not supported URL scheme http+unix[0m > >cert = None >proxies = OrderedDict([('distcc_socks', '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', '/var/tmp/portage/.portage.13728.net.sock')]) >request = <PreparedRequest [GET]> >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe77865be00> >stream = False >timeout = 0.1 >verify = True > >[1m[31m/usr/lib/python3.12/site-packages/requests/adapters.py[0m:534: InvalidURL >[31m[1m________________________________________________ test_peercreds_unix_sock_with_lookup[abstract] ________________________________________________[0m >[gw1] linux -- Python 3.12.3 /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/install/usr/bin/python3.12 > >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe7786ce720>, request = <PreparedRequest [GET]>, stream = False, timeout = 0.1 >verify = True, cert = None >proxies = OrderedDict({'distcc_socks': '/var/tmp/portage/.portage.13728.net.sock', 'portage_socks5': '/var/tmp/portage/.portage.13728.net.sock'}) > > [0m[94mdef[39;49;00m [92msend[39;49;00m([90m[39;49;00m > [96mself[39;49;00m, request, stream=[94mFalse[39;49;00m, timeout=[94mNone[39;49;00m, verify=[94mTrue[39;49;00m, cert=[94mNone[39;49;00m, proxies=[94mNone[39;49;00m[90m[39;49;00m > ):[90m[39;49;00m > [90m [39;49;00m[33m"""Sends PreparedRequest object. Returns Response object.[39;49;00m > [33m[39;49;00m > [33m :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.[39;49;00m > [33m :param stream: (optional) Whether to stream the request content.[39;49;00m > [33m :param timeout: (optional) How long to wait for the server to send[39;49;00m > [33m data before giving up, as a float, or a :ref:`(connect timeout,[39;49;00m > [33m read timeout) <timeouts>` tuple.[39;49;00m > [33m :type timeout: float or tuple or urllib3 Timeout object[39;49;00m > [33m :param verify: (optional) Either a boolean, in which case it controls whether[39;49;00m > [33m we verify the server's TLS certificate, or a string, in which case it[39;49;00m > [33m must be a path to a CA bundle to use[39;49;00m > [33m :param cert: (optional) Any user-provided SSL certificate to be trusted.[39;49;00m > [33m :param proxies: (optional) The proxies dictionary to apply to the request.[39;49;00m > [33m :rtype: requests.Response[39;49;00m > [33m """[39;49;00m[90m[39;49;00m > [90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m >> conn = [96mself[39;49;00m._get_connection(request, verify, proxies=proxies, cert=cert)[90m[39;49;00m > >cert = None >proxies = OrderedDict([('distcc_socks', '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', '/var/tmp/portage/.portage.13728.net.sock')]) >request = <PreparedRequest [GET]> >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe7786ce720> >stream = False >timeout = 0.1 >verify = True > >[1m[31m/usr/lib/python3.12/site-packages/requests/adapters.py[0m:532: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31m/usr/lib/python3.12/site-packages/requests/adapters.py[0m:400: in _get_connection > [0mconn = [96mself[39;49;00m.poolmanager.connection_from_host([90m[39;49;00m > cert = None > host_params = {'host': '%00cheroot-test-socket0f7472c7-3f35-4025-857c-68701e422e33', > 'port': None, > 'scheme': 'http+unix'} > pool_kwargs = {'cert_reqs': 'CERT_REQUIRED', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} > proxies = OrderedDict([('distcc_socks', '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', '/var/tmp/portage/.portage.13728.net.sock')]) > proxy = None > request = <PreparedRequest [GET]> > self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe7786ce720> > verify = True >[1m[31m/usr/lib/python3.12/site-packages/urllib3/poolmanager.py[0m:304: in connection_from_host > [0m[94mreturn[39;49;00m [96mself[39;49;00m.connection_from_context(request_context)[90m[39;49;00m > host = '%00cheroot-test-socket0f7472c7-3f35-4025-857c-68701e422e33' > pool_kwargs = {'cert_reqs': 'CERT_REQUIRED', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} > port = 80 > request_context = {'block': False, > 'cert_reqs': 'CERT_REQUIRED', > 'host': '%00cheroot-test-socket0f7472c7-3f35-4025-857c-68701e422e33', > 'maxsize': 10, > 'port': 80, > 'scheme': 'http+unix', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} > scheme = 'http+unix' > self = <urllib3.poolmanager.PoolManager object at 0x7fe7786ce6f0> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <urllib3.poolmanager.PoolManager object at 0x7fe7786ce6f0> >request_context = {'block': False, 'cert_reqs': 'CERT_REQUIRED', 'host': '%00cheroot-test-socket0f7472c7-3f35-4025-857c-68701e422e33', 'maxsize': 10, ...} > > [0m[94mdef[39;49;00m [92mconnection_from_context[39;49;00m([90m[39;49;00m > [96mself[39;49;00m, request_context: [96mdict[39;49;00m[[96mstr[39;49;00m, typing.Any][90m[39;49;00m > ) -> HTTPConnectionPool:[90m[39;49;00m > [90m [39;49;00m[33m"""[39;49;00m > [33m Get a :class:`urllib3.connectionpool.ConnectionPool` based on the request context.[39;49;00m > [33m[39;49;00m > [33m ``request_context`` must at least contain the ``scheme`` key and its[39;49;00m > [33m value must be a key in ``key_fn_by_scheme`` instance variable.[39;49;00m > [33m """[39;49;00m[90m[39;49;00m > [94mif[39;49;00m [33m"[39;49;00m[33mstrict[39;49;00m[33m"[39;49;00m [95min[39;49;00m request_context:[90m[39;49;00m > warnings.warn([90m[39;49;00m > [33m"[39;49;00m[33mThe [39;49;00m[33m'[39;49;00m[33mstrict[39;49;00m[33m'[39;49;00m[33m parameter is no longer needed on Python 3+. [39;49;00m[33m"[39;49;00m[90m[39;49;00m > [33m"[39;49;00m[33mThis will raise an error in urllib3 v2.1.0.[39;49;00m[33m"[39;49;00m,[90m[39;49;00m > [96mDeprecationWarning[39;49;00m,[90m[39;49;00m > )[90m[39;49;00m > request_context.pop([33m"[39;49;00m[33mstrict[39;49;00m[33m"[39;49;00m)[90m[39;49;00m > [90m[39;49;00m > scheme = request_context[[33m"[39;49;00m[33mscheme[39;49;00m[33m"[39;49;00m].lower()[90m[39;49;00m > pool_key_constructor = [96mself[39;49;00m.key_fn_by_scheme.get(scheme)[90m[39;49;00m > [94mif[39;49;00m [95mnot[39;49;00m pool_key_constructor:[90m[39;49;00m >> [94mraise[39;49;00m URLSchemeUnknown(scheme)[90m[39;49;00m >[1m[31mE urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+unix[0m > >pool_key_constructor = None >request_context = {'block': False, > 'cert_reqs': 'CERT_REQUIRED', > 'host': '%00cheroot-test-socket0f7472c7-3f35-4025-857c-68701e422e33', > 'maxsize': 10, > 'port': 80, > 'scheme': 'http+unix', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} >scheme = 'http+unix' >self = <urllib3.poolmanager.PoolManager object at 0x7fe7786ce6f0> > >[1m[31m/usr/lib/python3.12/site-packages/urllib3/poolmanager.py[0m:326: URLSchemeUnknown > >[33mDuring handling of the above exception, another exception occurred:[0m > >http_request_timeout = 0.1, peercreds_enabled_server = <cheroot.server.HTTPServer object at 0x7fe7786cc740> > > [0m[37m@pytest[39;49;00m.mark.skipif([90m[39;49;00m > [95mnot[39;49;00m IS_UID_GID_RESOLVABLE,[90m[39;49;00m > reason=[33m'[39;49;00m[33mModules `grp` and `pwd` are not available [39;49;00m[33m'[39;49;00m[90m[39;49;00m > [33m'[39;49;00m[33munder the current platform[39;49;00m[33m'[39;49;00m,[90m[39;49;00m > )[90m[39;49;00m > [37m@unix_only_sock_test[39;49;00m[90m[39;49;00m > [37m@non_macos_sock_test[39;49;00m[90m[39;49;00m > [94mdef[39;49;00m [92mtest_peercreds_unix_sock_with_lookup[39;49;00m([90m[39;49;00m > http_request_timeout,[90m[39;49;00m > peercreds_enabled_server,[90m[39;49;00m > ):[90m[39;49;00m > [90m [39;49;00m[33m"""Check that ``PEERCRED`` resolution works when enabled."""[39;49;00m[90m[39;49;00m > httpserver = peercreds_enabled_server[90m[39;49;00m > httpserver.peercreds_resolve_enabled = [94mTrue[39;49;00m[90m[39;49;00m > [90m[39;49;00m > bind_addr = httpserver.bind_addr[90m[39;49;00m > [90m[39;49;00m > [94mif[39;49;00m [96misinstance[39;49;00m(bind_addr, [96mbytes[39;49;00m):[90m[39;49;00m > bind_addr = bind_addr.decode()[90m[39;49;00m > [90m[39;49;00m > [90m# pylint: disable=possibly-unused-variable[39;49;00m[90m[39;49;00m > quoted = urllib.parse.quote(bind_addr, safe=[33m'[39;49;00m[33m'[39;49;00m)[90m[39;49;00m > unix_base_uri = [33m'[39;49;00m[33mhttp+unix://[39;49;00m[33m{quoted}[39;49;00m[33m'[39;49;00m.format(**[96mlocals[39;49;00m())[90m[39;49;00m > [90m[39;49;00m > [94mimport[39;49;00m [04m[96mgrp[39;49;00m[90m[39;49;00m > [94mimport[39;49;00m [04m[96mpwd[39;49;00m[90m[39;49;00m > expected_textcreds = ([90m[39;49;00m > pwd.getpwuid(os.getuid()).pw_name,[90m[39;49;00m > grp.getgrgid(os.getgid()).gr_name,[90m[39;49;00m > )[90m[39;49;00m > expected_textcreds = [33m'[39;49;00m[33m![39;49;00m[33m'[39;49;00m.join([96mmap[39;49;00m([96mstr[39;49;00m, expected_textcreds))[90m[39;49;00m > [94mwith[39;49;00m requests_unixsocket.monkeypatch():[90m[39;49;00m >> peercreds_text_resp = requests.get([90m[39;49;00m > unix_base_uri + PEERCRED_TEXTS_URI,[90m[39;49;00m > timeout=http_request_timeout,[90m[39;49;00m > )[90m[39;49;00m > >bind_addr = '\x00cheroot-test-socket0f7472c7-3f35-4025-857c-68701e422e33' >expected_textcreds = 'portage!portage' >grp = <module 'grp' from '/usr/lib/python3.12/lib-dynload/grp.cpython-312-x86_64-linux-gnu.so'> >http_request_timeout = 0.1 >httpserver = <cheroot.server.HTTPServer object at 0x7fe7786cc740> >peercreds_enabled_server = <cheroot.server.HTTPServer object at 0x7fe7786cc740> >pwd = <module 'pwd' (built-in)> >quoted = '%00cheroot-test-socket0f7472c7-3f35-4025-857c-68701e422e33' >unix_base_uri = 'http+unix://%00cheroot-test-socket0f7472c7-3f35-4025-857c-68701e422e33' > >[1m[31mcheroot/test/test_server.py[0m:321: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31m/usr/lib/python3.12/site-packages/requests_unixsocket/__init__.py[0m:51: in get > [0m[94mreturn[39;49;00m request([33m'[39;49;00m[33mget[39;49;00m[33m'[39;49;00m, url, **kwargs)[90m[39;49;00m > kwargs = {'allow_redirects': True, 'timeout': 0.1} > url = 'http+unix://%00cheroot-test-socket0f7472c7-3f35-4025-857c-68701e422e33/peer_creds/texts' >[1m[31m/usr/lib/python3.12/site-packages/requests_unixsocket/__init__.py[0m:46: in request > [0m[94mreturn[39;49;00m session.request(method=method, url=url, **kwargs)[90m[39;49;00m > kwargs = {'allow_redirects': True, 'timeout': 0.1} > method = 'get' > session = <requests_unixsocket.Session object at 0x7fe7786ce030> > url = 'http+unix://%00cheroot-test-socket0f7472c7-3f35-4025-857c-68701e422e33/peer_creds/texts' >[1m[31m/usr/lib/python3.12/site-packages/requests/sessions.py[0m:589: in request > [0mresp = [96mself[39;49;00m.send(prep, **send_kwargs)[90m[39;49;00m > allow_redirects = True > auth = None > cert = None > cookies = None > data = None > files = None > headers = None > hooks = None > json = None > method = 'get' > params = None > prep = <PreparedRequest [GET]> > proxies = {'distcc_socks': '/var/tmp/portage/.portage.13728.net.sock', > 'portage_socks5': '/var/tmp/portage/.portage.13728.net.sock'} > req = <Request [GET]> > self = <requests_unixsocket.Session object at 0x7fe7786ce030> > send_kwargs = {'allow_redirects': True, > 'cert': None, > 'proxies': OrderedDict([('distcc_socks', > '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', > '/var/tmp/portage/.portage.13728.net.sock')]), > 'stream': False, > 'timeout': 0.1, > 'verify': True} > settings = {'cert': None, > 'proxies': OrderedDict([('distcc_socks', > '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', > '/var/tmp/portage/.portage.13728.net.sock')]), > 'stream': False, > 'verify': True} > stream = None > timeout = 0.1 > url = 'http+unix://%00cheroot-test-socket0f7472c7-3f35-4025-857c-68701e422e33/peer_creds/texts' > verify = None >[1m[31m/usr/lib/python3.12/site-packages/requests/sessions.py[0m:703: in send > [0mr = adapter.send(request, **kwargs)[90m[39;49;00m > adapter = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe7786ce720> > allow_redirects = True > hooks = {'response': []} > kwargs = {'cert': None, > 'proxies': OrderedDict([('distcc_socks', > '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', > '/var/tmp/portage/.portage.13728.net.sock')]), > 'stream': False, > 'timeout': 0.1, > 'verify': True} > request = <PreparedRequest [GET]> > self = <requests_unixsocket.Session object at 0x7fe7786ce030> > start = 1720902430.278272 > stream = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe7786ce720>, request = <PreparedRequest [GET]>, stream = False, timeout = 0.1 >verify = True, cert = None >proxies = OrderedDict({'distcc_socks': '/var/tmp/portage/.portage.13728.net.sock', 'portage_socks5': '/var/tmp/portage/.portage.13728.net.sock'}) > > [0m[94mdef[39;49;00m [92msend[39;49;00m([90m[39;49;00m > [96mself[39;49;00m, request, stream=[94mFalse[39;49;00m, timeout=[94mNone[39;49;00m, verify=[94mTrue[39;49;00m, cert=[94mNone[39;49;00m, proxies=[94mNone[39;49;00m[90m[39;49;00m > ):[90m[39;49;00m > [90m [39;49;00m[33m"""Sends PreparedRequest object. Returns Response object.[39;49;00m > [33m[39;49;00m > [33m :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.[39;49;00m > [33m :param stream: (optional) Whether to stream the request content.[39;49;00m > [33m :param timeout: (optional) How long to wait for the server to send[39;49;00m > [33m data before giving up, as a float, or a :ref:`(connect timeout,[39;49;00m > [33m read timeout) <timeouts>` tuple.[39;49;00m > [33m :type timeout: float or tuple or urllib3 Timeout object[39;49;00m > [33m :param verify: (optional) Either a boolean, in which case it controls whether[39;49;00m > [33m we verify the server's TLS certificate, or a string, in which case it[39;49;00m > [33m must be a path to a CA bundle to use[39;49;00m > [33m :param cert: (optional) Any user-provided SSL certificate to be trusted.[39;49;00m > [33m :param proxies: (optional) The proxies dictionary to apply to the request.[39;49;00m > [33m :rtype: requests.Response[39;49;00m > [33m """[39;49;00m[90m[39;49;00m > [90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > conn = [96mself[39;49;00m._get_connection(request, verify, proxies=proxies, cert=cert)[90m[39;49;00m > [94mexcept[39;49;00m LocationValueError [94mas[39;49;00m e:[90m[39;49;00m >> [94mraise[39;49;00m InvalidURL(e, request=request)[90m[39;49;00m >[1m[31mE requests.exceptions.InvalidURL: Not supported URL scheme http+unix[0m > >cert = None >proxies = OrderedDict([('distcc_socks', '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', '/var/tmp/portage/.portage.13728.net.sock')]) >request = <PreparedRequest [GET]> >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe7786ce720> >stream = False >timeout = 0.1 >verify = True > >[1m[31m/usr/lib/python3.12/site-packages/requests/adapters.py[0m:534: InvalidURL >[31m[1m__________________________________________________ test_peercreds_unix_sock_with_lookup[file] __________________________________________________[0m >[gw1] linux -- Python 3.12.3 /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/install/usr/bin/python3.12 > >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe7786c5f40>, request = <PreparedRequest [GET]>, stream = False, timeout = 0.1 >verify = True, cert = None >proxies = OrderedDict({'distcc_socks': '/var/tmp/portage/.portage.13728.net.sock', 'portage_socks5': '/var/tmp/portage/.portage.13728.net.sock'}) > > [0m[94mdef[39;49;00m [92msend[39;49;00m([90m[39;49;00m > [96mself[39;49;00m, request, stream=[94mFalse[39;49;00m, timeout=[94mNone[39;49;00m, verify=[94mTrue[39;49;00m, cert=[94mNone[39;49;00m, proxies=[94mNone[39;49;00m[90m[39;49;00m > ):[90m[39;49;00m > [90m [39;49;00m[33m"""Sends PreparedRequest object. Returns Response object.[39;49;00m > [33m[39;49;00m > [33m :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.[39;49;00m > [33m :param stream: (optional) Whether to stream the request content.[39;49;00m > [33m :param timeout: (optional) How long to wait for the server to send[39;49;00m > [33m data before giving up, as a float, or a :ref:`(connect timeout,[39;49;00m > [33m read timeout) <timeouts>` tuple.[39;49;00m > [33m :type timeout: float or tuple or urllib3 Timeout object[39;49;00m > [33m :param verify: (optional) Either a boolean, in which case it controls whether[39;49;00m > [33m we verify the server's TLS certificate, or a string, in which case it[39;49;00m > [33m must be a path to a CA bundle to use[39;49;00m > [33m :param cert: (optional) Any user-provided SSL certificate to be trusted.[39;49;00m > [33m :param proxies: (optional) The proxies dictionary to apply to the request.[39;49;00m > [33m :rtype: requests.Response[39;49;00m > [33m """[39;49;00m[90m[39;49;00m > [90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m >> conn = [96mself[39;49;00m._get_connection(request, verify, proxies=proxies, cert=cert)[90m[39;49;00m > >cert = None >proxies = OrderedDict([('distcc_socks', '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', '/var/tmp/portage/.portage.13728.net.sock')]) >request = <PreparedRequest [GET]> >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe7786c5f40> >stream = False >timeout = 0.1 >verify = True > >[1m[31m/usr/lib/python3.12/site-packages/requests/adapters.py[0m:532: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31m/usr/lib/python3.12/site-packages/requests/adapters.py[0m:400: in _get_connection > [0mconn = [96mself[39;49;00m.poolmanager.connection_from_host([90m[39;49;00m > cert = None > host_params = {'host': '%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmp8pc0h6q8', > 'port': None, > 'scheme': 'http+unix'} > pool_kwargs = {'cert_reqs': 'CERT_REQUIRED', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} > proxies = OrderedDict([('distcc_socks', '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', '/var/tmp/portage/.portage.13728.net.sock')]) > proxy = None > request = <PreparedRequest [GET]> > self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe7786c5f40> > verify = True >[1m[31m/usr/lib/python3.12/site-packages/urllib3/poolmanager.py[0m:304: in connection_from_host > [0m[94mreturn[39;49;00m [96mself[39;49;00m.connection_from_context(request_context)[90m[39;49;00m > host = '%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmp8pc0h6q8' > pool_kwargs = {'cert_reqs': 'CERT_REQUIRED', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} > port = 80 > request_context = {'block': False, > 'cert_reqs': 'CERT_REQUIRED', > 'host': '%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmp8pc0h6q8', > 'maxsize': 10, > 'port': 80, > 'scheme': 'http+unix', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} > scheme = 'http+unix' > self = <urllib3.poolmanager.PoolManager object at 0x7fe7786c60c0> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <urllib3.poolmanager.PoolManager object at 0x7fe7786c60c0> >request_context = {'block': False, 'cert_reqs': 'CERT_REQUIRED', 'host': '%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmp8pc0h6q8', 'maxsize': 10, ...} > > [0m[94mdef[39;49;00m [92mconnection_from_context[39;49;00m([90m[39;49;00m > [96mself[39;49;00m, request_context: [96mdict[39;49;00m[[96mstr[39;49;00m, typing.Any][90m[39;49;00m > ) -> HTTPConnectionPool:[90m[39;49;00m > [90m [39;49;00m[33m"""[39;49;00m > [33m Get a :class:`urllib3.connectionpool.ConnectionPool` based on the request context.[39;49;00m > [33m[39;49;00m > [33m ``request_context`` must at least contain the ``scheme`` key and its[39;49;00m > [33m value must be a key in ``key_fn_by_scheme`` instance variable.[39;49;00m > [33m """[39;49;00m[90m[39;49;00m > [94mif[39;49;00m [33m"[39;49;00m[33mstrict[39;49;00m[33m"[39;49;00m [95min[39;49;00m request_context:[90m[39;49;00m > warnings.warn([90m[39;49;00m > [33m"[39;49;00m[33mThe [39;49;00m[33m'[39;49;00m[33mstrict[39;49;00m[33m'[39;49;00m[33m parameter is no longer needed on Python 3+. [39;49;00m[33m"[39;49;00m[90m[39;49;00m > [33m"[39;49;00m[33mThis will raise an error in urllib3 v2.1.0.[39;49;00m[33m"[39;49;00m,[90m[39;49;00m > [96mDeprecationWarning[39;49;00m,[90m[39;49;00m > )[90m[39;49;00m > request_context.pop([33m"[39;49;00m[33mstrict[39;49;00m[33m"[39;49;00m)[90m[39;49;00m > [90m[39;49;00m > scheme = request_context[[33m"[39;49;00m[33mscheme[39;49;00m[33m"[39;49;00m].lower()[90m[39;49;00m > pool_key_constructor = [96mself[39;49;00m.key_fn_by_scheme.get(scheme)[90m[39;49;00m > [94mif[39;49;00m [95mnot[39;49;00m pool_key_constructor:[90m[39;49;00m >> [94mraise[39;49;00m URLSchemeUnknown(scheme)[90m[39;49;00m >[1m[31mE urllib3.exceptions.URLSchemeUnknown: Not supported URL scheme http+unix[0m > >pool_key_constructor = None >request_context = {'block': False, > 'cert_reqs': 'CERT_REQUIRED', > 'host': '%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmp8pc0h6q8', > 'maxsize': 10, > 'port': 80, > 'scheme': 'http+unix', > 'ssl_context': <ssl.SSLContext object at 0x7fe780de95d0>} >scheme = 'http+unix' >self = <urllib3.poolmanager.PoolManager object at 0x7fe7786c60c0> > >[1m[31m/usr/lib/python3.12/site-packages/urllib3/poolmanager.py[0m:326: URLSchemeUnknown > >[33mDuring handling of the above exception, another exception occurred:[0m > >http_request_timeout = 0.1, peercreds_enabled_server = <cheroot.server.HTTPServer object at 0x7fe7786c5fd0> > > [0m[37m@pytest[39;49;00m.mark.skipif([90m[39;49;00m > [95mnot[39;49;00m IS_UID_GID_RESOLVABLE,[90m[39;49;00m > reason=[33m'[39;49;00m[33mModules `grp` and `pwd` are not available [39;49;00m[33m'[39;49;00m[90m[39;49;00m > [33m'[39;49;00m[33munder the current platform[39;49;00m[33m'[39;49;00m,[90m[39;49;00m > )[90m[39;49;00m > [37m@unix_only_sock_test[39;49;00m[90m[39;49;00m > [37m@non_macos_sock_test[39;49;00m[90m[39;49;00m > [94mdef[39;49;00m [92mtest_peercreds_unix_sock_with_lookup[39;49;00m([90m[39;49;00m > http_request_timeout,[90m[39;49;00m > peercreds_enabled_server,[90m[39;49;00m > ):[90m[39;49;00m > [90m [39;49;00m[33m"""Check that ``PEERCRED`` resolution works when enabled."""[39;49;00m[90m[39;49;00m > httpserver = peercreds_enabled_server[90m[39;49;00m > httpserver.peercreds_resolve_enabled = [94mTrue[39;49;00m[90m[39;49;00m > [90m[39;49;00m > bind_addr = httpserver.bind_addr[90m[39;49;00m > [90m[39;49;00m > [94mif[39;49;00m [96misinstance[39;49;00m(bind_addr, [96mbytes[39;49;00m):[90m[39;49;00m > bind_addr = bind_addr.decode()[90m[39;49;00m > [90m[39;49;00m > [90m# pylint: disable=possibly-unused-variable[39;49;00m[90m[39;49;00m > quoted = urllib.parse.quote(bind_addr, safe=[33m'[39;49;00m[33m'[39;49;00m)[90m[39;49;00m > unix_base_uri = [33m'[39;49;00m[33mhttp+unix://[39;49;00m[33m{quoted}[39;49;00m[33m'[39;49;00m.format(**[96mlocals[39;49;00m())[90m[39;49;00m > [90m[39;49;00m > [94mimport[39;49;00m [04m[96mgrp[39;49;00m[90m[39;49;00m > [94mimport[39;49;00m [04m[96mpwd[39;49;00m[90m[39;49;00m > expected_textcreds = ([90m[39;49;00m > pwd.getpwuid(os.getuid()).pw_name,[90m[39;49;00m > grp.getgrgid(os.getgid()).gr_name,[90m[39;49;00m > )[90m[39;49;00m > expected_textcreds = [33m'[39;49;00m[33m![39;49;00m[33m'[39;49;00m.join([96mmap[39;49;00m([96mstr[39;49;00m, expected_textcreds))[90m[39;49;00m > [94mwith[39;49;00m requests_unixsocket.monkeypatch():[90m[39;49;00m >> peercreds_text_resp = requests.get([90m[39;49;00m > unix_base_uri + PEERCRED_TEXTS_URI,[90m[39;49;00m > timeout=http_request_timeout,[90m[39;49;00m > )[90m[39;49;00m > >bind_addr = '/var/tmp/portage/dev-python/cheroot-10.0.1/temp/tmp8pc0h6q8' >expected_textcreds = 'portage!portage' >grp = <module 'grp' from '/usr/lib/python3.12/lib-dynload/grp.cpython-312-x86_64-linux-gnu.so'> >http_request_timeout = 0.1 >httpserver = <cheroot.server.HTTPServer object at 0x7fe7786c5fd0> >peercreds_enabled_server = <cheroot.server.HTTPServer object at 0x7fe7786c5fd0> >pwd = <module 'pwd' (built-in)> >quoted = '%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmp8pc0h6q8' >unix_base_uri = 'http+unix://%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmp8pc0h6q8' > >[1m[31mcheroot/test/test_server.py[0m:321: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31m/usr/lib/python3.12/site-packages/requests_unixsocket/__init__.py[0m:51: in get > [0m[94mreturn[39;49;00m request([33m'[39;49;00m[33mget[39;49;00m[33m'[39;49;00m, url, **kwargs)[90m[39;49;00m > kwargs = {'allow_redirects': True, 'timeout': 0.1} > url = 'http+unix://%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmp8pc0h6q8/peer_creds/texts' >[1m[31m/usr/lib/python3.12/site-packages/requests_unixsocket/__init__.py[0m:46: in request > [0m[94mreturn[39;49;00m session.request(method=method, url=url, **kwargs)[90m[39;49;00m > kwargs = {'allow_redirects': True, 'timeout': 0.1} > method = 'get' > session = <requests_unixsocket.Session object at 0x7fe7786c5730> > url = 'http+unix://%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmp8pc0h6q8/peer_creds/texts' >[1m[31m/usr/lib/python3.12/site-packages/requests/sessions.py[0m:589: in request > [0mresp = [96mself[39;49;00m.send(prep, **send_kwargs)[90m[39;49;00m > allow_redirects = True > auth = None > cert = None > cookies = None > data = None > files = None > headers = None > hooks = None > json = None > method = 'get' > params = None > prep = <PreparedRequest [GET]> > proxies = {'distcc_socks': '/var/tmp/portage/.portage.13728.net.sock', > 'portage_socks5': '/var/tmp/portage/.portage.13728.net.sock'} > req = <Request [GET]> > self = <requests_unixsocket.Session object at 0x7fe7786c5730> > send_kwargs = {'allow_redirects': True, > 'cert': None, > 'proxies': OrderedDict([('distcc_socks', > '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', > '/var/tmp/portage/.portage.13728.net.sock')]), > 'stream': False, > 'timeout': 0.1, > 'verify': True} > settings = {'cert': None, > 'proxies': OrderedDict([('distcc_socks', > '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', > '/var/tmp/portage/.portage.13728.net.sock')]), > 'stream': False, > 'verify': True} > stream = None > timeout = 0.1 > url = 'http+unix://%2Fvar%2Ftmp%2Fportage%2Fdev-python%2Fcheroot-10.0.1%2Ftemp%2Ftmp8pc0h6q8/peer_creds/texts' > verify = None >[1m[31m/usr/lib/python3.12/site-packages/requests/sessions.py[0m:703: in send > [0mr = adapter.send(request, **kwargs)[90m[39;49;00m > adapter = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe7786c5f40> > allow_redirects = True > hooks = {'response': []} > kwargs = {'cert': None, > 'proxies': OrderedDict([('distcc_socks', > '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', > '/var/tmp/portage/.portage.13728.net.sock')]), > 'stream': False, > 'timeout': 0.1, > 'verify': True} > request = <PreparedRequest [GET]> > self = <requests_unixsocket.Session object at 0x7fe7786c5730> > start = 1720902431.3306866 > stream = False >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe7786c5f40>, request = <PreparedRequest [GET]>, stream = False, timeout = 0.1 >verify = True, cert = None >proxies = OrderedDict({'distcc_socks': '/var/tmp/portage/.portage.13728.net.sock', 'portage_socks5': '/var/tmp/portage/.portage.13728.net.sock'}) > > [0m[94mdef[39;49;00m [92msend[39;49;00m([90m[39;49;00m > [96mself[39;49;00m, request, stream=[94mFalse[39;49;00m, timeout=[94mNone[39;49;00m, verify=[94mTrue[39;49;00m, cert=[94mNone[39;49;00m, proxies=[94mNone[39;49;00m[90m[39;49;00m > ):[90m[39;49;00m > [90m [39;49;00m[33m"""Sends PreparedRequest object. Returns Response object.[39;49;00m > [33m[39;49;00m > [33m :param request: The :class:`PreparedRequest <PreparedRequest>` being sent.[39;49;00m > [33m :param stream: (optional) Whether to stream the request content.[39;49;00m > [33m :param timeout: (optional) How long to wait for the server to send[39;49;00m > [33m data before giving up, as a float, or a :ref:`(connect timeout,[39;49;00m > [33m read timeout) <timeouts>` tuple.[39;49;00m > [33m :type timeout: float or tuple or urllib3 Timeout object[39;49;00m > [33m :param verify: (optional) Either a boolean, in which case it controls whether[39;49;00m > [33m we verify the server's TLS certificate, or a string, in which case it[39;49;00m > [33m must be a path to a CA bundle to use[39;49;00m > [33m :param cert: (optional) Any user-provided SSL certificate to be trusted.[39;49;00m > [33m :param proxies: (optional) The proxies dictionary to apply to the request.[39;49;00m > [33m :rtype: requests.Response[39;49;00m > [33m """[39;49;00m[90m[39;49;00m > [90m[39;49;00m > [94mtry[39;49;00m:[90m[39;49;00m > conn = [96mself[39;49;00m._get_connection(request, verify, proxies=proxies, cert=cert)[90m[39;49;00m > [94mexcept[39;49;00m LocationValueError [94mas[39;49;00m e:[90m[39;49;00m >> [94mraise[39;49;00m InvalidURL(e, request=request)[90m[39;49;00m >[1m[31mE requests.exceptions.InvalidURL: Not supported URL scheme http+unix[0m > >cert = None >proxies = OrderedDict([('distcc_socks', '/var/tmp/portage/.portage.13728.net.sock'), > ('portage_socks5', '/var/tmp/portage/.portage.13728.net.sock')]) >request = <PreparedRequest [GET]> >self = <requests_unixsocket.adapters.UnixAdapter object at 0x7fe7786c5f40> >stream = False >timeout = 0.1 >verify = True > >[1m[31m/usr/lib/python3.12/site-packages/requests/adapters.py[0m:534: InvalidURL >================================================================== XFAILURES =================================================================== >[31m[1m______________________________________________________________ test_large_request ______________________________________________________________[0m >[gw1] linux -- Python 3.12.3 /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/install/usr/bin/python3.12 > >test_client_with_defaults = <cheroot.testing._TestClient object at 0x7fe780178290> > > [0m[37m@pytest[39;49;00m.mark.xfail([90m[39;49;00m > reason=[33m'[39;49;00m[33mhttps://github.com/cherrypy/cheroot/issues/106[39;49;00m[33m'[39;49;00m,[90m[39;49;00m > strict=[94mFalse[39;49;00m, [90m# sometimes it passes[39;49;00m[90m[39;49;00m > )[90m[39;49;00m > [94mdef[39;49;00m [92mtest_large_request[39;49;00m(test_client_with_defaults):[90m[39;49;00m > [90m [39;49;00m[33m"""Test GET query with maliciously large Content-Length."""[39;49;00m[90m[39;49;00m > [90m# If the server's max_request_body_size is not set (i.e. is set to 0)[39;49;00m[90m[39;49;00m > [90m# then this will result in an `OverflowError: Python int too large to[39;49;00m[90m[39;49;00m > [90m# convert to C ssize_t` in the server.[39;49;00m[90m[39;49;00m > [90m# We expect that this should instead return that the request is too[39;49;00m[90m[39;49;00m > [90m# large.[39;49;00m[90m[39;49;00m > c = test_client_with_defaults.get_connection()[90m[39;49;00m > c.putrequest([33m'[39;49;00m[33mGET[39;49;00m[33m'[39;49;00m, [33m'[39;49;00m[33m/hello[39;49;00m[33m'[39;49;00m)[90m[39;49;00m > c.putheader([33m'[39;49;00m[33mContent-Length[39;49;00m[33m'[39;49;00m, [96mstr[39;49;00m([94m2[39;49;00m**[94m64[39;49;00m))[90m[39;49;00m > c.endheaders()[90m[39;49;00m > [90m[39;49;00m >> response = c.getresponse()[90m[39;49;00m > >c = <http.client.HTTPConnection object at 0x7fe77bf164b0> >test_client_with_defaults = <cheroot.testing._TestClient object at 0x7fe780178290> > >[1m[31mcheroot/test/test_core.py[0m:295: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >[1m[31m/usr/lib/python3.12/http/client.py[0m:1428: in getresponse > [0mresponse.begin()[90m[39;49;00m > response = <http.client.HTTPResponse object at 0x7fe77bf165c0> > self = <http.client.HTTPConnection object at 0x7fe77bf164b0> >[1m[31m/usr/lib/python3.12/http/client.py[0m:331: in begin > [0mversion, status, reason = [96mself[39;49;00m._read_status()[90m[39;49;00m > self = <http.client.HTTPResponse object at 0x7fe77bf165c0> >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <http.client.HTTPResponse object at 0x7fe77bf165c0> > > [0m[94mdef[39;49;00m [92m_read_status[39;49;00m([96mself[39;49;00m):[90m[39;49;00m > line = [96mstr[39;49;00m([96mself[39;49;00m.fp.readline(_MAXLINE + [94m1[39;49;00m), [33m"[39;49;00m[33miso-8859-1[39;49;00m[33m"[39;49;00m)[90m[39;49;00m > [94mif[39;49;00m [96mlen[39;49;00m(line) > _MAXLINE:[90m[39;49;00m > [94mraise[39;49;00m LineTooLong([33m"[39;49;00m[33mstatus line[39;49;00m[33m"[39;49;00m)[90m[39;49;00m > [94mif[39;49;00m [96mself[39;49;00m.debuglevel > [94m0[39;49;00m:[90m[39;49;00m > [96mprint[39;49;00m([33m"[39;49;00m[33mreply:[39;49;00m[33m"[39;49;00m, [96mrepr[39;49;00m(line))[90m[39;49;00m > [94mif[39;49;00m [95mnot[39;49;00m line:[90m[39;49;00m > [90m# Presumably, the server closed the connection before[39;49;00m[90m[39;49;00m > [90m# sending a valid response.[39;49;00m[90m[39;49;00m >> [94mraise[39;49;00m RemoteDisconnected([33m"[39;49;00m[33mRemote end closed connection without[39;49;00m[33m"[39;49;00m[90m[39;49;00m > [33m"[39;49;00m[33m response[39;49;00m[33m"[39;49;00m)[90m[39;49;00m >[1m[31mE http.client.RemoteDisconnected: Remote end closed connection without response[0m > >line = '' >self = <http.client.HTTPResponse object at 0x7fe77bf165c0> > >[1m[31m/usr/lib/python3.12/http/client.py[0m:300: RemoteDisconnected >------------------------------------------------------------- Captured stderr call ------------------------------------------------------------- >OverflowError('Python int too large to convert to C ssize_t') >Traceback (most recent call last): > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1291, in communicate > req.respond() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1081, in respond > self.server.gateway(self).respond() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/wsgi.py", line 141, in respond > self.write(chunk) > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/wsgi.py", line 221, in write > self.req.ensure_headers_sent() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1128, in ensure_headers_sent > self.send_headers() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1209, in send_headers > self.rfile.read(remaining) > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 380, in read > data = self.rfile.read(size) > ^^^^^^^^^^^^^^^^^^^^^ > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/makefile.py", line 49, in read > val = super().read(*args, **kwargs) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/_pyio.py", line 1068, in read > return self._read_unlocked(size) > ^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3.12/_pyio.py", line 1108, in _read_unlocked > chunk = self.raw.read(wanted) > ^^^^^^^^^^^^^^^^^^^^^ >OverflowError: Python int too large to convert to C ssize_t >[31m[1m___________________________________________________________________ test_598 ___________________________________________________________________[0m >[gw1] linux -- Python 3.12.3 /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/install/usr/bin/python3.12 > >test_client = <cheroot.testing._TestClient object at 0x7fe77859fb90> > > [0m[37m@pytest[39;49;00m.mark.xfail([90m[39;49;00m > reason=[33m'[39;49;00m[33mSometimes this test fails due to low timeout. [39;49;00m[33m'[39;49;00m[90m[39;49;00m > [33m'[39;49;00m[33mRef: https://github.com/cherrypy/cherrypy/issues/598[39;49;00m[33m'[39;49;00m,[90m[39;49;00m > )[90m[39;49;00m > [94mdef[39;49;00m [92mtest_598[39;49;00m(test_client):[90m[39;49;00m > [90m [39;49;00m[33m"""Test serving large file with a read timeout in place."""[39;49;00m[90m[39;49;00m > [90m# Initialize a persistent HTTP connection[39;49;00m[90m[39;49;00m > conn = test_client.get_connection()[90m[39;49;00m > remote_data_conn = urllib.request.urlopen([90m[39;49;00m > [33m'[39;49;00m[33m%s[39;49;00m[33m://[39;49;00m[33m%s[39;49;00m[33m:[39;49;00m[33m%s[39;49;00m[33m/one_megabyte_of_a[39;49;00m[33m'[39;49;00m[90m[39;49;00m > % ([33m'[39;49;00m[33mhttp[39;49;00m[33m'[39;49;00m, conn.host, conn.port),[90m[39;49;00m > )[90m[39;49;00m > buf = remote_data_conn.read([94m512[39;49;00m)[90m[39;49;00m > time.sleep(timeout * [94m0.6[39;49;00m)[90m[39;49;00m > remaining = ([94m1024[39;49;00m * [94m1024[39;49;00m) - [94m512[39;49;00m[90m[39;49;00m > [94mwhile[39;49;00m remaining:[90m[39;49;00m > data = remote_data_conn.read(remaining)[90m[39;49;00m > [94mif[39;49;00m [95mnot[39;49;00m data:[90m[39;49;00m > [94mbreak[39;49;00m[90m[39;49;00m > buf += data[90m[39;49;00m > remaining -= [96mlen[39;49;00m(data)[90m[39;49;00m > [90m[39;49;00m >> [94massert[39;49;00m [96mlen[39;49;00m(buf) == [94m1024[39;49;00m * [94m1024[39;49;00m[90m[39;49;00m >[1m[31mE AssertionError: assert 1024 == (1024 * 1024)[0m >[1m[31mE + where 1024 = len(b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa')[0m > >buf = (b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' > b'aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa') >conn = <http.client.HTTPConnection object at 0x7fe7785295b0> >data = b'' >remaining = 1047552 >remote_data_conn = <http.client.HTTPResponse object at 0x7fe778529c00> >test_client = <cheroot.testing._TestClient object at 0x7fe77859fb90> > >[1m[31mcheroot/test/test_conn.py[0m:1476: AssertionError >[31m[1m____________________________________________________________ test_Chunked_Encoding _____________________________________________________________[0m >[gw0] linux -- Python 3.12.3 /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1-python3_12/install/usr/bin/python3.12 > >test_client = <cheroot.testing._TestClient object at 0x7ff43c56d0a0> > > [0m[37m@pytest[39;49;00m.mark.xfail([90m[39;49;00m > reason=unwrap([90m[39;49;00m > trim([33m"""[39;49;00m[33m[39;49;00m > [33m Headers from earlier request leak into the request[39;49;00m[33m[39;49;00m > [33m line for a subsequent request, resulting in 400[39;49;00m[33m[39;49;00m > [33m instead of 413. See cherrypy/cheroot#69 for details.[39;49;00m[33m[39;49;00m > [33m [39;49;00m[33m"""[39;49;00m),[90m[39;49;00m > ),[90m[39;49;00m > )[90m[39;49;00m > [94mdef[39;49;00m [92mtest_Chunked_Encoding[39;49;00m(test_client):[90m[39;49;00m > [90m [39;49;00m[33m"""Test HTTP uploads with chunked transfer-encoding."""[39;49;00m[90m[39;49;00m > [90m# Initialize a persistent HTTP connection[39;49;00m[90m[39;49;00m > conn = test_client.get_connection()[90m[39;49;00m > [90m[39;49;00m > [90m# Try a normal chunked request (with extensions)[39;49;00m[90m[39;49;00m > body = ([90m[39;49;00m > [33mb[39;49;00m[33m'[39;49;00m[33m8;key=value[39;49;00m[33m\r[39;49;00m[33m\n[39;49;00m[33mxx[39;49;00m[33m\r[39;49;00m[33m\n[39;49;00m[33mxxxx[39;49;00m[33m\r[39;49;00m[33m\n[39;49;00m[33m5[39;49;00m[33m\r[39;49;00m[33m\n[39;49;00m[33myyyyy[39;49;00m[33m\r[39;49;00m[33m\n[39;49;00m[33m0[39;49;00m[33m\r[39;49;00m[33m\n[39;49;00m[33m'[39;49;00m[90m[39;49;00m > [33mb[39;49;00m[33m'[39;49;00m[33mContent-Type: application/json[39;49;00m[33m\r[39;49;00m[33m\n[39;49;00m[33m'[39;49;00m[90m[39;49;00m > [33mb[39;49;00m[33m'[39;49;00m[33m\r[39;49;00m[33m\n[39;49;00m[33m'[39;49;00m[90m[39;49;00m > )[90m[39;49;00m > conn.putrequest([33m'[39;49;00m[33mPOST[39;49;00m[33m'[39;49;00m, [33m'[39;49;00m[33m/upload[39;49;00m[33m'[39;49;00m, skip_host=[94mTrue[39;49;00m)[90m[39;49;00m > conn.putheader([33m'[39;49;00m[33mHost[39;49;00m[33m'[39;49;00m, conn.host)[90m[39;49;00m > conn.putheader([33m'[39;49;00m[33mTransfer-Encoding[39;49;00m[33m'[39;49;00m, [33m'[39;49;00m[33mchunked[39;49;00m[33m'[39;49;00m)[90m[39;49;00m > conn.putheader([33m'[39;49;00m[33mTrailer[39;49;00m[33m'[39;49;00m, [33m'[39;49;00m[33mContent-Type[39;49;00m[33m'[39;49;00m)[90m[39;49;00m > [90m# Note that this is somewhat malformed:[39;49;00m[90m[39;49;00m > [90m# we shouldn't be sending Content-Length.[39;49;00m[90m[39;49;00m > [90m# RFC 2616 says the server should ignore it.[39;49;00m[90m[39;49;00m > conn.putheader([33m'[39;49;00m[33mContent-Length[39;49;00m[33m'[39;49;00m, [33m'[39;49;00m[33m3[39;49;00m[33m'[39;49;00m)[90m[39;49;00m > conn.endheaders()[90m[39;49;00m > conn.send(body)[90m[39;49;00m > response = conn.getresponse()[90m[39;49;00m > status_line, _actual_headers, actual_resp_body = webtest.shb(response)[90m[39;49;00m > actual_status = [96mint[39;49;00m(status_line[:[94m3[39;49;00m])[90m[39;49;00m > [94massert[39;49;00m actual_status == [94m200[39;49;00m[90m[39;49;00m > [94massert[39;49;00m status_line[[94m4[39;49;00m:] == [33m'[39;49;00m[33mOK[39;49;00m[33m'[39;49;00m[90m[39;49;00m > expected_resp_body = ([33m"[39;49;00m[33mthanks for [39;49;00m[33m'[39;49;00m[33m%s[39;49;00m[33m'[39;49;00m[33m"[39;49;00m % [33mb[39;49;00m[33m'[39;49;00m[33mxx[39;49;00m[33m\r[39;49;00m[33m\n[39;49;00m[33mxxxxyyyyy[39;49;00m[33m'[39;49;00m).encode()[90m[39;49;00m >> [94massert[39;49;00m actual_resp_body == expected_resp_body[90m[39;49;00m >[1m[31mE assert b"thanks for 'xx\r\nxxxxyyyyy'" == b"thanks for 'b'xx\\r\\nxxxxyyyyy''"[0m >[1m[31mE [0m >[1m[31mE At index 12 diff: [0m[33mb[39;49;00m[33m'[39;49;00m[33mx[39;49;00m[33m'[39;49;00m[90m[39;49;00m != [0m[33mb[39;49;00m[33m'[39;49;00m[33mb[39;49;00m[33m'[39;49;00m[90m[39;49;00m[0m >[1m[31mE [0m >[1m[31mE Full diff:[0m >[1m[31mE [0m[91m- (b"thanks for 'b'xx\\r\\nxxxxyyyyy''")[39;49;00m[90m[39;49;00m[0m >[1m[31mE ? -- - - -[90m[39;49;00m[0m >[1m[31mE [92m+ (b"thanks for 'xx\r\nxxxxyyyyy'")[39;49;00m[90m[39;49;00m[0m > >_actual_headers = [('Content-Type', 'text/html'), > ('Content-Length', '26'), > ('Date', 'Sat, 13 Jul 2024 20:27:14 GMT'), > ('Server', 'Cheroot/10.0.1')] >actual_resp_body = b"thanks for 'xx\r\nxxxxyyyyy'" >actual_status = 200 >body = (b'8;key=value\r\nxx\r\nxxxx\r\n5\r\nyyyyy\r\n0\r\nContent-Type: application/js' > b'on\r\n\r\n') >conn = <http.client.HTTPConnection object at 0x7ff43c547440> >expected_resp_body = b"thanks for 'b'xx\\r\\nxxxxyyyyy''" >response = <http.client.HTTPResponse object at 0x7ff43c5473d0> >status_line = '200 OK' >test_client = <cheroot.testing._TestClient object at 0x7ff43c56d0a0> > >[1m[31mcheroot/test/test_conn.py[0m:1347: AssertionError >[33m=============================================================== warnings summary ===============================================================[0m >cheroot/test/test_server.py:258 >cheroot/test/test_server.py:258 >cheroot/test/test_server.py:258 > /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/test/test_server.py:258: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html > @pytest.mark.flaky(reruns=3, reruns_delay=2) > >cheroot/test/test_server.py:406 >cheroot/test/test_server.py:406 >cheroot/test/test_server.py:406 > /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/test/test_server.py:406: PytestUnknownMarkWarning: Unknown pytest.mark.forked - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html > test_high_number_of_file_descriptors = pytest.mark.forked( > >cheroot/test/test_ssl.py:619 >cheroot/test/test_ssl.py:619 >cheroot/test/test_ssl.py:619 > /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/test/test_ssl.py:619: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html > @pytest.mark.flaky(reruns=3, reruns_delay=2) > >cheroot/test/test_wsgi.py:40 >cheroot/test/test_wsgi.py:40 >cheroot/test/test_wsgi.py:40 > /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/test/test_wsgi.py:40: PytestUnknownMarkWarning: Unknown pytest.mark.flaky - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html > @pytest.mark.flaky(reruns=3, reruns_delay=2) > >cheroot/test/test_conn.py::test_broken_connection_during_http_communication_fallback > /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/test/test_conn.py:727: ResourceWarning: unclosed <socket.socket fd=15, family=10, type=1, proto=6, laddr=('::1', 42842, 0, 0), raddr=('::1', 53811, 0, 0)> > test_client.get_connection().send(b'GET / HTTP/1.1') > Enable tracemalloc to get traceback where the object was allocated. > See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. > >cheroot/test/test_conn.py::test_broken_connection_during_http_communication_fallback > /usr/lib/python3.12/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-199 (safe_start) > > Traceback (most recent call last): > File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner > self.run() > File "/usr/lib/python3.12/threading.py", line 1010, in run > self._target(*self._args, **self._kwargs) > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1731, in safe_start > self.start() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1845, in start > self.serve() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1833, in serve > raise self.interrupt > File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner > self.run() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/workers/threadpool.py", line 119, in run > self._process_connections_until_interrupted() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/workers/threadpool.py", line 216, in _process_connections_until_interrupted > conn.close() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1361, in close > self.rfile.close() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/test/test_conn.py", line 714, in _raise_connection_reset > raise ConnectionResetError(666) > ConnectionResetError: 666 > > warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) > >cheroot/test/test_conn.py::test_kb_int_from_http_handler > /usr/lib/python3.12/site-packages/_pytest/python.py:194: ResourceWarning: unclosed <socket.socket fd=15, family=10, type=1, proto=6, laddr=('::1', 37136, 0, 0), raddr=('::1', 44267, 0, 0)> > result = testfunction(**testargs) > Enable tracemalloc to get traceback where the object was allocated. > See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. > >cheroot/test/test_conn.py::test_kb_int_from_http_handler > /usr/lib/python3.12/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-210 (safe_start) > > Traceback (most recent call last): > File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner > self.run() > File "/usr/lib/python3.12/threading.py", line 1010, in run > self._target(*self._args, **self._kwargs) > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1736, in safe_start > raise kb_intr_exc from underlying_interrupt > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1731, in safe_start > self.start() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1845, in start > self.serve() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1833, in serve > raise self.interrupt > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/workers/threadpool.py", line 166, in _process_connections_until_interrupted > keep_conn_open = conn.communicate() > ^^^^^^^^^^^^^^^^^^ > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1291, in communicate > req.respond() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1081, in respond > self.server.gateway(self).respond() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/wsgi.py", line 136, in respond > response = self.req.server.wsgi_app(self.env, self.start_response) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/test/helper.py", line 153, in __call__ > output = handler(req, resp) > ^^^^^^^^^^^^^^^^^^ > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/test/test_conn.py", line 770, in _trigger_kb_intr > raise KeyboardInterrupt('simulated test handler keyboard interrupt') > KeyboardInterrupt: simulated test handler keyboard interrupt > > warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) > >cheroot/test/test_conn.py::test_unhandled_exception_in_request_handler > /usr/lib/python3.12/site-packages/_pytest/python.py:194: ResourceWarning: unclosed <socket.socket fd=15, family=10, type=1, proto=6, laddr=('::1', 41440, 0, 0), raddr=('::1', 38789, 0, 0)> > result = testfunction(**testargs) > Enable tracemalloc to get traceback where the object was allocated. > See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. > >cheroot/test/test_conn.py::test_unhandled_exception_in_request_handler > /usr/lib/python3.12/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-221 (safe_start) > > Traceback (most recent call last): > File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner > self.run() > File "/usr/lib/python3.12/threading.py", line 1010, in run > self._target(*self._args, **self._kwargs) > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1741, in safe_start > raise sys_exit_exc from underlying_interrupt > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1731, in safe_start > self.start() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1845, in start > self.serve() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1833, in serve > raise self.interrupt > SystemExit: test requesting shutdown > > warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) > >cheroot/test/test_conn.py::test_remains_alive_post_unhandled_exception > /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/test/test_conn.py:928: ResourceWarning: unclosed <socket.socket fd=15, family=10, type=1, proto=6, laddr=('::1', 44348, 0, 0), raddr=('::1', 59197, 0, 0)> > test_client.get_connection().send(b'GET / HTTP/1.1') > Enable tracemalloc to get traceback where the object was allocated. > See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. > >cheroot/test/test_conn.py::test_remains_alive_post_unhandled_exception > /usr/lib/python3.12/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-232 (safe_start) > > Traceback (most recent call last): > File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner > self.run() > File "/usr/lib/python3.12/threading.py", line 1010, in run > self._target(*self._args, **self._kwargs) > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1741, in safe_start > raise sys_exit_exc from underlying_interrupt > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1731, in safe_start > self.start() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1845, in start > self.serve() > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1833, in serve > raise self.interrupt > SystemExit: test requesting shutdown > > warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) > >cheroot/test/test_server.py::test_serving_is_false_and_stop_returns_after_ctrlc > /usr/lib/python3.12/site-packages/_pytest/threadexception.py:77: PytestUnhandledThreadExceptionWarning: Exception in thread Thread-373 (serve) > > Traceback (most recent call last): > File "/usr/lib/python3.12/threading.py", line 1073, in _bootstrap_inner > self.run() > File "/usr/lib/python3.12/threading.py", line 1010, in run > self._target(*self._args, **self._kwargs) > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/server.py", line 1818, in serve > self._connections.run(self.expiration_interval) > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/connections.py", line 198, in run > self._run(expiration_interval) > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/connections.py", line 233, in _run > active_list = self._selector.select(timeout=select_timeout) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/cheroot/test/test_server.py", line 174, in raise_keyboard_interrupt > raise KeyboardInterrupt() > KeyboardInterrupt > > warnings.warn(pytest.PytestUnhandledThreadExceptionWarning(msg)) > >cheroot/test/test_ssl.py::test_http_over_https_error[::-builtin] > /usr/lib/python3.12/site-packages/urllib3/util/retry.py:238: ResourceWarning: unclosed <socket.socket fd=16, family=2, type=1, proto=6, laddr=('127.0.0.1', 34343), raddr=('127.0.0.1', 47218)> > self.remove_headers_on_redirect = frozenset( > Enable tracemalloc to get traceback where the object was allocated. > See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. > >cheroot/test/test_wsgi.py::test_connection_keepalive > /usr/lib/python3.12/threading.py:277: ResourceWarning: unclosed <socket.socket fd=16, family=10, type=1, proto=6, laddr=('::1', 45223, 0, 0), raddr=('::1', 33160, 0, 0)> > def __init__(self, lock=None): > Enable tracemalloc to get traceback where the object was allocated. > See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info. > >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >--------------- generated xml file: /var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1/.test-results/pytest/test.xml --------------- >============================================================= slowest 10 durations ============================================================= >19.93s call cheroot/test/test_wsgi.py::test_connection_keepalive >4.03s call cheroot/test/test_conn.py::test_HTTP11_Timeout_after_request >3.44s call cheroot/test/test_conn.py::test_keepalive_conn_management >3.23s call cheroot/test/test_conn.py::test_Chunked_Encoding >2.02s call cheroot/test/test_conn.py::test_HTTP11_Timeout[True] >2.01s call cheroot/test/test_conn.py::test_HTTP11_Timeout[False] >1.13s call cheroot/test/test_server.py::test_server_interrupt[RuntimeError] >1.02s call cheroot/test/test_conn.py::test_invalid_selected_connection >0.66s call cheroot/test/test_server.py::test_server_interrupt[KeyboardInterrupt] >0.65s call cheroot/test/test_conn.py::test_598 >[36m[1m=========================================================== short test summary info ============================================================[0m >[33mXFAIL[0m cheroot/test/test_core.py::[1mtest_large_request[0m - https://github.com/cherrypy/cheroot/issues/106 >[33mXFAIL[0m cheroot/test/test_conn.py::[1mtest_598[0m - Sometimes this test fails due to low timeout. Ref: https://github.com/cherrypy/cherrypy/issues/598 >[33mXFAIL[0m cheroot/test/test_conn.py::[1mtest_Chunked_Encoding[0m - 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. >[31mFAILED[0m cheroot/test/test_server.py::[1mtest_peercreds_unix_sock[abstract][0m - requests.exceptions.InvalidURL: Not supported URL scheme http+unix >[31mFAILED[0m cheroot/test/test_server.py::[1mtest_peercreds_unix_sock[file][0m - requests.exceptions.InvalidURL: Not supported URL scheme http+unix >[31mFAILED[0m cheroot/test/test_server.py::[1mtest_peercreds_unix_sock_with_lookup[abstract][0m - requests.exceptions.InvalidURL: Not supported URL scheme http+unix >[31mFAILED[0m cheroot/test/test_server.py::[1mtest_peercreds_unix_sock_with_lookup[file][0m - requests.exceptions.InvalidURL: Not supported URL scheme http+unix >[31m======================================= [31m[1m4 failed[0m, [32m169 passed[0m, [33m3 xfailed[0m, [33m23 warnings[0m[31m in 81.22s (0:01:21)[0m[31m =======================================[0m > [31;01m*[0m ERROR: dev-python/cheroot-10.0.1::gentoo failed (test phase): > [31;01m*[0m pytest failed with python3.12 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 136: Called src_test > [31;01m*[0m environment, line 4224: Called distutils-r1_src_test > [31;01m*[0m environment, line 2075: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 821: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 3765: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 3242: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 3240: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 1318: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 1998: Called python_test > [31;01m*[0m environment, line 4066: Called epytest '-p' 'pytest_mock' > [31;01m*[0m environment, line 2669: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m [[ ${ret} -ne 0 ]] && die -n "pytest failed with ${EPYTHON}"; > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/cheroot-10.0.1::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/cheroot-10.0.1::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/dev-python:cheroot-10.0.1:20240713-202507.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/cheroot-10.0.1/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/cheroot-10.0.1/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1' > [31;01m*[0m S: '/var/tmp/portage/dev-python/cheroot-10.0.1/work/cheroot-10.0.1'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 936015
: 897553 |
897554