Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 528170 Details for
Bug 653722
dev-python/pytest-forked-0.2 fails test test_functional_boxed_capturing - Failed: nomatch: '*CRASHED*'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
dev-python/pytest-forked-0.2:20180421-185336.log
pytest-forked-0.2:20180421-185336.log (text/plain), 14.78 KB, created by
eroen
on 2018-04-21 19:52:32 UTC
(
hide
)
Description:
dev-python/pytest-forked-0.2:20180421-185336.log
Filename:
MIME Type:
Creator:
eroen
Created:
2018-04-21 19:52:32 UTC
Size:
14.78 KB
patch
obsolete
> * Package: dev-python/pytest-forked-0.2 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 python_targets_python3_5 python_targets_python3_6 test userland_GNU > * FEATURES: compressdebug installsources network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox > * python2_7: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python2.7 setup.py build >running build >running build_py >creating /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/lib/pytest_forked >copying src/pytest_forked/__init__.py -> /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/lib/pytest_forked >warning: build_py: byte-compiling is disabled, skipping. > > * python3_4: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python3.4 setup.py build >running build >running build_py >creating /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python3_4/lib/pytest_forked >copying src/pytest_forked/__init__.py -> /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python3_4/lib/pytest_forked >warning: build_py: byte-compiling is disabled, skipping. > > * python3_5: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python3.5 setup.py build >running build >running build_py >creating /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python3_5/lib/pytest_forked >copying src/pytest_forked/__init__.py -> /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python3_5/lib/pytest_forked >warning: build_py: byte-compiling is disabled, skipping. > > * python3_6: running distutils-r1_run_phase distutils-r1_python_compile >/usr/bin/python3.6 setup.py build >running build >running build_py >creating /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python3_6/lib/pytest_forked >copying src/pytest_forked/__init__.py -> /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python3_6/lib/pytest_forked >warning: build_py: byte-compiling is disabled, skipping. > > * python2_7: running distutils-r1_run_phase python_test >/usr/bin/python2.7 setup.py install --home=/var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/test --install-lib=/var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/test/lib --install-scripts=/var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/test/scripts >running install >running bdist_egg >running egg_info >writing requirements to src/pytest_forked.egg-info/requires.txt >writing src/pytest_forked.egg-info/PKG-INFO >writing top-level names to src/pytest_forked.egg-info/top_level.txt >writing dependency_links to src/pytest_forked.egg-info/dependency_links.txt >writing entry points to src/pytest_forked.egg-info/entry_points.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-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg >running install_lib >running build_py >warning: build_py: byte-compiling is disabled, skipping. > >creating /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64 >creating /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg >creating /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg/pytest_forked >copying /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/lib/pytest_forked/__init__.py -> /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg/pytest_forked >warning: install_lib: byte-compiling is disabled, skipping. > >creating /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/pytest_forked.egg-info/PKG-INFO -> /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/pytest_forked.egg-info/SOURCES.txt -> /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/pytest_forked.egg-info/dependency_links.txt -> /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/pytest_forked.egg-info/entry_points.txt -> /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/pytest_forked.egg-info/not-zip-safe -> /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/pytest_forked.egg-info/requires.txt -> /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg/EGG-INFO >copying src/pytest_forked.egg-info/top_level.txt -> /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg/EGG-INFO >creating /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/dist >creating '/var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/dist/pytest_forked-0.2-py2.7.egg' and adding '/var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg' to it >removing '/var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/bdist.linux-x86_64/egg' (and everything under it) >Creating /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/test/lib/site.py >Processing pytest_forked-0.2-py2.7.egg >creating /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/test/lib/pytest_forked-0.2-py2.7.egg >Extracting pytest_forked-0.2-py2.7.egg to /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/test/lib >Adding pytest-forked 0.2 to easy-install.pth file > >Installed /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/test/lib/pytest_forked-0.2-py2.7.egg >Processing dependencies for pytest-forked==0.2 >Searching for pytest==3.2.2 >Best match: pytest 3.2.2 >Adding pytest 3.2.2 to easy-install.pth file >Installing pytest script to /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/test/scripts >Installing py.test script to /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/test/scripts > >Using /usr/lib64/python2.7/site-packages >Searching for setuptools==38.5.1 >Best match: setuptools 38.5.1 >Adding setuptools 38.5.1 to easy-install.pth file >Installing easy_install script to /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2-python2_7/test/scripts > >Using /usr/lib64/python2.7/site-packages >Searching for py==1.5.3 >Best match: py 1.5.3 >Adding py 1.5.3 to easy-install.pth file > >Using /usr/lib64/python2.7/site-packages >Finished processing dependencies for pytest-forked==0.2 >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.5.3, pluggy-0.4.0 -- /usr/bin/python2.7 >cachedir: .cache >rootdir: /var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2, inifile: tox.ini >plugins: forked-0.2, xprocess-0.12.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collecting ... collected 5 items > >testing/test_boxed.py::test_functional_boxed PASSED >testing/test_boxed.py::test_functional_boxed_capturing[no] FAILED >testing/test_boxed.py::test_functional_boxed_capturing[sys] xfail >testing/test_boxed.py::test_functional_boxed_capturing[fd] xfail >testing/test_boxed.py::test_is_not_boxed_by_default PASSED >===Flaky Test Report=== > > >===End Flaky Test Report=== >=========================================== short test summary info ============================================ >FAIL testing/test_boxed.py::test_functional_boxed_capturing[no] >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 > >=================================================== FAILURES =================================================== >_____________________________________ test_functional_boxed_capturing[no] ______________________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-forked-0.2/temp/pytest-of-portage/pytest-0/testdir/test_functional_boxed_capturing0')> >capmode = 'no' > > @needsfork > @pytest.mark.parametrize("capmode", [ > "no", > pytest.mark.xfail("sys", reason="capture cleanup needed"), > pytest.mark.xfail("fd", 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: u'============================================= test session starts ==============================================' >E and: u'platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.5.3, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-forked-0.2/temp/pytest-of-portage/pytest-0/testdir/test_functional_boxed_capturing0, inifile:' >E and: u'plugins: forked-0.2, xprocess-0.12.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3' >E and: u'collected 1 item' >E and: u'' >E and: u'test_functional_boxed_capturing.py f' >E and: u'===Flaky Test Report===' >E and: u'' >E and: u'' >E and: u'===End Flaky Test Report===' >E and: u'' >E and: u'=================================================== FAILURES ===================================================' >E and: u'________________________________________________ test_function _________________________________________________' >E fnmatch: '*CRASHED*' >E with: u'/var/tmp/portage/dev-python/pytest-forked-0.2/temp/pytest-of-portage/pytest-0/testdir/test_functional_boxed_capturing0/test_functional_boxed_capturing.py:2: running the test CRASHED with signal 0' >E nomatch: '*stdout*' >E and: u'----------------------------------------------- captured stderr ------------------------------------------------' >E and: u"/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError: <Function 'test_function'>" >E and: u'=========================================== 1 failed in 0.02 seconds ===========================================' >E and: u'' >E remains unmatched: '*stdout*' > >../../../../../work/pytest-forked-0.2/testing/test_boxed.py:44: Failed >--------------------------------------------- Captured stdout call --------------------------------------------- >============================================= test session starts ============================================== >platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.5.3, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-forked-0.2/temp/pytest-of-portage/pytest-0/testdir/test_functional_boxed_capturing0, inifile: >plugins: forked-0.2, xprocess-0.12.1, virtualenv-1.2.11, subtesthack-0.1.1, shutil-1.2.11, localserver-0.3.7, isort-0.1.0, flake8-0.8.1, expect-1.1.0, cov-2.5.1, hypothesis-3.50.1, flaky-3.4.0, betamax-0.8.0, backports.unittest-mock-1.3 >collected 1 item > >test_functional_boxed_capturing.py f >===Flaky Test Report=== > > >===End Flaky Test Report=== > >=================================================== FAILURES =================================================== >________________________________________________ test_function _________________________________________________ >/var/tmp/portage/dev-python/pytest-forked-0.2/temp/pytest-of-portage/pytest-0/testdir/test_functional_boxed_capturing0/test_functional_boxed_capturing.py:2: running the test CRASHED with signal 0 >----------------------------------------------- captured stderr ------------------------------------------------ >/usr/lib64/python2.7/site-packages/flaky/flaky_pytest_plugin.py:276: KeyError: <Function 'test_function'> >=========================================== 1 failed in 0.02 seconds =========================================== >================================ 1 failed, 2 passed, 2 xfailed in 0.43 seconds ================================= > * ERROR: dev-python/pytest-forked-0.2::gentoo failed (test phase): > * Tests failed under python2.7 > * > * Call stack: > * ebuild.sh, line 124: Called src_test > * environment, line 2644: Called distutils-r1_src_test > * environment, line 888: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 350: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 2184: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1542: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 1540: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 562: Called distutils-r1_run_phase 'python_test' > * environment, line 819: Called python_test > * environment, line 2546: Called die > * The specific snippet of code: > * py.test -v || die "Tests failed under ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=dev-python/pytest-forked-0.2::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pytest-forked-0.2::gentoo'`. > * The complete build log is located at '/var/log/portage/build/dev-python/pytest-forked-0.2:20180421-185336.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pytest-forked-0.2/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/pytest-forked-0.2/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2' > * S: '/var/tmp/portage/dev-python/pytest-forked-0.2/work/pytest-forked-0.2'
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 653722
: 528170