Created
June 8, 2022 14:47
-
-
Save idontgetoutmuch/aebee232115a24539c871ceea52653ec to your computer and use it in GitHub Desktop.
nix log
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sourcing python-remove-tests-dir-hook | |
Sourcing python-catch-conflicts-hook.sh | |
Sourcing python-remove-bin-bytecode-hook.sh | |
Sourcing setuptools-build-hook | |
Using setuptoolsBuildPhase | |
Using setuptoolsShellHook | |
Sourcing pip-install-hook | |
Using pipInstallPhase | |
Sourcing python-imports-check-hook.sh | |
Using pythonImportsCheckPhase | |
Sourcing python-namespaces-hook | |
Sourcing setuptools-check-hook | |
Using setuptoolsCheckPhase | |
Sourcing pytest-check-hook | |
Using pytestCheckPhase | |
Removing setuptoolsCheckPhase | |
@nix { "action": "setPhase", "phase": "unpackPhase" } | |
unpacking sources | |
unpacking source archive /nix/store/m4wa6j39wlr6kcamffx44v1dp8xxcgqx-source | |
source root is source | |
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/unasync.py | |
@nix { "action": "setPhase", "phase": "patchPhase" } | |
patching sources | |
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" } | |
updateAutotoolsGnuConfigScriptsPhase | |
@nix { "action": "setPhase", "phase": "configurePhase" } | |
configuring | |
no configure script, doing nothing | |
@nix { "action": "setPhase", "phase": "buildPhase" } | |
building | |
Executing setuptoolsBuildPhase | |
running bdist_wheel | |
running build | |
running build_py | |
creating build | |
creating build/lib | |
creating build/lib/httpcore | |
copying httpcore/_ssl.py -> build/lib/httpcore | |
copying httpcore/_synchronization.py -> build/lib/httpcore | |
copying httpcore/_api.py -> build/lib/httpcore | |
copying httpcore/__init__.py -> build/lib/httpcore | |
copying httpcore/_trace.py -> build/lib/httpcore | |
copying httpcore/_models.py -> build/lib/httpcore | |
copying httpcore/_compat.py -> build/lib/httpcore | |
copying httpcore/_exceptions.py -> build/lib/httpcore | |
copying httpcore/_utils.py -> build/lib/httpcore | |
creating build/lib/httpcore/_async | |
copying httpcore/_async/interfaces.py -> build/lib/httpcore/_async | |
copying httpcore/_async/http_proxy.py -> build/lib/httpcore/_async | |
copying httpcore/_async/__init__.py -> build/lib/httpcore/_async | |
copying httpcore/_async/http2.py -> build/lib/httpcore/_async | |
copying httpcore/_async/socks_proxy.py -> build/lib/httpcore/_async | |
copying httpcore/_async/http11.py -> build/lib/httpcore/_async | |
copying httpcore/_async/connection.py -> build/lib/httpcore/_async | |
copying httpcore/_async/connection_pool.py -> build/lib/httpcore/_async | |
creating build/lib/httpcore/backends | |
copying httpcore/backends/sync.py -> build/lib/httpcore/backends | |
copying httpcore/backends/asyncio.py -> build/lib/httpcore/backends | |
copying httpcore/backends/__init__.py -> build/lib/httpcore/backends | |
copying httpcore/backends/trio.py -> build/lib/httpcore/backends | |
copying httpcore/backends/base.py -> build/lib/httpcore/backends | |
copying httpcore/backends/auto.py -> build/lib/httpcore/backends | |
copying httpcore/backends/mock.py -> build/lib/httpcore/backends | |
creating build/lib/httpcore/_sync | |
copying httpcore/_sync/interfaces.py -> build/lib/httpcore/_sync | |
copying httpcore/_sync/http_proxy.py -> build/lib/httpcore/_sync | |
copying httpcore/_sync/__init__.py -> build/lib/httpcore/_sync | |
copying httpcore/_sync/http2.py -> build/lib/httpcore/_sync | |
copying httpcore/_sync/socks_proxy.py -> build/lib/httpcore/_sync | |
copying httpcore/_sync/http11.py -> build/lib/httpcore/_sync | |
copying httpcore/_sync/connection.py -> build/lib/httpcore/_sync | |
copying httpcore/_sync/connection_pool.py -> build/lib/httpcore/_sync | |
running egg_info | |
creating httpcore.egg-info | |
writing httpcore.egg-info/PKG-INFO | |
writing dependency_links to httpcore.egg-info/dependency_links.txt | |
writing requirements to httpcore.egg-info/requires.txt | |
writing top-level names to httpcore.egg-info/top_level.txt | |
writing manifest file 'httpcore.egg-info/SOURCES.txt' | |
reading manifest file 'httpcore.egg-info/SOURCES.txt' | |
reading manifest template 'MANIFEST.in' | |
adding license file 'LICENSE.md' | |
writing manifest file 'httpcore.egg-info/SOURCES.txt' | |
copying httpcore/py.typed -> build/lib/httpcore | |
/nix/store/4mbbb6mv3h8v21mvmxfb2dcjf0llqpd4-python3.9-setuptools-61.2.0/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. | |
warnings.warn( | |
installing to build/bdist.macosx-11.0-arm64/wheel | |
running install | |
running install_lib | |
creating build/bdist.macosx-11.0-arm64 | |
creating build/bdist.macosx-11.0-arm64/wheel | |
creating build/bdist.macosx-11.0-arm64/wheel/httpcore | |
copying build/lib/httpcore/_ssl.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore | |
copying build/lib/httpcore/_synchronization.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore | |
creating build/bdist.macosx-11.0-arm64/wheel/httpcore/_async | |
copying build/lib/httpcore/_async/interfaces.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_async | |
copying build/lib/httpcore/_async/http_proxy.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_async | |
copying build/lib/httpcore/_async/__init__.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_async | |
copying build/lib/httpcore/_async/http2.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_async | |
copying build/lib/httpcore/_async/socks_proxy.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_async | |
copying build/lib/httpcore/_async/http11.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_async | |
copying build/lib/httpcore/_async/connection.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_async | |
copying build/lib/httpcore/_async/connection_pool.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_async | |
copying build/lib/httpcore/_api.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore | |
creating build/bdist.macosx-11.0-arm64/wheel/httpcore/backends | |
copying build/lib/httpcore/backends/sync.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/backends | |
copying build/lib/httpcore/backends/asyncio.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/backends | |
copying build/lib/httpcore/backends/__init__.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/backends | |
copying build/lib/httpcore/backends/trio.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/backends | |
copying build/lib/httpcore/backends/base.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/backends | |
copying build/lib/httpcore/backends/auto.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/backends | |
copying build/lib/httpcore/backends/mock.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/backends | |
copying build/lib/httpcore/__init__.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore | |
copying build/lib/httpcore/_trace.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore | |
copying build/lib/httpcore/py.typed -> build/bdist.macosx-11.0-arm64/wheel/httpcore | |
creating build/bdist.macosx-11.0-arm64/wheel/httpcore/_sync | |
copying build/lib/httpcore/_sync/interfaces.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_sync | |
copying build/lib/httpcore/_sync/http_proxy.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_sync | |
copying build/lib/httpcore/_sync/__init__.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_sync | |
copying build/lib/httpcore/_sync/http2.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_sync | |
copying build/lib/httpcore/_sync/socks_proxy.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_sync | |
copying build/lib/httpcore/_sync/http11.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_sync | |
copying build/lib/httpcore/_sync/connection.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_sync | |
copying build/lib/httpcore/_sync/connection_pool.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore/_sync | |
copying build/lib/httpcore/_models.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore | |
copying build/lib/httpcore/_compat.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore | |
copying build/lib/httpcore/_exceptions.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore | |
copying build/lib/httpcore/_utils.py -> build/bdist.macosx-11.0-arm64/wheel/httpcore | |
running install_egg_info | |
Copying httpcore.egg-info to build/bdist.macosx-11.0-arm64/wheel/httpcore-0.14.7-py3.9.egg-info | |
running install_scripts | |
adding license file "LICENSE.md" (matched pattern "LICEN[CS]E*") | |
creating build/bdist.macosx-11.0-arm64/wheel/httpcore-0.14.7.dist-info/WHEEL | |
creating 'dist/httpcore-0.14.7-py3-none-any.whl' and adding 'build/bdist.macosx-11.0-arm64/wheel' to it | |
adding 'httpcore/__init__.py' | |
adding 'httpcore/_api.py' | |
adding 'httpcore/_compat.py' | |
adding 'httpcore/_exceptions.py' | |
adding 'httpcore/_models.py' | |
adding 'httpcore/_ssl.py' | |
adding 'httpcore/_synchronization.py' | |
adding 'httpcore/_trace.py' | |
adding 'httpcore/_utils.py' | |
adding 'httpcore/py.typed' | |
adding 'httpcore/_async/__init__.py' | |
adding 'httpcore/_async/connection.py' | |
adding 'httpcore/_async/connection_pool.py' | |
adding 'httpcore/_async/http11.py' | |
adding 'httpcore/_async/http2.py' | |
adding 'httpcore/_async/http_proxy.py' | |
adding 'httpcore/_async/interfaces.py' | |
adding 'httpcore/_async/socks_proxy.py' | |
adding 'httpcore/_sync/__init__.py' | |
adding 'httpcore/_sync/connection.py' | |
adding 'httpcore/_sync/connection_pool.py' | |
adding 'httpcore/_sync/http11.py' | |
adding 'httpcore/_sync/http2.py' | |
adding 'httpcore/_sync/http_proxy.py' | |
adding 'httpcore/_sync/interfaces.py' | |
adding 'httpcore/_sync/socks_proxy.py' | |
adding 'httpcore/backends/__init__.py' | |
adding 'httpcore/backends/asyncio.py' | |
adding 'httpcore/backends/auto.py' | |
adding 'httpcore/backends/base.py' | |
adding 'httpcore/backends/mock.py' | |
adding 'httpcore/backends/sync.py' | |
adding 'httpcore/backends/trio.py' | |
adding 'httpcore-0.14.7.dist-info/LICENSE.md' | |
adding 'httpcore-0.14.7.dist-info/METADATA' | |
adding 'httpcore-0.14.7.dist-info/WHEEL' | |
adding 'httpcore-0.14.7.dist-info/top_level.txt' | |
adding 'httpcore-0.14.7.dist-info/RECORD' | |
removing build/bdist.macosx-11.0-arm64/wheel | |
Finished executing setuptoolsBuildPhase | |
@nix { "action": "setPhase", "phase": "installPhase" } | |
installing | |
Executing pipInstallPhase | |
/private/tmp/nix-build-python3.9-httpcore-0.14.7.drv-0/source/dist /private/tmp/nix-build-python3.9-httpcore-0.14.7.drv-0/source | |
Processing ./httpcore-0.14.7-py3-none-any.whl | |
Requirement already satisfied: anyio==3.* in /nix/store/h7rwqwvi157lgflfll3r06mjx0lkbqpw-python3.9-anyio-3.5.0/lib/python3.9/site-packages (from httpcore==0.14.7) (3.5.0) | |
Requirement already satisfied: sniffio==1.* in /nix/store/7xwhcri1wva3iz11yf61afr5cqd2q10m-python3.9-sniffio-1.2.0/lib/python3.9/site-packages (from httpcore==0.14.7) (1.2.0) | |
Requirement already satisfied: certifi in /nix/store/8krmiyiv7mda56z13y6qry4kcna6dqln-python3.9-certifi-2021.10.08/lib/python3.9/site-packages (from httpcore==0.14.7) (2021.10.8) | |
Requirement already satisfied: h11<0.14,>=0.11 in /nix/store/29qix3jdx41by4l2sl4zi6djk4kbc5mz-python3.9-h11-0.13.0/lib/python3.9/site-packages (from httpcore==0.14.7) (0.13.0) | |
Requirement already satisfied: idna>=2.8 in /nix/store/1xj9acssvvr3s3kx0nmhi1xp51p92zq5-python3.9-idna-3.3/lib/python3.9/site-packages (from anyio==3.*->httpcore==0.14.7) (3.3) | |
Installing collected packages: httpcore | |
Successfully installed httpcore-0.14.7 | |
/private/tmp/nix-build-python3.9-httpcore-0.14.7.drv-0/source | |
Finished executing pipInstallPhase | |
@nix { "action": "setPhase", "phase": "fixupPhase" } | |
post-installation fixup | |
strip is /nix/store/630b4hj9z3gj62c4fw3q7sxy1akql5l4-clang-wrapper-11.1.0/bin/strip | |
stripping (with command strip and flags -S) in /nix/store/f1qpv1q2yx942qbpbpdhk0fh8jyrjn2l-python3.9-httpcore-0.14.7/lib | |
patching script interpreter paths in /nix/store/f1qpv1q2yx942qbpbpdhk0fh8jyrjn2l-python3.9-httpcore-0.14.7 | |
Executing pythonRemoveTestsDir | |
Finished executing pythonRemoveTestsDir | |
@nix { "action": "setPhase", "phase": "installCheckPhase" } | |
running install tests | |
no Makefile or custom installCheckPhase, doing nothing | |
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" } | |
pythonCatchConflictsPhase | |
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" } | |
pythonRemoveBinBytecodePhase | |
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" } | |
pythonImportsCheckPhase | |
Executing pythonImportsCheckPhase | |
Check whether the following modules can be imported: httpcore | |
@nix { "action": "setPhase", "phase": "pytestCheckPhase" } | |
pytestCheckPhase | |
Executing pytestCheckPhase | |
[1m============================= test session starts ==============================[0m | |
platform darwin -- Python 3.9.12, pytest-7.1.1, pluggy-1.0.0 | |
rootdir: /private/tmp/nix-build-python3.9-httpcore-0.14.7.drv-0/source, configfile: setup.cfg | |
plugins: asyncio-0.18.3, cov-3.0.0, httpbin-1.0.1, anyio-3.5.0 | |
asyncio: mode=legacy | |
[1mcollecting ... [0m[1m | |
collected 157 items [0m | |
tests/test_api.py [31mE[0m[31mE[0m[31mE[0m[31m [ 1%][0m | |
tests/test_models.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33ms[0m[33ms[0m[31m [ 10%][0m | |
tests/_async/test_connection.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 17%][0m | |
tests/_async/test_connection_pool.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[33ms[0m[33ms[0m[33ms[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 32%][0m | |
tests/_async/test_http11.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 42%][0m | |
tests/_async/test_http2.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 52%][0m | |
tests/_async/test_http_proxy.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 59%][0m | |
tests/_async/test_integration.py [31mE[0m[31mE[0m[31mE[0m[31mE[0m[31mE[0m[31mE[0m[31m [ 63%][0m | |
tests/_async/test_socks_proxy.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 69%][0m | |
tests/_sync/test_connection.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 73%][0m | |
tests/_sync/test_connection_pool.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 81%][0m | |
tests/_sync/test_http11.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 86%][0m | |
tests/_sync/test_http2.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 91%][0m | |
tests/_sync/test_http_proxy.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [ 94%][0m | |
tests/_sync/test_integration.py [31mE[0m[31mE[0m[31mE[0m[31m [ 96%][0m | |
tests/_sync/test_socks_proxy.py [32m.[0m[32m.[0m[32m.[0m[32m.[0m[32m.[0m[31m [100%][0m | |
==================================== ERRORS ==================================== | |
[31m[1m________________________ ERROR at setup of test_request ________________________[0m | |
request = <SubRequest 'httpbin' for <Function test_request>> | |
@pytest.fixture(scope='session') | |
def httpbin(request): | |
> server = serve.Server(application=httpbin_app) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/plugin.py[0m:8: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:92: in __init__ | |
self._server = make_server( | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:154: in make_server | |
server = server_class((host, port), handler_class) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:452: in __init__ | |
self.server_bind() | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:50: in server_bind | |
HTTPServer.server_bind(self) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/http/server.py[0m:136: in server_bind | |
socketserver.TCPServer.server_bind(self) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <wsgiref.simple_server.WSGIServer object at 0x10342a130> | |
def server_bind(self): | |
"""Called by constructor to bind the socket. | |
May be overridden. | |
""" | |
if self.allow_reuse_address: | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
> self.socket.bind(self.server_address) | |
[1m[31mE PermissionError: [Errno 1] Operation not permitted[0m | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:466: PermissionError | |
[31m[1m________________________ ERROR at setup of test_stream _________________________[0m | |
request = <SubRequest 'httpbin' for <Function test_request>> | |
@pytest.fixture(scope='session') | |
def httpbin(request): | |
> server = serve.Server(application=httpbin_app) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/plugin.py[0m:8: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:92: in __init__ | |
self._server = make_server( | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:154: in make_server | |
server = server_class((host, port), handler_class) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:452: in __init__ | |
self.server_bind() | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:50: in server_bind | |
HTTPServer.server_bind(self) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/http/server.py[0m:136: in server_bind | |
socketserver.TCPServer.server_bind(self) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <wsgiref.simple_server.WSGIServer object at 0x10342a130> | |
def server_bind(self): | |
"""Called by constructor to bind the socket. | |
May be overridden. | |
""" | |
if self.allow_reuse_address: | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
> self.socket.bind(self.server_address) | |
[1m[31mE PermissionError: [Errno 1] Operation not permitted[0m | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:466: PermissionError | |
[31m[1m_________________ ERROR at setup of test_request_with_content __________________[0m | |
request = <SubRequest 'httpbin' for <Function test_request>> | |
@pytest.fixture(scope='session') | |
def httpbin(request): | |
> server = serve.Server(application=httpbin_app) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/plugin.py[0m:8: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:92: in __init__ | |
self._server = make_server( | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:154: in make_server | |
server = server_class((host, port), handler_class) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:452: in __init__ | |
self.server_bind() | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:50: in server_bind | |
HTTPServer.server_bind(self) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/http/server.py[0m:136: in server_bind | |
socketserver.TCPServer.server_bind(self) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <wsgiref.simple_server.WSGIServer object at 0x10342a130> | |
def server_bind(self): | |
"""Called by constructor to bind the socket. | |
May be overridden. | |
""" | |
if self.allow_reuse_address: | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
> self.socket.bind(self.server_address) | |
[1m[31mE PermissionError: [Errno 1] Operation not permitted[0m | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:466: PermissionError | |
[31m[1m___________________ ERROR at setup of test_request[asyncio] ____________________[0m | |
request = <SubRequest 'httpbin' for <Function test_request>> | |
@pytest.fixture(scope='session') | |
def httpbin(request): | |
> server = serve.Server(application=httpbin_app) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/plugin.py[0m:8: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:92: in __init__ | |
self._server = make_server( | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:154: in make_server | |
server = server_class((host, port), handler_class) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:452: in __init__ | |
self.server_bind() | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:50: in server_bind | |
HTTPServer.server_bind(self) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/http/server.py[0m:136: in server_bind | |
socketserver.TCPServer.server_bind(self) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <wsgiref.simple_server.WSGIServer object at 0x10342a130> | |
def server_bind(self): | |
"""Called by constructor to bind the socket. | |
May be overridden. | |
""" | |
if self.allow_reuse_address: | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
> self.socket.bind(self.server_address) | |
[1m[31mE PermissionError: [Errno 1] Operation not permitted[0m | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:466: PermissionError | |
[31m[1m_____________________ ERROR at setup of test_request[trio] _____________________[0m | |
request = <SubRequest 'httpbin' for <Function test_request>> | |
@pytest.fixture(scope='session') | |
def httpbin(request): | |
> server = serve.Server(application=httpbin_app) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/plugin.py[0m:8: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:92: in __init__ | |
self._server = make_server( | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:154: in make_server | |
server = server_class((host, port), handler_class) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:452: in __init__ | |
self.server_bind() | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:50: in server_bind | |
HTTPServer.server_bind(self) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/http/server.py[0m:136: in server_bind | |
socketserver.TCPServer.server_bind(self) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <wsgiref.simple_server.WSGIServer object at 0x10342a130> | |
def server_bind(self): | |
"""Called by constructor to bind the socket. | |
May be overridden. | |
""" | |
if self.allow_reuse_address: | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
> self.socket.bind(self.server_address) | |
[1m[31mE PermissionError: [Errno 1] Operation not permitted[0m | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:466: PermissionError | |
[31m[1m_________________ ERROR at setup of test_ssl_request[asyncio] __________________[0m | |
request = <SubRequest 'httpbin_secure' for <Function test_ssl_request[asyncio]>> | |
@pytest.fixture(scope='session') | |
def httpbin_secure(request): | |
> server = serve.SecureServer(application=httpbin_app) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/plugin.py[0m:16: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:134: in __init__ | |
super(SecureServer, self).__init__(host, port, application, **kwargs) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:92: in __init__ | |
self._server = make_server( | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:154: in make_server | |
server = server_class((host, port), handler_class) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:452: in __init__ | |
self.server_bind() | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:50: in server_bind | |
HTTPServer.server_bind(self) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/http/server.py[0m:136: in server_bind | |
socketserver.TCPServer.server_bind(self) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <pytest_httpbin.serve.SecureWSGIServer object at 0x103646100> | |
def server_bind(self): | |
"""Called by constructor to bind the socket. | |
May be overridden. | |
""" | |
if self.allow_reuse_address: | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
> self.socket.bind(self.server_address) | |
[1m[31mE PermissionError: [Errno 1] Operation not permitted[0m | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:466: PermissionError | |
[31m[1m___________________ ERROR at setup of test_ssl_request[trio] ___________________[0m | |
request = <SubRequest 'httpbin_secure' for <Function test_ssl_request[asyncio]>> | |
@pytest.fixture(scope='session') | |
def httpbin_secure(request): | |
> server = serve.SecureServer(application=httpbin_app) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/plugin.py[0m:16: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:134: in __init__ | |
super(SecureServer, self).__init__(host, port, application, **kwargs) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:92: in __init__ | |
self._server = make_server( | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:154: in make_server | |
server = server_class((host, port), handler_class) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:452: in __init__ | |
self.server_bind() | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:50: in server_bind | |
HTTPServer.server_bind(self) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/http/server.py[0m:136: in server_bind | |
socketserver.TCPServer.server_bind(self) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <pytest_httpbin.serve.SecureWSGIServer object at 0x103646100> | |
def server_bind(self): | |
"""Called by constructor to bind the socket. | |
May be overridden. | |
""" | |
if self.allow_reuse_address: | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
> self.socket.bind(self.server_address) | |
[1m[31mE PermissionError: [Errno 1] Operation not permitted[0m | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:466: PermissionError | |
[31m[1m__________________ ERROR at setup of test_extra_info[asyncio] __________________[0m | |
request = <SubRequest 'httpbin_secure' for <Function test_ssl_request[asyncio]>> | |
@pytest.fixture(scope='session') | |
def httpbin_secure(request): | |
> server = serve.SecureServer(application=httpbin_app) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/plugin.py[0m:16: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:134: in __init__ | |
super(SecureServer, self).__init__(host, port, application, **kwargs) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:92: in __init__ | |
self._server = make_server( | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:154: in make_server | |
server = server_class((host, port), handler_class) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:452: in __init__ | |
self.server_bind() | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:50: in server_bind | |
HTTPServer.server_bind(self) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/http/server.py[0m:136: in server_bind | |
socketserver.TCPServer.server_bind(self) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <pytest_httpbin.serve.SecureWSGIServer object at 0x103646100> | |
def server_bind(self): | |
"""Called by constructor to bind the socket. | |
May be overridden. | |
""" | |
if self.allow_reuse_address: | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
> self.socket.bind(self.server_address) | |
[1m[31mE PermissionError: [Errno 1] Operation not permitted[0m | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:466: PermissionError | |
[31m[1m___________________ ERROR at setup of test_extra_info[trio] ____________________[0m | |
request = <SubRequest 'httpbin_secure' for <Function test_ssl_request[asyncio]>> | |
@pytest.fixture(scope='session') | |
def httpbin_secure(request): | |
> server = serve.SecureServer(application=httpbin_app) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/plugin.py[0m:16: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:134: in __init__ | |
super(SecureServer, self).__init__(host, port, application, **kwargs) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:92: in __init__ | |
self._server = make_server( | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:154: in make_server | |
server = server_class((host, port), handler_class) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:452: in __init__ | |
self.server_bind() | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:50: in server_bind | |
HTTPServer.server_bind(self) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/http/server.py[0m:136: in server_bind | |
socketserver.TCPServer.server_bind(self) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <pytest_httpbin.serve.SecureWSGIServer object at 0x103646100> | |
def server_bind(self): | |
"""Called by constructor to bind the socket. | |
May be overridden. | |
""" | |
if self.allow_reuse_address: | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
> self.socket.bind(self.server_address) | |
[1m[31mE PermissionError: [Errno 1] Operation not permitted[0m | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:466: PermissionError | |
[31m[1m________________________ ERROR at setup of test_request ________________________[0m | |
request = <SubRequest 'httpbin' for <Function test_request>> | |
@pytest.fixture(scope='session') | |
def httpbin(request): | |
> server = serve.Server(application=httpbin_app) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/plugin.py[0m:8: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:92: in __init__ | |
self._server = make_server( | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:154: in make_server | |
server = server_class((host, port), handler_class) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:452: in __init__ | |
self.server_bind() | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:50: in server_bind | |
HTTPServer.server_bind(self) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/http/server.py[0m:136: in server_bind | |
socketserver.TCPServer.server_bind(self) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <wsgiref.simple_server.WSGIServer object at 0x10342a130> | |
def server_bind(self): | |
"""Called by constructor to bind the socket. | |
May be overridden. | |
""" | |
if self.allow_reuse_address: | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
> self.socket.bind(self.server_address) | |
[1m[31mE PermissionError: [Errno 1] Operation not permitted[0m | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:466: PermissionError | |
[31m[1m______________________ ERROR at setup of test_ssl_request ______________________[0m | |
request = <SubRequest 'httpbin_secure' for <Function test_ssl_request[asyncio]>> | |
@pytest.fixture(scope='session') | |
def httpbin_secure(request): | |
> server = serve.SecureServer(application=httpbin_app) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/plugin.py[0m:16: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:134: in __init__ | |
super(SecureServer, self).__init__(host, port, application, **kwargs) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:92: in __init__ | |
self._server = make_server( | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:154: in make_server | |
server = server_class((host, port), handler_class) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:452: in __init__ | |
self.server_bind() | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:50: in server_bind | |
HTTPServer.server_bind(self) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/http/server.py[0m:136: in server_bind | |
socketserver.TCPServer.server_bind(self) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <pytest_httpbin.serve.SecureWSGIServer object at 0x103646100> | |
def server_bind(self): | |
"""Called by constructor to bind the socket. | |
May be overridden. | |
""" | |
if self.allow_reuse_address: | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
> self.socket.bind(self.server_address) | |
[1m[31mE PermissionError: [Errno 1] Operation not permitted[0m | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:466: PermissionError | |
[31m[1m______________________ ERROR at setup of test_extra_info _______________________[0m | |
request = <SubRequest 'httpbin_secure' for <Function test_ssl_request[asyncio]>> | |
@pytest.fixture(scope='session') | |
def httpbin_secure(request): | |
> server = serve.SecureServer(application=httpbin_app) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/plugin.py[0m:16: | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:134: in __init__ | |
super(SecureServer, self).__init__(host, port, application, **kwargs) | |
[1m[31m/nix/store/62mni41ric6dgz7g58lrc3xdbk9yk4lr-python3.9-pytest-httpbin-1.0.1/lib/python3.9/site-packages/pytest_httpbin/serve.py[0m:92: in __init__ | |
self._server = make_server( | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:154: in make_server | |
server = server_class((host, port), handler_class) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:452: in __init__ | |
self.server_bind() | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/wsgiref/simple_server.py[0m:50: in server_bind | |
HTTPServer.server_bind(self) | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/http/server.py[0m:136: in server_bind | |
socketserver.TCPServer.server_bind(self) | |
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ | |
self = <pytest_httpbin.serve.SecureWSGIServer object at 0x103646100> | |
def server_bind(self): | |
"""Called by constructor to bind the socket. | |
May be overridden. | |
""" | |
if self.allow_reuse_address: | |
self.socket.setsockopt(socket.SOL_SOCKET, socket.SO_REUSEADDR, 1) | |
> self.socket.bind(self.server_address) | |
[1m[31mE PermissionError: [Errno 1] Operation not permitted[0m | |
[1m[31m/nix/store/cgds5z15zf6y3pfyb63blvfb0ymz8pvp-python3-3.9.12/lib/python3.9/socketserver.py[0m:466: PermissionError | |
[33m=============================== warnings summary ===============================[0m | |
../../../../nix/store/y44ks79304b67gwmsbyzgrad5k2b713p-python3.9-pytest-asyncio-0.18.3/lib/python3.9/site-packages/pytest_asyncio/plugin.py:191 | |
/nix/store/y44ks79304b67gwmsbyzgrad5k2b713p-python3.9-pytest-asyncio-0.18.3/lib/python3.9/site-packages/pytest_asyncio/plugin.py:191: DeprecationWarning: The 'asyncio_mode' default value will change to 'strict' in future, please explicitly use 'asyncio_mode=strict' or 'asyncio_mode=auto' in pytest configuration file. | |
config.issue_config_time_warning(LEGACY_MODE, stacklevel=2) | |
tests/test_models.py:141 | |
/private/tmp/nix-build-python3.9-httpcore-0.14.7.drv-0/source/tests/test_models.py:141: PytestUnknownMarkWarning: Unknown pytest.mark.trio - 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.trio | |
tests/test_models.py:149 | |
/private/tmp/nix-build-python3.9-httpcore-0.14.7.drv-0/source/tests/test_models.py:149: PytestUnknownMarkWarning: Unknown pytest.mark.trio - 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.trio | |
tests/_async/test_connection_pool.py:298 | |
/private/tmp/nix-build-python3.9-httpcore-0.14.7.drv-0/source/tests/_async/test_connection_pool.py:298: PytestUnknownMarkWarning: Unknown pytest.mark.trio - 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.trio | |
tests/_async/test_connection_pool.py:343 | |
/private/tmp/nix-build-python3.9-httpcore-0.14.7.drv-0/source/tests/_async/test_connection_pool.py:343: PytestUnknownMarkWarning: Unknown pytest.mark.trio - 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.trio | |
tests/_async/test_connection_pool.py:385 | |
/private/tmp/nix-build-python3.9-httpcore-0.14.7.drv-0/source/tests/_async/test_connection_pool.py:385: PytestUnknownMarkWarning: Unknown pytest.mark.trio - 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.trio | |
tests/test_models.py::test_response_async_read | |
tests/test_models.py::test_response_async_streaming | |
tests/_async/test_connection_pool.py::test_connection_pool_concurrency | |
tests/_async/test_connection_pool.py::test_connection_pool_concurrency_same_domain_closing | |
tests/_async/test_connection_pool.py::test_connection_pool_concurrency_same_domain_keepalive | |
/nix/store/461pcfanmif9lcvfhvndq7lpl5gfb8jb-python3.9-pytest-7.1.1/lib/python3.9/site-packages/_pytest/python.py:181: PytestUnhandledCoroutineWarning: async def functions are not natively supported and have been skipped. | |
You need to install a suitable plugin for your async framework, for example: | |
- anyio | |
- pytest-asyncio | |
- pytest-tornasync | |
- pytest-trio | |
- pytest-twisted | |
warnings.warn(PytestUnhandledCoroutineWarning(msg.format(nodeid))) | |
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html | |
=========================== short test summary info ============================ | |
SKIPPED [5] ../../../../nix/store/461pcfanmif9lcvfhvndq7lpl5gfb8jb-python3.9-pytest-7.1.1/lib/python3.9/site-packages/_pytest/python.py:182: async def function and no async plugin installed (see warnings) | |
[31m============ [32m140 passed[0m, [33m5 skipped[0m, [33m11 warnings[0m, [31m[1m12 errors[0m[31m in 0.88s[0m[31m ============[0m |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment