running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py copying src/xdist/_version.py -> build/lib/xdist running install_lib creating /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install creating /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr creating /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib creating /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10 creating /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages creating /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist copying build/lib/xdist/_version.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist creating /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/scheduler copying build/lib/xdist/scheduler/__init__.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/scheduler copying build/lib/xdist/scheduler/each.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/scheduler copying build/lib/xdist/scheduler/load.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/scheduler copying build/lib/xdist/scheduler/loadfile.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/scheduler copying build/lib/xdist/scheduler/loadscope.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/scheduler copying build/lib/xdist/__init__.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist copying build/lib/xdist/dsession.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist copying build/lib/xdist/looponfail.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist copying build/lib/xdist/newhooks.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist copying build/lib/xdist/plugin.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist copying build/lib/xdist/remote.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist copying build/lib/xdist/report.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist copying build/lib/xdist/workermanage.py -> /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/_version.py to _version.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/scheduler/__init__.py to __init__.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/scheduler/each.py to each.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/scheduler/load.py to load.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/scheduler/loadfile.py to loadfile.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/scheduler/loadscope.py to loadscope.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/__init__.py to __init__.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/dsession.py to dsession.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/looponfail.py to looponfail.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/newhooks.py to newhooks.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/plugin.py to plugin.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/remote.py to remote.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/report.py to report.cpython-310.pyc byte-compiling /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/xdist/workermanage.py to workermanage.cpython-310.pyc writing byte-compilation script '/tmp/tmpkh4ulr39.py' /usr/bin/python -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmpkh4ulr39.py removing /tmp/tmpkh4ulr39.py running install_egg_info running egg_info creating src/pytest_xdist.egg-info writing src/pytest_xdist.egg-info/PKG-INFO writing dependency_links to src/pytest_xdist.egg-info/dependency_links.txt writing entry points to src/pytest_xdist.egg-info/entry_points.txt writing requirements to src/pytest_xdist.egg-info/requires.txt writing top-level names to src/pytest_xdist.egg-info/top_level.txt writing manifest file 'src/pytest_xdist.egg-info/SOURCES.txt' reading manifest file 'src/pytest_xdist.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files found matching '.appveyor.yml' warning: no previously-included files found matching '.gitignore' warning: no previously-included files found matching '.pre-commit-config.yaml' warning: no previously-included files found matching '.travis.yml' no previously-included directories found matching '.github' adding license file 'LICENSE' writing manifest file 'src/pytest_xdist.egg-info/SOURCES.txt' Copying src/pytest_xdist.egg-info to /build/python-pytest-xdist/src/pytest-xdist-2.4.0/tmp_install/usr/lib/python3.10/site-packages/pytest_xdist-2.4.0-py3.10.egg-info running install_scripts ============================= test session starts ============================== platform linux -- Python 3.10.1, pytest-6.2.5, py-1.11.0, pluggy-0.13.1 rootdir: /build/python-pytest-xdist/src/pytest-xdist-2.4.0, configfile: tox.ini, testpaths: testing plugins: xdist-2.4.0 collected 164 items / 1 deselected / 163 selected testing/acceptance_test.py ..............s..x.......xx.................. [ 27%] ......x..................................... [ 54%] testing/test_dsession.py ........x...x [ 62%] testing/test_looponfail.py ...........x.ss [ 71%] testing/test_newhooks.py ... [ 73%] testing/test_plugin.py .....F........ [ 82%] testing/test_remote.py x....x...... [ 89%] testing/test_workermanage.py ........x.......s [100%] =================================== FAILURES =================================== _________________________ test_boxed_with_collect_only _________________________ testdir = def test_boxed_with_collect_only(testdir): from xdist.plugin import pytest_cmdline_main as check_options config = testdir.parseconfigure("-n1", "--boxed") check_options(config) assert config.option.forked config = testdir.parseconfigure("-n1", "--collect-only") check_options(config) > assert not config.option.forked E AttributeError: 'Namespace' object has no attribute 'forked' /build/python-pytest-xdist/src/pytest-xdist-2.4.0/testing/test_plugin.py:128: AttributeError =============================== warnings summary =============================== ../../../../usr/lib/python3.10/site-packages/packaging/version.py:111: 160 warnings /usr/lib/python3.10/site-packages/packaging/version.py:111: DeprecationWarning: Creating a LegacyVersion has been deprecated and will be removed in the next major release warnings.warn( -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ SKIPPED [3] ../../../../usr/lib/python3.10/site-packages/_pytest/pytester.py:1458: could not import 'pexpect': No module named 'pexpect' SKIPPED [1] ../../../../usr/lib/python3.10/site-packages/_pytest/config/__init__.py:1473: no 'gspecs' option found 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/acceptance_test.py::TestNodeFailure::test_each_multiple #20: xdist race condition on node restart 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_workermanage.py::TestNodeManager::test_rsync_roots_no_roots reason: [NOTRUN] FAILED testing/test_plugin.py::test_boxed_with_collect_only - AttributeError:... = 1 failed, 148 passed, 4 skipped, 1 deselected, 10 xfailed, 160 warnings in 344.38s (0:05:44) = /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3399 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3409 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3414 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3419 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3424 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3429 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3434 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3439 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3449 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3454 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3459 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3444 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3464 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3469 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3474 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3404 is still running sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name='/dev/null' mode='r' encoding='UTF-8'> sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name="<_io.FileIO name=20 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> sys:1: ResourceWarning: unclosed file <_io.TextIOWrapper name="<_io.FileIO name=22 mode='rb+' closefd=True>" mode='r+' encoding='utf-8'> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3557 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3573 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3549 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3565 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3701 is still running /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 3581 is still running ==> ERROR: A failure occurred in check().  Aborting...