Your message dated Thu, 24 Mar 2022 01:03:49 +0000
with message-id <e1nxbtf-000emn...@fasolo.debian.org>
and subject line Bug#1006039: fixed in pytest-xdist 2.5.0-2
has caused the Debian Bug report #1006039,
regarding pytest-xdist: FTBFS: dh_auto_test: error: pybuild --test 
--test-pytest -i python{version} -p "3.10 3.9" returned exit code 13
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1006039: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1006039
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pytest-xdist
Version: 2.5.0-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
>  debian/rules binary
> dh binary --with python3 --buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_autoreconf -O--buildsystem=pybuild
>    dh_auto_configure -O--buildsystem=pybuild
> I: pybuild base:237: python3.10 setup.py config 
> running config
> I: pybuild base:237: python3.9 setup.py config 
> running config
>    dh_auto_build -O--buildsystem=pybuild
> I: pybuild base:237: /usr/bin/python3.10 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist
> copying src/xdist/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist
> copying src/xdist/workermanage.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist
> copying src/xdist/dsession.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist
> copying src/xdist/report.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist
> copying src/xdist/newhooks.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist
> copying src/xdist/looponfail.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist
> copying src/xdist/remote.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist
> copying src/xdist/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist
> copying src/xdist/plugin.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/scheduler
> copying src/xdist/scheduler/load.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/scheduler
> copying src/xdist/scheduler/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/scheduler
> copying src/xdist/scheduler/loadgroup.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/scheduler
> copying src/xdist/scheduler/each.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/scheduler
> copying src/xdist/scheduler/loadfile.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/scheduler
> copying src/xdist/scheduler/loadscope.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/scheduler
> I: pybuild base:237: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist
> copying src/xdist/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist
> copying src/xdist/workermanage.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist
> copying src/xdist/dsession.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist
> copying src/xdist/report.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist
> copying src/xdist/newhooks.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist
> copying src/xdist/looponfail.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist
> copying src/xdist/remote.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist
> copying src/xdist/_version.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist
> copying src/xdist/plugin.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist
> creating 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/scheduler
> copying src/xdist/scheduler/load.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/scheduler
> copying src/xdist/scheduler/__init__.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/scheduler
> copying src/xdist/scheduler/loadgroup.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/scheduler
> copying src/xdist/scheduler/each.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/scheduler
> copying src/xdist/scheduler/loadfile.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/scheduler
> copying src/xdist/scheduler/loadscope.py -> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/scheduler
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:237: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build; python3.10 -m 
> pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.2, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: tox.ini
> plugins: xdist-2.5.0, forked-1.4.0
> collected 167 items
> 
> testing/acceptance_test.py ..............s..x.......xx.................. [ 
> 26%]
> ......x.................F.......................                         [ 
> 55%]
> testing/test_dsession.py ........x...x                                   [ 
> 63%]
> testing/test_looponfail.py ...........x.ss                               [ 
> 72%]
> testing/test_newhooks.py ...                                             [ 
> 74%]
> testing/test_plugin.py ...s..........                                    [ 
> 82%]
> testing/test_remote.py x....x......                                      [ 
> 89%]
> testing/test_workermanage.py ........x.......s                           
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________ test_internal_errors_propagate_to_controller 
> _________________
> 
> pytester = <Pytester 
> PosixPath('/tmp/pytest-of-user42/pytest-0/test_internal_errors_propagate_to_controller0')>
> 
>     def test_internal_errors_propagate_to_controller(pytester: 
> pytest.Pytester) -> None:
>         pytester.makeconftest(
>             """
>             def pytest_collection_modifyitems():
>                 raise RuntimeError("Some runtime error")
>             """
>         )
>         pytester.makepyfile("def test(): pass")
>         result = pytester.runpytest("-n1")
> >       result.stdout.fnmatch_lines(["*RuntimeError: Some runtime error*"])
> E       Failed: nomatch: '*RuntimeError: Some runtime error*'
> E           and: '============================= test session starts 
> =============================='
> E           and: 'platform linux -- Python 3.10.2, pytest-6.2.5, py-1.10.0, 
> pluggy-0.13.0'
> E           and: 'rootdir: 
> /tmp/pytest-of-user42/pytest-0/test_internal_errors_propagate_to_controller0'
> E           and: 'plugins: xdist-2.5.0, forked-1.4.0'
> E           and: 'gw0 I'
> E           and: 'gw0 [1]'
> E           and: ''
> E           and: 'INTERNALERROR> Traceback (most recent call last):'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/_pytest/main.py", line 269, in wrap_session'
> E           and: 'INTERNALERROR>     session.exitstatus = doit(config, 
> session) or 0'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/_pytest/main.py", line 323, in _main'
> E           and: 'INTERNALERROR>     
> config.hook.pytest_runtestloop(session=session)'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286, in __call__'
> E           and: 'INTERNALERROR>     return self._hookexec(self, 
> self.get_hookimpls(), kwargs)'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92, in _hookexec'
> E           and: 'INTERNALERROR>     return self._inner_hookexec(hook, 
> methods, kwargs)'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/manager.py", line 335, in 
> traced_hookexec'
> E           and: 'INTERNALERROR>     return outcome.get_result()'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in get_result'
> E           and: 'INTERNALERROR>     raise ex[1].with_traceback(ex[2])'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/callers.py", line 52, in from_call'
> E           and: 'INTERNALERROR>     result = func()'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/manager.py", line 333, in <lambda>'
> E           and: 'INTERNALERROR>     outcome = _Result.from_call(lambda: 
> oldcall(hook, hook_impls, kwargs))'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83, in <lambda>'
> E           and: 'INTERNALERROR>     self._inner_hookexec = lambda hook, 
> methods, kwargs: hook.multicall('
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/callers.py", line 208, in _multicall'
> E           and: 'INTERNALERROR>     return outcome.get_result()'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in get_result'
> E           and: 'INTERNALERROR>     raise ex[1].with_traceback(ex[2])'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187, in _multicall'
> E           and: 'INTERNALERROR>     res = hook_impl.function(*args)'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/dsession.py",
>  line 117, in pytest_runtestloop'
> E           and: 'INTERNALERROR>     self.loop_once()'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/dsession.py",
>  line 140, in loop_once'
> E           and: 'INTERNALERROR>     call(**kwargs)'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/dsession.py",
>  line 262, in worker_collectionfinish'
> E           and: 'INTERNALERROR>     self.sched.schedule()'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/scheduler/load.py",
>  line 257, in schedule'
> E           and: 'INTERNALERROR>     self._send_tests(next(nodes), 1)'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/scheduler/load.py",
>  line 269, in _send_tests'
> E           and: 'INTERNALERROR>     node.send_runtest_some(tests_per_node)'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/workermanage.py",
>  line 284, in send_runtest_some'
> E           and: 'INTERNALERROR>     self.sendcommand("runtests", 
> indices=indices)'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/workermanage.py",
>  line 300, in sendcommand'
> E           and: 'INTERNALERROR>     self.channel.send((name, kwargs))'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 728, in send'
> E           and: 'INTERNALERROR>     raise IOError("cannot send to 
> {!r}".format(self))'
> E           and: 'INTERNALERROR> OSError: cannot send to <Channel id=1 
> closed>'
> E           and: ''
> E           and: '============================ no tests ran in 0.25s 
> ============================='
> E       remains unmatched: '*RuntimeError: Some runtime error*'
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/testing/acceptance_test.py:1156:
>  Failed
> ----------------------------- Captured stdout call 
> -----------------------------
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.10.2, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: 
> /tmp/pytest-of-user42/pytest-0/test_internal_errors_propagate_to_controller0
> plugins: xdist-2.5.0, forked-1.4.0
> gw0 I
> gw0 [1]
> 
> INTERNALERROR> Traceback (most recent call last):
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 
> 269, in wrap_session
> INTERNALERROR>     session.exitstatus = doit(config, session) or 0
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 
> 323, in _main
> INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 
> 286, in __call__
> INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", 
> line 92, in _hookexec
> INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", 
> line 335, in traced_hookexec
> INTERNALERROR>     return outcome.get_result()
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 80, in get_result
> INTERNALERROR>     raise ex[1].with_traceback(ex[2])
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 52, in from_call
> INTERNALERROR>     result = func()
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", 
> line 333, in <lambda>
> INTERNALERROR>     outcome = _Result.from_call(lambda: oldcall(hook, 
> hook_impls, kwargs))
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", 
> line 83, in <lambda>
> INTERNALERROR>     self._inner_hookexec = lambda hook, methods, kwargs: 
> hook.multicall(
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 208, in _multicall
> INTERNALERROR>     return outcome.get_result()
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 80, in get_result
> INTERNALERROR>     raise ex[1].with_traceback(ex[2])
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 187, in _multicall
> INTERNALERROR>     res = hook_impl.function(*args)
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/dsession.py",
>  line 117, in pytest_runtestloop
> INTERNALERROR>     self.loop_once()
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/dsession.py",
>  line 140, in loop_once
> INTERNALERROR>     call(**kwargs)
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/dsession.py",
>  line 262, in worker_collectionfinish
> INTERNALERROR>     self.sched.schedule()
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/scheduler/load.py",
>  line 257, in schedule
> INTERNALERROR>     self._send_tests(next(nodes), 1)
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/scheduler/load.py",
>  line 269, in _send_tests
> INTERNALERROR>     node.send_runtest_some(tests_per_node)
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/workermanage.py",
>  line 284, in send_runtest_some
> INTERNALERROR>     self.sendcommand("runtests", indices=indices)
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build/xdist/workermanage.py",
>  line 300, in sendcommand
> INTERNALERROR>     self.channel.send((name, kwargs))
> INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 728, in send
> INTERNALERROR>     raise IOError("cannot send to {!r}".format(self))
> INTERNALERROR> OSError: cannot send to <Channel id=1 closed>
> 
> ============================ no tests ran in 0.25s 
> =============================
> =========================== short test summary info 
> ============================
> SKIPPED [3] 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/pytester.py:1458: 
> could not import 'pexpect': No module named 'pexpect'
> SKIPPED [1] testing/test_plugin.py:92: could not import 'psutil': No module 
> named 'psutil'
> SKIPPED [1] 
> ../../../../../../usr/lib/python3/dist-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 pytest 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/acceptance_test.py::test_internal_errors_propagate_to_controller
> ============ 1 failed, 151 passed, 5 skipped, 10 xfailed in 47.76s 
> =============
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149607 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149610 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149613 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149619 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149622 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149616 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149628 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149625 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149631 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149634 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149637 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149643 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149640 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149646 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149649 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149694 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 149698 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149702 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149706 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149710 is 
> still running
> /usr/lib/python3.10/subprocess.py:1067: ResourceWarning: subprocess 149787 is 
> still running
> E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.10_pytest-xdist/build; python3.10 -m 
> pytest 
> I: pybuild base:237: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build; python3.9 -m 
> pytest 
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.10, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>, configfile: tox.ini
> plugins: xdist-2.5.0, forked-1.4.0
> collected 167 items
> 
> testing/acceptance_test.py ..............s..x.......xx.................. [ 
> 26%]
> ......x.................F.......................                         [ 
> 55%]
> testing/test_dsession.py ........x...x                                   [ 
> 63%]
> testing/test_looponfail.py ...........x.ss                               [ 
> 72%]
> testing/test_newhooks.py ...                                             [ 
> 74%]
> testing/test_plugin.py ...s..........                                    [ 
> 82%]
> testing/test_remote.py x....x......                                      [ 
> 89%]
> testing/test_workermanage.py ........x.......s                           
> [100%]
> 
> =================================== FAILURES 
> ===================================
> _________________ test_internal_errors_propagate_to_controller 
> _________________
> 
> pytester = <Pytester 
> PosixPath('/tmp/pytest-of-user42/pytest-1/test_internal_errors_propagate_to_controller0')>
> 
>     def test_internal_errors_propagate_to_controller(pytester: 
> pytest.Pytester) -> None:
>         pytester.makeconftest(
>             """
>             def pytest_collection_modifyitems():
>                 raise RuntimeError("Some runtime error")
>             """
>         )
>         pytester.makepyfile("def test(): pass")
>         result = pytester.runpytest("-n1")
> >       result.stdout.fnmatch_lines(["*RuntimeError: Some runtime error*"])
> E       Failed: nomatch: '*RuntimeError: Some runtime error*'
> E           and: '============================= test session starts 
> =============================='
> E           and: 'platform linux -- Python 3.9.10, pytest-6.2.5, py-1.10.0, 
> pluggy-0.13.0'
> E           and: 'rootdir: 
> /tmp/pytest-of-user42/pytest-1/test_internal_errors_propagate_to_controller0'
> E           and: 'plugins: xdist-2.5.0, forked-1.4.0'
> E           and: 'gw0 I'
> E           and: 'gw0 [1]'
> E           and: ''
> E           and: 'INTERNALERROR> Traceback (most recent call last):'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/_pytest/main.py", line 269, in wrap_session'
> E           and: 'INTERNALERROR>     session.exitstatus = doit(config, 
> session) or 0'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/_pytest/main.py", line 323, in _main'
> E           and: 'INTERNALERROR>     
> config.hook.pytest_runtestloop(session=session)'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 286, in __call__'
> E           and: 'INTERNALERROR>     return self._hookexec(self, 
> self.get_hookimpls(), kwargs)'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/manager.py", line 92, in _hookexec'
> E           and: 'INTERNALERROR>     return self._inner_hookexec(hook, 
> methods, kwargs)'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/manager.py", line 335, in 
> traced_hookexec'
> E           and: 'INTERNALERROR>     return outcome.get_result()'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in get_result'
> E           and: 'INTERNALERROR>     raise ex[1].with_traceback(ex[2])'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/callers.py", line 52, in from_call'
> E           and: 'INTERNALERROR>     result = func()'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/manager.py", line 333, in <lambda>'
> E           and: 'INTERNALERROR>     outcome = _Result.from_call(lambda: 
> oldcall(hook, hook_impls, kwargs))'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/manager.py", line 83, in <lambda>'
> E           and: 'INTERNALERROR>     self._inner_hookexec = lambda hook, 
> methods, kwargs: hook.multicall('
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/callers.py", line 208, in _multicall'
> E           and: 'INTERNALERROR>     return outcome.get_result()'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/callers.py", line 80, in get_result'
> E           and: 'INTERNALERROR>     raise ex[1].with_traceback(ex[2])'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/pluggy/callers.py", line 187, in _multicall'
> E           and: 'INTERNALERROR>     res = hook_impl.function(*args)'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/dsession.py",
>  line 117, in pytest_runtestloop'
> E           and: 'INTERNALERROR>     self.loop_once()'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/dsession.py",
>  line 140, in loop_once'
> E           and: 'INTERNALERROR>     call(**kwargs)'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/dsession.py",
>  line 262, in worker_collectionfinish'
> E           and: 'INTERNALERROR>     self.sched.schedule()'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/scheduler/load.py",
>  line 257, in schedule'
> E           and: 'INTERNALERROR>     self._send_tests(next(nodes), 1)'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/scheduler/load.py",
>  line 269, in _send_tests'
> E           and: 'INTERNALERROR>     node.send_runtest_some(tests_per_node)'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/workermanage.py",
>  line 284, in send_runtest_some'
> E           and: 'INTERNALERROR>     self.sendcommand("runtests", 
> indices=indices)'
> E           and: 'INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/workermanage.py",
>  line 300, in sendcommand'
> E           and: 'INTERNALERROR>     self.channel.send((name, kwargs))'
> E           and: 'INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 728, in send'
> E           and: 'INTERNALERROR>     raise IOError("cannot send to 
> {!r}".format(self))'
> E           and: 'INTERNALERROR> OSError: cannot send to <Channel id=1 
> closed>'
> E           and: ''
> E           and: '============================ no tests ran in 0.26s 
> ============================='
> E       remains unmatched: '*RuntimeError: Some runtime error*'
> 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/testing/acceptance_test.py:1156:
>  Failed
> ----------------------------- Captured stdout call 
> -----------------------------
> ============================= test session starts 
> ==============================
> platform linux -- Python 3.9.10, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: 
> /tmp/pytest-of-user42/pytest-1/test_internal_errors_propagate_to_controller0
> plugins: xdist-2.5.0, forked-1.4.0
> gw0 I
> gw0 [1]
> 
> INTERNALERROR> Traceback (most recent call last):
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 
> 269, in wrap_session
> INTERNALERROR>     session.exitstatus = doit(config, session) or 0
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/_pytest/main.py", line 
> 323, in _main
> INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/hooks.py", line 
> 286, in __call__
> INTERNALERROR>     return self._hookexec(self, self.get_hookimpls(), kwargs)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", 
> line 92, in _hookexec
> INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", 
> line 335, in traced_hookexec
> INTERNALERROR>     return outcome.get_result()
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 80, in get_result
> INTERNALERROR>     raise ex[1].with_traceback(ex[2])
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 52, in from_call
> INTERNALERROR>     result = func()
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", 
> line 333, in <lambda>
> INTERNALERROR>     outcome = _Result.from_call(lambda: oldcall(hook, 
> hook_impls, kwargs))
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/manager.py", 
> line 83, in <lambda>
> INTERNALERROR>     self._inner_hookexec = lambda hook, methods, kwargs: 
> hook.multicall(
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 208, in _multicall
> INTERNALERROR>     return outcome.get_result()
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 80, in get_result
> INTERNALERROR>     raise ex[1].with_traceback(ex[2])
> INTERNALERROR>   File "/usr/lib/python3/dist-packages/pluggy/callers.py", 
> line 187, in _multicall
> INTERNALERROR>     res = hook_impl.function(*args)
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/dsession.py",
>  line 117, in pytest_runtestloop
> INTERNALERROR>     self.loop_once()
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/dsession.py",
>  line 140, in loop_once
> INTERNALERROR>     call(**kwargs)
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/dsession.py",
>  line 262, in worker_collectionfinish
> INTERNALERROR>     self.sched.schedule()
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/scheduler/load.py",
>  line 257, in schedule
> INTERNALERROR>     self._send_tests(next(nodes), 1)
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/scheduler/load.py",
>  line 269, in _send_tests
> INTERNALERROR>     node.send_runtest_some(tests_per_node)
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/workermanage.py",
>  line 284, in send_runtest_some
> INTERNALERROR>     self.sendcommand("runtests", indices=indices)
> INTERNALERROR>   File 
> "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build/xdist/workermanage.py",
>  line 300, in sendcommand
> INTERNALERROR>     self.channel.send((name, kwargs))
> INTERNALERROR>   File 
> "/usr/lib/python3/dist-packages/execnet/gateway_base.py", line 728, in send
> INTERNALERROR>     raise IOError("cannot send to {!r}".format(self))
> INTERNALERROR> OSError: cannot send to <Channel id=1 closed>
> 
> ============================ no tests ran in 0.26s 
> =============================
> =========================== short test summary info 
> ============================
> SKIPPED [3] 
> ../../../../../../usr/lib/python3/dist-packages/_pytest/pytester.py:1458: 
> could not import 'pexpect': No module named 'pexpect'
> SKIPPED [1] testing/test_plugin.py:92: could not import 'psutil': No module 
> named 'psutil'
> SKIPPED [1] 
> ../../../../../../usr/lib/python3/dist-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 pytest 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/acceptance_test.py::test_internal_errors_propagate_to_controller
> ============ 1 failed, 151 passed, 5 skipped, 10 xfailed in 49.02s 
> =============
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150712 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150715 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150718 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150721 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150724 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150727 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150730 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150733 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150736 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150739 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150742 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150745 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150748 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150751 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150754 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150799 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150803 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150807 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150811 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150815 is 
> still running
> /usr/lib/python3.9/subprocess.py:1052: ResourceWarning: subprocess 150891 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'>
> E: pybuild pybuild:367: test: plugin distutils failed with: exit code=1: cd 
> /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pytest-xdist/build; python3.9 -m 
> pytest 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.10 
> 3.9" returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2022/02/18/pytest-xdist_2.5.0-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

--- End Message ---
--- Begin Message ---
Source: pytest-xdist
Source-Version: 2.5.0-2
Done: Scott Talbert <s...@techie.net>

We believe that the bug you reported is fixed in the latest version of
pytest-xdist, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1006...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Talbert <s...@techie.net> (supplier of updated pytest-xdist package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 23 Mar 2022 20:45:10 -0400
Source: pytest-xdist
Architecture: source
Version: 2.5.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Scott Talbert <s...@techie.net>
Closes: 1006039
Changes:
 pytest-xdist (2.5.0-2) unstable; urgency=medium
 .
   * Disable test that fails intermittently (Closes: #1006039)
Checksums-Sha1:
 748565f3a238a55e88d72bbafdc3111167cfed10 2253 pytest-xdist_2.5.0-2.dsc
 70f0da6190eafd20811c9d287ddb0dce67ac4010 5060 
pytest-xdist_2.5.0-2.debian.tar.xz
 66ae515043a79832d3cb062d7c8e49ba8a948a9c 7426 
pytest-xdist_2.5.0-2_amd64.buildinfo
Checksums-Sha256:
 01b53d92f196755650955b4785f283908c08c561beaf21568c985e878c52ab48 2253 
pytest-xdist_2.5.0-2.dsc
 9a9e4a0a6287bae9903c6e990dd151484005dfa7c5ef79511d0818dde7504483 5060 
pytest-xdist_2.5.0-2.debian.tar.xz
 93c2a7a2b45dbaf51e6d9e750dd29f40a2303cec34c49f4976c7e276932f04a5 7426 
pytest-xdist_2.5.0-2_amd64.buildinfo
Files:
 ce329c6b2fa63c947db6ae55b3283bd9 2253 python optional pytest-xdist_2.5.0-2.dsc
 b68373db98fc772a7bfa6de02c05645f 5060 python optional 
pytest-xdist_2.5.0-2.debian.tar.xz
 e5238435554aadc97ad353366cc72ca7 7426 python optional 
pytest-xdist_2.5.0-2_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEbnQ09Yl9Q7F/zVe3U9W8ZLUjeKIFAmI7v+wPHHN3dEB0ZWNo
aWUubmV0AAoJEFPVvGS1I3iieXAP/Rnp+yGkNmDaym9QsongqKuwYTNcgWXMuzOa
mz6snlZif9dCInKXoHanQiVItjYAVujG76ov760y5ODM2dKRt71KmG9/qwZvGHTO
bX/TasYpQEPM7wLPNvJqbuBNUkKbkMsBRaiJdYfV68f1G/rZIgcT5I+fweem6Upm
nLzO230MrQL8qj+mithgL5fDyvJkU3gH/yGxyDoRs1SlhQ589aqC3ouuk53ZuHzU
9a2Z/VEO2Y6JidCp5QlUvxXRX/PjJfq69sBSllIVaFMPWw4D7jkTIMp51ixKQNfd
/L+LSCXB7m+Twd8oyFWU60/xKs/IPcgiB+oTSmFDEy8iVqB9xJYb5VfCu82AiWZQ
hYOzddQ4T+VjpaHJ2udCeiehmAVgJFRn47Zi4O76EkZ5f7Hkw8dSRfThswumnxgo
CRBva8ke8s5MA83gnA2aAm3ZSHQkYMKZgEkF/EtZcetYqKcNfhQ6VBkfLfoumAha
/TNh5MQvdSxvyfIf5FWZ0WECur+2EajSqWT7nxrYlEx/62L6qwRYYdbS3Lkax7RX
JyDZ9sDSVTmE1GQOCvTej7n4VNkvWO9GI7BLYTrubepG9kLT40GMzUapvqhwQe+D
FPuWJLSQgAEGDq1rfS7ZtwKEjF8UXl+LWgYNCfzykz9jce0cGdqxWFox4I68xj5Z
/ahQdcBF
=O0vS
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to