Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 551340 Details for
Bug 668724
dev-python/pytest-xdist-1.23.2: test failures
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.23.2_use_Q9QHl (text/plain), 100.97 KB, created by
Rolf Eike Beer
on 2018-10-15 17:26:47 UTC
(
hide
)
Description:
build.log
Filename:
MIME Type:
Creator:
Rolf Eike Beer
Created:
2018-10-15 17:26:47 UTC
Size:
100.97 KB
patch
obsolete
>[32;01m * [39;49;00mPackage: dev-python/pytest-xdist-1.23.2 >[32;01m * [39;49;00mRepository: gentoo >[32;01m * [39;49;00mMaintainer: python@gentoo.org >[32;01m * [39;49;00mUSE: elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 sparc test userland_GNU >[32;01m * [39;49;00mFEATURES: preserve-libs sandbox test userpriv usersandbox >>>> Unpacking source... >>>> Unpacking pytest-xdist-1.23.2.tar.gz to /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work >>>> Source unpacked in /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work >>>> Preparing source in /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2 ... >>>> Source configured. >>>> Compiling source in /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2 ... > [32;01m*[0m python2_7: running distutils-r1_run_phase distutils-r1_python_compile >python2.7 setup.py build >running build >running build_py >creating /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist >copying xdist/__init__.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist >copying xdist/workermanage.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist >copying xdist/remote.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist >copying xdist/looponfail.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist >copying xdist/plugin.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist >copying xdist/report.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist >copying xdist/_version.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist >copying xdist/newhooks.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist >copying xdist/dsession.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist >creating /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/scheduler >copying xdist/scheduler/__init__.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/scheduler >copying xdist/scheduler/each.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/scheduler >copying xdist/scheduler/load.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/scheduler >copying xdist/scheduler/filescope.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/scheduler >copying xdist/scheduler/loadscope.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/scheduler >warning: build_py: byte-compiling is disabled, skipping. > > [32;01m*[0m python3_6: running distutils-r1_run_phase distutils-r1_python_compile >python3.6 setup.py build -j 20 >running build >running build_py >creating /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist >copying xdist/__init__.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist >copying xdist/workermanage.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist >copying xdist/remote.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist >copying xdist/looponfail.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist >copying xdist/plugin.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist >copying xdist/report.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist >copying xdist/_version.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist >copying xdist/newhooks.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist >copying xdist/dsession.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist >creating /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist/scheduler >copying xdist/scheduler/__init__.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist/scheduler >copying xdist/scheduler/each.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist/scheduler >copying xdist/scheduler/load.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist/scheduler >copying xdist/scheduler/filescope.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist/scheduler >copying xdist/scheduler/loadscope.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python3_6/lib/xdist/scheduler >warning: build_py: byte-compiling is disabled, skipping. > >>>> Source compiled. >>>> Test phase: dev-python/pytest-xdist-1.23.2 > [32;01m*[0m python2_7: running distutils-r1_run_phase python_test >python2.7 setup.py install --home=/var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/test --install-lib=/var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/test/lib --install-scripts=/var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/test/scripts >running install >running bdist_egg >running egg_info >writing requirements to pytest_xdist.egg-info/requires.txt >writing pytest_xdist.egg-info/PKG-INFO >writing top-level names to pytest_xdist.egg-info/top_level.txt >writing dependency_links to pytest_xdist.egg-info/dependency_links.txt >writing entry points to pytest_xdist.egg-info/entry_points.txt >reading manifest file 'pytest_xdist.egg-info/SOURCES.txt' >writing manifest file 'pytest_xdist.egg-info/SOURCES.txt' >installing library code to /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg >running install_lib >running build_py >copying xdist/_version.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist >warning: build_py: byte-compiling is disabled, skipping. > >creating /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64 >creating /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg >creating /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/__init__.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/workermanage.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/remote.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/looponfail.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/plugin.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/report.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist >creating /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist/scheduler >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/scheduler/__init__.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist/scheduler >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/scheduler/each.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist/scheduler >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/scheduler/load.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist/scheduler >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/scheduler/filescope.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist/scheduler >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/scheduler/loadscope.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist/scheduler >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/_version.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/newhooks.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist >copying /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/lib/xdist/dsession.py -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/xdist >warning: install_lib: byte-compiling is disabled, skipping. > >creating /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/EGG-INFO >copying pytest_xdist.egg-info/PKG-INFO -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/EGG-INFO >copying pytest_xdist.egg-info/SOURCES.txt -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/EGG-INFO >copying pytest_xdist.egg-info/dependency_links.txt -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/EGG-INFO >copying pytest_xdist.egg-info/entry_points.txt -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/EGG-INFO >copying pytest_xdist.egg-info/not-zip-safe -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/EGG-INFO >copying pytest_xdist.egg-info/requires.txt -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/EGG-INFO >copying pytest_xdist.egg-info/top_level.txt -> /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg/EGG-INFO >creating /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/dist >creating '/var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/dist/pytest_xdist-1.23.2-py2.7.egg' and adding '/var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg' to it >removing '/var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/bdist.linux-sparc64/egg' (and everything under it) >Creating /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/test/lib/site.py >warning: easy_install: byte-compiling is disabled, skipping. > >Processing pytest_xdist-1.23.2-py2.7.egg >creating /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/test/lib/pytest_xdist-1.23.2-py2.7.egg >Extracting pytest_xdist-1.23.2-py2.7.egg to /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/test/lib >warning: easy_install: byte-compiling is disabled, skipping. > >Adding pytest-xdist 1.23.2 to easy-install.pth file > >Installed /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/test/lib/pytest_xdist-1.23.2-py2.7.egg >Processing dependencies for pytest-xdist==1.23.2 >Searching for six==1.11.0 >Best match: six 1.11.0 >Adding six 1.11.0 to easy-install.pth file > >Using /usr/lib/python2.7/site-packages >Searching for pytest-forked==0.2 >Best match: pytest-forked 0.2 >Adding pytest-forked 0.2 to easy-install.pth file > >Using /usr/lib/python2.7/site-packages >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-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/test/scripts >Installing py.test script to /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/test/scripts > >Using /usr/lib/python2.7/site-packages >Searching for execnet==1.4.1 >Best match: execnet 1.4.1 >Adding execnet 1.4.1 to easy-install.pth file > >Using /usr/lib/python2.7/site-packages >Searching for setuptools==36.7.2 >Best match: setuptools 36.7.2 >Adding setuptools 36.7.2 to easy-install.pth file >Installing easy_install script to /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2-python2_7/test/scripts > >Using /usr/lib/python2.7/site-packages >Searching for py==1.4.34 >Best match: py 1.4.34 >Adding py 1.4.34 to easy-install.pth file > >Using /usr/lib/python2.7/site-packages >Searching for apipkg==1.4 >Best match: apipkg 1.4 >Adding apipkg 1.4 to easy-install.pth file > >Using /usr/lib/python2.7/site-packages >Finished processing dependencies for pytest-xdist==1.23.2 >======================================================================================================================= test session starts ======================================================================================================================== >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 -- /usr/bin/python2.7 >cachedir: .cache >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2, inifile: tox.ini >plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0 >collecting ... collected 136 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 PASSED >testing/acceptance_test.py::TestDistribution::test_n2_import_error FAILED >testing/acceptance_test.py::TestDistribution::test_n1_skip PASSED >testing/acceptance_test.py::TestDistribution::test_manytests_to_one_import_error PASSED >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_backward_compatibility_worker_terminology 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 SKIPPED >testing/acceptance_test.py::TestDistribution::test_dist_with_collectonly 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::TestTerminalReporting::test_warnings[pytest--n0] FAILED >testing/acceptance_test.py::TestTerminalReporting::test_warnings[pytest--n1] FAILED >testing/acceptance_test.py::TestTerminalReporting::test_warnings[builtin--n0] FAILED >testing/acceptance_test.py::TestTerminalReporting::test_warnings[builtin--n1] FAILED >testing/acceptance_test.py::TestTerminalReporting::test_custom_subclass[-n0] FAILED >testing/acceptance_test.py::TestTerminalReporting::test_custom_subclass[-n1] FAILED >testing/acceptance_test.py::TestTerminalReporting::test_logfinish_hook SKIPPED >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[setup] PASSED >testing/acceptance_test.py::test_crashing_item[call] PASSED >testing/acceptance_test.py::test_crashing_item[teardown] PASSED >testing/acceptance_test.py::test_multiple_log_reports 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_worker_restart PASSED >testing/acceptance_test.py::TestNodeFailure::test_max_worker_restart_die 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_error_report_styles[auto] PASSED >testing/acceptance_test.py::test_error_report_styles[long] PASSED >testing/acceptance_test.py::test_error_report_styles[short] PASSED >testing/acceptance_test.py::test_error_report_styles[no] PASSED >testing/acceptance_test.py::test_error_report_styles[line] PASSED >testing/acceptance_test.py::test_error_report_styles[native] PASSED >testing/acceptance_test.py::test_color_yes_collection_on_non_atty PASSED >testing/acceptance_test.py::test_internal_error_with_maxfail PASSED >testing/acceptance_test.py::TestLoadScope::test_by_module PASSED >testing/acceptance_test.py::TestLoadScope::test_by_class PASSED >testing/acceptance_test.py::TestLoadScope::test_module_single_start PASSED >testing/acceptance_test.py::TestFileScope::test_by_module PASSED >testing/acceptance_test.py::TestFileScope::test_by_class PASSED >testing/acceptance_test.py::TestFileScope::test_module_single_start 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_schedule_batch_size PASSED >testing/test_dsession.py::TestLoadScheduling::test_schedule_fewer_tests_than_nodes PASSED >testing/test_dsession.py::TestLoadScheduling::test_schedule_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 xfail >testing/test_looponfail.py::TestLooponFailing::test_looponfail_multiple_errors PASSED >testing/test_looponfail.py::TestFunctional::test_fail_to_ok SKIPPED >testing/test_looponfail.py::TestFunctional::test_xfail_passes SKIPPED >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::test_boxed_with_collect_only PASSED >testing/test_plugin.py::test_dsession_with_collect_only 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_xdist_longrepr_to_str_issue_241 FAILED >testing/test_remote.py::TestReportSerialization::test_xdist_report_longrepr_reprcrash_130 PASSED >testing/test_remote.py::TestReportSerialization::test_reprentries_serialization_170 PASSED >testing/test_remote.py::TestReportSerialization::test_reprentries_serialization_196 PASSED >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::TestWorkerInteractor::test_basic_collect_and_runtests FAILED >testing/test_remote.py::TestWorkerInteractor::test_remote_collect_skip SKIPPED >testing/test_remote.py::TestWorkerInteractor::test_remote_collect_fail PASSED >testing/test_remote.py::TestWorkerInteractor::test_runtests_all FAILED >testing/test_remote.py::TestWorkerInteractor::test_happy_run_events_converted xfail >testing/test_remote.py::TestWorkerInteractor::test_process_from_remote_error_handling PASSED >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:295: skip at module level illegal in pytest 3.0 >SKIP [3] /usr/lib/python2.7/site-packages/_pytest/pytester.py:1039: could not import 'pexpect' >SKIP [1] /usr/lib/python2.7/site-packages/_pytest/config.py:1238: no 'gspecs' option found >SKIP [1] /var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2/testing/acceptance_test.py:467: test requires pytest_runtest_logfinish hook in pytest (3.4+) >FAIL testing/acceptance_test.py::TestDistribution::()::test_n2_import_error >FAIL testing/acceptance_test.py::TestTerminalReporting::()::test_warnings[pytest--n0] >FAIL testing/acceptance_test.py::TestTerminalReporting::()::test_warnings[pytest--n1] >FAIL testing/acceptance_test.py::TestTerminalReporting::()::test_warnings[builtin--n0] >FAIL testing/acceptance_test.py::TestTerminalReporting::()::test_warnings[builtin--n1] >FAIL testing/acceptance_test.py::TestTerminalReporting::()::test_custom_subclass[-n0] >FAIL testing/acceptance_test.py::TestTerminalReporting::()::test_custom_subclass[-n1] >FAIL testing/acceptance_test.py::test_worker_id_fixture[0] >FAIL testing/acceptance_test.py::test_worker_id_fixture[2] >FAIL testing/test_remote.py::TestReportSerialization::()::test_xdist_longrepr_to_str_issue_241 >FAIL testing/test_remote.py::TestWorkerInteractor::()::test_basic_collect_and_runtests >FAIL testing/test_remote.py::TestWorkerInteractor::()::test_runtests_all >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_dsession.py::TestDistReporter::()::test_rsync_printing >XFAIL testing/test_dsession.py::test_pytest_issue419 > duplicate test ids not supported yet >XFAIL testing/test_looponfail.py::TestLooponFailing::()::test_looponfail_removed_test > broken by pytest 3.1+ >XFAIL testing/test_remote.py::test_remoteinitconfig > #59 >XFAIL testing/test_remote.py::TestWorkerInteractor::()::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_n2_import_error _______________________________________________________________________________________________________________ > >self = <acceptance_test.TestDistribution instance at 0xf6511dc8>, testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_n2_import_error0')> > > def test_n2_import_error(self, testdir): > """Check that we don't report the same import error multiple times > in distributed mode.""" > p1 = testdir.makepyfile( > """ > import __import_of_missing_module > def test_import(): > pass > """ > ) > result1 = testdir.runpytest(p1, "-n2") > result2 = testdir.runpytest(p1, "-n1") >> assert len(result1.stdout.lines) == len(result2.stdout.lines) >E AssertionError: assert 34 == 31 >E + where 34 = len(['====================================================================================================================...ins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0', 'gw0 I / gw1 I', 'gw0 [0] / gw1 [0]', ...]) >E + where ['====================================================================================================================...ins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0', 'gw0 I / gw1 I', 'gw0 [0] / gw1 [0]', ...] = <_pytest.pytester.LineMatcher instance at 0xf6475dc8>.lines >E + where <_pytest.pytester.LineMatcher instance at 0xf6475dc8> = <_pytest.pytester.RunResult instance at 0xf6475da0>.stdout >E + and 31 = len(['====================================================================================================================..., inifile:', 'plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0', 'gw0 I', 'gw0 [0]', ...]) >E + where ['====================================================================================================================..., inifile:', 'plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0', 'gw0 I', 'gw0 [0]', ...] = <_pytest.pytester.LineMatcher instance at 0xf63e4940>.lines >E + where <_pytest.pytester.LineMatcher instance at 0xf63e4940> = <_pytest.pytester.RunResult instance at 0xf63e4918>.stdout > >../../../../../work/pytest-xdist-1.23.2/testing/acceptance_test.py:58: AssertionError >----------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------- >======================================================================================================================= test session starts ======================================================================================================================== >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_n2_import_error0, inifile: >plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0 >gw0 I / gw1 I >gw0 [0] / gw1 [0] > >scheduling tests via LoadScheduling > >============================================================================================================================== ERRORS ============================================================================================================================== >_____________________________________________________________________________________________________________ ERROR collecting test_n2_import_error.py _____________________________________________________________________________________________________________ >ImportError while importing test module '/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_n2_import_error0/test_n2_import_error.py'. >Hint: make sure your test modules/packages have valid Python names. >Traceback: >test_n2_import_error.py:1: in <module> > import __import_of_missing_module >E ImportError: No module named __import_of_missing_module >========================================================================================================================= warnings summary ========================================================================================================================= >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >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. > 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. > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > 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. > 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. > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > 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. > 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. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >=============================================================================================================== 9 warnings, 1 error in 6.69 seconds ================================================================================================================ >======================================================================================================================= test session starts ======================================================================================================================== >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_n2_import_error0, inifile: >plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0 >gw0 I >gw0 [0] > >scheduling tests via LoadScheduling > >============================================================================================================================== ERRORS ============================================================================================================================== >_____________________________________________________________________________________________________________ ERROR collecting test_n2_import_error.py _____________________________________________________________________________________________________________ >ImportError while importing test module '/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_n2_import_error0/test_n2_import_error.py'. >Hint: make sure your test modules/packages have valid Python names. >Traceback: >test_n2_import_error.py:1: in <module> > import __import_of_missing_module >E ImportError: No module named __import_of_missing_module >========================================================================================================================= warnings summary ========================================================================================================================= >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >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. > 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. > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > 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. > 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. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >=============================================================================================================== 6 warnings, 1 error in 7.14 seconds ================================================================================================================ >_________________________________________________________________________________________________________ TestTerminalReporting.test_warnings[pytest--n0] __________________________________________________________________________________________________________ > >self = <acceptance_test.TestTerminalReporting instance at 0xf5dddfa8>, testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings0')>, n = '-n0', warn_type = 'pytest' > > @pytest.mark.parametrize("n", ["-n0", "-n1"]) > @pytest.mark.parametrize("warn_type", ["pytest", "builtin"]) > def test_warnings(self, testdir, n, warn_type): > from pkg_resources import parse_version > > if parse_version(pytest.__version__) < parse_version("3.1"): > pytest.skip("pytest warnings requires >= 3.1") > > if warn_type == "builtin": > warn_code = """warnings.warn(UserWarning('this is a warning'))""" > elif warn_type == "pytest": > warn_code = """request.config.warn('', 'this is a warning', > fslocation=py.path.local())""" > else: > assert False > testdir.makepyfile( > """ > import warnings, py, pytest > > @pytest.mark.filterwarnings('ignore:config.warn has been deprecated') > def test_func(request): > {warn_code} > """.format( > warn_code=warn_code > ) > ) > result = testdir.runpytest(n) >> result.stdout.fnmatch_lines(["*this is a warning*", "*1 passed, 1 warnings*"]) >E Failed: nomatch: '*this is a warning*' >E and: u'======================================================================================================================= test session starts ========================================================================================================================' >E and: u'platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings0, inifile:' >E and: u'plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0' >E and: u'collected 1 item' >E and: u'' >E and: u'test_warnings.py .' >E and: u'' >E and: u'========================================================================================================================= warnings summary =========================================================================================================================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' 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' 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'' >E and: u'/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings0' >E fnmatch: '*this is a warning*' >E with: u' this is a warning' >E nomatch: '*1 passed, 1 warnings*' >E and: u'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'=============================================================================================================== 1 passed, 4 warnings in 0.06 seconds ===============================================================================================================' >E and: u'' >E remains unmatched: '*1 passed, 1 warnings*' > >../../../../../work/pytest-xdist-1.23.2/testing/acceptance_test.py:430: Failed >----------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------- >======================================================================================================================= test session starts ======================================================================================================================== >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings0, inifile: >plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0 >collected 1 item > >test_warnings.py . > >========================================================================================================================= warnings summary ========================================================================================================================= >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >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. > 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. > >/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings0 > this is a warning > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >=============================================================================================================== 1 passed, 4 warnings in 0.06 seconds =============================================================================================================== >_________________________________________________________________________________________________________ TestTerminalReporting.test_warnings[pytest--n1] __________________________________________________________________________________________________________ > >self = <acceptance_test.TestTerminalReporting instance at 0xf5d9b1c0>, testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings1')>, n = '-n1', warn_type = 'pytest' > > @pytest.mark.parametrize("n", ["-n0", "-n1"]) > @pytest.mark.parametrize("warn_type", ["pytest", "builtin"]) > def test_warnings(self, testdir, n, warn_type): > from pkg_resources import parse_version > > if parse_version(pytest.__version__) < parse_version("3.1"): > pytest.skip("pytest warnings requires >= 3.1") > > if warn_type == "builtin": > warn_code = """warnings.warn(UserWarning('this is a warning'))""" > elif warn_type == "pytest": > warn_code = """request.config.warn('', 'this is a warning', > fslocation=py.path.local())""" > else: > assert False > testdir.makepyfile( > """ > import warnings, py, pytest > > @pytest.mark.filterwarnings('ignore:config.warn has been deprecated') > def test_func(request): > {warn_code} > """.format( > warn_code=warn_code > ) > ) > result = testdir.runpytest(n) >> result.stdout.fnmatch_lines(["*this is a warning*", "*1 passed, 1 warnings*"]) >E Failed: nomatch: '*this is a warning*' >E and: u'======================================================================================================================= test session starts ========================================================================================================================' >E and: u'platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings1, inifile:' >E and: u'plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0' >E and: u'gw0 I' >E and: u'gw0 [1]' >E and: u'' >E and: u'scheduling tests via LoadScheduling' >E and: u'.' >E and: u'========================================================================================================================= warnings summary =========================================================================================================================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' 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' 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" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u' 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' 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 fnmatch: '*this is a warning*' >E with: u' this is a warning' >E nomatch: '*1 passed, 1 warnings*' >E and: u'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'=============================================================================================================== 1 passed, 7 warnings in 5.52 seconds ===============================================================================================================' >E and: u'' >E remains unmatched: '*1 passed, 1 warnings*' > >../../../../../work/pytest-xdist-1.23.2/testing/acceptance_test.py:430: Failed >----------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------- >======================================================================================================================= test session starts ======================================================================================================================== >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings1, inifile: >plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0 >gw0 I >gw0 [1] > >scheduling tests via LoadScheduling >. >========================================================================================================================= warnings summary ========================================================================================================================= >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >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. > 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. > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > 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. > 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. > this is a warning > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >=============================================================================================================== 1 passed, 7 warnings in 5.52 seconds =============================================================================================================== >_________________________________________________________________________________________________________ TestTerminalReporting.test_warnings[builtin--n0] _________________________________________________________________________________________________________ > >self = <acceptance_test.TestTerminalReporting instance at 0xf5d1f080>, testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings2')>, n = '-n0', warn_type = 'builtin' > > @pytest.mark.parametrize("n", ["-n0", "-n1"]) > @pytest.mark.parametrize("warn_type", ["pytest", "builtin"]) > def test_warnings(self, testdir, n, warn_type): > from pkg_resources import parse_version > > if parse_version(pytest.__version__) < parse_version("3.1"): > pytest.skip("pytest warnings requires >= 3.1") > > if warn_type == "builtin": > warn_code = """warnings.warn(UserWarning('this is a warning'))""" > elif warn_type == "pytest": > warn_code = """request.config.warn('', 'this is a warning', > fslocation=py.path.local())""" > else: > assert False > testdir.makepyfile( > """ > import warnings, py, pytest > > @pytest.mark.filterwarnings('ignore:config.warn has been deprecated') > def test_func(request): > {warn_code} > """.format( > warn_code=warn_code > ) > ) > result = testdir.runpytest(n) >> result.stdout.fnmatch_lines(["*this is a warning*", "*1 passed, 1 warnings*"]) >E Failed: nomatch: '*this is a warning*' >E and: u'======================================================================================================================= test session starts ========================================================================================================================' >E and: u'platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings2, inifile:' >E and: u'plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0' >E and: u'collected 1 item' >E and: u'' >E and: u'test_warnings.py .' >E and: u'' >E and: u'========================================================================================================================= warnings summary =========================================================================================================================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' 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' 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'' >E and: u'test_warnings.py::test_func' >E fnmatch: '*this is a warning*' >E with: u' /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings2/test_warnings.py:5: UserWarning: this is a warning' >E nomatch: '*1 passed, 1 warnings*' >E and: u" warnings.warn(UserWarning('this is a warning'))" >E and: u'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'=============================================================================================================== 1 passed, 4 warnings in 0.05 seconds ===============================================================================================================' >E and: u'' >E remains unmatched: '*1 passed, 1 warnings*' > >../../../../../work/pytest-xdist-1.23.2/testing/acceptance_test.py:430: Failed >----------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------- >======================================================================================================================= test session starts ======================================================================================================================== >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings2, inifile: >plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0 >collected 1 item > >test_warnings.py . > >========================================================================================================================= warnings summary ========================================================================================================================= >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >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. > 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. > >test_warnings.py::test_func > /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings2/test_warnings.py:5: UserWarning: this is a warning > warnings.warn(UserWarning('this is a warning')) > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >=============================================================================================================== 1 passed, 4 warnings in 0.05 seconds =============================================================================================================== >_________________________________________________________________________________________________________ TestTerminalReporting.test_warnings[builtin--n1] _________________________________________________________________________________________________________ > >self = <acceptance_test.TestTerminalReporting instance at 0xf5ced0f8>, testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings3')>, n = '-n1', warn_type = 'builtin' > > @pytest.mark.parametrize("n", ["-n0", "-n1"]) > @pytest.mark.parametrize("warn_type", ["pytest", "builtin"]) > def test_warnings(self, testdir, n, warn_type): > from pkg_resources import parse_version > > if parse_version(pytest.__version__) < parse_version("3.1"): > pytest.skip("pytest warnings requires >= 3.1") > > if warn_type == "builtin": > warn_code = """warnings.warn(UserWarning('this is a warning'))""" > elif warn_type == "pytest": > warn_code = """request.config.warn('', 'this is a warning', > fslocation=py.path.local())""" > else: > assert False > testdir.makepyfile( > """ > import warnings, py, pytest > > @pytest.mark.filterwarnings('ignore:config.warn has been deprecated') > def test_func(request): > {warn_code} > """.format( > warn_code=warn_code > ) > ) > result = testdir.runpytest(n) >> result.stdout.fnmatch_lines(["*this is a warning*", "*1 passed, 1 warnings*"]) >E Failed: nomatch: '*this is a warning*' >E and: u'======================================================================================================================= test session starts ========================================================================================================================' >E and: u'platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings3, inifile:' >E and: u'plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0' >E and: u'gw0 I' >E and: u'gw0 [1]' >E and: u'' >E and: u'scheduling tests via LoadScheduling' >E and: u'.' >E and: u'========================================================================================================================= warnings summary =========================================================================================================================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' 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' 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" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u' 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' 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'' >E and: u'test_warnings.py::test_func' >E fnmatch: '*this is a warning*' >E with: u' /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings3/test_warnings.py:5: UserWarning: this is a warning' >E nomatch: '*1 passed, 1 warnings*' >E and: u" warnings.warn(UserWarning('this is a warning'))" >E and: u'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'=============================================================================================================== 1 passed, 7 warnings in 5.49 seconds ===============================================================================================================' >E and: u'' >E remains unmatched: '*1 passed, 1 warnings*' > >../../../../../work/pytest-xdist-1.23.2/testing/acceptance_test.py:430: Failed >----------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------- >======================================================================================================================= test session starts ======================================================================================================================== >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings3, inifile: >plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0 >gw0 I >gw0 [1] > >scheduling tests via LoadScheduling >. >========================================================================================================================= warnings summary ========================================================================================================================= >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >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. > 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. > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > 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. > 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. > >test_warnings.py::test_func > /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_warnings3/test_warnings.py:5: UserWarning: this is a warning > warnings.warn(UserWarning('this is a warning')) > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >=============================================================================================================== 1 passed, 7 warnings in 5.49 seconds =============================================================================================================== >_________________________________________________________________________________________________________ TestTerminalReporting.test_custom_subclass[-n0] __________________________________________________________________________________________________________ > >self = <acceptance_test.TestTerminalReporting instance at 0xf5d67148>, testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_custom_subclass0')>, n = '-n0' > > @pytest.mark.parametrize("n", ["-n0", "-n1"]) > def test_custom_subclass(self, testdir, n): > """Check that warning subclasses that don't honor the args attribute don't break > pytest-xdist (#344) > """ > from pkg_resources import parse_version > > if parse_version(pytest.__version__) < parse_version("3.1"): > pytest.skip("pytest warnings requires >= 3.1") > > testdir.makepyfile( > """ > import warnings, py, pytest > > class MyWarning(UserWarning): > > def __init__(self, p1, p2): > self.p1 = p1 > self.p2 = p2 > self.args = () > > def test_func(request): > warnings.warn(MyWarning("foo", 1)) > """ > ) > testdir.syspathinsert() > result = testdir.runpytest(n) >> result.stdout.fnmatch_lines(["*MyWarning*", "*1 passed, 1 warnings*"]) >E Failed: nomatch: '*MyWarning*' >E and: u'======================================================================================================================= test session starts ========================================================================================================================' >E and: u'platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_custom_subclass0, inifile:' >E and: u'plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0' >E and: u'collected 1 item' >E and: u'' >E and: u'test_custom_subclass.py .' >E and: u'' >E and: u'========================================================================================================================= warnings summary =========================================================================================================================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' 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' 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'' >E and: u'test_custom_subclass.py::test_func' >E fnmatch: '*MyWarning*' >E with: u' /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_custom_subclass0/test_custom_subclass.py:11: MyWarning: ' >E nomatch: '*1 passed, 1 warnings*' >E and: u' warnings.warn(MyWarning("foo", 1))' >E and: u'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'=============================================================================================================== 1 passed, 4 warnings in 0.06 seconds ===============================================================================================================' >E and: u'' >E remains unmatched: '*1 passed, 1 warnings*' > >../../../../../work/pytest-xdist-1.23.2/testing/acceptance_test.py:459: Failed >----------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------- >======================================================================================================================= test session starts ======================================================================================================================== >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_custom_subclass0, inifile: >plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0 >collected 1 item > >test_custom_subclass.py . > >========================================================================================================================= warnings summary ========================================================================================================================= >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >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. > 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. > >test_custom_subclass.py::test_func > /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_custom_subclass0/test_custom_subclass.py:11: MyWarning: > warnings.warn(MyWarning("foo", 1)) > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >=============================================================================================================== 1 passed, 4 warnings in 0.06 seconds =============================================================================================================== >_________________________________________________________________________________________________________ TestTerminalReporting.test_custom_subclass[-n1] __________________________________________________________________________________________________________ > >self = <acceptance_test.TestTerminalReporting instance at 0xf5c42a30>, testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_custom_subclass1')>, n = '-n1' > > @pytest.mark.parametrize("n", ["-n0", "-n1"]) > def test_custom_subclass(self, testdir, n): > """Check that warning subclasses that don't honor the args attribute don't break > pytest-xdist (#344) > """ > from pkg_resources import parse_version > > if parse_version(pytest.__version__) < parse_version("3.1"): > pytest.skip("pytest warnings requires >= 3.1") > > testdir.makepyfile( > """ > import warnings, py, pytest > > class MyWarning(UserWarning): > > def __init__(self, p1, p2): > self.p1 = p1 > self.p2 = p2 > self.args = () > > def test_func(request): > warnings.warn(MyWarning("foo", 1)) > """ > ) > testdir.syspathinsert() > result = testdir.runpytest(n) >> result.stdout.fnmatch_lines(["*MyWarning*", "*1 passed, 1 warnings*"]) >E Failed: nomatch: '*MyWarning*' >E and: u'======================================================================================================================= test session starts ========================================================================================================================' >E and: u'platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_custom_subclass1, inifile:' >E and: u'plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0' >E and: u'gw0 I' >E and: u'gw0 [1]' >E and: u'' >E and: u'scheduling tests via LoadScheduling' >E and: u'.' >E and: u'========================================================================================================================= warnings summary =========================================================================================================================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' 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' 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" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u' 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' 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'' >E and: u'test_custom_subclass.py::test_func' >E fnmatch: '*MyWarning*' >E with: u' /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_custom_subclass1/test_custom_subclass.py:11: MyWarning: ' >E nomatch: '*1 passed, 1 warnings*' >E and: u' warnings.warn(MyWarning("foo", 1))' >E and: u'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'=============================================================================================================== 1 passed, 7 warnings in 5.47 seconds ===============================================================================================================' >E and: u'' >E remains unmatched: '*1 passed, 1 warnings*' > >../../../../../work/pytest-xdist-1.23.2/testing/acceptance_test.py:459: Failed >----------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------- >======================================================================================================================= test session starts ======================================================================================================================== >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_custom_subclass1, inifile: >plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0 >gw0 I >gw0 [1] > >scheduling tests via LoadScheduling >. >========================================================================================================================= warnings summary ========================================================================================================================= >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >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. > 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. > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > 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. > 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. > >test_custom_subclass.py::test_func > /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_custom_subclass1/test_custom_subclass.py:11: MyWarning: > warnings.warn(MyWarning("foo", 1)) > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >=============================================================================================================== 1 passed, 7 warnings in 5.47 seconds =============================================================================================================== >____________________________________________________________________________________________________________________ test_worker_id_fixture[0] _____________________________________________________________________________________________________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.23.2/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.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_worker_id_fixture0, inifile:' >E and: u'plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0' >E and: u'collected 2 items' >E and: u'' >E and: u'test_worker_id_fixture.py ..' >E and: u'' >E and: u'========================================================================================================================= warnings summary =========================================================================================================================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' 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' 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'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'=============================================================================================================== 2 passed, 3 warnings in 0.07 seconds ===============================================================================================================' >E and: u'' >E remains unmatched: '* 2 passed in *' > >../../../../../work/pytest-xdist-1.23.2/testing/acceptance_test.py:906: Failed >----------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------- >======================================================================================================================= test session starts ======================================================================================================================== >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_worker_id_fixture0, inifile: >plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0 >collected 2 items > >test_worker_id_fixture.py .. > >========================================================================================================================= warnings summary ========================================================================================================================= >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >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. > 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. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >=============================================================================================================== 2 passed, 3 warnings in 0.07 seconds =============================================================================================================== >____________________________________________________________________________________________________________________ test_worker_id_fixture[2] _____________________________________________________________________________________________________________________ > >testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.23.2/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.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_worker_id_fixture1, inifile:' >E and: u'plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0' >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'========================================================================================================================= warnings summary =========================================================================================================================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' 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' 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" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u' 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' 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" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u' 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' 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'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'=============================================================================================================== 2 passed, 9 warnings in 6.50 seconds ===============================================================================================================' >E and: u'' >E remains unmatched: '* 2 passed in *' > >../../../../../work/pytest-xdist-1.23.2/testing/acceptance_test.py:906: Failed >----------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------- >======================================================================================================================= test session starts ======================================================================================================================== >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_worker_id_fixture1, inifile: >plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0 >gw0 I / gw1 I >gw0 [2] / gw1 [2] > >scheduling tests via LoadScheduling >.. >========================================================================================================================= warnings summary ========================================================================================================================= >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >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. > 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. > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > 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. > 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. > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > 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. > 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. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >=============================================================================================================== 2 passed, 9 warnings in 6.50 seconds =============================================================================================================== >___________________________________________________________________________________________________ TestReportSerialization.test_xdist_longrepr_to_str_issue_241 ___________________________________________________________________________________________________ > >self = <test_remote.TestReportSerialization instance at 0xf34a59b8>, testdir = <Testdir local('/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_xdist_longrepr_to_str_issue_2410')> > > def test_xdist_longrepr_to_str_issue_241(self, testdir): > testdir.makepyfile( > """ > import os > def test_a(): assert False > def test_b(): pass > """ > ) > testdir.makeconftest( > """ > def pytest_runtest_logreport(report): > print(report.longrepr) > """ > ) > res = testdir.runpytest("-n1", "-s") >> res.stdout.fnmatch_lines(["*1 failed, 1 passed *"]) >E Failed: nomatch: '*1 failed, 1 passed *' >E and: u'======================================================================================================================= test session starts ========================================================================================================================' >E and: u'platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0' >E and: u'rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_xdist_longrepr_to_str_issue_2410, inifile:' >E and: u'plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0' >E and: u'gw0 I' >E and: u'gw0 [2]' >E and: u'' >E and: u'scheduling tests via LoadScheduling' >E and: u'None' >E and: u'F> def test_a(): assert False' >E and: u'E assert False' >E and: u'' >E and: u'test_xdist_longrepr_to_str_issue_241.py:2: AssertionError' >E and: u'None' >E and: u'None' >E and: u'.None' >E and: u'None' >E and: u'' >E and: u'============================================================================================================================= FAILURES =============================================================================================================================' >E and: u'______________________________________________________________________________________________________________________________ test_a ______________________________________________________________________________________________________________________________' >E and: u'[gw0] linux2 -- Python 2.7.15 /usr/bin/python2.7' >E and: u'' >E and: u'> def test_a(): assert False' >E and: u'E assert False' >E and: u'' >E and: u'test_xdist_longrepr_to_str_issue_241.py:2: AssertionError' >E and: u'========================================================================================================================= warnings summary =========================================================================================================================' >E and: u':171' >E and: u" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u'' >E and: u'None' >E and: u' 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' 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" 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument" >E and: u' 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' 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'' >E and: u'-- Docs: http://doc.pytest.org/en/latest/warnings.html' >E and: u'========================================================================================================== 1 failed, 1 passed, 6 warnings in 5.74 seconds ==========================================================================================================' >E and: u'' >E remains unmatched: '*1 failed, 1 passed *' > >../../../../../work/pytest-xdist-1.23.2/testing/test_remote.py:98: Failed >----------------------------------------------------------------------------------------------------------------------- Captured stdout call ----------------------------------------------------------------------------------------------------------------------- >======================================================================================================================= test session starts ======================================================================================================================== >platform linux2 -- Python 2.7.15, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 >rootdir: /var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/pytest-of-portage/pytest-0/testdir/test_xdist_longrepr_to_str_issue_2410, inifile: >plugins: xdist-1.23.2, forked-0.2, cov-2.3.1, capturelog-0.7, hypothesis-3.6.0 >gw0 I >gw0 [2] > >scheduling tests via LoadScheduling >None >F> def test_a(): assert False >E assert False > >test_xdist_longrepr_to_str_issue_241.py:2: AssertionError >None >None >.None >None > >============================================================================================================================= FAILURES ============================================================================================================================= >______________________________________________________________________________________________________________________________ test_a ______________________________________________________________________________________________________________________________ >[gw0] linux2 -- Python 2.7.15 /usr/bin/python2.7 > >> def test_a(): assert False >E assert False > >test_xdist_longrepr_to_str_issue_241.py:2: AssertionError >========================================================================================================================= warnings summary ========================================================================================================================= >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >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. > 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. > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > 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. > 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. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >========================================================================================================== 1 failed, 1 passed, 6 warnings in 5.74 seconds ========================================================================================================== >_______________________________________________________________________________________________________ TestWorkerInteractor.test_basic_collect_and_runtests _______________________________________________________________________________________________________ > >self = <test_remote.TestWorkerInteractor instance at 0xf45bbe68>, worker = <test_remote.WorkerSetup instance at 0xf45bb378> > > def test_basic_collect_and_runtests(self, worker): > worker.testdir.makepyfile( > """ > def test_func(): > pass > """ > ) > worker.setup() > ev = worker.popevent() >> assert ev.name == "workerready" >E AssertionError: assert 'logwarning' == 'workerready' >E - logwarning >E + workerready > >../../../../../work/pytest-xdist-1.23.2/testing/test_remote.py:272: AssertionError >______________________________________________________________________________________________________________ TestWorkerInteractor.test_runtests_all ______________________________________________________________________________________________________________ > >self = <test_remote.TestWorkerInteractor instance at 0xf48d68c8>, worker = <test_remote.WorkerSetup instance at 0xf48d6030> > > def test_runtests_all(self, worker): > worker.testdir.makepyfile( > """ > def test_func(): pass > def test_func2(): pass > """ > ) > worker.setup() > ev = worker.popevent() >> assert ev.name == "workerready" >E AssertionError: assert 'logwarning' == 'workerready' >E - logwarning >E + workerready > >../../../../../work/pytest-xdist-1.23.2/testing/test_remote.py:338: AssertionError >========================================================================================================================= warnings summary ========================================================================================================================= >:171 > 'pytest_runtest_makereport' hook uses deprecated __multicall__ argument > >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. > 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. > >-- Docs: http://doc.pytest.org/en/latest/warnings.html >======================================================================================= 12 failed, 108 passed, 6 skipped, 9 xfailed, 1 xpassed, 3 warnings in 649.87 seconds ======================================================================================= > [31;01m*[0m ERROR: dev-python/pytest-xdist-1.23.2::gentoo failed (test phase): > [31;01m*[0m Tests failed under python2.7 > [31;01m*[0m > [31;01m*[0m Call stack: > [31;01m*[0m ebuild.sh, line 124: Called src_test > [31;01m*[0m environment, line 2723: Called distutils-r1_src_test > [31;01m*[0m environment, line 973: Called _distutils-r1_run_foreach_impl 'python_test' > [31;01m*[0m environment, line 424: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 2255: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 1627: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 1625: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' > [31;01m*[0m environment, line 636: Called distutils-r1_run_phase 'python_test' > [31;01m*[0m environment, line 904: Called python_test > [31;01m*[0m environment, line 2625: Called die > [31;01m*[0m The specific snippet of code: > [31;01m*[0m pytest -vv testing || die "Tests failed under ${EPYTHON}" > [31;01m*[0m > [31;01m*[0m If you need support, post the output of `emerge --info '=dev-python/pytest-xdist-1.23.2::gentoo'`, > [31;01m*[0m the complete build log and the output of `emerge -pqv '=dev-python/pytest-xdist-1.23.2::gentoo'`. > [31;01m*[0m The complete build log is located at '/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/build.log'. > [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-python/pytest-xdist-1.23.2/temp/environment'. > [31;01m*[0m Working directory: '/var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.2' > [31;01m*[0m S: '/var/tmp/portage/dev-python/pytest-xdist-1.23.2/work/pytest-xdist-1.23.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 668724
: 551340