New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests failed with Tornado 6 #15
Comments
I'm stuck with the same issue however tornado.gen is still around [tkloczko@barrel SPECS]$ rpm -ql python-tornado-6.1.0 | grep gen
/usr/lib64/python3.8/site-packages/tornado/__pycache__/gen.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/tornado/__pycache__/gen.cpython-38.opt-2.pyc
/usr/lib64/python3.8/site-packages/tornado/__pycache__/gen.cpython-38.pyc
/usr/lib64/python3.8/site-packages/tornado/gen.py
/usr/lib64/python3.8/site-packages/tornado/test/__pycache__/gen_test.cpython-38.opt-1.pyc
/usr/lib64/python3.8/site-packages/tornado/test/__pycache__/gen_test.cpython-38.opt-2.pyc
/usr/lib64/python3.8/site-packages/tornado/test/__pycache__/gen_test.cpython-38.pyc
/usr/lib64/python3.8/site-packages/tornado/test/gen_test.py |
Here are fiull tox and pytest outputs: + /usr/bin/python3 -Bm tox --skip-missing-interpreters
GLOB sdist-make: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/setup.py
clean create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/clean
clean installdeps: coverage
clean installed: coverage==5.5
clean run-test-pre: PYTHONHASHSEED='4085365422'
clean run-test: commands[0] | coverage erase
check create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/check
check installdeps: docutils, check-manifest, flake8, readme-renderer, pygments, isort
check 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.1
check run-test-pre: PYTHONHASHSEED='4085365422'
check run-test: commands[0] | python setup.py check --strict --metadata --restructuredtext
running check
warning: Check: This command has been deprecated. Use `twine check` instead: https://packaging.python.org/guides/making-a-pypi-friendly-readme#validating-restructuredtext-markup
The project's long description is valid RST.
check run-test: commands[1] | check-manifest /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2
Couldn'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/docs
docs installdeps: -r/home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/docs/requirements.txt
docs develop-inst: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2
docs 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.4
docs run-test-pre: PYTHONHASHSEED='4085365422'
docs run-test: commands[0] | sphinx-build -E -b doctest docs dist/docs
Running Sphinx v3.5.4
making output directory... done
building [mo]: targets for 0 po files that are out of date
building [doctest]: targets for 18 source files that are out of date
updating environment: [new config] 18 added, 0 changed, 0 removed
reading sources... [100%] todo
looking for now-outdated files... none found
pickling environment... done
checking 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 toctree
done
running tests...
Document: reference/aspectlib.test
----------------------------------
1 items passed all tests:
6 tests in default
6 tests in 1 items.
6 passed and 0 failed.
Test passed.
Document: testing
-----------------
1 items passed all tests:
2 tests in default
2 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 pycon
Failed 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 pycon
2 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 code
build finished with problems, 2 warnings.
{socket.socket}.fileno()
Failed to log a message: I/O operation on closed file
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 file
{socket.socket}.fileno => 4
Failed to log a message: I/O operation on closed file
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 file
{socket.socket}.getsockname()
Failed to log a message: I/O operation on closed file
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 file
{socket.socket}.getsockname => ('0.0.0.0', 0)
Failed to log a message: I/O operation on closed file
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 file
{socket.socket}.getpeername()
Failed to log a message: I/O operation on closed file
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 file
{socket.socket}.getpeername ~ raised OSError(107, 'Transport endpoint is not connected')
Failed to log a message: I/O operation on closed file
Traceback (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 connected
During 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 file
ERROR: 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-cover
SKIPPED: InterpreterNotFound: python2.7
py27-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py27-cover-debug
SKIPPED: InterpreterNotFound: python2.7
py27-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py27-nocov
SKIPPED: InterpreterNotFound: python2.7
py27-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py27-nocov-debug
SKIPPED: InterpreterNotFound: python2.7
py35-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py35-cover
SKIPPED: InterpreterNotFound: python3.5
py35-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py35-cover-debug
SKIPPED: InterpreterNotFound: python3.5
py35-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py35-nocov
SKIPPED: InterpreterNotFound: python3.5
py35-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py35-nocov-debug
SKIPPED: InterpreterNotFound: python3.5
py36-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py36-cover
SKIPPED: InterpreterNotFound: python3.6
py36-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py36-cover-debug
SKIPPED: InterpreterNotFound: python3.6
py36-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py36-nocov
SKIPPED: InterpreterNotFound: python3.6
py36-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py36-nocov-debug
SKIPPED: InterpreterNotFound: python3.6
py37-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py37-cover
SKIPPED: InterpreterNotFound: python3.7
py37-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py37-cover-debug
SKIPPED: InterpreterNotFound: python3.7
py37-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py37-nocov
SKIPPED: InterpreterNotFound: python3.7
py37-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py37-nocov-debug
SKIPPED: InterpreterNotFound: python3.7
py38-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py38-cover
py38-cover installdeps: hunter, mock, nose, process-tests, pytest, pytest-catchlog, pytest-clarity, pytest-cov, pytest-travis-fold, tornado<6.0, pytest-cov
py38-cover develop-inst: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2
py38-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.1
py38-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 six
ModuleNotFoundError: 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-debug
py38-cover-debug installdeps: hunter, mock, nose, process-tests, pytest, pytest-catchlog, pytest-clarity, pytest-cov, pytest-travis-fold, tornado<6.0, pytest-cov
py38-cover-debug develop-inst: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2
py38-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.1
py38-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 six
ModuleNotFoundError: 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-nocov
py38-nocov installdeps: hunter, mock, nose, process-tests, pytest, pytest-catchlog, pytest-clarity, pytest-cov, pytest-travis-fold, tornado<6.0
py38-nocov inst: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/.tmp/package/1/aspectlib-1.5.2.zip
py38-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.1
py38-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 six
ModuleNotFoundError: 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-debug
py38-nocov-debug installdeps: hunter, mock, nose, process-tests, pytest, pytest-catchlog, pytest-clarity, pytest-cov, pytest-travis-fold, tornado<6.0
py38-nocov-debug inst: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/.tmp/package/1/aspectlib-1.5.2.zip
py38-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.1
py38-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 six
ModuleNotFoundError: 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-cover
SKIPPED: InterpreterNotFound: python3.9
py39-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py39-cover-debug
SKIPPED: InterpreterNotFound: python3.9
py39-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py39-nocov
SKIPPED: InterpreterNotFound: python3.9
py39-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/py39-nocov-debug
SKIPPED: InterpreterNotFound: python3.9
pypy-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy-cover
SKIPPED: InterpreterNotFound: pypy
pypy-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy-cover-debug
SKIPPED: InterpreterNotFound: pypy
pypy-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy-nocov
SKIPPED: InterpreterNotFound: pypy
pypy-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy-nocov-debug
SKIPPED: InterpreterNotFound: pypy
pypy3-cover create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy3-cover
SKIPPED: InterpreterNotFound: pypy3
pypy3-cover-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy3-cover-debug
SKIPPED: InterpreterNotFound: pypy3
pypy3-nocov create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy3-nocov
SKIPPED: InterpreterNotFound: pypy3
pypy3-nocov-debug create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/pypy3-nocov-debug
SKIPPED: InterpreterNotFound: pypy3
report create: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2/.tox/report
report installdeps: coverage
report installed: coverage==5.5
report run-test-pre: PYTHONHASHSEED='4085365422'
report run-test: commands[0] | coverage report
No 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 succeeded
ERROR: check: commands failed
ERROR: docs: commands failed
SKIPPED: py27-cover: InterpreterNotFound: python2.7
SKIPPED: py27-cover-debug: InterpreterNotFound: python2.7
SKIPPED: py27-nocov: InterpreterNotFound: python2.7
SKIPPED: py27-nocov-debug: InterpreterNotFound: python2.7
SKIPPED: py35-cover: InterpreterNotFound: python3.5
SKIPPED: py35-cover-debug: InterpreterNotFound: python3.5
SKIPPED: py35-nocov: InterpreterNotFound: python3.5
SKIPPED: py35-nocov-debug: InterpreterNotFound: python3.5
SKIPPED: py36-cover: InterpreterNotFound: python3.6
SKIPPED: py36-cover-debug: InterpreterNotFound: python3.6
SKIPPED: py36-nocov: InterpreterNotFound: python3.6
SKIPPED: py36-nocov-debug: InterpreterNotFound: python3.6
SKIPPED: py37-cover: InterpreterNotFound: python3.7
SKIPPED: py37-cover-debug: InterpreterNotFound: python3.7
SKIPPED: py37-nocov: InterpreterNotFound: python3.7
SKIPPED: py37-nocov-debug: InterpreterNotFound: python3.7
ERROR: py38-cover: commands failed
ERROR: py38-cover-debug: commands failed
ERROR: py38-nocov: commands failed
ERROR: py38-nocov-debug: commands failed
SKIPPED: py39-cover: InterpreterNotFound: python3.9
SKIPPED: py39-cover-debug: InterpreterNotFound: python3.9
SKIPPED: py39-nocov: InterpreterNotFound: python3.9
SKIPPED: py39-nocov-debug: InterpreterNotFound: python3.9
SKIPPED: pypy-cover: InterpreterNotFound: pypy
SKIPPED: pypy-cover-debug: InterpreterNotFound: pypy
SKIPPED: pypy-nocov: InterpreterNotFound: pypy
SKIPPED: pypy-nocov-debug: InterpreterNotFound: pypy
SKIPPED: pypy3-cover: InterpreterNotFound: pypy3
SKIPPED: pypy3-cover-debug: InterpreterNotFound: pypy3
SKIPPED: pypy3-nocov: InterpreterNotFound: pypy3
SKIPPED: pypy3-nocov-debug: InterpreterNotFound: pypy3
ERROR: 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.1
rootdir: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2, configfile: setup.cfg, testpaths: tests
plugins: 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.0
collected 146 items
tests/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 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:77:advising_generator_wrapper_py35 < tornado/gen.py:234:wrapper
CRITICAL 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_py35
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL aspectlib.debug:debug.py:229 {socket}.fileno => 14
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL 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_py35
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL 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 file
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 file
CRITICAL 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_py35
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL 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 file
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 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 connected
During 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 file
CRITICAL aspectlib.debug:debug.py:218 {socket.socket}.fileno()
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL aspectlib.debug:debug.py:229 {socket.socket}.fileno => 15
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL aspectlib.debug:debug.py:218 {socket.socket}.getsockname()
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL 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 file
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 file
CRITICAL aspectlib.debug:debug.py:218 {socket.socket}.getpeername()
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL 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 file
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 file
CRITICAL aspectlib.debug:debug.py:218 {socket.SocketIO}.close()
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL aspectlib.debug:debug.py:218 {socket.SocketIO}.flush()
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL aspectlib.debug:debug.py:229 {socket.SocketIO}.flush => None
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL 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 file
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 file
CRITICAL aspectlib.debug:debug.py:229 {socket.socket}._decref_socketios => None
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL aspectlib.debug:debug.py:229 {socket.SocketIO}.close => None
CRITICAL aspectlib.debug:debug.py:161 Failed to log a message: I/O operation on closed file
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 file
CRITICAL 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.PY3
SKIPPED [1] tests/test_aspectlib.py:1193: condition: aspectlib.PY3
SKIPPED [1] tests/test_integrations_py3.py:17: Test is incompatible with PEP-479
FAILED 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 =========================================================== |
Well I do have |
Nope. |
@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. [tkloczko@barrel SPECS]$ rpmbuild -ba --with check python-aspectlib.spec
warning: Downloading https://pypi.io/packages/source/a/aspectlib/aspectlib-1.5.2.tar.gz to /home/tkloczko/rpmbuild/SOURCES/aspectlib-1.5.2.tar.gz
warning: 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.patch
Executing(%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.1
rootdir: /home/tkloczko/rpmbuild/BUILD/aspectlib-1.5.2, configfile: setup.cfg, testpaths: tests
plugins: 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.0
collected 146 items
tests/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.PY3
SKIPPED [1] tests/test_aspectlib.py:1193: condition: aspectlib.PY3
SKIPPED [1] tests/test_integrations_py3.py:17: Test is incompatible with PEP-479
================================================================ 143 passed, 3 skipped, 2 warnings in 0.77s ================================================================
I'm packaging all necessary python modules for my distrinution as rpm packages. 😎😊 |
Neveretheless as pytest fail have been sorted out feel free to close that ticket. Thank you for your help 😊 |
tornado.gen.Task was removed in Tornado 6.
The text was updated successfully, but these errors were encountered: