Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 463936 Details for
Bug 609516
dev-python/pytest-xdist-1.15.0 fails tests on alpha.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
build log
dev-python:pytest-xdist-1.15.0:20170216-113146.log (text/x-log), 35.58 KB, created by
Tobias Klausmann (RETIRED)
on 2017-02-16 11:41:28 UTC
(
hide
)
Description:
build log
Filename:
MIME Type:
Creator:
Tobias Klausmann (RETIRED)
Created:
2017-02-16 11:41:28 UTC
Size:
35.58 KB
patch
obsolete
> * Package: dev-python/pytest-xdist-1.15.0 > * Repository: gentoo > * Maintainer: python@gentoo.org > * USE: alpha elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU > * FEATURES: preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pytest-xdist-1.15.0.tar.gz to /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work >>>> Source unpacked in /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work >>>> Preparing source in /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0 ... > * 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-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist >copying xdist/slavemanage.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist >copying xdist/remote.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist >copying xdist/plugin.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist >copying xdist/newhooks.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist >copying xdist/looponfail.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist >copying xdist/dsession.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist >copying xdist/boxed.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist >copying xdist/_version.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist >copying xdist/__init__.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python2_7/lib/xdist >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-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist >copying xdist/slavemanage.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist >copying xdist/remote.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist >copying xdist/plugin.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist >copying xdist/newhooks.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist >copying xdist/looponfail.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist >copying xdist/dsession.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist >copying xdist/boxed.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist >copying xdist/_version.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist >copying xdist/__init__.py -> /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0-python3_4/lib/xdist >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/pytest-xdist-1.15.0 > * python2_7: running distutils-r1_run_phase python_test >============================== test session starts =============================== >platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.30, pluggy-0.4.0 -- /usr/bin/python2.7 >cachedir: .cache >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0, inifile: tox.ini >plugins: xdist-1.15.0, cov-2.3.1, capturelog-0.7 >collecting ... collected 110 items > >testing/acceptance_test.py::TestDistribution::test_n1_pass PASSED >testing/acceptance_test.py::TestDistribution::test_n1_fail PASSED >testing/acceptance_test.py::TestDistribution::test_n1_import_error FAILED >testing/acceptance_test.py::TestDistribution::test_n2_import_error PASSED >testing/acceptance_test.py::TestDistribution::test_n1_skip PASSED >testing/acceptance_test.py::TestDistribution::test_manytests_to_one_import_error FAILED >testing/acceptance_test.py::TestDistribution::test_manytests_to_one_popen PASSED >testing/acceptance_test.py::TestDistribution::test_n1_fail_minus_x PASSED >testing/acceptance_test.py::TestDistribution::test_basetemp_in_subprocesses PASSED >testing/acceptance_test.py::TestDistribution::test_dist_ini_specified PASSED >testing/acceptance_test.py::TestDistribution::test_dist_tests_with_crash PASSED >testing/acceptance_test.py::TestDistribution::test_distribution_rsyncdirs_example PASSED >testing/acceptance_test.py::TestDistribution::test_data_exchange PASSED >testing/acceptance_test.py::TestDistribution::test_keyboardinterrupt_hooks_issue79 PASSED >testing/acceptance_test.py::TestDistribution::test_keyboard_interrupt_dist PASSED >testing/acceptance_test.py::TestDistEach::test_simple PASSED >testing/acceptance_test.py::TestDistEach::test_simple_diffoutput xfail >testing/acceptance_test.py::TestTerminalReporting::test_pass_skip_fail PASSED >testing/acceptance_test.py::TestTerminalReporting::test_fail_platinfo PASSED >testing/acceptance_test.py::test_teardownfails_one_function PASSED >testing/acceptance_test.py::test_terminate_on_hangingnode xfail >testing/acceptance_test.py::test_session_hooks xfail >testing/acceptance_test.py::test_session_testscollected PASSED >testing/acceptance_test.py::test_funcarg_teardown_failure PASSED >testing/acceptance_test.py::test_crashing_item PASSED >testing/acceptance_test.py::test_skipping PASSED >testing/acceptance_test.py::test_issue34_pluginloading_in_subprocess PASSED >testing/acceptance_test.py::test_fixture_scope_caching_issue503 PASSED >testing/acceptance_test.py::test_issue_594_random_parametrize PASSED >testing/acceptance_test.py::test_tmpdir_disabled PASSED >testing/acceptance_test.py::test_sub_plugins_disabled[xdist.looponfail] PASSED >testing/acceptance_test.py::test_sub_plugins_disabled[xdist.boxed] PASSED >testing/acceptance_test.py::TestNodeFailure::test_load_single PASSED >testing/acceptance_test.py::TestNodeFailure::test_load_multiple PASSED >testing/acceptance_test.py::TestNodeFailure::test_each_single PASSED >testing/acceptance_test.py::TestNodeFailure::test_each_multiple XPASS >testing/acceptance_test.py::TestNodeFailure::test_max_slave_restart PASSED >testing/acceptance_test.py::TestNodeFailure::test_disable_restart PASSED >testing/acceptance_test.py::test_worker_id_fixture[0] FAILED >testing/acceptance_test.py::test_worker_id_fixture[2] FAILED >testing/acceptance_test.py::test_color_yes_collection_on_non_atty PASSED >testing/acceptance_test.py::test_internal_error_with_maxfail PASSED >testing/test_boxed.py::test_functional_boxed PASSED >testing/test_boxed.py::test_functional_boxed_capturing[no] PASSED >testing/test_boxed.py::test_functional_boxed_capturing[sys] xfail >testing/test_boxed.py::test_functional_boxed_capturing[fd] xfail >testing/test_boxed.py::TestOptionEffects::test_boxed_option_default PASSED >testing/test_boxed.py::TestOptionEffects::test_is_not_boxed_by_default PASSED >testing/test_dsession.py::TestEachScheduling::test_schedule_load_simple PASSED >testing/test_dsession.py::TestEachScheduling::test_schedule_remove_node PASSED >testing/test_dsession.py::TestLoadScheduling::test_schedule_load_simple PASSED >testing/test_dsession.py::TestLoadScheduling::test_init_distribute_batch_size PASSED >testing/test_dsession.py::TestLoadScheduling::test_init_distribute_fewer_tests_than_nodes PASSED >testing/test_dsession.py::TestLoadScheduling::test_init_distribute_fewer_than_two_tests_per_node PASSED >testing/test_dsession.py::TestLoadScheduling::test_add_remove_node PASSED >testing/test_dsession.py::TestLoadScheduling::test_different_tests_collected PASSED >testing/test_dsession.py::TestDistReporter::test_rsync_printing xfail >testing/test_dsession.py::test_report_collection_diff_equal PASSED >testing/test_dsession.py::test_report_collection_diff_different PASSED >testing/test_dsession.py::test_pytest_issue419 xfail >testing/test_looponfail.py::TestStatRecorder::test_filechange PASSED >testing/test_looponfail.py::TestStatRecorder::test_dirchange PASSED >testing/test_looponfail.py::TestStatRecorder::test_filechange_deletion_race PASSED >testing/test_looponfail.py::TestStatRecorder::test_pycremoval PASSED >testing/test_looponfail.py::TestStatRecorder::test_waitonchange PASSED >testing/test_looponfail.py::TestRemoteControl::test_nofailures PASSED >testing/test_looponfail.py::TestRemoteControl::test_failures_somewhere PASSED >testing/test_looponfail.py::TestRemoteControl::test_failure_change PASSED >testing/test_looponfail.py::TestRemoteControl::test_failure_subdir_no_init PASSED >testing/test_looponfail.py::TestLooponFailing::test_looponfail_from_fail_to_ok PASSED >testing/test_looponfail.py::TestLooponFailing::test_looponfail_from_one_to_two_tests PASSED >testing/test_looponfail.py::TestLooponFailing::test_looponfail_removed_test PASSED >testing/test_looponfail.py::TestLooponFailing::test_looponfail_multiple_errors PASSED >testing/test_looponfail.py::TestFunctional::test_fail_to_ok PASSED >testing/test_looponfail.py::TestFunctional::test_xfail_passes FAILED >testing/test_newhooks.py::TestHooks::test_runtest_logreport PASSED >testing/test_newhooks.py::TestHooks::test_node_collection_finished PASSED >testing/test_plugin.py::test_dist_incompatibility_messages PASSED >testing/test_plugin.py::test_dist_options PASSED >testing/test_plugin.py::test_auto_detect_cpus PASSED >testing/test_plugin.py::TestDistOptions::test_getxspecs PASSED >testing/test_plugin.py::TestDistOptions::test_xspecs_multiplied PASSED >testing/test_plugin.py::TestDistOptions::test_getrsyncdirs PASSED >testing/test_plugin.py::TestDistOptions::test_getrsyncignore PASSED >testing/test_plugin.py::TestDistOptions::test_getrsyncdirs_with_conftest PASSED >testing/test_remote.py::test_remoteinitconfig xfail >testing/test_remote.py::TestReportSerialization::test_itemreport_outcomes PASSED >testing/test_remote.py::TestReportSerialization::test_collectreport_passed PASSED >testing/test_remote.py::TestReportSerialization::test_collectreport_fail PASSED >testing/test_remote.py::TestReportSerialization::test_extended_report_deserialization PASSED >testing/test_remote.py::TestSlaveInteractor::test_basic_collect_and_runtests PASSED >testing/test_remote.py::TestSlaveInteractor::test_remote_collect_skip SKIPPED >testing/test_remote.py::TestSlaveInteractor::test_remote_collect_fail PASSED >testing/test_remote.py::TestSlaveInteractor::test_runtests_all PASSED >testing/test_remote.py::TestSlaveInteractor::test_happy_run_events_converted xfail >testing/test_remote.py::test_remote_env_vars PASSED >testing/test_slavemanage.py::TestNodeManagerPopen::test_popen_no_default_chdir PASSED >testing/test_slavemanage.py::TestNodeManagerPopen::test_default_chdir PASSED >testing/test_slavemanage.py::TestNodeManagerPopen::test_popen_makegateway_events PASSED >testing/test_slavemanage.py::TestNodeManagerPopen::test_popens_rsync PASSED >testing/test_slavemanage.py::TestNodeManagerPopen::test_rsync_popen_with_path PASSED >testing/test_slavemanage.py::TestNodeManagerPopen::test_rsync_same_popen_twice PASSED >testing/test_slavemanage.py::TestHRSync::test_hrsync_filter PASSED >testing/test_slavemanage.py::TestHRSync::test_hrsync_one_host PASSED >testing/test_slavemanage.py::TestNodeManager::test_rsync_roots_no_roots xfail >testing/test_slavemanage.py::TestNodeManager::test_popen_rsync_subdir PASSED >testing/test_slavemanage.py::TestNodeManager::test_init_rsync_roots PASSED >testing/test_slavemanage.py::TestNodeManager::test_rsyncignore PASSED >testing/test_slavemanage.py::TestNodeManager::test_optimise_popen PASSED >testing/test_slavemanage.py::TestNodeManager::test_ssh_setup_nodes SKIPPED >============================ short test summary info ============================= >SKIP [1] testing/test_remote.py:185: skip at module level illegal in pytest 3.0 >SKIP [1] /usr/lib/python2.7/site-packages/_pytest/config.py:1147: no 'gspecs' option found >FAIL testing/acceptance_test.py::TestDistribution::()::test_n1_import_error >FAIL testing/acceptance_test.py::TestDistribution::()::test_manytests_to_one_import_error >FAIL testing/acceptance_test.py::test_worker_id_fixture[0] >FAIL testing/acceptance_test.py::test_worker_id_fixture[2] >FAIL testing/test_looponfail.py::TestFunctional::()::test_xfail_passes >XFAIL testing/acceptance_test.py::TestDistEach::()::test_simple_diffoutput > reason: [NOTRUN] other python versions might not have py.test installed >XFAIL testing/acceptance_test.py::test_terminate_on_hangingnode >XFAIL testing/acceptance_test.py::test_session_hooks > reason: [NOTRUN] works if run outside test suite >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 >XFAIL testing/test_dsession.py::TestDistReporter::()::test_rsync_printing >XFAIL testing/test_dsession.py::test_pytest_issue419 > duplicate test ids not supported yet >XFAIL testing/test_remote.py::test_remoteinitconfig > #59 >XFAIL testing/test_remote.py::TestSlaveInteractor::()::test_happy_run_events_converted > reason: implement a simple test for event production >XFAIL testing/test_slavemanage.py::TestNodeManager::()::test_rsync_roots_no_roots > reason: [NOTRUN] >XPASS testing/acceptance_test.py::TestNodeFailure::()::test_each_multiple #20: xdist race condition on node restart > >==================================== FAILURES ==================================== >_____________________ TestDistribution.test_n1_import_error ______________________ > >self = <acceptance_test.TestDistribution instance at 0x20001b59830> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_n1_import_error0')> > > def test_n1_import_error(self, testdir): > p1 = testdir.makepyfile(""" > import __import_of_missing_module > def test_import(): > pass > """) > result = testdir.runpytest(p1, "-n1") > assert result.ret == 1 > result.stdout.fnmatch_lines([ >> "E ImportError: *__import_of_missing_module*", > ]) >E Failed: nomatch: 'E ImportError: *__import_of_missing_module*' >E and: u'============================== test session starts ===============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_n1_import_error0, inifile: ' >E and: u'plugins: xdist-1.15.0, cov-2.3.1, capturelog-0.7' >E and: u'gw0 I' >E and: u'gw0 [0]' >E and: u'' >E and: u'scheduling tests via LoadScheduling' >E and: u'' >E and: u'===================================== ERRORS =====================================' >E and: u'____________________ ERROR collecting test_n1_import_error.py ____________________' >E and: u"ImportError while importing test module '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_n1_import_error0/test_n1_import_error.py'." >E and: u'Original error message:' >E and: u"'No module named __import_of_missing_module'" >E and: u'Make sure your test modules/packages have valid Python names.' >E and: u'============================= pytest-warning summary =============================' >E and: u"WI1 /usr/lib/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'=================== 3 pytest-warnings, 1 error in 4.07 seconds ===================' >E and: u'' >E remains unmatched: 'E ImportError: *__import_of_missing_module*' > >../../../../../work/pytest-xdist-1.15.0/testing/acceptance_test.py:33: Failed >------------------------------ Captured stdout call ------------------------------ >============================== test session starts =============================== >platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_n1_import_error0, inifile: >plugins: xdist-1.15.0, cov-2.3.1, capturelog-0.7 >gw0 I >gw0 [0] > >scheduling tests via LoadScheduling > >===================================== ERRORS ===================================== >____________________ ERROR collecting test_n1_import_error.py ____________________ >ImportError while importing test module '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_n1_import_error0/test_n1_import_error.py'. >Original error message: >'No module named __import_of_missing_module' >Make sure your test modules/packages have valid Python names. >============================= pytest-warning summary ============================= >WI1 /usr/lib/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >=================== 3 pytest-warnings, 1 error in 4.07 seconds =================== >______________ TestDistribution.test_manytests_to_one_import_error _______________ > >self = <acceptance_test.TestDistribution instance at 0x20003d357e8> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_manytests_to_one_import_error0')> > > def test_manytests_to_one_import_error(self, testdir): > p1 = testdir.makepyfile(""" > import __import_of_missing_module > def test_import(): > pass > """) > result = testdir.runpytest(p1, '--tx=popen', '--tx=popen') >> assert result.ret == 1 >E assert 2 == 1 >E + where 2 = <_pytest.pytester.RunResult instance at 0x20003473f80>.ret > >../../../../../work/pytest-xdist-1.15.0/testing/acceptance_test.py:65: AssertionError >------------------------------ Captured stdout call ------------------------------ >============================== test session starts =============================== >platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_manytests_to_one_import_error0, inifile: >plugins: xdist-1.15.0, cov-2.3.1, capturelog-0.7 >collected 0 items / 1 errors > >===================================== ERRORS ===================================== >_____________ ERROR collecting test_manytests_to_one_import_error.py _____________ >ImportError while importing test module '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_manytests_to_one_import_error0/test_manytests_to_one_import_error.py'. >Original error message: >'No module named __import_of_missing_module' >Make sure your test modules/packages have valid Python names. >============================= pytest-warning summary ============================= >WI1 /usr/lib/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >!!!!!!!!!!!!!!!!!!!! Interrupted: 1 errors during collection !!!!!!!!!!!!!!!!!!!!! >=================== 3 pytest-warnings, 1 error in 1.47 seconds =================== >___________________________ test_worker_id_fixture[0] ____________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_worker_id_fixture0')> >n = 0 > > @pytest.mark.parametrize('n', [0, 2]) > def test_worker_id_fixture(testdir, n): > import glob > f = testdir.makepyfile(""" > import pytest > @pytest.mark.parametrize("run_num", range(2)) > def test_worker_id1(worker_id, run_num): > with open("worker_id%s.txt" % run_num, "w") as f: > f.write(worker_id) > """) > result = testdir.runpytest(f, "-n%d" % n) >> result.stdout.fnmatch_lines('* 2 passed in *') >E Failed: nomatch: '* 2 passed in *' >E and: u'============================== test session starts ===============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_worker_id_fixture0, inifile: ' >E and: u'plugins: xdist-1.15.0, cov-2.3.1, capturelog-0.7' >E and: u'collected 2 items' >E and: u'' >E and: u'test_worker_id_fixture.py ..' >E and: u'' >E and: u'============================= pytest-warning summary =============================' >E and: u"WI1 /usr/lib/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================== 2 passed, 3 pytest-warnings in 0.05 seconds ===================' >E and: u'' >E remains unmatched: '* 2 passed in *' > >../../../../../work/pytest-xdist-1.15.0/testing/acceptance_test.py:638: Failed >------------------------------ Captured stdout call ------------------------------ >============================== test session starts =============================== >platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_worker_id_fixture0, inifile: >plugins: xdist-1.15.0, cov-2.3.1, capturelog-0.7 >collected 2 items > >test_worker_id_fixture.py .. > >============================= pytest-warning summary ============================= >WI1 /usr/lib/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================== 2 passed, 3 pytest-warnings in 0.05 seconds =================== >___________________________ test_worker_id_fixture[2] ____________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_worker_id_fixture1')> >n = 2 > > @pytest.mark.parametrize('n', [0, 2]) > def test_worker_id_fixture(testdir, n): > import glob > f = testdir.makepyfile(""" > import pytest > @pytest.mark.parametrize("run_num", range(2)) > def test_worker_id1(worker_id, run_num): > with open("worker_id%s.txt" % run_num, "w") as f: > f.write(worker_id) > """) > result = testdir.runpytest(f, "-n%d" % n) >> result.stdout.fnmatch_lines('* 2 passed in *') >E Failed: nomatch: '* 2 passed in *' >E and: u'============================== test session starts ===============================' >E and: u'platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.30, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_worker_id_fixture1, inifile: ' >E and: u'plugins: xdist-1.15.0, cov-2.3.1, capturelog-0.7' >E and: u'gw0 I / gw1 I' >E and: u'gw0 [2] / gw1 [2]' >E and: u'' >E and: u'scheduling tests via LoadScheduling' >E and: u'..' >E and: u'============================= pytest-warning summary =============================' >E and: u"WI1 /usr/lib/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead.' >E and: u'================== 2 passed, 3 pytest-warnings in 4.43 seconds ===================' >E and: u'' >E remains unmatched: '* 2 passed in *' > >../../../../../work/pytest-xdist-1.15.0/testing/acceptance_test.py:638: Failed >------------------------------ Captured stdout call ------------------------------ >============================== test session starts =============================== >platform linux2 -- Python 2.7.12, pytest-3.0.3, py-1.4.30, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_worker_id_fixture1, inifile: >plugins: xdist-1.15.0, cov-2.3.1, capturelog-0.7 >gw0 I / gw1 I >gw0 [2] / gw1 [2] > >scheduling tests via LoadScheduling >.. >============================= pytest-warning summary ============================= >WI1 /usr/lib/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >================== 2 passed, 3 pytest-warnings in 4.43 seconds =================== >________________________ TestFunctional.test_xfail_passes ________________________ > >self = <test_looponfail.TestFunctional instance at 0x20003392cf8> >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_xfail_passes0')> > > def test_xfail_passes(self, testdir): > p = testdir.makepyfile(""" > import py > @py.test.mark.xfail > def test_one(): > pass > """) > child = testdir.spawn_pytest("-f %s" % p) > child.expect("1 xpass") >> child.expect("### LOOPONFAILING ####") > >../../../../../work/pytest-xdist-1.15.0/testing/test_looponfail.py:271: >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ >/usr/lib/python2.7/site-packages/pexpect/__init__.py:1451: in expect > timeout, searchwindowsize) >/usr/lib/python2.7/site-packages/pexpect/__init__.py:1466: in expect_list > timeout, searchwindowsize) >_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > >self = <pexpect.spawn object at 0x2000338ff50> >searcher = <pexpect.searcher_re object at 0x200031fb510> >timeout = 2.144493818283081, searchwindowsize = None > > def expect_loop(self, searcher, timeout=-1, searchwindowsize=-1): > > '''This is the common loop used inside expect. The 'searcher' should be > an instance of searcher_re or searcher_string, which describes how and > what to search for in the input. > > See expect() for other arguments, return value and exceptions. ''' > > self.searcher = searcher > > if timeout == -1: > timeout = self.timeout > if timeout is not None: > end_time = time.time() + timeout > if searchwindowsize == -1: > searchwindowsize = self.searchwindowsize > > try: > incoming = self.buffer > freshlen = len(incoming) > while True: > # Keep reading until exception or return. > index = searcher.search(incoming, freshlen, searchwindowsize) > if index >= 0: > self.buffer = incoming[searcher.end:] > self.before = incoming[: searcher.start] > self.after = incoming[searcher.start: searcher.end] > self.match = searcher.match > self.match_index = index > return self.match_index > # No match at this point > if (timeout is not None) and (timeout < 0): > raise TIMEOUT('Timeout exceeded in expect_any().') > # Still have time left, so read more data > c = self.read_nonblocking(self.maxread, timeout) > freshlen = len(c) > time.sleep(0.0001) > incoming = incoming + c > if timeout is not None: > timeout = end_time - time.time() > except EOF: > err = sys.exc_info()[1] > self.buffer = self.string_type() > self.before = incoming > self.after = EOF > index = searcher.eof_index > if index >= 0: > self.match = EOF > self.match_index = index > return self.match_index > else: > self.match = None > self.match_index = None > raise EOF(str(err) + '\n' + str(self)) > except TIMEOUT: > err = sys.exc_info()[1] > self.buffer = incoming > self.before = incoming > self.after = TIMEOUT > index = searcher.timeout_index > if index >= 0: > self.match = TIMEOUT > self.match_index = index > return self.match_index > else: > self.match = None > self.match_index = None >> raise TIMEOUT(str(err) + '\n' + str(self)) >E TIMEOUT: Timeout exceeded. >E <pexpect.spawn object at 0x2000338ff50> >E version: 3.3 >E command: /usr/bin/python2.7 >E args: ['/usr/bin/python2.7', '/usr/lib/python2.7/site-packages/pytest.py', '--basetemp=/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_xfail_passes0/pexpect', '-f', '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_xfail_passes0/test_xfail_passes.py'] >E searcher: <pexpect.searcher_re object at 0x200031fb510> >E buffer (last 100 chars): 'ev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_xfail_passes0/spawn.out\r\n' >E before (last 100 chars): 'ev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_xfail_passes0/spawn.out\r\n' >E after: <class 'pexpect.TIMEOUT'> >E match: None >E match_index: None >E exitstatus: None >E flag_eof: False >E pid: 16537 >E child_fd: 10 >E closed: False >E timeout: 10.0 >E delimiter: <class 'pexpect.EOF'> >E logfile: <open file '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/pytest-of-portage/pytest-0/testdir/test_xfail_passes0/spawn.out', mode 'wb' at 0x200033a3030> >E logfile_read: None >E logfile_send: None >E maxread: 2000 >E ignorecase: False >E searchwindowsize: None >E delaybeforesend: 0.05 >E delayafterclose: 0.1 >E delayafterterminate: 0.1 > >/usr/lib/python2.7/site-packages/pexpect/__init__.py:1568: TIMEOUT >============================= pytest-warning summary ============================= >WI1 /usr/lib/python2.7/site-packages/pytest_capturelog.py:171 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument >WC1 None pytest_funcarg__caplog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. >WC1 None pytest_funcarg__capturelog: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. > 5 failed, 92 passed, 2 skipped, 10 xfailed, 1 xpassed, 3 pytest-warnings in 409.02 seconds > * ERROR: dev-python/pytest-xdist-1.15.0::gentoo failed (test phase): > * Tests failed under python2.7 > * > * Call stack: > * ebuild.sh, line 115: Called src_test > * environment, line 3645: Called distutils-r1_src_test > * environment, line 947: Called _distutils-r1_run_foreach_impl 'python_test' > * environment, line 284: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > * environment, line 3163: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2267: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > * environment, line 2265: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > * environment, line 555: Called distutils-r1_run_phase 'python_test' > * environment, line 879: Called python_test > * environment, line 3524: Called die > * The specific snippet of code: > * py.test -vv || die "Tests failed under ${EPYTHON}" > * > * If you need support, post the output of `emerge --info '=dev-python/pytest-xdist-1.15.0::gentoo'`, > * the complete build log and the output of `emerge -pqv '=dev-python/pytest-xdist-1.15.0::gentoo'`. > * The complete build log is located at '/var/log/portage/dev-python:pytest-xdist-1.15.0:20170216-113146.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/temp/environment'. > * Working directory: '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0' > * S: '/var/tmp/portage/dev-python/pytest-xdist-1.15.0/work/pytest-xdist-1.15.0'
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 609516
: 463936