Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 644746 Details for
Bug 728270
dev-python/pytest-forked-1.1.3 - fails test_functional_boxed, test_functional_boxed_per_test, test_functional_boxed_capturing
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
pytest-forked-1.1.3:20200614-170458.log (text/plain), 51.44 KB, created by
ernsteiswuerfel
on 2020-06-14 17:34:59 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
ernsteiswuerfel
Created:
2020-06-14 17:34:59 UTC
Size:
51.44 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/pytest-forked-1.1.3 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: python@gentoo.org >[32;01m * [39;49;00mUSE: abi_ppc_32 elibc_glibc kernel_linux ppc python_targets_python3_6 python_targets_python3_7 test userland_GNU >[32;01m * [39;49;00mFEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pytest-forked-1.1.3.tar.gz to /var/tmp/portage/dev-python/pytest-forked-1.1.3/work >>>> Source unpacked in /var/tmp/portage/dev-python/pytest-forked-1.1.3/work >>>> Preparing source in /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3 ... > [32;01m*[0m python3_6: running distutils-r1_run_phase distutils-r1_python_compile >python3.6 setup.py build -j 24 >running build >running build_py >creating /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked >copying src/pytest_forked/__init__.py -> /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked >warning: build_py: byte-compiling is disabled, skipping. > > [32;01m*[0m python3_7: running distutils-r1_run_phase distutils-r1_python_compile >python3.7 setup.py build -j 24 >running build >running build_py >creating /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_7/lib/pytest_forked >copying src/pytest_forked/__init__.py -> /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_7/lib/pytest_forked >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/pytest-forked-1.1.3 > [32;01m*[0m python3_6: running distutils-r1_run_phase python_test >python3.6 setup.py install --home=/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/test --install-lib=/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/test/lib --install-scripts=/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/test/scripts >running install >running bdist_egg >running egg_info >writing src/pytest_forked.egg-info/PKG-INFO >writing dependency_links to src/pytest_forked.egg-info/dependency_links.txt >writing entry points to src/pytest_forked.egg-info/entry_points.txt >writing requirements to src/pytest_forked.egg-info/requires.txt >writing top-level names to src/pytest_forked.egg-info/top_level.txt >reading manifest file 'src/pytest_forked.egg-info/SOURCES.txt' >reading manifest template 'MANIFEST.in' >warning: no files found matching 'README.txt' >no previously-included directories found matching '.git' >writing manifest file 'src/pytest_forked.egg-info/SOURCES.txt' >installing library code to /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg >running install_lib >running build_py >warning: build_py: byte-compiling is disabled, skipping. > >creating /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64 >creating /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg >creating /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg/pytest_forked >copying /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py -> /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg/pytest_forked >warning: install_lib: byte-compiling is disabled, skipping. > >creating /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg/EGG-INFO >copying src/pytest_forked.egg-info/PKG-INFO -> /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg/EGG-INFO >copying src/pytest_forked.egg-info/SOURCES.txt -> /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg/EGG-INFO >copying src/pytest_forked.egg-info/dependency_links.txt -> /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg/EGG-INFO >copying src/pytest_forked.egg-info/entry_points.txt -> /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg/EGG-INFO >copying src/pytest_forked.egg-info/not-zip-safe -> /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg/EGG-INFO >copying src/pytest_forked.egg-info/requires.txt -> /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg/EGG-INFO >copying src/pytest_forked.egg-info/top_level.txt -> /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg/EGG-INFO >creating /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/dist >creating '/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/dist/pytest_forked-1.1.3-py3.6.egg' and adding '/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg' to it >removing '/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/bdist.linux-ppc64/egg' (and everything under it) >Creating /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/test/lib/site.py >Processing pytest_forked-1.1.3-py3.6.egg >creating /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/test/lib/pytest_forked-1.1.3-py3.6.egg >Extracting pytest_forked-1.1.3-py3.6.egg to /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/test/lib >Adding pytest-forked 1.1.3 to easy-install.pth file > >Installed /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/test/lib/pytest_forked-1.1.3-py3.6.egg >Processing dependencies for pytest-forked==1.1.3 >Searching for pytest==5.4.2 >Best match: pytest 5.4.2 >Adding pytest 5.4.2 to easy-install.pth file >Installing py.test script to /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/test/scripts >Installing pytest script to /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/test/scripts > >Using /usr/lib/python3.6/site-packages >Searching for importlib-metadata==1.4.0 >Best match: importlib-metadata 1.4.0 >Adding importlib-metadata 1.4.0 to easy-install.pth file > >Using /usr/lib/python3.6/site-packages >Searching for wcwidth==0.1.9 >Best match: wcwidth 0.1.9 >Adding wcwidth 0.1.9 to easy-install.pth file > >Using /usr/lib/python3.6/site-packages >Searching for pluggy==0.13.1 >Best match: pluggy 0.13.1 >Adding pluggy 0.13.1 to easy-install.pth file > >Using /usr/lib/python3.6/site-packages >Searching for more-itertools==7.0.0 >Best match: more-itertools 7.0.0 >Adding more-itertools 7.0.0 to easy-install.pth file > >Using /usr/lib/python3.6/site-packages >Searching for attrs==19.3.0 >Best match: attrs 19.3.0 >Adding attrs 19.3.0 to easy-install.pth file > >Using /usr/lib/python3.6/site-packages >Searching for packaging==20.3 >Best match: packaging 20.3 >Adding packaging 20.3 to easy-install.pth file > >Using /usr/lib/python3.6/site-packages >Searching for py==1.8.0 >Best match: py 1.8.0 >Adding py 1.8.0 to easy-install.pth file > >Using /usr/lib/python3.6/site-packages >Searching for zipp==3.1.0 >Best match: zipp 3.1.0 >Adding zipp 3.1.0 to easy-install.pth file > >Using /usr/lib/python3.6/site-packages >Finished processing dependencies for pytest-forked==1.1.3 >========================================= test session starts ========================================== >platform linux -- Python 3.6.10, pytest-5.4.2, py-1.8.0, pluggy-0.13.1 -- /usr/bin/python3.6 >cachedir: .pytest_cache >hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3/.hypothesis/examples') >rootdir: /var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3, inifile: tox.ini >plugins: forked-1.1.3, timeout-1.3.3, hypothesis-4.50.8, xdist-1.31.0, mock-1.11.2 >collecting ... collected 6 items > >testing/test_boxed.py::test_functional_boxed FAILED [ 16%] >testing/test_boxed.py::test_functional_boxed_per_test FAILED [ 33%] >testing/test_boxed.py::test_functional_boxed_capturing[no] FAILED [ 50%] >testing/test_boxed.py::test_functional_boxed_capturing[sys] XFAIL [ 66%] >testing/test_boxed.py::test_functional_boxed_capturing[fd] XFAIL [ 83%] >testing/test_boxed.py::test_is_not_boxed_by_default PASSED [100%] > >=============================================== FAILURES =============================================== >________________________________________ test_functional_boxed _________________________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-forked-1.1.3/temp/pytest-of-portage/pytest-0/test_functional_boxed0')> > > @needsfork > def test_functional_boxed(testdir): > p1 = testdir.makepyfile(""" > import os > def test_function(): > os.kill(os.getpid(), 15) > """) > result = testdir.runpytest(p1, "--forked") > result.stdout.fnmatch_lines([ > "*CRASHED*", >> "*1 failed*" > ]) >E Failed: nomatch: '*CRASHED*' >E and: '========================================= test session starts ==========================================' >E and: 'platform linux -- Python 3.6.10, pytest-5.4.2, py-1.8.0, pluggy-0.13.1' >E and: 'rootdir: /var/tmp/portage/dev-python/pytest-forked-1.1.3/temp/pytest-of-portage/pytest-0/test_functional_boxed0' >E and: 'plugins: forked-1.1.3, timeout-1.3.3, hypothesis-4.50.8, xdist-1.31.0, mock-1.11.2' >E and: 'collected 1 item' >E and: 'INTERNALERROR> Traceback (most recent call last):' >E and: 'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 75, in report_process_crash' >E and: 'INTERNALERROR> from _pytest.compat import getfslineno' >E and: "INTERNALERROR> ImportError: cannot import name 'getfslineno'" >E and: 'INTERNALERROR> ' >E and: 'INTERNALERROR> During handling of the above exception, another exception occurred:' >E and: 'INTERNALERROR> ' >E and: 'INTERNALERROR> Traceback (most recent call last):' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 191, in wrap_session' >E and: 'INTERNALERROR> session.exitstatus = doit(config, session) or 0' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 247, in _main' >E and: 'INTERNALERROR> config.hook.pytest_runtestloop(session=session)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' >E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' >E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' >E and: 'INTERNALERROR> return outcome.get_result()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' >E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' >E and: 'INTERNALERROR> result = func()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 335, in <lambda>' >E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda>' >E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' >E and: 'INTERNALERROR> return outcome.get_result()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' >E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' >E and: 'INTERNALERROR> res = hook_impl.function(*args)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 272, in pytest_runtestloop' >E and: 'INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' >E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' >E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' >E and: 'INTERNALERROR> return outcome.get_result()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' >E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' >E and: 'INTERNALERROR> result = func()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 335, in <lambda>' >E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda>' >E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' >E and: 'INTERNALERROR> return outcome.get_result()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' >E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' >E and: 'INTERNALERROR> res = hook_impl.function(*args)' >E and: 'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 42, in pytest_runtest_protocol' >E and: 'INTERNALERROR> reports = forked_run_report(item)' >E and: 'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 70, in forked_run_report' >E and: 'INTERNALERROR> return [report_process_crash(item, result)]' >E and: 'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 78, in report_process_crash' >E and: 'INTERNALERROR> path, lineno = item._getfslineno()' >E and: "INTERNALERROR> AttributeError: 'Function' object has no attribute '_getfslineno'" >E and: '' >E and: '======================================== no tests ran in 0.05s =========================================' >E remains unmatched: '*CRASHED*' > >../../../../work/pytest-forked-1.1.3/testing/test_boxed.py:18: Failed >----------------------------------------- Captured stdout call ----------------------------------------- >========================================= test session starts ========================================== >platform linux -- Python 3.6.10, pytest-5.4.2, py-1.8.0, pluggy-0.13.1 >rootdir: /var/tmp/portage/dev-python/pytest-forked-1.1.3/temp/pytest-of-portage/pytest-0/test_functional_boxed0 >plugins: forked-1.1.3, timeout-1.3.3, hypothesis-4.50.8, xdist-1.31.0, mock-1.11.2 >collected 1 item >INTERNALERROR> Traceback (most recent call last): >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 75, in report_process_crash >INTERNALERROR> from _pytest.compat import getfslineno >INTERNALERROR> ImportError: cannot import name 'getfslineno' >INTERNALERROR> >INTERNALERROR> During handling of the above exception, another exception occurred: >INTERNALERROR> >INTERNALERROR> Traceback (most recent call last): >INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 191, in wrap_session >INTERNALERROR> session.exitstatus = doit(config, session) or 0 >INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 247, in _main >INTERNALERROR> config.hook.pytest_runtestloop(session=session) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ >INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec >INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result >INTERNALERROR> raise ex[1].with_traceback(ex[2]) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call >INTERNALERROR> result = func() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 335, in <lambda> >INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda> >INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result >INTERNALERROR> raise ex[1].with_traceback(ex[2]) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall >INTERNALERROR> res = hook_impl.function(*args) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 272, in pytest_runtestloop >INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ >INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec >INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result >INTERNALERROR> raise ex[1].with_traceback(ex[2]) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call >INTERNALERROR> result = func() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 335, in <lambda> >INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda> >INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result >INTERNALERROR> raise ex[1].with_traceback(ex[2]) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall >INTERNALERROR> res = hook_impl.function(*args) >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 42, in pytest_runtest_protocol >INTERNALERROR> reports = forked_run_report(item) >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 70, in forked_run_report >INTERNALERROR> return [report_process_crash(item, result)] >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 78, in report_process_crash >INTERNALERROR> path, lineno = item._getfslineno() >INTERNALERROR> AttributeError: 'Function' object has no attribute '_getfslineno' > >======================================== no tests ran in 0.05s ========================================= >____________________________________ test_functional_boxed_per_test ____________________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-forked-1.1.3/temp/pytest-of-portage/pytest-0/test_functional_boxed_per_test0')> > > @needsfork > def test_functional_boxed_per_test(testdir): > p1 = testdir.makepyfile(""" > import os > import pytest > > @pytest.mark.forked > def test_function(): > os.kill(os.getpid(), 15) > """) > result = testdir.runpytest(p1) > result.stdout.fnmatch_lines([ > "*CRASHED*", >> "*1 failed*" > ]) >E Failed: nomatch: '*CRASHED*' >E and: '========================================= test session starts ==========================================' >E and: 'platform linux -- Python 3.6.10, pytest-5.4.2, py-1.8.0, pluggy-0.13.1' >E and: 'rootdir: /var/tmp/portage/dev-python/pytest-forked-1.1.3/temp/pytest-of-portage/pytest-0/test_functional_boxed_per_test0' >E and: 'plugins: forked-1.1.3, timeout-1.3.3, hypothesis-4.50.8, xdist-1.31.0, mock-1.11.2' >E and: 'collected 1 item' >E and: 'INTERNALERROR> Traceback (most recent call last):' >E and: 'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 75, in report_process_crash' >E and: 'INTERNALERROR> from _pytest.compat import getfslineno' >E and: "INTERNALERROR> ImportError: cannot import name 'getfslineno'" >E and: 'INTERNALERROR> ' >E and: 'INTERNALERROR> During handling of the above exception, another exception occurred:' >E and: 'INTERNALERROR> ' >E and: 'INTERNALERROR> Traceback (most recent call last):' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 191, in wrap_session' >E and: 'INTERNALERROR> session.exitstatus = doit(config, session) or 0' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 247, in _main' >E and: 'INTERNALERROR> config.hook.pytest_runtestloop(session=session)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' >E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' >E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' >E and: 'INTERNALERROR> return outcome.get_result()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' >E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' >E and: 'INTERNALERROR> result = func()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 335, in <lambda>' >E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda>' >E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' >E and: 'INTERNALERROR> return outcome.get_result()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' >E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' >E and: 'INTERNALERROR> res = hook_impl.function(*args)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 272, in pytest_runtestloop' >E and: 'INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' >E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' >E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' >E and: 'INTERNALERROR> return outcome.get_result()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' >E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' >E and: 'INTERNALERROR> result = func()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 335, in <lambda>' >E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda>' >E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' >E and: 'INTERNALERROR> return outcome.get_result()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' >E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' >E and: 'INTERNALERROR> res = hook_impl.function(*args)' >E and: 'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 42, in pytest_runtest_protocol' >E and: 'INTERNALERROR> reports = forked_run_report(item)' >E and: 'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 70, in forked_run_report' >E and: 'INTERNALERROR> return [report_process_crash(item, result)]' >E and: 'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 78, in report_process_crash' >E and: 'INTERNALERROR> path, lineno = item._getfslineno()' >E and: "INTERNALERROR> AttributeError: 'Function' object has no attribute '_getfslineno'" >E and: '' >E and: '======================================== no tests ran in 0.06s =========================================' >E remains unmatched: '*CRASHED*' > >../../../../work/pytest-forked-1.1.3/testing/test_boxed.py:35: Failed >----------------------------------------- Captured stdout call ----------------------------------------- >========================================= test session starts ========================================== >platform linux -- Python 3.6.10, pytest-5.4.2, py-1.8.0, pluggy-0.13.1 >rootdir: /var/tmp/portage/dev-python/pytest-forked-1.1.3/temp/pytest-of-portage/pytest-0/test_functional_boxed_per_test0 >plugins: forked-1.1.3, timeout-1.3.3, hypothesis-4.50.8, xdist-1.31.0, mock-1.11.2 >collected 1 item >INTERNALERROR> Traceback (most recent call last): >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 75, in report_process_crash >INTERNALERROR> from _pytest.compat import getfslineno >INTERNALERROR> ImportError: cannot import name 'getfslineno' >INTERNALERROR> >INTERNALERROR> During handling of the above exception, another exception occurred: >INTERNALERROR> >INTERNALERROR> Traceback (most recent call last): >INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 191, in wrap_session >INTERNALERROR> session.exitstatus = doit(config, session) or 0 >INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 247, in _main >INTERNALERROR> config.hook.pytest_runtestloop(session=session) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ >INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec >INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result >INTERNALERROR> raise ex[1].with_traceback(ex[2]) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call >INTERNALERROR> result = func() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 335, in <lambda> >INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda> >INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result >INTERNALERROR> raise ex[1].with_traceback(ex[2]) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall >INTERNALERROR> res = hook_impl.function(*args) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 272, in pytest_runtestloop >INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ >INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec >INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result >INTERNALERROR> raise ex[1].with_traceback(ex[2]) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call >INTERNALERROR> result = func() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 335, in <lambda> >INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda> >INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result >INTERNALERROR> raise ex[1].with_traceback(ex[2]) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall >INTERNALERROR> res = hook_impl.function(*args) >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 42, in pytest_runtest_protocol >INTERNALERROR> reports = forked_run_report(item) >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 70, in forked_run_report >INTERNALERROR> return [report_process_crash(item, result)] >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 78, in report_process_crash >INTERNALERROR> path, lineno = item._getfslineno() >INTERNALERROR> AttributeError: 'Function' object has no attribute '_getfslineno' > >======================================== no tests ran in 0.06s ========================================= >_________________________________ test_functional_boxed_capturing[no] __________________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-forked-1.1.3/temp/pytest-of-portage/pytest-0/test_functional_boxed_capturing0')> >capmode = 'no' > > @needsfork > @pytest.mark.parametrize("capmode", [ > "no", > pytest.param("sys", marks=pytest.mark.xfail(reason="capture cleanup needed")), > pytest.param("fd", marks=pytest.mark.xfail(reason="capture cleanup needed"))]) > def test_functional_boxed_capturing(testdir, capmode): > p1 = testdir.makepyfile(""" > import os > import sys > def test_function(): > sys.stdout.write("hello\\n") > sys.stderr.write("world\\n") > os.kill(os.getpid(), 15) > """) > result = testdir.runpytest(p1, "--forked", "--capture=%s" % capmode) > result.stdout.fnmatch_lines(""" > *CRASHED* > *stdout* > hello > *stderr* > world > *1 failed* >> """) >E Failed: nomatch: '*CRASHED*' >E and: '========================================= test session starts ==========================================' >E and: 'platform linux -- Python 3.6.10, pytest-5.4.2, py-1.8.0, pluggy-0.13.1' >E and: 'rootdir: /var/tmp/portage/dev-python/pytest-forked-1.1.3/temp/pytest-of-portage/pytest-0/test_functional_boxed_capturing0' >E and: 'plugins: forked-1.1.3, timeout-1.3.3, hypothesis-4.50.8, xdist-1.31.0, mock-1.11.2' >E and: 'collected 1 item' >E and: 'INTERNALERROR> Traceback (most recent call last):' >E and: 'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 75, in report_process_crash' >E and: 'INTERNALERROR> from _pytest.compat import getfslineno' >E and: "INTERNALERROR> ImportError: cannot import name 'getfslineno'" >E and: 'INTERNALERROR> ' >E and: 'INTERNALERROR> During handling of the above exception, another exception occurred:' >E and: 'INTERNALERROR> ' >E and: 'INTERNALERROR> Traceback (most recent call last):' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 191, in wrap_session' >E and: 'INTERNALERROR> session.exitstatus = doit(config, session) or 0' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 247, in _main' >E and: 'INTERNALERROR> config.hook.pytest_runtestloop(session=session)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' >E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' >E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' >E and: 'INTERNALERROR> return outcome.get_result()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' >E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' >E and: 'INTERNALERROR> result = func()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 335, in <lambda>' >E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda>' >E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' >E and: 'INTERNALERROR> return outcome.get_result()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' >E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' >E and: 'INTERNALERROR> res = hook_impl.function(*args)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 272, in pytest_runtestloop' >E and: 'INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__' >E and: 'INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec' >E and: 'INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec' >E and: 'INTERNALERROR> return outcome.get_result()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' >E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call' >E and: 'INTERNALERROR> result = func()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 335, in <lambda>' >E and: 'INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda>' >E and: 'INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall' >E and: 'INTERNALERROR> return outcome.get_result()' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result' >E and: 'INTERNALERROR> raise ex[1].with_traceback(ex[2])' >E and: 'INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall' >E and: 'INTERNALERROR> res = hook_impl.function(*args)' >E and: 'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 42, in pytest_runtest_protocol' >E and: 'INTERNALERROR> reports = forked_run_report(item)' >E and: 'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 70, in forked_run_report' >E and: 'INTERNALERROR> return [report_process_crash(item, result)]' >E and: 'INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 78, in report_process_crash' >E and: 'INTERNALERROR> path, lineno = item._getfslineno()' >E and: "INTERNALERROR> AttributeError: 'Function' object has no attribute '_getfslineno'" >E and: '' >E and: '======================================== no tests ran in 0.06s =========================================' >E remains unmatched: '*CRASHED*' > >../../../../work/pytest-forked-1.1.3/testing/test_boxed.py:61: Failed >----------------------------------------- Captured stdout call ----------------------------------------- >========================================= test session starts ========================================== >platform linux -- Python 3.6.10, pytest-5.4.2, py-1.8.0, pluggy-0.13.1 >rootdir: /var/tmp/portage/dev-python/pytest-forked-1.1.3/temp/pytest-of-portage/pytest-0/test_functional_boxed_capturing0 >plugins: forked-1.1.3, timeout-1.3.3, hypothesis-4.50.8, xdist-1.31.0, mock-1.11.2 >collected 1 item >INTERNALERROR> Traceback (most recent call last): >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 75, in report_process_crash >INTERNALERROR> from _pytest.compat import getfslineno >INTERNALERROR> ImportError: cannot import name 'getfslineno' >INTERNALERROR> >INTERNALERROR> During handling of the above exception, another exception occurred: >INTERNALERROR> >INTERNALERROR> Traceback (most recent call last): >INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 191, in wrap_session >INTERNALERROR> session.exitstatus = doit(config, session) or 0 >INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 247, in _main >INTERNALERROR> config.hook.pytest_runtestloop(session=session) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ >INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec >INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result >INTERNALERROR> raise ex[1].with_traceback(ex[2]) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call >INTERNALERROR> result = func() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 335, in <lambda> >INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda> >INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result >INTERNALERROR> raise ex[1].with_traceback(ex[2]) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall >INTERNALERROR> res = hook_impl.function(*args) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/_pytest/main.py", line 272, in pytest_runtestloop >INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/hooks.py", line 286, in __call__ >INTERNALERROR> return self._hookexec(self, self.get_hookimpls(), kwargs) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 93, in _hookexec >INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 337, in traced_hookexec >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result >INTERNALERROR> raise ex[1].with_traceback(ex[2]) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 52, in from_call >INTERNALERROR> result = func() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 335, in <lambda> >INTERNALERROR> outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/manager.py", line 87, in <lambda> >INTERNALERROR> firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 208, in _multicall >INTERNALERROR> return outcome.get_result() >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 80, in get_result >INTERNALERROR> raise ex[1].with_traceback(ex[2]) >INTERNALERROR> File "/usr/lib/python3.6/site-packages/pluggy/callers.py", line 187, in _multicall >INTERNALERROR> res = hook_impl.function(*args) >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 42, in pytest_runtest_protocol >INTERNALERROR> reports = forked_run_report(item) >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 70, in forked_run_report >INTERNALERROR> return [report_process_crash(item, result)] >INTERNALERROR> File "/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3-python3_6/lib/pytest_forked/__init__.py", line 78, in report_process_crash >INTERNALERROR> path, lineno = item._getfslineno() >INTERNALERROR> AttributeError: 'Function' object has no attribute '_getfslineno' > >======================================== no tests ran in 0.06s ========================================= >=========================================== warnings summary =========================================== >testing/test_boxed.py::test_functional_boxed >testing/test_boxed.py::test_functional_boxed_per_test >testing/test_boxed.py::test_functional_boxed_capturing[no] >testing/test_boxed.py::test_functional_boxed_capturing[sys] >testing/test_boxed.py::test_functional_boxed_capturing[fd] > /usr/lib/python3.6/site-packages/_pytest/compat.py:333: PytestDeprecationWarning: The TerminalReporter.writer attribute is deprecated, use TerminalReporter._tw instead at your own risk. > See https://docs.pytest.org/en/latest/deprecations.html#terminalreporter-writer for more information. > return getattr(object, name, default) > >-- Docs: https://docs.pytest.org/en/latest/warnings.html >======================================= short test summary info ======================================== >FAILED testing/test_boxed.py::test_functional_boxed - Failed: nomatch: '*CRASHED*' >FAILED testing/test_boxed.py::test_functional_boxed_per_test - Failed: nomatch: '*CRASHED*' >FAILED testing/test_boxed.py::test_functional_boxed_capturing[no] - Failed: nomatch: '*CRASHED*' >XFAIL testing/test_boxed.py::test_functional_boxed_capturing[sys] > capture cleanup needed >XFAIL testing/test_boxed.py::test_functional_boxed_capturing[fd] > capture cleanup needed >========================== 3 failed, 1 passed, 2 xfailed, 5 warnings in 1.59s ========================== > [31;01m*[0m ERROR: dev-python/pytest-forked-1.1.3::gentoo failed (test phase): > [31;01m*[0m Tests failed under python3.6 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 125: Called src_test > [31;01m*[0m environment, line 2912: Called distutils-r1_src_test > [31;01m*[0m environment, line 1243: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 439: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2526: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2025: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2023: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 831: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 1180: Called python_test > [31;01m*[0m environment, line 2872: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m pytest -vv -p no:flaky || die "Tests failed under ${EPYTHON}" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/pytest-forked-1.1.3::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/pytest-forked-1.1.3::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/log/portage/build/dev-python/pytest-forked-1.1.3:20200614-170458.log'. > [31;01m*[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pytest-forked-1.1.3/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/pytest-forked-1.1.3/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3' > [31;01m*[0m S: '/var/tmp/portage/dev-python/pytest-forked-1.1.3/work/pytest-forked-1.1.3'
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 728270
:
644744
| 644746 |
710046