Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 630612 Details for
Bug 716396
dev-python/pytest-xprocess-0.12.1-r2 test failure
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build.log
build.log (text/x-log), 17.81 KB, created by
Alexey
on 2020-04-05 22:35:43 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Alexey
Created:
2020-04-05 22:35:43 UTC
Size:
17.81 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/pytest-xprocess-0.12.1-r2 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: python@gentoo.org >[32;01m * [39;49;00mUSE: arm elibc_glibc kernel_linux python_targets_python3_6 test userland_GNU >[32;01m * [39;49;00mFEATURES: distcc network-sandbox preserve-libs sandbox splitdebug test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pytest-xprocess-0.12.1.tar.gz to /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work >>>> Source unpacked in /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work >>>> Preparing source in /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1 ... > [32;01m*[0m Applying pytest-xprocess-0.12.1-pytest-28.patch ... >[A[266C [34;01m[ [32;01mok[34;01m ][0m >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1 ... > [32;01m*[0m python3_6: running distutils-r1_run_phase distutils-r1_python_compile > [33;01m*[0m DISTUTILS_USE_SETUPTOOLS value is probably incorrect > [33;01m*[0m value: DISTUTILS_USE_SETUPTOOLS=bdepend (default?) > [33;01m*[0m expected: DISTUTILS_USE_SETUPTOOLS=rdepend >python3.6 setup.py build -j 3 >running build >running build_py >copying pytest_xprocess.py -> /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1-python3_6/lib >copying xprocess.py -> /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1-python3_6/lib >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/pytest-xprocess-0.12.1-r2 > [32;01m*[0m python3_6: running distutils-r1_run_phase python_test >============================================================================================================================== test session starts =============================================================================================================================== >platform linux -- Python 3.6.10, pytest-4.5.0, py-1.5.4, pluggy-0.11.0 -- /usr/bin/python3.6 >cachedir: .pytest_cache >rootdir: /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1 >plugins: timeout-1.3.3, mock-1.11.2 >collecting ... collected 6 items > >example/test_server.py::test_server ERROR [ 16%] >example/test_server.py::test_server2 ERROR [ 33%] >example/test_server.py::test_server_env ERROR [ 50%] >example/test_server.py::test_shutdown ERROR [ 66%] >example/test_server.py::test_shutdown_legacy ERROR [ 83%] >example/test_server.py::test_functional_work_flow FAILED [100%] > >===================================================================================================================================== ERRORS ===================================================================================================================================== >_________________________________________________________________________________________________________________________ ERROR at setup of test_server __________________________________________________________________________________________________________________________ >file /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1/example/test_server.py, line 12 > def test_server(xprocess): >E fixture 'xprocess' not found >> available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, linecomp, mock, mocker, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testdir, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory >> use 'pytest --fixtures [testpath]' for help on them. > >/var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1/example/test_server.py:12 >_________________________________________________________________________________________________________________________ ERROR at setup of test_server2 _________________________________________________________________________________________________________________________ >file /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1/example/test_server.py, line 23 > def test_server2(xprocess): >E fixture 'xprocess' not found >> available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, linecomp, mock, mocker, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testdir, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory >> use 'pytest --fixtures [testpath]' for help on them. > >/var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1/example/test_server.py:23 >_______________________________________________________________________________________________________________________ ERROR at setup of test_server_env ________________________________________________________________________________________________________________________ >file /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1/example/test_server.py, line 34 > def test_server_env(xprocess): >E fixture 'xprocess' not found >> available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, linecomp, mock, mocker, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testdir, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory >> use 'pytest --fixtures [testpath]' for help on them. > >/var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1/example/test_server.py:34 >________________________________________________________________________________________________________________________ ERROR at setup of test_shutdown _________________________________________________________________________________________________________________________ >file /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1/example/test_server.py, line 48 > def test_shutdown(xprocess): >E fixture 'xprocess' not found >> available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, linecomp, mock, mocker, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testdir, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory >> use 'pytest --fixtures [testpath]' for help on them. > >/var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1/example/test_server.py:48 >_____________________________________________________________________________________________________________________ ERROR at setup of test_shutdown_legacy _____________________________________________________________________________________________________________________ >file /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1/example/test_server.py, line 54 > def test_shutdown_legacy(xprocess): >E fixture 'xprocess' not found >> available fixtures: LineMatcher, _config_for_test, _pytest, _sys_snapshot, cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, linecomp, mock, mocker, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, testdir, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory >> use 'pytest --fixtures [testpath]' for help on them. > >/var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1/example/test_server.py:54 >==================================================================================================================================== FAILURES ==================================================================================================================================== >___________________________________________________________________________________________________________________________ test_functional_work_flow ____________________________________________________________________________________________________________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/temp/pytest-of-portage/pytest-0/test_functional_work_flow0')> > > def test_functional_work_flow(testdir): > testdir.makepyfile(""" > import sys > def test_server(request, xprocess): > xprocess.ensure("server", lambda cwd: > ("started", [sys.executable, %r, 6700])) > import socket > sock = socket.socket() > sock.connect(("localhost", 6700)) > sock.sendall("world\\n".encode("utf8")) > c = sock.recv(1) > assert c == "1".encode("utf8") > """ % str(server_path)) > result = testdir.runpytest() >> result.stdout.fnmatch_lines("*1 passed*") >E Failed: nomatch: '*1 passed*' >E and: '============================================================================================================================== test session starts ===============================================================================================================================' >E and: 'platform linux -- Python 3.6.10, pytest-4.5.0, py-1.5.4, pluggy-0.11.0' >E and: 'rootdir: /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/temp/pytest-of-portage/pytest-0/test_functional_work_flow0' >E and: 'plugins: timeout-1.3.3, mock-1.11.2' >E and: 'collected 1 item' >E and: '' >E and: 'test_functional_work_flow.py E [100%]' >E and: '' >E and: '===================================================================================================================================== ERRORS =====================================================================================================================================' >E and: '_________________________________________________________________________________________________________________________ ERROR at setup of test_server __________________________________________________________________________________________________________________________' >E and: 'file /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/temp/pytest-of-portage/pytest-0/test_functional_work_flow0/test_functional_work_flow.py, line 2' >E and: ' def test_server(request, xprocess):' >E and: "E fixture 'xprocess' not found" >E and: '> available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, mock, mocker, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory' >E and: "> use 'pytest --fixtures [testpath]' for help on them." >E and: '' >E and: '/var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/temp/pytest-of-portage/pytest-0/test_functional_work_flow0/test_functional_work_flow.py:2' >E and: '============================================================================================================================ 1 error in 0.13 seconds =============================================================================================================================' >E and: '' >E remains unmatched: '*1 passed*' > >../../../../work/pytest-xprocess-0.12.1/example/test_server.py:81: Failed >------------------------------------------------------------------------------------------------------------------------------ Captured stdout call ------------------------------------------------------------------------------------------------------------------------------ >============================================================================================================================== test session starts =============================================================================================================================== >platform linux -- Python 3.6.10, pytest-4.5.0, py-1.5.4, pluggy-0.11.0 >rootdir: /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/temp/pytest-of-portage/pytest-0/test_functional_work_flow0 >plugins: timeout-1.3.3, mock-1.11.2 >collected 1 item > >test_functional_work_flow.py E [100%] > >===================================================================================================================================== ERRORS ===================================================================================================================================== >_________________________________________________________________________________________________________________________ ERROR at setup of test_server __________________________________________________________________________________________________________________________ >file /var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/temp/pytest-of-portage/pytest-0/test_functional_work_flow0/test_functional_work_flow.py, line 2 > def test_server(request, xprocess): >E fixture 'xprocess' not found >> available fixtures: cache, capfd, capfdbinary, caplog, capsys, capsysbinary, doctest_namespace, mock, mocker, monkeypatch, pytestconfig, record_property, record_testsuite_property, record_xml_attribute, recwarn, tmp_path, tmp_path_factory, tmpdir, tmpdir_factory >> use 'pytest --fixtures [testpath]' for help on them. > >/var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/temp/pytest-of-portage/pytest-0/test_functional_work_flow0/test_functional_work_flow.py:2 >============================================================================================================================ 1 error in 0.13 seconds ============================================================================================================================= >======================================================================================================================= 1 failed, 5 error in 2.54 seconds ======================================================================================================================== > [31;01m*[0m ERROR: dev-python/pytest-xprocess-0.12.1-r2::gentoo failed (test phase): > [31;01m*[0m Tests fail with 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 2893: Called distutils-r1_src_test > [31;01m*[0m environment, line 1234: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 419: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2507: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2016: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2014: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 822: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 1171: Called python_test > [31;01m*[0m environment, line 2852: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m pytest -vv || die "Tests fail with ${EPYTHON}" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/pytest-xprocess-0.12.1-r2::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/pytest-xprocess-0.12.1-r2::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1' > [31;01m*[0m S: '/var/tmp/portage/dev-python/pytest-xprocess-0.12.1-r2/work/pytest-xprocess-0.12.1'
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 716396
:
630610
| 630612