Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 764496 Details for
Bug 832822
dev-python/python-socks-2.0.3: fails tests
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
file_832822.txt (text/plain), 313.28 KB, created by
Sam James
on 2022-02-07 07:15:08 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Sam James
Created:
2022-02-07 07:15:08 UTC
Size:
313.28 KB
patch
obsolete
> * Package: dev-python/python-socks-2.0.3 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_ppc_32 elibc_glibc kernel_linux ppc python_targets_python3_9 test userland_GNU > * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking python-socks-2.0.3.gh.tar.gz to /var/tmp/portage/dev-python/python-socks-2.0.3/work >>>> Source unpacked in /var/tmp/portage/dev-python/python-socks-2.0.3/work >>>> Preparing source in /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3 ... > * python3_9: running distutils-r1_run_phase distutils-r1_python_compile >python3.9 setup.py build -j 12 >running build >running build_py >warning: build_py: byte-compiling is disabled, skipping. > > * Building the wheel via setuptools.build_meta:__legacy__ >running bdist_wheel >running build >running build_py >warning: build_py: byte-compiling is disabled, skipping. > >installing to build/bdist.linux-ppc/wheel >running install >running install_lib >copying build/lib/python_socks/async_/anyio/__init__.py -> build/bdist.linux-ppc/wheel/python_socks/async_/anyio >copying build/lib/python_socks/async_/anyio/_chain.py -> build/bdist.linux-ppc/wheel/python_socks/async_/anyio >copying build/lib/python_socks/async_/anyio/_connect.py -> build/bdist.linux-ppc/wheel/python_socks/async_/anyio >copying build/lib/python_socks/async_/anyio/_factory.py -> build/bdist.linux-ppc/wheel/python_socks/async_/anyio >copying build/lib/python_socks/async_/anyio/_proxy.py -> build/bdist.linux-ppc/wheel/python_socks/async_/anyio >copying build/lib/python_socks/async_/anyio/_resolver.py -> build/bdist.linux-ppc/wheel/python_socks/async_/anyio >copying build/lib/python_socks/async_/anyio/_stream.py -> build/bdist.linux-ppc/wheel/python_socks/async_/anyio >copying build/lib/python_socks/async_/curio/__init__.py -> build/bdist.linux-ppc/wheel/python_socks/async_/curio >copying build/lib/python_socks/async_/curio/_connect.py -> build/bdist.linux-ppc/wheel/python_socks/async_/curio >copying build/lib/python_socks/async_/curio/_proxy.py -> build/bdist.linux-ppc/wheel/python_socks/async_/curio >copying build/lib/python_socks/async_/curio/_resolver.py -> build/bdist.linux-ppc/wheel/python_socks/async_/curio >copying build/lib/python_socks/async_/curio/_stream.py -> build/bdist.linux-ppc/wheel/python_socks/async_/curio >copying build/lib/python_socks/async_/trio/v2/__init__.py -> build/bdist.linux-ppc/wheel/python_socks/async_/trio/v2 >copying build/lib/python_socks/async_/trio/v2/_chain.py -> build/bdist.linux-ppc/wheel/python_socks/async_/trio/v2 >copying build/lib/python_socks/async_/trio/v2/_connect.py -> build/bdist.linux-ppc/wheel/python_socks/async_/trio/v2 >copying build/lib/python_socks/async_/trio/v2/_factory.py -> build/bdist.linux-ppc/wheel/python_socks/async_/trio/v2 >copying build/lib/python_socks/async_/trio/v2/_proxy.py -> build/bdist.linux-ppc/wheel/python_socks/async_/trio/v2 >copying build/lib/python_socks/async_/trio/v2/_stream.py -> build/bdist.linux-ppc/wheel/python_socks/async_/trio/v2 >copying build/lib/python_socks/async_/trio/__init__.py -> build/bdist.linux-ppc/wheel/python_socks/async_/trio >copying build/lib/python_socks/async_/trio/_connect.py -> build/bdist.linux-ppc/wheel/python_socks/async_/trio >copying build/lib/python_socks/async_/trio/_proxy.py -> build/bdist.linux-ppc/wheel/python_socks/async_/trio >copying build/lib/python_socks/async_/trio/_resolver.py -> build/bdist.linux-ppc/wheel/python_socks/async_/trio >copying build/lib/python_socks/async_/trio/_stream.py -> build/bdist.linux-ppc/wheel/python_socks/async_/trio >copying build/lib/python_socks/async_/asyncio/v2/__init__.py -> build/bdist.linux-ppc/wheel/python_socks/async_/asyncio/v2 >copying build/lib/python_socks/async_/asyncio/v2/_chain.py -> build/bdist.linux-ppc/wheel/python_socks/async_/asyncio/v2 >copying build/lib/python_socks/async_/asyncio/v2/_connect.py -> build/bdist.linux-ppc/wheel/python_socks/async_/asyncio/v2 >copying build/lib/python_socks/async_/asyncio/v2/_factory.py -> build/bdist.linux-ppc/wheel/python_socks/async_/asyncio/v2 >copying build/lib/python_socks/async_/asyncio/v2/_proxy.py -> build/bdist.linux-ppc/wheel/python_socks/async_/asyncio/v2 >copying build/lib/python_socks/async_/asyncio/v2/_stream.py -> build/bdist.linux-ppc/wheel/python_socks/async_/asyncio/v2 >copying build/lib/python_socks/async_/asyncio/__init__.py -> build/bdist.linux-ppc/wheel/python_socks/async_/asyncio >copying build/lib/python_socks/async_/asyncio/_connect.py -> build/bdist.linux-ppc/wheel/python_socks/async_/asyncio >copying build/lib/python_socks/async_/asyncio/_proxy.py -> build/bdist.linux-ppc/wheel/python_socks/async_/asyncio >copying build/lib/python_socks/async_/asyncio/_resolver.py -> build/bdist.linux-ppc/wheel/python_socks/async_/asyncio >copying build/lib/python_socks/async_/asyncio/_stream.py -> build/bdist.linux-ppc/wheel/python_socks/async_/asyncio >copying build/lib/python_socks/async_/__init__.py -> build/bdist.linux-ppc/wheel/python_socks/async_ >copying build/lib/python_socks/async_/_proxy_chain.py -> build/bdist.linux-ppc/wheel/python_socks/async_ >copying build/lib/python_socks/sync/v2/__init__.py -> build/bdist.linux-ppc/wheel/python_socks/sync/v2 >copying build/lib/python_socks/sync/v2/_chain.py -> build/bdist.linux-ppc/wheel/python_socks/sync/v2 >copying build/lib/python_socks/sync/v2/_factory.py -> build/bdist.linux-ppc/wheel/python_socks/sync/v2 >copying build/lib/python_socks/sync/v2/_proxy.py -> build/bdist.linux-ppc/wheel/python_socks/sync/v2 >copying build/lib/python_socks/sync/v2/_ssl_transport.py -> build/bdist.linux-ppc/wheel/python_socks/sync/v2 >copying build/lib/python_socks/sync/v2/_stream.py -> build/bdist.linux-ppc/wheel/python_socks/sync/v2 >copying build/lib/python_socks/sync/__init__.py -> build/bdist.linux-ppc/wheel/python_socks/sync >copying build/lib/python_socks/sync/_chain.py -> build/bdist.linux-ppc/wheel/python_socks/sync >copying build/lib/python_socks/sync/_connect.py -> build/bdist.linux-ppc/wheel/python_socks/sync >copying build/lib/python_socks/sync/_proxy.py -> build/bdist.linux-ppc/wheel/python_socks/sync >copying build/lib/python_socks/sync/_resolver.py -> build/bdist.linux-ppc/wheel/python_socks/sync >copying build/lib/python_socks/sync/_stream.py -> build/bdist.linux-ppc/wheel/python_socks/sync >copying build/lib/python_socks/_proto/__init__.py -> build/bdist.linux-ppc/wheel/python_socks/_proto >copying build/lib/python_socks/_proto/http.py -> build/bdist.linux-ppc/wheel/python_socks/_proto >copying build/lib/python_socks/_proto/http_async.py -> build/bdist.linux-ppc/wheel/python_socks/_proto >copying build/lib/python_socks/_proto/http_sync.py -> build/bdist.linux-ppc/wheel/python_socks/_proto >copying build/lib/python_socks/_proto/socks4.py -> build/bdist.linux-ppc/wheel/python_socks/_proto >copying build/lib/python_socks/_proto/socks4_async.py -> build/bdist.linux-ppc/wheel/python_socks/_proto >copying build/lib/python_socks/_proto/socks4_sync.py -> build/bdist.linux-ppc/wheel/python_socks/_proto >copying build/lib/python_socks/_proto/socks5.py -> build/bdist.linux-ppc/wheel/python_socks/_proto >copying build/lib/python_socks/_proto/socks5_async.py -> build/bdist.linux-ppc/wheel/python_socks/_proto >copying build/lib/python_socks/_proto/socks5_sync.py -> build/bdist.linux-ppc/wheel/python_socks/_proto >copying build/lib/python_socks/__init__.py -> build/bdist.linux-ppc/wheel/python_socks >copying build/lib/python_socks/_abc.py -> build/bdist.linux-ppc/wheel/python_socks >copying build/lib/python_socks/_basic_auth.py -> build/bdist.linux-ppc/wheel/python_socks >copying build/lib/python_socks/_errors.py -> build/bdist.linux-ppc/wheel/python_socks >copying build/lib/python_socks/_helpers.py -> build/bdist.linux-ppc/wheel/python_socks >copying build/lib/python_socks/_proxy_factory.py -> build/bdist.linux-ppc/wheel/python_socks >copying build/lib/python_socks/_types.py -> build/bdist.linux-ppc/wheel/python_socks >copying build/lib/python_socks/_version.py -> build/bdist.linux-ppc/wheel/python_socks >warning: install_lib: byte-compiling is disabled, skipping. > >running install_egg_info >running egg_info >writing python_socks.egg-info/PKG-INFO >writing dependency_links to python_socks.egg-info/dependency_links.txt >writing requirements to python_socks.egg-info/requires.txt >writing top-level names to python_socks.egg-info/top_level.txt >listing git files failed - pretending there aren't any >reading manifest file 'python_socks.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >adding license file 'LICENSE.txt' >running install_scripts >adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*") >creating build/bdist.linux-ppc/wheel/python_socks-2.0.3.dist-info/WHEEL >creating '/var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3-python3_9/wheel/tmp2nbj4v40/python_socks-2.0.3-py3-none-any.whl' and adding 'build/bdist.linux-ppc/wheel' to it >adding 'python_socks/__init__.py' >adding 'python_socks/_abc.py' >adding 'python_socks/_basic_auth.py' >adding 'python_socks/_errors.py' >adding 'python_socks/_helpers.py' >adding 'python_socks/_proxy_factory.py' >adding 'python_socks/_types.py' >adding 'python_socks/_version.py' >adding 'python_socks/_proto/__init__.py' >adding 'python_socks/_proto/http.py' >adding 'python_socks/_proto/http_async.py' >adding 'python_socks/_proto/http_sync.py' >adding 'python_socks/_proto/socks4.py' >adding 'python_socks/_proto/socks4_async.py' >adding 'python_socks/_proto/socks4_sync.py' >adding 'python_socks/_proto/socks5.py' >adding 'python_socks/_proto/socks5_async.py' >adding 'python_socks/_proto/socks5_sync.py' >adding 'python_socks/async_/__init__.py' >adding 'python_socks/async_/_proxy_chain.py' >adding 'python_socks/async_/anyio/__init__.py' >adding 'python_socks/async_/anyio/_chain.py' >adding 'python_socks/async_/anyio/_connect.py' >adding 'python_socks/async_/anyio/_factory.py' >adding 'python_socks/async_/anyio/_proxy.py' >adding 'python_socks/async_/anyio/_resolver.py' >adding 'python_socks/async_/anyio/_stream.py' >adding 'python_socks/async_/asyncio/__init__.py' >adding 'python_socks/async_/asyncio/_connect.py' >adding 'python_socks/async_/asyncio/_proxy.py' >adding 'python_socks/async_/asyncio/_resolver.py' >adding 'python_socks/async_/asyncio/_stream.py' >adding 'python_socks/async_/asyncio/v2/__init__.py' >adding 'python_socks/async_/asyncio/v2/_chain.py' >adding 'python_socks/async_/asyncio/v2/_connect.py' >adding 'python_socks/async_/asyncio/v2/_factory.py' >adding 'python_socks/async_/asyncio/v2/_proxy.py' >adding 'python_socks/async_/asyncio/v2/_stream.py' >adding 'python_socks/async_/curio/__init__.py' >adding 'python_socks/async_/curio/_connect.py' >adding 'python_socks/async_/curio/_proxy.py' >adding 'python_socks/async_/curio/_resolver.py' >adding 'python_socks/async_/curio/_stream.py' >adding 'python_socks/async_/trio/__init__.py' >adding 'python_socks/async_/trio/_connect.py' >adding 'python_socks/async_/trio/_proxy.py' >adding 'python_socks/async_/trio/_resolver.py' >adding 'python_socks/async_/trio/_stream.py' >adding 'python_socks/async_/trio/v2/__init__.py' >adding 'python_socks/async_/trio/v2/_chain.py' >adding 'python_socks/async_/trio/v2/_connect.py' >adding 'python_socks/async_/trio/v2/_factory.py' >adding 'python_socks/async_/trio/v2/_proxy.py' >adding 'python_socks/async_/trio/v2/_stream.py' >adding 'python_socks/sync/__init__.py' >adding 'python_socks/sync/_chain.py' >adding 'python_socks/sync/_connect.py' >adding 'python_socks/sync/_proxy.py' >adding 'python_socks/sync/_resolver.py' >adding 'python_socks/sync/_stream.py' >adding 'python_socks/sync/v2/__init__.py' >adding 'python_socks/sync/v2/_chain.py' >adding 'python_socks/sync/v2/_factory.py' >adding 'python_socks/sync/v2/_proxy.py' >adding 'python_socks/sync/v2/_ssl_transport.py' >adding 'python_socks/sync/v2/_stream.py' >adding 'python_socks-2.0.3.dist-info/LICENSE.txt' >adding 'python_socks-2.0.3.dist-info/METADATA' >adding 'python_socks-2.0.3.dist-info/WHEEL' >adding 'python_socks-2.0.3.dist-info/top_level.txt' >adding 'python_socks-2.0.3.dist-info/RECORD' >removing build/bdist.linux-ppc/wheel > * Installing the wheel to /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3-python3_9/install >python3.9 setup.py clean -a >running clean >'build/scripts-3.9' does not exist -- can't clean it >removing 'build' >>>> Source compiled. >>>> Test phase: dev-python/python-socks-2.0.3 > * python3_9: running distutils-r1_run_phase python_test >python3.9 -m pytest -vv -ra -l -Wdefault --color=no -p no:cov -p no:flake8 -p no:flakes -p no:pylint >============================= test session starts ============================== >platform linux -- Python 3.9.9, pytest-7.0.0, pluggy-1.0.0 -- /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3-python3_9/install/usr/bin/python3.9 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3 >plugins: pytest_param_files-0.3.4, regressions-2.3.1, tornasync-0.6.0.post2, asyncio-0.17.2, pkgcore-0.12.9, timeout-2.1.0, anyio-3.5.0, mock-3.7.0, console-scripts-1.2.2, datadir-1.3.1 >asyncio: mode=legacy >collecting ... collected 312 items / 1 skipped / 311 selected > >tests/test_misc.py::test_is_ip_address[::10] PASSED [ 0%] >tests/test_misc.py::test_is_ip_address[::11] PASSED [ 0%] >tests/test_misc.py::test_is_ip_address[127.0.0.10] PASSED [ 0%] >tests/test_misc.py::test_is_ip_address[127.0.0.11] PASSED [ 1%] >tests/test_misc.py::test_basic_auth PASSED [ 1%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip] PASSED [ 1%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip] PASSED [ 2%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip] PASSED [ 2%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip] PASSED [ 2%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip] PASSED [ 3%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip] PASSED [ 3%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip] PASSED [ 3%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip] PASSED [ 4%] >tests/test_proxy_async_aio.py::test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip] PASSED [ 4%] >tests/test_proxy_async_aio.py::test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip] PASSED [ 4%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip] PASSED [ 5%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip] PASSED [ 5%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip] PASSED [ 5%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip] PASSED [ 6%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip] PASSED [ 6%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip] PASSED [ 6%] >tests/test_proxy_async_aio.py::test_socks5_proxy_with_invalid_credentials PASSED [ 7%] >tests/test_proxy_async_aio.py::test_socks5_proxy_with_connect_timeout PASSED [ 7%] >tests/test_proxy_async_aio.py::test_socks5_proxy_with_invalid_proxy_port PASSED [ 7%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip] PASSED [ 8%] >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip] PASSED [ 8%] >tests/test_proxy_async_aio.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] PASSED [ 8%] >tests/test_proxy_async_aio.py::test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip] PASSED [ 8%] >tests/test_proxy_async_aio.py::test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip] PASSED [ 9%] >tests/test_proxy_async_aio.py::test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip] PASSED [ 9%] >tests/test_proxy_async_aio.py::test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip] PASSED [ 9%] >tests/test_proxy_async_aio.py::test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip] PASSED [ 10%] >tests/test_proxy_async_aio.py::test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip] PASSED [ 10%] >tests/test_proxy_async_aio.py::test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] PASSED [ 10%] >tests/test_proxy_async_aio.py::test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip] PASSED [ 11%] >tests/test_proxy_async_aio.py::test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip] PASSED [ 11%] >tests/test_proxy_async_aio.py::test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip] PASSED [ 11%] >tests/test_proxy_async_aio.py::test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip] PASSED [ 12%] >tests/test_proxy_async_aio.py::test_http_proxy[http://ip4.target.example.com:8889/ip] PASSED [ 12%] >tests/test_proxy_async_aio.py::test_http_proxy[https://ip4.target.example.com:8890/ip] PASSED [ 12%] >tests/test_proxy_async_aio.py::test_proxy_chain[http://ip4.target.example.com:8889/ip] PASSED [ 13%] >tests/test_proxy_async_aio.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] PASSED [ 13%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip] PASSED [ 13%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip] PASSED [ 14%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip] PASSED [ 14%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip] PASSED [ 14%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip] PASSED [ 15%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip] PASSED [ 15%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip] PASSED [ 15%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip] PASSED [ 16%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip] PASSED [ 16%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip] PASSED [ 16%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip] PASSED [ 16%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip] PASSED [ 17%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip] PASSED [ 17%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip] PASSED [ 17%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip] PASSED [ 18%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip] PASSED [ 18%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_with_invalid_credentials PASSED [ 18%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_with_connect_timeout PASSED [ 19%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_with_invalid_proxy_port PASSED [ 19%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip] PASSED [ 19%] >tests/test_proxy_async_aio_v2.py::test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip] PASSED [ 20%] >tests/test_proxy_async_aio_v2.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] PASSED [ 20%] >tests/test_proxy_async_aio_v2.py::test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip] PASSED [ 20%] >tests/test_proxy_async_aio_v2.py::test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip] PASSED [ 21%] >tests/test_proxy_async_aio_v2.py::test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip] PASSED [ 21%] >tests/test_proxy_async_aio_v2.py::test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip] PASSED [ 21%] >tests/test_proxy_async_aio_v2.py::test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip] PASSED [ 22%] >tests/test_proxy_async_aio_v2.py::test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip] PASSED [ 22%] >tests/test_proxy_async_aio_v2.py::test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] PASSED [ 22%] >tests/test_proxy_async_aio_v2.py::test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip] PASSED [ 23%] >tests/test_proxy_async_aio_v2.py::test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip] PASSED [ 23%] >tests/test_proxy_async_aio_v2.py::test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip] PASSED [ 23%] >tests/test_proxy_async_aio_v2.py::test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip] PASSED [ 24%] >tests/test_proxy_async_aio_v2.py::test_http_proxy[http://ip4.target.example.com:8889/ip] PASSED [ 24%] >tests/test_proxy_async_aio_v2.py::test_http_proxy[https://ip4.target.example.com:8890/ip] PASSED [ 24%] >tests/test_proxy_async_aio_v2.py::test_proxy_chain[http://ip4.target.example.com:8889/ip] PASSED [ 25%] >tests/test_proxy_async_aio_v2.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] PASSED [ 25%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[asyncio-True-True-http://ip4.target.example.com:8889/ip] PASSED [ 25%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[asyncio-True-True-https://ip4.target.example.com:8890/ip] PASSED [ 25%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[asyncio-True-False-http://ip4.target.example.com:8889/ip] PASSED [ 26%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[asyncio-True-False-https://ip4.target.example.com:8890/ip] PASSED [ 26%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[asyncio-False-True-http://ip4.target.example.com:8889/ip] PASSED [ 26%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[asyncio-False-True-https://ip4.target.example.com:8890/ip] PASSED [ 27%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[asyncio-False-False-http://ip4.target.example.com:8889/ip] PASSED [ 27%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[asyncio-False-False-https://ip4.target.example.com:8890/ip] PASSED [ 27%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[trio-True-True-http://ip4.target.example.com:8889/ip] PASSED [ 28%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[trio-True-True-https://ip4.target.example.com:8890/ip] PASSED [ 28%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[trio-True-False-http://ip4.target.example.com:8889/ip] PASSED [ 28%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[trio-True-False-https://ip4.target.example.com:8890/ip] PASSED [ 29%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[trio-False-True-http://ip4.target.example.com:8889/ip] PASSED [ 29%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[trio-False-True-https://ip4.target.example.com:8890/ip] PASSED [ 29%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[trio-False-False-http://ip4.target.example.com:8889/ip] PASSED [ 30%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[trio-False-False-https://ip4.target.example.com:8890/ip] PASSED [ 30%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_hostname_ipv4[asyncio-http://ip4.target.example.com:8889/ip] PASSED [ 30%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_hostname_ipv4[asyncio-https://ip4.target.example.com:8890/ip] PASSED [ 31%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_hostname_ipv4[trio-http://ip4.target.example.com:8889/ip] PASSED [ 31%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_hostname_ipv4[trio-https://ip4.target.example.com:8890/ip] PASSED [ 31%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4_with_auth_none[asyncio-None-http://ip4.target.example.com:8889/ip] PASSED [ 32%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4_with_auth_none[asyncio-None-https://ip4.target.example.com:8890/ip] PASSED [ 32%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4_with_auth_none[asyncio-True-http://ip4.target.example.com:8889/ip] PASSED [ 32%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4_with_auth_none[asyncio-True-https://ip4.target.example.com:8890/ip] PASSED [ 33%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4_with_auth_none[asyncio-False-http://ip4.target.example.com:8889/ip] PASSED [ 33%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4_with_auth_none[asyncio-False-https://ip4.target.example.com:8890/ip] PASSED [ 33%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4_with_auth_none[trio-None-http://ip4.target.example.com:8889/ip] PASSED [ 33%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4_with_auth_none[trio-None-https://ip4.target.example.com:8890/ip] PASSED [ 34%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4_with_auth_none[trio-True-http://ip4.target.example.com:8889/ip] PASSED [ 34%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4_with_auth_none[trio-True-https://ip4.target.example.com:8890/ip] PASSED [ 34%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4_with_auth_none[trio-False-http://ip4.target.example.com:8889/ip] PASSED [ 35%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4_with_auth_none[trio-False-https://ip4.target.example.com:8890/ip] PASSED [ 35%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_with_invalid_credentials[asyncio] PASSED [ 35%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_with_invalid_credentials[trio] PASSED [ 36%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_with_connect_timeout[asyncio] PASSED [ 36%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_with_connect_timeout[trio] PASSED [ 36%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_with_invalid_proxy_port[asyncio] PASSED [ 37%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_with_invalid_proxy_port[trio] PASSED [ 37%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv6[asyncio-http://ip4.target.example.com:8889/ip] PASSED [ 37%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv6[asyncio-https://ip4.target.example.com:8890/ip] PASSED [ 38%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv6[trio-http://ip4.target.example.com:8889/ip] PASSED [ 38%] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv6[trio-https://ip4.target.example.com:8890/ip] PASSED [ 38%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-True-None-http://ip4.target.example.com:8889/ip] PASSED [ 39%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-True-None-https://ip4.target.example.com:8890/ip] PASSED [ 39%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-True-True-http://ip4.target.example.com:8889/ip] PASSED [ 39%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-True-True-https://ip4.target.example.com:8890/ip] PASSED [ 40%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-True-False-http://ip4.target.example.com:8889/ip] PASSED [ 40%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-True-False-https://ip4.target.example.com:8890/ip] PASSED [ 40%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-False-None-http://ip4.target.example.com:8889/ip] PASSED [ 41%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-False-None-https://ip4.target.example.com:8890/ip] PASSED [ 41%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-False-True-http://ip4.target.example.com:8889/ip] PASSED [ 41%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-False-True-https://ip4.target.example.com:8890/ip] PASSED [ 41%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-False-False-http://ip4.target.example.com:8889/ip] PASSED [ 42%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-False-False-https://ip4.target.example.com:8890/ip] PASSED [ 42%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[trio-True-None-http://ip4.target.example.com:8889/ip] PASSED [ 42%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[trio-True-None-https://ip4.target.example.com:8890/ip] PASSED [ 43%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[trio-True-True-http://ip4.target.example.com:8889/ip] PASSED [ 43%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[trio-True-True-https://ip4.target.example.com:8890/ip] PASSED [ 43%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[trio-True-False-http://ip4.target.example.com:8889/ip] PASSED [ 44%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[trio-True-False-https://ip4.target.example.com:8890/ip] PASSED [ 44%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[trio-False-None-http://ip4.target.example.com:8889/ip] PASSED [ 44%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[trio-False-None-https://ip4.target.example.com:8890/ip] PASSED [ 45%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[trio-False-True-http://ip4.target.example.com:8889/ip] PASSED [ 45%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[trio-False-True-https://ip4.target.example.com:8890/ip] PASSED [ 45%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[trio-False-False-http://ip4.target.example.com:8889/ip] PASSED [ 46%] >tests/test_proxy_async_anyio.py::test_socks4_proxy[trio-False-False-https://ip4.target.example.com:8890/ip] PASSED [ 46%] >tests/test_proxy_async_anyio.py::test_http_proxy[asyncio-http://ip4.target.example.com:8889/ip] PASSED [ 46%] >tests/test_proxy_async_anyio.py::test_http_proxy[asyncio-https://ip4.target.example.com:8890/ip] PASSED [ 47%] >tests/test_proxy_async_anyio.py::test_http_proxy[trio-http://ip4.target.example.com:8889/ip] PASSED [ 47%] >tests/test_proxy_async_anyio.py::test_http_proxy[trio-https://ip4.target.example.com:8890/ip] PASSED [ 47%] >tests/test_proxy_async_anyio.py::test_secure_proxy[asyncio-http://ip4.target.example.com:8889/ip] PASSED [ 48%] >tests/test_proxy_async_anyio.py::test_secure_proxy[asyncio-https://ip4.target.example.com:8890/ip] PASSED [ 48%] >tests/test_proxy_async_anyio.py::test_secure_proxy[trio-http://ip4.target.example.com:8889/ip] PASSED [ 48%] >tests/test_proxy_async_anyio.py::test_secure_proxy[trio-https://ip4.target.example.com:8890/ip] PASSED [ 49%] >tests/test_proxy_async_anyio.py::test_proxy_chain[asyncio-http://ip4.target.example.com:8889/ip] PASSED [ 49%] >tests/test_proxy_async_anyio.py::test_proxy_chain[asyncio-https://ip4.target.example.com:8890/ip] PASSED [ 49%] >tests/test_proxy_async_anyio.py::test_proxy_chain[trio-http://ip4.target.example.com:8889/ip] PASSED [ 50%] >tests/test_proxy_async_anyio.py::test_proxy_chain[trio-https://ip4.target.example.com:8890/ip] PASSED [ 50%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip] FAILED [ 50%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip] FAILED [ 50%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip] FAILED [ 51%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip] FAILED [ 51%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip] FAILED [ 51%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip] FAILED [ 52%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip] FAILED [ 52%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip] FAILED [ 52%] >tests/test_proxy_async_trio.py::test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip] FAILED [ 53%] >tests/test_proxy_async_trio.py::test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip] FAILED [ 53%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip] FAILED [ 53%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip] FAILED [ 54%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip] FAILED [ 54%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip] FAILED [ 54%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip] FAILED [ 55%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip] FAILED [ 55%] >tests/test_proxy_async_trio.py::test_socks5_proxy_with_invalid_credentials FAILED [ 55%] >tests/test_proxy_async_trio.py::test_socks5_proxy_with_connect_timeout FAILED [ 56%] >tests/test_proxy_async_trio.py::test_socks5_proxy_with_invalid_proxy_port FAILED [ 56%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip] FAILED [ 56%] >tests/test_proxy_async_trio.py::test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip] FAILED [ 57%] >tests/test_proxy_async_trio.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] FAILED [ 57%] >tests/test_proxy_async_trio.py::test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip] FAILED [ 57%] >tests/test_proxy_async_trio.py::test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip] FAILED [ 58%] >tests/test_proxy_async_trio.py::test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip] FAILED [ 58%] >tests/test_proxy_async_trio.py::test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip] FAILED [ 58%] >tests/test_proxy_async_trio.py::test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip] FAILED [ 58%] >tests/test_proxy_async_trio.py::test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip] FAILED [ 59%] >tests/test_proxy_async_trio.py::test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] FAILED [ 59%] >tests/test_proxy_async_trio.py::test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip] FAILED [ 59%] >tests/test_proxy_async_trio.py::test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip] FAILED [ 60%] >tests/test_proxy_async_trio.py::test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip] FAILED [ 60%] >tests/test_proxy_async_trio.py::test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip] FAILED [ 60%] >tests/test_proxy_async_trio.py::test_http_proxy[http://ip4.target.example.com:8889/ip] FAILED [ 61%] >tests/test_proxy_async_trio.py::test_http_proxy[https://ip4.target.example.com:8890/ip] FAILED [ 61%] >tests/test_proxy_async_trio.py::test_proxy_chain[http://ip4.target.example.com:8889/ip] FAILED [ 61%] >tests/test_proxy_async_trio.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] FAILED [ 62%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip] FAILED [ 62%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip] FAILED [ 62%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip] FAILED [ 63%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip] FAILED [ 63%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip] FAILED [ 63%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip] FAILED [ 64%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip] FAILED [ 64%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip] FAILED [ 64%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip] FAILED [ 65%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip] FAILED [ 65%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip] FAILED [ 65%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip] FAILED [ 66%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip] FAILED [ 66%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip] FAILED [ 66%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip] FAILED [ 66%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip] FAILED [ 67%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_with_invalid_credentials FAILED [ 67%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_with_connect_timeout FAILED [ 67%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_with_invalid_proxy_port FAILED [ 68%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip] FAILED [ 68%] >tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip] FAILED [ 68%] >tests/test_proxy_async_trio_v2.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] FAILED [ 69%] >tests/test_proxy_async_trio_v2.py::test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip] FAILED [ 69%] >tests/test_proxy_async_trio_v2.py::test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip] FAILED [ 69%] >tests/test_proxy_async_trio_v2.py::test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip] FAILED [ 70%] >tests/test_proxy_async_trio_v2.py::test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip] FAILED [ 70%] >tests/test_proxy_async_trio_v2.py::test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip] FAILED [ 70%] >tests/test_proxy_async_trio_v2.py::test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip] FAILED [ 71%] >tests/test_proxy_async_trio_v2.py::test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] FAILED [ 71%] >tests/test_proxy_async_trio_v2.py::test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip] FAILED [ 71%] >tests/test_proxy_async_trio_v2.py::test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip] FAILED [ 72%] >tests/test_proxy_async_trio_v2.py::test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip] FAILED [ 72%] >tests/test_proxy_async_trio_v2.py::test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip] FAILED [ 72%] >tests/test_proxy_async_trio_v2.py::test_http_proxy[http://ip4.target.example.com:8889/ip] FAILED [ 73%] >tests/test_proxy_async_trio_v2.py::test_http_proxy[https://ip4.target.example.com:8890/ip] FAILED [ 73%] >tests/test_proxy_async_trio_v2.py::test_secure_proxy[http://ip4.target.example.com:8889/ip] FAILED [ 73%] >tests/test_proxy_async_trio_v2.py::test_secure_proxy[https://ip4.target.example.com:8890/ip] FAILED [ 74%] >tests/test_proxy_async_trio_v2.py::test_proxy_chain[http://ip4.target.example.com:8889/ip] FAILED [ 74%] >tests/test_proxy_async_trio_v2.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] FAILED [ 74%] >tests/test_proxy_sync.py::test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip] PASSED [ 75%] >tests/test_proxy_sync.py::test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip] PASSED [ 75%] >tests/test_proxy_sync.py::test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip] PASSED [ 75%] >tests/test_proxy_sync.py::test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip] PASSED [ 75%] >tests/test_proxy_sync.py::test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip] PASSED [ 76%] >tests/test_proxy_sync.py::test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip] PASSED [ 76%] >tests/test_proxy_sync.py::test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip] PASSED [ 76%] >tests/test_proxy_sync.py::test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip] PASSED [ 77%] >tests/test_proxy_sync.py::test_socks5_proxy_hostname_ipv4 PASSED [ 77%] >tests/test_proxy_sync.py::test_socks5_proxy_ipv4_with_auth_none[None] PASSED [ 77%] >tests/test_proxy_sync.py::test_socks5_proxy_ipv4_with_auth_none[True] PASSED [ 78%] >tests/test_proxy_sync.py::test_socks5_proxy_ipv4_with_auth_none[False] PASSED [ 78%] >tests/test_proxy_sync.py::test_socks5_proxy_with_invalid_credentials PASSED [ 78%] >tests/test_proxy_sync.py::test_socks5_proxy_with_connect_timeout PASSED [ 79%] >tests/test_proxy_sync.py::test_socks5_proxy_with_invalid_proxy_port PASSED [ 79%] >tests/test_proxy_sync.py::test_socks5_proxy_ipv6 PASSED [ 79%] >tests/test_proxy_sync.py::test_socks5_proxy_hostname_ipv6[True] PASSED [ 80%] >tests/test_proxy_sync.py::test_socks5_proxy_hostname_ipv6[False] PASSED [ 80%] >tests/test_proxy_sync.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] PASSED [ 80%] >tests/test_proxy_sync.py::test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip] PASSED [ 81%] >tests/test_proxy_sync.py::test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip] PASSED [ 81%] >tests/test_proxy_sync.py::test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip] PASSED [ 81%] >tests/test_proxy_sync.py::test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip] PASSED [ 82%] >tests/test_proxy_sync.py::test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip] PASSED [ 82%] >tests/test_proxy_sync.py::test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip] PASSED [ 82%] >tests/test_proxy_sync.py::test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] PASSED [ 83%] >tests/test_proxy_sync.py::test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip] PASSED [ 83%] >tests/test_proxy_sync.py::test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip] PASSED [ 83%] >tests/test_proxy_sync.py::test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip] PASSED [ 83%] >tests/test_proxy_sync.py::test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip] PASSED [ 84%] >tests/test_proxy_sync.py::test_http_proxy[http://ip4.target.example.com:8889/ip] PASSED [ 84%] >tests/test_proxy_sync.py::test_http_proxy[https://ip4.target.example.com:8890/ip] PASSED [ 84%] >tests/test_proxy_sync.py::test_http_proxy_with_invalid_credentials PASSED [ 85%] >tests/test_proxy_sync.py::test_proxy_chain[http://ip4.target.example.com:8889/ip] PASSED [ 85%] >tests/test_proxy_sync.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] PASSED [ 85%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip] PASSED [ 86%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip] PASSED [ 86%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip] PASSED [ 86%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip] PASSED [ 87%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip] PASSED [ 87%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip] PASSED [ 87%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip] PASSED [ 88%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip] PASSED [ 88%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_hostname_ipv4 PASSED [ 88%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_ipv4_with_auth_none[None] PASSED [ 89%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_ipv4_with_auth_none[True] PASSED [ 89%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_ipv4_with_auth_none[False] PASSED [ 89%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_with_invalid_credentials PASSED [ 90%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_with_connect_timeout PASSED [ 90%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_with_invalid_proxy_port PASSED [ 90%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_ipv6 PASSED [ 91%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_hostname_ipv6[True] PASSED [ 91%] >tests/test_proxy_sync_v2.py::test_socks5_proxy_hostname_ipv6[False] PASSED [ 91%] >tests/test_proxy_sync_v2.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] PASSED [ 91%] >tests/test_proxy_sync_v2.py::test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip] PASSED [ 92%] >tests/test_proxy_sync_v2.py::test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip] PASSED [ 92%] >tests/test_proxy_sync_v2.py::test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip] PASSED [ 92%] >tests/test_proxy_sync_v2.py::test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip] PASSED [ 93%] >tests/test_proxy_sync_v2.py::test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip] PASSED [ 93%] >tests/test_proxy_sync_v2.py::test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip] PASSED [ 93%] >tests/test_proxy_sync_v2.py::test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] PASSED [ 94%] >tests/test_proxy_sync_v2.py::test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip] PASSED [ 94%] >tests/test_proxy_sync_v2.py::test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip] PASSED [ 94%] >tests/test_proxy_sync_v2.py::test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip] PASSED [ 95%] >tests/test_proxy_sync_v2.py::test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip] PASSED [ 95%] >tests/test_proxy_sync_v2.py::test_http_proxy[http://ip4.target.example.com:8889/ip] PASSED [ 95%] >tests/test_proxy_sync_v2.py::test_http_proxy[https://ip4.target.example.com:8890/ip] PASSED [ 96%] >tests/test_proxy_sync_v2.py::test_secure_proxy[http://ip4.target.example.com:8889/ip] PASSED [ 96%] >tests/test_proxy_sync_v2.py::test_secure_proxy[https://ip4.target.example.com:8890/ip] PASSED [ 96%] >tests/test_proxy_sync_v2.py::test_http_proxy_with_invalid_credentials PASSED [ 97%] >tests/test_proxy_sync_v2.py::test_proxy_chain[http://ip4.target.example.com:8889/ip] PASSED [ 97%] >tests/test_proxy_sync_v2.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] PASSED [ 97%] >tests/test_resolvers.py::test_sync_resolver_1 PASSED [ 98%] >tests/test_resolvers.py::test_sync_resolver_2 PASSED [ 98%] >tests/test_resolvers.py::test_asyncio_resolver PASSED [ 98%] >tests/test_resolvers.py::test_trio_resolver PASSED [ 99%] >tests/test_resolvers.py::test_anyio_resolver[asyncio] PASSED [ 99%] >tests/test_resolvers.py::test_anyio_resolver[trio] PASSED [ 99%] >tests/test_resolvers.py::test_curio_resolver SKIPPED (could not impo...) [100%] > >=================================== FAILURES =================================== >___ test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip] ____ > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___ test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip] ___ > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___ test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip] ___ > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__ test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip] ___ > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___ test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip] ___ > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__ test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip] ___ > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__ test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip] ___ > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__ test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip] __ > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >____ test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip] ____ > >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___ test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip] ____ > >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_ test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip] _ > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': None, 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': None, 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_ test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip] _ > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': None, 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': None, 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_ test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip] _ > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_ test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip] _ > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_ test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip] _ > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_ test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip] _ > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__________________ test_socks5_proxy_with_invalid_credentials __________________ > >pyfuncitem = <Function test_socks5_proxy_with_invalid_credentials> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, 'proxy_server': None, 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_with_invalid_credentials> >testargs = {} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_with_invalid_credentials> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, 'proxy_server': None, 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_with_invalid_credentials> >testargs = {} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >____________________ test_socks5_proxy_with_connect_timeout ____________________ > >pyfuncitem = <Function test_socks5_proxy_with_connect_timeout> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, 'proxy_server': None, 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_with_connect_timeout> >testargs = {} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_with_connect_timeout> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, 'proxy_server': None, 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_with_connect_timeout> >testargs = {} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__________________ test_socks5_proxy_with_invalid_proxy_port ___________________ > >pyfuncitem = <Function test_socks5_proxy_with_invalid_proxy_port> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'unused_tcp_port': 42223, > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_with_invalid_proxy_port> >testargs = {'unused_tcp_port': 42223} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_with_invalid_proxy_port> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'unused_tcp_port': 42223, > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_with_invalid_proxy_port> >testargs = {'unused_tcp_port': 42223} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >________ test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip] _________ > >pyfuncitem = <Function test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >________ test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip] ________ > >pyfuncitem = <Function test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >______ test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': None, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': None, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': None, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': None, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >______ test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip] _____ > >pyfuncitem = <Function test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': None, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': None, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] _____ > >pyfuncitem = <Function test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': None, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': None, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip] _____ > >pyfuncitem = <Function test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip] _____ > >pyfuncitem = <Function test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >____ test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip] _____ > >pyfuncitem = <Function test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >____________ test_http_proxy[http://ip4.target.example.com:8889/ip] ____________ > >pyfuncitem = <Function test_http_proxy[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_http_proxy[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_http_proxy[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_http_proxy[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___________ test_http_proxy[https://ip4.target.example.com:8890/ip] ____________ > >pyfuncitem = <Function test_http_proxy[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_http_proxy[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_http_proxy[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_http_proxy[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___________ test_proxy_chain[http://ip4.target.example.com:8889/ip] ____________ > >pyfuncitem = <Function test_proxy_chain[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_proxy_chain[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_proxy_chain[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_proxy_chain[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___________ test_proxy_chain[https://ip4.target.example.com:8890/ip] ___________ > >pyfuncitem = <Function test_proxy_chain[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_proxy_chain[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_proxy_chain[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_proxy_chain[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___ test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip] ____ > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___ test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip] ___ > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___ test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip] ___ > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__ test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip] ___ > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___ test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip] ___ > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__ test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip] ___ > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__ test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip] ___ > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__ test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip] __ > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >____ test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip] ____ > >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___ test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip] ____ > >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_ test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip] _ > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': None, 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': None, 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_ test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip] _ > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': None, 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': None, 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_ test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip] _ > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_ test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip] _ > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_ test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip] _ > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_ test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip] _ > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__________________ test_socks5_proxy_with_invalid_credentials __________________ > >pyfuncitem = <Function test_socks5_proxy_with_invalid_credentials> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, 'proxy_server': None, 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_with_invalid_credentials> >testargs = {} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_with_invalid_credentials> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, 'proxy_server': None, 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_with_invalid_credentials> >testargs = {} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >____________________ test_socks5_proxy_with_connect_timeout ____________________ > >pyfuncitem = <Function test_socks5_proxy_with_connect_timeout> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, 'proxy_server': None, 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_with_connect_timeout> >testargs = {} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_with_connect_timeout> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, 'proxy_server': None, 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_with_connect_timeout> >testargs = {} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__________________ test_socks5_proxy_with_invalid_proxy_port ___________________ > >pyfuncitem = <Function test_socks5_proxy_with_invalid_proxy_port> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'unused_tcp_port': 48439, > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_with_invalid_proxy_port> >testargs = {'unused_tcp_port': 48439} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_with_invalid_proxy_port> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'unused_tcp_port': 48439, > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_with_invalid_proxy_port> >testargs = {'unused_tcp_port': 48439} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >________ test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip] _________ > >pyfuncitem = <Function test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >________ test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip] ________ > >pyfuncitem = <Function test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >______ test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': None, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': None, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': None, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': None, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >______ test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip] _____ > >pyfuncitem = <Function test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': True, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': None, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': None, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] _____ > >pyfuncitem = <Function test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': None, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': None, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': None, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip] ______ > >pyfuncitem = <Function test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip] _____ > >pyfuncitem = <Function test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': True, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >_____ test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip] _____ > >pyfuncitem = <Function test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >____ test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip] _____ > >pyfuncitem = <Function test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip]> >testargs = {'rdns': False, > 'resolve_host': False, > 'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >____________ test_http_proxy[http://ip4.target.example.com:8889/ip] ____________ > >pyfuncitem = <Function test_http_proxy[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_http_proxy[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_http_proxy[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_http_proxy[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___________ test_http_proxy[https://ip4.target.example.com:8890/ip] ____________ > >pyfuncitem = <Function test_http_proxy[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_http_proxy[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_http_proxy[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_http_proxy[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___________ test_secure_proxy[http://ip4.target.example.com:8889/ip] ___________ > >pyfuncitem = <Function test_secure_proxy[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_secure_proxy[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_secure_proxy[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_secure_proxy[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >__________ test_secure_proxy[https://ip4.target.example.com:8890/ip] ___________ > >pyfuncitem = <Function test_secure_proxy[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_secure_proxy[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_secure_proxy[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_secure_proxy[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___________ test_proxy_chain[http://ip4.target.example.com:8889/ip] ____________ > >pyfuncitem = <Function test_proxy_chain[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_proxy_chain[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_proxy_chain[http://ip4.target.example.com:8889/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'http://ip4.target.example.com:8889/ip', > 'web_server': None} >pyfuncitem = <Function test_proxy_chain[http://ip4.target.example.com:8889/ip]> >testargs = {'url': 'http://ip4.target.example.com:8889/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >___________ test_proxy_chain[https://ip4.target.example.com:8890/ip] ___________ > >pyfuncitem = <Function test_proxy_chain[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: >> loop = funcargs["io_loop"] >E KeyError: 'io_loop' > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_proxy_chain[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:49: KeyError > >During handling of the above exception, another exception occurred: > >pyfuncitem = <Function test_proxy_chain[https://ip4.target.example.com:8890/ip]> > > @pytest.mark.tryfirst > def pytest_pyfunc_call(pyfuncitem): > funcargs = pyfuncitem.funcargs > testargs = {arg: funcargs[arg] for arg in pyfuncitem._fixtureinfo.argnames} > > if not iscoroutinefunction(pyfuncitem.obj): > pyfuncitem.obj(**testargs) > return True > > try: > loop = funcargs["io_loop"] > except KeyError: >> loop = tornado.ioloop.IOLoop.current() > >funcargs = {'patch_resolvers': None, > 'proxy_server': None, > 'url': 'https://ip4.target.example.com:8890/ip', > 'web_server': None} >pyfuncitem = <Function test_proxy_chain[https://ip4.target.example.com:8890/ip]> >testargs = {'url': 'https://ip4.target.example.com:8890/ip'} > >/usr/lib/python3.9/site-packages/pytest_tornasync/plugin.py:51: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python3.9/site-packages/tornado/ioloop.py:263: in current > loop = asyncio.get_event_loop() > instance = True >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > > def get_event_loop(self): > """Get the event loop for the current context. > > Returns an instance of EventLoop or raises an exception. > """ > if (self._local._loop is None and > not self._local._set_called and > threading.current_thread() is threading.main_thread()): > self.set_event_loop(self.new_event_loop()) > > if self._local._loop is None: >> raise RuntimeError('There is no current event loop in thread %r.' > % threading.current_thread().name) >E RuntimeError: There is no current event loop in thread 'MainThread'. > >self = <asyncio.unix_events._UnixDefaultEventLoopPolicy object at 0xf57eaf58> > >/usr/lib/python3.9/asyncio/events.py:642: RuntimeError >=============================== warnings summary =============================== >../../../../../../../usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:191 > /usr/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_proxy_async_trio.py:82 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio.py:82: 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_proxy_async_trio.py:90 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio.py:90: 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_proxy_async_trio.py:102 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio.py:102: 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_proxy_async_trio.py:109 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio.py:109: 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_proxy_async_trio.py:122 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio.py:122: 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_proxy_async_trio.py:135 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio.py:135: 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_proxy_async_trio.py:150 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio.py:150: 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_proxy_async_trio.py:160 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio.py:160: 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_proxy_async_trio.py:168 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio.py:168: 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_proxy_async_trio.py:176 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio.py:176: 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_proxy_async_trio_v2.py:95 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio_v2.py:95: 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_proxy_async_trio_v2.py:103 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio_v2.py:103: 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_proxy_async_trio_v2.py:112 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio_v2.py:112: 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_proxy_async_trio_v2.py:119 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio_v2.py:119: 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_proxy_async_trio_v2.py:132 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio_v2.py:132: 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_proxy_async_trio_v2.py:145 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio_v2.py:145: 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_proxy_async_trio_v2.py:160 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio_v2.py:160: 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_proxy_async_trio_v2.py:170 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio_v2.py:170: 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_proxy_async_trio_v2.py:178 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio_v2.py:178: 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_proxy_async_trio_v2.py:186 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio_v2.py:186: 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_proxy_async_trio_v2.py:198 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_proxy_async_trio_v2.py:198: 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_resolvers.py:54 > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/test_resolvers.py:54: 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_misc.py::test_is_ip_address[::10] > /usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:317: DeprecationWarning: '@pytest.fixture' is applied to <fixture patch_resolvers, file=/var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/conftest.py, line=44> in 'legacy' mode, please replace it with '@pytest_asyncio.fixture' as a preparation for switching to 'strict' mode (or use 'auto' mode to seamlessly handle all these fixtures as asyncio-driven). > warnings.warn( > >tests/test_misc.py::test_is_ip_address[::10] > /usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:317: DeprecationWarning: '@pytest.fixture' is applied to <fixture proxy_server, file=/var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/conftest.py, line=87> in 'legacy' mode, please replace it with '@pytest_asyncio.fixture' as a preparation for switching to 'strict' mode (or use 'auto' mode to seamlessly handle all these fixtures as asyncio-driven). > warnings.warn( > >tests/test_misc.py::test_is_ip_address[::10] > /usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:317: DeprecationWarning: '@pytest.fixture' is applied to <fixture web_server, file=/var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/tests/conftest.py, line=158> in 'legacy' mode, please replace it with '@pytest_asyncio.fixture' as a preparation for switching to 'strict' mode (or use 'auto' mode to seamlessly handle all these fixtures as asyncio-driven). > warnings.warn( > >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip] > /var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3/python_socks/_proxy_factory.py:32: ResourceWarning: unclosed <socket.socket fd=29, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 52712), raddr=('127.0.0.1', 7780)> > return proxy_cls( > >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip] >tests/test_proxy_async_aio.py::test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] >tests/test_proxy_async_aio.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] > /usr/lib/python3.9/asyncio/selector_events.py:704: ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=29> > _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) > >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip] > /usr/lib/python3.9/ipaddress.py:1197: ResourceWarning: unclosed <socket.socket fd=29, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 52726), raddr=('127.0.0.1', 7780)> > return int.from_bytes(map(cls._parse_octet, octets), 'big') > >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip] >tests/test_proxy_async_aio.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] > /usr/lib/python3.9/asyncio/selector_events.py:704: ResourceWarning: unclosed transport <_SelectorSocketTransport fd=29> > _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) > >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip] > /usr/lib/python3.9/ipaddress.py:1197: ResourceWarning: unclosed <socket.socket fd=31, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55512), raddr=('127.0.0.1', 7781)> > return int.from_bytes(map(cls._parse_octet, octets), 'big') > >tests/test_proxy_async_aio.py::test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip] >tests/test_proxy_async_aio.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] > /usr/lib/python3.9/asyncio/selector_events.py:704: ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=31> > _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) > >tests/test_proxy_async_aio.py::test_socks5_proxy_with_connect_timeout > /usr/lib/python3.9/asyncio/events.py:80: ResourceWarning: unclosed <socket.socket fd=31, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 52730), raddr=('127.0.0.1', 7780)> > self._context.run(self._callback, *self._args) > >tests/test_proxy_async_aio.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] > /usr/lib/python3.9/site-packages/_pytest/fixtures.py:606: ResourceWarning: unclosed <socket.socket fd=29, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 55522), raddr=('127.0.0.1', 7781)> > return PseudoFixtureDef(cached_result, Scope.Function) > >tests/test_proxy_async_aio.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] > /usr/lib/python3.9/site-packages/_pytest/fixtures.py:606: ResourceWarning: unclosed <socket.socket fd=31, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 36734)> > return PseudoFixtureDef(cached_result, Scope.Function) > >tests/test_proxy_async_aio.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] > /usr/lib/python3.9/site-packages/_pytest/fixtures.py:606: ResourceWarning: unclosed <socket.socket fd=33, family=AddressFamily.AF_INET6, type=SocketKind.SOCK_STREAM, proto=0, laddr=('::1', 34580, 0, 0), raddr=('::1', 7780, 0, 0)> > return PseudoFixtureDef(cached_result, Scope.Function) > >tests/test_proxy_async_aio.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[trio-False-True-http://ip4.target.example.com:8889/ip] > /usr/lib/python3.9/asyncio/selector_events.py:704: ResourceWarning: unclosed transport <_SelectorSocketTransport closing fd=33> > _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) > >tests/test_proxy_async_aio.py::test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] > /usr/lib/python3.9/site-packages/pluggy/_callers.py:23: ResourceWarning: unclosed <socket.socket fd=29, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 40394), raddr=('127.0.0.1', 7782)> > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > >tests/test_proxy_async_aio.py::test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] > /usr/lib/python3.9/site-packages/pluggy/_callers.py:23: ResourceWarning: unclosed <socket.socket fd=31, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 40398), raddr=('127.0.0.1', 7782)> > args = [caller_kwargs[argname] for argname in hook_impl.argnames] > >tests/test_proxy_async_aio.py::test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] > /usr/lib/python3.9/asyncio/selector_events.py:704: ResourceWarning: unclosed transport <_SelectorSocketTransport fd=31> > _warn(f"unclosed transport {self!r}", ResourceWarning, source=self) > >tests/test_proxy_async_aio.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] > /usr/lib/python3.9/ipaddress.py:1220: ResourceWarning: unclosed <socket.socket fd=29, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 40406), raddr=('127.0.0.1', 7782)> > raise ValueError(msg % octet_str) > >tests/test_proxy_async_aio.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] > /usr/lib/python3.9/ipaddress.py:1220: ResourceWarning: unclosed <socket.socket fd=31, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('127.0.0.1', 40410), raddr=('127.0.0.1', 7782)> > raise ValueError(msg % octet_str) > >tests/test_proxy_async_anyio.py::test_socks5_proxy_ipv4[trio-False-True-http://ip4.target.example.com:8889/ip] >tests/test_proxy_async_anyio.py::test_socks4_proxy[asyncio-True-None-https://ip4.target.example.com:8890/ip] > /usr/lib/python3.9/asyncio/base_events.py:681: ResourceWarning: unclosed event loop <_UnixSelectorEventLoop running=False closed=False debug=False> > _warn(f"unclosed event loop {self!r}", ResourceWarning, source=self) > >-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html >=========================== short test summary info ============================ >SKIPPED [1] tests/test_proxy_async_curio.py:28: could not import 'curio': No module named 'curio' >SKIPPED [1] tests/test_resolvers.py:84: could not import 'curio': No module named 'curio' >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_with_invalid_credentials >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_with_connect_timeout >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_with_invalid_proxy_port >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_http_proxy[http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_http_proxy[https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio.py::test_proxy_chain[http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[True-True-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[True-True-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[True-False-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[True-False-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[False-True-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[False-True-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[False-False-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4[False-False-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_hostname_ipv4[http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_hostname_ipv4[https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4_with_auth_none[None-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4_with_auth_none[None-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4_with_auth_none[True-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4_with_auth_none[True-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4_with_auth_none[False-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv4_with_auth_none[False-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_with_invalid_credentials >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_with_connect_timeout >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_with_invalid_proxy_port >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv6[http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks5_proxy_ipv6[https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks4_proxy[True-None-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks4_proxy[True-None-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks4_proxy[True-True-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks4_proxy[True-True-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks4_proxy[True-False-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks4_proxy[True-False-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks4_proxy[False-None-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks4_proxy[False-None-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks4_proxy[False-True-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks4_proxy[False-True-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks4_proxy[False-False-http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_socks4_proxy[False-False-https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_http_proxy[http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_http_proxy[https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_secure_proxy[http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_secure_proxy[https://ip4.target.example.com:8890/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_proxy_chain[http://ip4.target.example.com:8889/ip] >FAILED tests/test_proxy_async_trio_v2.py::test_proxy_chain[https://ip4.target.example.com:8890/ip] >=========== 76 failed, 235 passed, 2 skipped, 49 warnings in 21.83s ============ > * ERROR: dev-python/python-socks-2.0.3::gentoo failed (test phase): > * pytest failed with python3.9 > * > * Call stack: > * ebuild.sh, line 127: Called src_test > * environment, line 3006: Called distutils-r1_src_test > * environment, line 1362: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 501: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2669: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2210: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2208: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 802: Called distutils-r1_run_phase 'python_test' > * environment, line 1289: Called python_test > * environment, line 2965: Called distutils-r1_python_test > * environment, line 1241: Called epytest > * environment, line 1721: Called die > * The specific snippet of code: > * "${@}" || die -n "pytest failed with ${EPYTHON}"; > * > * If you need support, post the output of `emerge --info '=dev-python/python-socks-2.0.3::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/python-socks-2.0.3::gentoo'`. > * The complete build log is located at '/var/tmp/portage/dev-python/python-socks-2.0.3/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/python-socks-2.0.3/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3' > * S: '/var/tmp/portage/dev-python/python-socks-2.0.3/work/python-socks-2.0.3'
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 832822
: 764496