You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
=================================== FAILURES ===================================
_______________________ test_decorate_tornado_coroutine ________________________
tests/test_integrations_py3.py:43: in test_decorate_tornado_coroutine
loop.run_sync(coro)
/usr/lib/python3.8/site-packages/tornado/ioloop.py:532: in run_sync
return future_cell[0].result()
/usr/lib/python3.8/site-packages/tornado/gen.py:209: in wrapper
yielded = next(result)
src/aspectlib/py35support.py:90: in advising_generator_wrapper_py35
advice = advisor.throw(*sys.exc_info())
src/aspectlib/debug.py:220: in advising_function
res = yield
src/aspectlib/py35support.py:88: in advising_generator_wrapper_py35
result = yield from gen
tests/test_integrations_py3.py:39: in coro
yield gen.Task(loop.add_timeout, timedelta(microseconds=10))
E AttributeError: module 'tornado.gen' has no attribute 'Task'
------------------------------ Captured log call -------------------------------
CRITICAL aspectlib.debug:debug.py:218 coro() <<< aspectlib/py35support.py:79:advising_generator_wrapper_py35 < tornado/gen.py:209:wrapper
CRITICAL aspectlib.debug:debug.py:225 coro ~ raised AttributeError("module 'tornado.gen' has no attribute 'Task'")
=```
+ /usr/bin/python3 -Bm tox --skip-missing-interpretersGLOB sdist-make: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/setup.pyclean create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/cleanclean installdeps: coverageclean installed: coverage==5.5clean run-test-pre: PYTHONHASHSEED='4085365422'clean run-test: commands[0] | coverage erasecheck create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/checkcheck installdeps: docutils, check-manifest, flake8, readme-renderer, pygments, isortcheck installed: bleach==3.3.0,build==0.3.1.post1,check-manifest==0.46,docutils==0.17.1,flake8==3.9.1,isort==5.8.0,mccabe==0.6.1,packaging==20.9,pep517==0.10.0,pycodestyle==2.7.0,pyflakes==2.3.1,Pygments==2.8.1,pyparsing==2.4.7,readme-renderer==29.0,six==1.15.0,toml==0.10.2,webencodings==0.5.1check run-test-pre: PYTHONHASHSEED='4085365422'check run-test: commands[0] | python setup.py check --strict --metadata --restructuredtextrunning checkwarning: Check: This command has been deprecated. Use `twine check` instead: https://packaging.python.org/guides/making-a-pypi-friendly-readme#validating-restructuredtext-markupThe project's long description is valid RST.check run-test: commands[1] | check-manifest /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2Couldn't find version control data (git/hg/bzr/svn supported)ERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/check/bin/check-manifest . (exited with code 2)docs create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/docsdocs installdeps: -r/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/requirements.txtdocs develop-inst: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2docs installed: alabaster==0.7.12,# Editable install with no version control (aspectlib==1.5.2),-e /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src,Babel==2.9.1,certifi==2020.12.5,chardet==4.0.0,docutils==0.16,fields==5.0.0,idna==2.10,imagesize==1.2.0,Jinja2==2.11.3,MarkupSafe==1.1.1,packaging==20.9,Pygments==2.8.1,pyparsing==2.4.7,pytz==2021.1,requests==2.25.1,snowballstemmer==2.1.0,Sphinx==3.5.4,sphinx-py3doc-enhanced-theme==2.4.0,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==1.0.3,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.4,urllib3==1.26.4docs run-test-pre: PYTHONHASHSEED='4085365422'docs run-test: commands[0] | sphinx-build -E -b doctest docs dist/docsRunning Sphinx v3.5.4making output directory... donebuilding [mo]: targets for 0 po files that are out of datebuilding [doctest]: targets for 18 source files that are out of dateupdating environment: [new config] 18 added, 0 changed, 0 removedreading sources... [100%] todolooking for now-outdated files... none foundpickling environment... donechecking consistency... /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/authors.rst: WARNING: document isn't included in any toctree/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/presentations/pycon.se-lightningtalk.rst: WARNING: document isn't included in any toctreedonerunning tests...Document: reference/aspectlib.test----------------------------------1 items passed all tests: 6 tests in default6 tests in 1 items.6 passed and 0 failed.Test passed.Document: testing-----------------1 items passed all tests: 2 tests in default2 tests in 1 items.2 passed and 0 failed.Test passed.Document: examples------------------{socket.socket}.connect(('example.com', 80)){socket.socket}.connect ~ raised gaierror(-2, 'Name or service not known')**********************************************************************File "examples.rst", line 45, in pyconFailed example: with aspectlib.weave( socket.socket, aspectlib.debug.log( print_to=sys.stdout, stacktrace=None, ), lazy=True, ): s = socket.socket() s.connect(('example.com', 80)) s.send(b'GET / HTTP/1.1\r\nHost: example.com\r\n\r\n') s.recv(8) s.close()Exception raised: Traceback (most recent call last): File "/usr/lib64/python3.8/doctest.py", line 1336, in __run exec(compile(example.source, filename, "single", File "<doctest pycon[1]>", line 10, in <module> s.connect(('example.com', 80)) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/debug.py", line 178, in __call__ return self.final_function(*args, **kwargs) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/__init__.py", line 290, in advising_function_wrapper advice = advisor.throw(*sys.exc_info()) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/debug.py", line 220, in advising_function res = yield File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/__init__.py", line 288, in advising_function_wrapper result = cutpoint_function(*args, **kwargs) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/utils.py", line 63, in bound return func(*args, **kwargs) socket.gaierror: [Errno -2] Name or service not known**********************************************************************1 items had failures: 1 of 2 in pycon2 tests in 1 items.1 passed and 1 failed.***Test Failed*** 1 failures.Document: reference/aspectlib.debug-----------------------------------Doctest summary=============== 10 tests 1 failure in tests 0 failures in setup code 0 failures in cleanup codebuild finished with problems, 2 warnings.{socket.socket}.fileno()Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed file{socket.socket}.fileno => 4Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed file{socket.socket}.getsockname()Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed file{socket.socket}.getsockname => ('0.0.0.0', 0)Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed file{socket.socket}.getpeername()Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed file{socket.socket}.getpeername ~ raised OSError(107, 'Transport endpoint is not connected')Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/debug.py", line 220, in advising_function res = yield File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/__init__.py", line 288, in advising_function_wrapper result = cutpoint_function(*args, **kwargs) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/utils.py", line 63, in bound return func(*args, **kwargs)OSError: [Errno 107] Transport endpoint is not connectedDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/docs/bin/sphinx-build -E -b doctest docs dist/docs (exited with code 1)py27-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py27-coverSKIPPED: InterpreterNotFound: python2.7py27-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py27-cover-debugSKIPPED: InterpreterNotFound: python2.7py27-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py27-nocovSKIPPED: InterpreterNotFound: python2.7py27-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py27-nocov-debugSKIPPED: InterpreterNotFound: python2.7py35-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py35-coverSKIPPED: InterpreterNotFound: python3.5py35-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py35-cover-debugSKIPPED: InterpreterNotFound: python3.5py35-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py35-nocovSKIPPED: InterpreterNotFound: python3.5py35-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py35-nocov-debugSKIPPED: InterpreterNotFound: python3.5py36-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py36-coverSKIPPED: InterpreterNotFound: python3.6py36-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py36-cover-debugSKIPPED: InterpreterNotFound: python3.6py36-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py36-nocovSKIPPED: InterpreterNotFound: python3.6py36-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py36-nocov-debugSKIPPED: InterpreterNotFound: python3.6py37-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py37-coverSKIPPED: InterpreterNotFound: python3.7py37-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py37-cover-debugSKIPPED: InterpreterNotFound: python3.7py37-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py37-nocovSKIPPED: InterpreterNotFound: python3.7py37-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py37-nocov-debugSKIPPED: InterpreterNotFound: python3.7py38-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-coverpy38-cover installdeps: hunter, mock, nose, process-tests, pytest, pytest-catchlog, pytest-clarity, pytest-cov, pytest-travis-fold, tornado<6.0, pytest-covpy38-cover develop-inst: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2py38-cover installed: # Editable install with no version control (aspectlib==1.5.2),-e /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src,attrs==20.3.0,coverage==5.5,fields==5.0.0,hunter==3.3.2,iniconfig==1.1.1,manhole==1.8.0,mock==4.0.3,nose==1.3.7,packaging==20.9,pluggy==0.13.1,process-tests==2.1.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.3,pytest-catchlog==1.2.2,pytest-clarity==0.3.0a0,pytest-cov==2.11.1,pytest-travis-fold==1.3.0,termcolor==1.1.0,toml==0.10.2,tornado==5.1.1py38-cover run-test-pre: PYTHONHASHSEED='4085365422'py38-cover run-test: commands[0] | pytest --cov --cov-report=term-missing -vv/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/_pytest/config/__init__.py:427: PytestConfigWarning: pytest-catchlog plugin has been merged into the core, please remove it from your requirements. warnings.warn(Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/bin/pytest", line 8, in <module> sys.exit(console_main()) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/_pytest/config/__init__.py", line 185, in console_main code = main() File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/_pytest/config/__init__.py", line 143, in main config = _prepareconfig(args, plugins) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/_pytest/config/__init__.py", line 318, in _prepareconfig config = pluginmanager.hook.pytest_cmdline_parse( File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/pluggy/hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/pluggy/manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/pluggy/manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/pluggy/callers.py", line 203, in _multicall gen.send(outcome) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/_pytest/helpconfig.py", line 100, in pytest_cmdline_parse config: Config = outcome.get_result() File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/pluggy/callers.py", line 80, in get_result raise ex[1].with_traceback(ex[2]) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/pluggy/callers.py", line 187, in _multicall res = hook_impl.function(*args) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1003, in pytest_cmdline_parse self.parse(args) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1283, in parse self._preparse(args, addopts=addopts) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1172, in _preparse self.pluginmanager.load_setuptools_entrypoints("pytest11") File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/pluggy/manager.py", line 299, in load_setuptools_entrypoints plugin = ep.load() File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib64/python3.8/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib64/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module exec(co, module.__dict__) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/pytest_clarity/plugin.py", line 4, in <module> from pytest_clarity.hints import hints_for File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module exec(co, module.__dict__) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/pytest_clarity/hints.py", line 4, in <module> from pytest_clarity.util import ( File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module exec(co, module.__dict__) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/lib/python3.8/site-packages/pytest_clarity/util.py", line 3, in <module> import sixModuleNotFoundError: No module named 'six'ERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover/bin/pytest --cov --cov-report=term-missing -vv (exited with code 1)py38-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debugpy38-cover-debug installdeps: hunter, mock, nose, process-tests, pytest, pytest-catchlog, pytest-clarity, pytest-cov, pytest-travis-fold, tornado<6.0, pytest-covpy38-cover-debug develop-inst: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2py38-cover-debug installed: # Editable install with no version control (aspectlib==1.5.2),-e /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/src,attrs==20.3.0,coverage==5.5,fields==5.0.0,hunter==3.3.2,iniconfig==1.1.1,manhole==1.8.0,mock==4.0.3,nose==1.3.7,packaging==20.9,pluggy==0.13.1,process-tests==2.1.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.3,pytest-catchlog==1.2.2,pytest-clarity==0.3.0a0,pytest-cov==2.11.1,pytest-travis-fold==1.3.0,termcolor==1.1.0,toml==0.10.2,tornado==5.1.1py38-cover-debug run-test-pre: PYTHONHASHSEED='4085365422'py38-cover-debug run-test: commands[0] | pytest --cov --cov-report=term-missing -vv/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/_pytest/config/__init__.py:427: PytestConfigWarning: pytest-catchlog plugin has been merged into the core, please remove it from your requirements. warnings.warn(Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/bin/pytest", line 8, in <module> sys.exit(console_main()) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/_pytest/config/__init__.py", line 185, in console_main code = main() File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/_pytest/config/__init__.py", line 143, in main config = _prepareconfig(args, plugins) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/_pytest/config/__init__.py", line 318, in _prepareconfig config = pluginmanager.hook.pytest_cmdline_parse( File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/pluggy/hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/pluggy/manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/pluggy/manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/pluggy/callers.py", line 203, in _multicall gen.send(outcome) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/_pytest/helpconfig.py", line 100, in pytest_cmdline_parse config: Config = outcome.get_result() File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/pluggy/callers.py", line 80, in get_result raise ex[1].with_traceback(ex[2]) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/pluggy/callers.py", line 187, in _multicall res = hook_impl.function(*args) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1003, in pytest_cmdline_parse self.parse(args) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1283, in parse self._preparse(args, addopts=addopts) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1172, in _preparse self.pluginmanager.load_setuptools_entrypoints("pytest11") File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/pluggy/manager.py", line 299, in load_setuptools_entrypoints plugin = ep.load() File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib64/python3.8/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib64/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module exec(co, module.__dict__) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/pytest_clarity/plugin.py", line 4, in <module> from pytest_clarity.hints import hints_for File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module exec(co, module.__dict__) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/pytest_clarity/hints.py", line 4, in <module> from pytest_clarity.util import ( File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module exec(co, module.__dict__) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/lib/python3.8/site-packages/pytest_clarity/util.py", line 3, in <module> import sixModuleNotFoundError: No module named 'six'ERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover-debug/bin/pytest --cov --cov-report=term-missing -vv (exited with code 1)py38-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocovpy38-nocov installdeps: hunter, mock, nose, process-tests, pytest, pytest-catchlog, pytest-clarity, pytest-cov, pytest-travis-fold, tornado<6.0py38-nocov inst: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/.tmp/package/1/aspectlib-1.5.2.zippy38-nocov installed: aspectlib==1.5.2,attrs==20.3.0,coverage==5.5,fields==5.0.0,hunter==3.3.2,iniconfig==1.1.1,manhole==1.8.0,mock==4.0.3,nose==1.3.7,packaging==20.9,pluggy==0.13.1,process-tests==2.1.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.3,pytest-catchlog==1.2.2,pytest-clarity==0.3.0a0,pytest-cov==2.11.1,pytest-travis-fold==1.3.0,termcolor==1.1.0,toml==0.10.2,tornado==5.1.1py38-nocov run-test-pre: PYTHONHASHSEED='4085365422'py38-nocov run-test: commands[0] | pytest --cov --cov-report=term-missing -vv --ignore=src/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/_pytest/config/__init__.py:427: PytestConfigWarning: pytest-catchlog plugin has been merged into the core, please remove it from your requirements. warnings.warn(Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/bin/pytest", line 8, in <module> sys.exit(console_main()) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/_pytest/config/__init__.py", line 185, in console_main code = main() File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/_pytest/config/__init__.py", line 143, in main config = _prepareconfig(args, plugins) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/_pytest/config/__init__.py", line 318, in _prepareconfig config = pluginmanager.hook.pytest_cmdline_parse( File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/pluggy/hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/pluggy/manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/pluggy/manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/pluggy/callers.py", line 203, in _multicall gen.send(outcome) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/_pytest/helpconfig.py", line 100, in pytest_cmdline_parse config: Config = outcome.get_result() File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/pluggy/callers.py", line 80, in get_result raise ex[1].with_traceback(ex[2]) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/pluggy/callers.py", line 187, in _multicall res = hook_impl.function(*args) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1003, in pytest_cmdline_parse self.parse(args) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1283, in parse self._preparse(args, addopts=addopts) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1172, in _preparse self.pluginmanager.load_setuptools_entrypoints("pytest11") File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/pluggy/manager.py", line 299, in load_setuptools_entrypoints plugin = ep.load() File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib64/python3.8/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib64/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module exec(co, module.__dict__) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/pytest_clarity/plugin.py", line 4, in <module> from pytest_clarity.hints import hints_for File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module exec(co, module.__dict__) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/pytest_clarity/hints.py", line 4, in <module> from pytest_clarity.util import ( File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module exec(co, module.__dict__) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/lib/python3.8/site-packages/pytest_clarity/util.py", line 3, in <module> import sixModuleNotFoundError: No module named 'six'ERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov/bin/pytest --cov --cov-report=term-missing -vv --ignore=src (exited with code 1)py38-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debugpy38-nocov-debug installdeps: hunter, mock, nose, process-tests, pytest, pytest-catchlog, pytest-clarity, pytest-cov, pytest-travis-fold, tornado<6.0py38-nocov-debug inst: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/.tmp/package/1/aspectlib-1.5.2.zippy38-nocov-debug installed: aspectlib==1.5.2,attrs==20.3.0,coverage==5.5,fields==5.0.0,hunter==3.3.2,iniconfig==1.1.1,manhole==1.8.0,mock==4.0.3,nose==1.3.7,packaging==20.9,pluggy==0.13.1,process-tests==2.1.1,py==1.10.0,pyparsing==2.4.7,pytest==6.2.3,pytest-catchlog==1.2.2,pytest-clarity==0.3.0a0,pytest-cov==2.11.1,pytest-travis-fold==1.3.0,termcolor==1.1.0,toml==0.10.2,tornado==5.1.1py38-nocov-debug run-test-pre: PYTHONHASHSEED='4085365422'py38-nocov-debug run-test: commands[0] | pytest --cov --cov-report=term-missing -vv --ignore=src/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/_pytest/config/__init__.py:427: PytestConfigWarning: pytest-catchlog plugin has been merged into the core, please remove it from your requirements. warnings.warn(Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/bin/pytest", line 8, in <module> sys.exit(console_main()) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/_pytest/config/__init__.py", line 185, in console_main code = main() File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/_pytest/config/__init__.py", line 143, in main config = _prepareconfig(args, plugins) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/_pytest/config/__init__.py", line 318, in _prepareconfig config = pluginmanager.hook.pytest_cmdline_parse( File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/pluggy/hooks.py", line 286, in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/pluggy/manager.py", line 93, in _hookexec return self._inner_hookexec(hook, methods, kwargs) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/pluggy/manager.py", line 84, in <lambda> self._inner_hookexec = lambda hook, methods, kwargs: hook.multicall( File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/pluggy/callers.py", line 203, in _multicall gen.send(outcome) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/_pytest/helpconfig.py", line 100, in pytest_cmdline_parse config: Config = outcome.get_result() File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/pluggy/callers.py", line 80, in get_result raise ex[1].with_traceback(ex[2]) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/pluggy/callers.py", line 187, in _multicall res = hook_impl.function(*args) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1003, in pytest_cmdline_parse self.parse(args) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1283, in parse self._preparse(args, addopts=addopts) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/_pytest/config/__init__.py", line 1172, in _preparse self.pluginmanager.load_setuptools_entrypoints("pytest11") File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/pluggy/manager.py", line 299, in load_setuptools_entrypoints plugin = ep.load() File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib64/python3.8/importlib/metadata.py", line 77, in load module = import_module(match.group('module')) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib64/python3.8/importlib/__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1014, in _gcd_import File "<frozen importlib._bootstrap>", line 991, in _find_and_load File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 671, in _load_unlocked File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module exec(co, module.__dict__) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/pytest_clarity/plugin.py", line 4, in <module> from pytest_clarity.hints import hints_for File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module exec(co, module.__dict__) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/pytest_clarity/hints.py", line 4, in <module> from pytest_clarity.util import ( File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/_pytest/assertion/rewrite.py", line 170, in exec_module exec(co, module.__dict__) File "/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/lib/python3.8/site-packages/pytest_clarity/util.py", line 3, in <module> import sixModuleNotFoundError: No module named 'six'ERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-nocov-debug/bin/pytest --cov --cov-report=term-missing -vv --ignore=src (exited with code 1)py39-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py39-coverSKIPPED: InterpreterNotFound: python3.9py39-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py39-cover-debugSKIPPED: InterpreterNotFound: python3.9py39-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py39-nocovSKIPPED: InterpreterNotFound: python3.9py39-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py39-nocov-debugSKIPPED: InterpreterNotFound: python3.9pypy-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy-coverSKIPPED: InterpreterNotFound: pypypypy-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy-cover-debugSKIPPED: InterpreterNotFound: pypypypy-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy-nocovSKIPPED: InterpreterNotFound: pypypypy-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy-nocov-debugSKIPPED: InterpreterNotFound: pypypypy3-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy3-coverSKIPPED: InterpreterNotFound: pypy3pypy3-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy3-cover-debugSKIPPED: InterpreterNotFound: pypy3pypy3-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy3-nocovSKIPPED: InterpreterNotFound: pypy3pypy3-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy3-nocov-debugSKIPPED: InterpreterNotFound: pypy3report create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/reportreport installdeps: coveragereport installed: coverage==5.5report run-test-pre: PYTHONHASHSEED='4085365422'report run-test: commands[0] | coverage reportNo data to report.ERROR: InvocationError for command /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/report/bin/coverage report (exited with code 1)_________________________________________________________________________________ summary __________________________________________________________________________________ clean: commands succeededERROR: check: commands failedERROR: docs: commands failedSKIPPED: py27-cover: InterpreterNotFound: python2.7SKIPPED: py27-cover-debug: InterpreterNotFound: python2.7SKIPPED: py27-nocov: InterpreterNotFound: python2.7SKIPPED: py27-nocov-debug: InterpreterNotFound: python2.7SKIPPED: py35-cover: InterpreterNotFound: python3.5SKIPPED: py35-cover-debug: InterpreterNotFound: python3.5SKIPPED: py35-nocov: InterpreterNotFound: python3.5SKIPPED: py35-nocov-debug: InterpreterNotFound: python3.5SKIPPED: py36-cover: InterpreterNotFound: python3.6SKIPPED: py36-cover-debug: InterpreterNotFound: python3.6SKIPPED: py36-nocov: InterpreterNotFound: python3.6SKIPPED: py36-nocov-debug: InterpreterNotFound: python3.6SKIPPED: py37-cover: InterpreterNotFound: python3.7SKIPPED: py37-cover-debug: InterpreterNotFound: python3.7SKIPPED: py37-nocov: InterpreterNotFound: python3.7SKIPPED: py37-nocov-debug: InterpreterNotFound: python3.7ERROR: py38-cover: commands failedERROR: py38-cover-debug: commands failedERROR: py38-nocov: commands failedERROR: py38-nocov-debug: commands failedSKIPPED: py39-cover: InterpreterNotFound: python3.9SKIPPED: py39-cover-debug: InterpreterNotFound: python3.9SKIPPED: py39-nocov: InterpreterNotFound: python3.9SKIPPED: py39-nocov-debug: InterpreterNotFound: python3.9SKIPPED: pypy-cover: InterpreterNotFound: pypySKIPPED: pypy-cover-debug: InterpreterNotFound: pypySKIPPED: pypy-nocov: InterpreterNotFound: pypySKIPPED: pypy-nocov-debug: InterpreterNotFound: pypySKIPPED: pypy3-cover: InterpreterNotFound: pypy3SKIPPED: pypy3-cover-debug: InterpreterNotFound: pypy3SKIPPED: pypy3-nocov: InterpreterNotFound: pypy3SKIPPED: pypy3-nocov-debug: InterpreterNotFound: pypy3ERROR: report: commands failed
and pytest:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages+ /usr/bin/python3 -Bm pytest -ra=========================================================================== test session starts ============================================================================platform linux -- Python 3.8.9, pytest-6.2.3, py-1.10.0, pluggy-0.13.1rootdir: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2, configfile: setup.cfg, testpaths: testsplugins: aspectlib-1.5.2, forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, asyncio-0.14.0, expect-1.1.0, cov-2.11.1, mock-3.5.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, pyfakefs-4.4.0, freezegun-0.4.2, flaky-3.7.0, cases-3.4.6, hypothesis-6.10.1, case-1.5.3, isort-1.3.0collected 146 itemstests/test_aspectlib.py ......................s...........................s...................... [ 50%]tests/test_aspectlib_debug.py ......... [ 56%]tests/test_aspectlib_py3.py .... [ 58%]tests/test_aspectlib_py37.py ....... [ 63%]tests/test_aspectlib_test.py ............................... [ 84%]tests/test_contrib.py ........ [ 90%]tests/test_integrations.py ........... [ 97%]tests/test_integrations_py3.py sF [ 99%]tests/test_integrations_py37.py . [100%]================================================================================= FAILURES =================================================================================_____________________________________________________________________ test_decorate_tornado_coroutine ______________________________________________________________________tests/test_integrations_py3.py:43: in test_decorate_tornado_coroutine loop.run_sync(coro)/usr/lib64/python3.8/site-packages/tornado/ioloop.py:530: in run_sync return future_cell[0].result()/usr/lib64/python3.8/site-packages/tornado/gen.py:234: in wrapper yielded = ctx_run(next, result)../../BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/py35support.py:88: in advising_generator_wrapper_py35 advice = advisor.throw(*sys.exc_info())../../BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py:220: in advising_function res = yield../../BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/py35support.py:86: in advising_generator_wrapper_py35 result = yield from gentests/test_integrations_py3.py:39: in coro yield gen.Task(loop.add_timeout, timedelta(microseconds=10))E AttributeError: module 'tornado.gen' has no attribute 'Task'---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------CRITICAL aspectlib.debug:debug.py:218 coro() <<< aspectlib/py35support.py:77:advising_generator_wrapper_py35 < tornado/gen.py:234:wrapperCRITICAL aspectlib.debug:debug.py:218 {socket}.fileno() <<< aspectlib/__init__.py:280:advising_function_wrapper < aspectlib/debug.py:178:__call__ < python3.8/socket.py:251:__repr__ < aspectlib/py35support.py:86:advising_generator_wrapper_py35CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:229 {socket}.fileno => 14CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:218 {socket}.getsockname() <<< aspectlib/__init__.py:280:advising_function_wrapper < aspectlib/debug.py:178:__call__ < python3.8/socket.py:257:__repr__ < aspectlib/py35support.py:86:advising_generator_wrapper_py35CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:229 {socket}.getsockname => ('0.0.0.0', 60338)CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:218 {socket}.getpeername() <<< aspectlib/__init__.py:280:advising_function_wrapper < aspectlib/debug.py:178:__call__ < python3.8/socket.py:263:__repr__ < aspectlib/py35support.py:86:advising_generator_wrapper_py35CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:225 {socket}.getpeername ~ raised OSError(107, 'Transport endpoint is not connected')CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 220, in advising_function res = yield File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/__init__.py", line 288, in advising_function_wrapper result = cutpoint_function(*args, **kwargs) File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/utils.py", line 63, in bound return func(*args, **kwargs)OSError: [Errno 107] Transport endpoint is not connectedDuring handling of the above exception, another exception occurred:Traceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:218 {socket.socket}.fileno()CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:229 {socket.socket}.fileno => 15CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:218 {socket.socket}.getsockname()CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:229 {socket.socket}.getsockname => ('127.0.0.1', 57624)CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:218 {socket.socket}.getpeername()CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:229 {socket.socket}.getpeername => ('127.0.0.1', 50953)CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:218 {socket.SocketIO}.close()CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:218 {socket.SocketIO}.flush()CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:229 {socket.SocketIO}.flush => NoneCRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:218 {socket.socket}._decref_socketios()CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:229 {socket.socket}._decref_socketios => NoneCRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:229 {socket.SocketIO}.close => NoneCRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed fileTraceback (most recent call last): File "/home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/debug.py", line 159, in dump print_to.write(buf)ValueError: I/O operation on closed fileCRITICAL aspectlib.debug:debug.py:225 coro ~ raised AttributeError("module 'tornado.gen' has no attribute 'Task'")============================================================================= warnings summary =============================================================================../../../../../usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1183 /usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1183: PytestDeprecationWarning: The --strict option is deprecated, use --strict-markers instead. self.issue_config_time_warning(tests/test_aspectlib.py::test_weave_wrong_module /home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/test.py:221: UserWarning: Setting test_aspectlib.MissingGlobal to <class 'test_aspectlib.MissingGlobal'>. There was no previous definition, probably patching the wrong module. return self.__wrapped(*args, **kwargs)-- Docs: https://docs.pytest.org/en/stable/warnings.html========================================================================= short test summary info ==========================================================================SKIPPED [1] tests/test_aspectlib.py:460: condition: aspectlib.PY3SKIPPED [1] tests/test_aspectlib.py:1193: condition: aspectlib.PY3SKIPPED [1] tests/test_integrations_py3.py:17: Test is incompatible with PEP-479FAILED tests/test_integrations_py3.py::test_decorate_tornado_coroutine - AttributeError: module 'tornado.gen' has no attribute 'Task'=========================================================== 1 failed, 142 passed, 3 skipped, 2 warnings in 1.06s ===========================================================
@kloczek so this should be fixed in master. Can you explain a bit what you are doing - are you repackaging this for some rpm-based OS? Is a new release needed or you can just pin to a commit?
I just tested 7dccb19 and looks like that commit fixes issue.
Nevertheless I see some pytest warnings
[tkloczko@barrel SPECS]$ rpmbuild -ba --with check python-aspectlib.specwarning: Downloading https://pypi.io/packages/source/a/aspectlib/aspectlib-1.5.2.tar.gz to /home/tkloczko/rpmbuild/SOURCES/aspectlib-1.5.2.tar.gzwarning: Downloading https://github.com/ionelmc/python-aspectlib//commit/7dccb198.patch#/python-aspectlib-Remove-tornado-6-test-constraint-Ref-15.patch to /home/tkloczko/rpmbuild/SOURCES/python-aspectlib-Remove-tornado-6-test-constraint-Ref-15.patchExecuting(%prep): /bin/sh -e /var/tmp/rpm-tmp.hiHHX2+ umask 022+ cd /home/tkloczko/rpmbuild/BUILD+ cd /home/tkloczko/rpmbuild/BUILD+ rm -rf aspectlib-1.5.2+ /usr/bin/gzip -dc /home/tkloczko/rpmbuild/SOURCES/aspectlib-1.5.2.tar.gz+ /usr/bin/tar -xof -+ STATUS=0+ '[' 0 -ne 0 ']'+ cd aspectlib-1.5.2+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/python-aspectlib-man3_level.patch+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch+ /usr/bin/cat /home/tkloczko/rpmbuild/SOURCES/python-aspectlib-Remove-tornado-6-test-constraint-Ref-15.patch+ /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch+ RPM_EC=0++ jobs -p+ exit 0[..]+ /usr/bin/python3 -Bm pytest -ra=========================================================================== test session starts ============================================================================platform linux -- Python 3.8.9, pytest-6.2.3, py-1.10.0, pluggy-0.13.1rootdir: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2, configfile: setup.cfg, testpaths: testsplugins: aspectlib-1.5.2, forked-1.3.0, shutil-1.7.0, virtualenv-1.7.0, asyncio-0.14.0, expect-1.1.0, cov-2.11.1, httpbin-1.0.0, xdist-2.2.1, flake8-1.0.7, timeout-1.4.2, betamax-0.8.1, pyfakefs-4.4.0, freezegun-0.4.2, cases-3.4.6, hypothesis-6.10.1, case-1.5.3, isort-1.3.0, flaky-3.7.0, mock-3.6.0collected 146 itemstests/test_aspectlib.py ......................s...........................s...................... [ 50%]tests/test_aspectlib_debug.py ......... [ 56%]tests/test_aspectlib_py3.py .... [ 58%]tests/test_aspectlib_py37.py ....... [ 63%]tests/test_aspectlib_test.py ............................... [ 84%]tests/test_contrib.py ........ [ 90%]tests/test_integrations.py ........... [ 97%]tests/test_integrations_py3.py s. [ 99%]tests/test_integrations_py37.py . [100%]============================================================================= warnings summary =============================================================================../../../../../usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1183 /usr/lib/python3.8/site-packages/_pytest/config/__init__.py:1183: PytestDeprecationWarning: The --strict option is deprecated, use --strict-markers instead. self.issue_config_time_warning(tests/test_aspectlib.py::test_weave_wrong_module /home/tkloczko/rpmbuild/BUILDROOT/python-aspectlib-1.5.2-2.fc35.x86_64/usr/lib/python3.8/site-packages/aspectlib/test.py:221: UserWarning: Setting test_aspectlib.MissingGlobal to <class 'test_aspectlib.MissingGlobal'>. There was no previous definition, probably patching the wrong module. return self.__wrapped(*args, **kwargs)-- Docs: https://docs.pytest.org/en/stable/warnings.html========================================================================= short test summary info ==========================================================================SKIPPED [1] tests/test_aspectlib.py:460: condition: aspectlib.PY3SKIPPED [1] tests/test_aspectlib.py:1193: condition: aspectlib.PY3SKIPPED [1] tests/test_integrations_py3.py:17: Test is incompatible with PEP-479================================================================ 143 passed, 3 skipped, 2 warnings in 0.77s ================================================================
Can you explain a bit what you are doing - are you repackaging this for some rpm-based OS? Is a new release needed or you can just pin to a commit?
I'm packaging all necessary python modules for my distrinution as rpm packages. 😎😊
As you may see I'm able easy plug in any path available over http/ftp so it is not necessary to have ASAP new release😊
Activity
kloczek commentedon May 2, 2021
I'm stuck with the same issue however tornado.gen is still around
kloczek commentedon May 2, 2021
Here are fiull tox and pytest outputs:
and pytest:
ionelmc commentedon May 2, 2021
Well I do have
tornado<6.0in tox.ini - do you have some local changes undoing that?Remove tornado<6 test constraint. Ref #15.
kloczek commentedon May 2, 2021
Nope.
ionelmc commentedon May 5, 2021
@kloczek so this should be fixed in master. Can you explain a bit what you are doing - are you repackaging this for some rpm-based OS? Is a new release needed or you can just pin to a commit?
kloczek commentedon May 5, 2021
I just tested 7dccb19 and looks like that commit fixes issue.
Nevertheless I see some pytest warnings
I'm packaging all necessary python modules for my distrinution as rpm packages. 😎😊
As you may see I'm able easy plug in any path available over http/ftp so it is not necessary to have ASAP new release😊
kloczek commentedon May 5, 2021
Neveretheless as pytest fail have been sorted out feel free to close that ticket.
Thank you for your help 😊