Package: src:execnet Version: 1.4.1-3 Severity: important Dear maintainer:
I tried to build this package in stretch with "dpkg-buildpackage -A" but it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep dh build-indep --buildsystem=pybuild --with python2,python3,sphinxdoc dh_testdir -i -O--buildsystem=pybuild dh_update_autotools_config -i -O--buildsystem=pybuild dh_auto_configure -i -O--buildsystem=pybuild I: pybuild base:184: python2.7 setup.py config running config I: pybuild base:184: python3.5 setup.py config running config dh_auto_build -i -O--buildsystem=pybuild I: pybuild base:184: /usr/bin/python setup.py build running build running build_py creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/execnet [... snipped ...] SKIP [16] /<<PKGBUILDDIR>>/testing/conftest.py:148: no python3.3 found SKIP [16] /<<PKGBUILDDIR>>/testing/conftest.py:148: no jython found SKIP [237] /<<PKGBUILDDIR>>/testing/conftest.py:200: could not import 'gevent' SKIP [52] /usr/lib/python3/dist-packages/_pytest/config.py:1193: no 'gspecs' option found SKIP [1] testing/test_channel.py:344: condition: sys.version>="3.0" SKIP [16] /<<PKGBUILDDIR>>/testing/conftest.py:148: no python3.2 found SKIP [16] /<<PKGBUILDDIR>>/testing/conftest.py:148: no pypy found SKIP [16] /<<PKGBUILDDIR>>/testing/conftest.py:148: no python2.6 found SKIP [237] /<<PKGBUILDDIR>>/testing/conftest.py:200: could not import 'eventlet' =================================== FAILURES =================================== _______________ TestPopenGateway.test_waitclose_on_remote_killed _______________ self = <test_gateway.TestPopenGateway object at 0x7fbe7777a518> makegateway = <bound method Group.makegateway of <Group ['gw0']>> def test_waitclose_on_remote_killed(self, makegateway): gw = makegateway('popen') channel = gw.remote_exec(""" import os import time channel.send(os.getpid()) time.sleep(100) """) remotepid = channel.receive() py.process.kill(remotepid) py.test.raises(EOFError, "channel.waitclose(TESTTIMEOUT)") > py.test.raises(IOError, channel.send, None) E Failed: DID NOT RAISE <class 'OSError'> testing/test_gateway.py:251: Failed ============================ pytest-warning summary ============================ WI1 /<<PKGBUILDDIR>>/testing/conftest.py:21 'pytest_runtest_setup' hook uses deprecated __multicall__ argument WC1 None pytest_funcarg__specsocket: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. WC1 None pytest_funcarg__specssh: declaring fixtures using "pytest_funcarg__" prefix is deprecated and scheduled to be removed in pytest 4.0. Please remove the prefix and use the @pytest.fixture decorator instead. !!!!!!!!!!!!!!!!!!!! Interrupted: stopping after 1 failures !!!!!!!!!!!!!!!!!!!! 1 failed, 222 passed, 607 skipped, 5 xfailed, 3 pytest-warnings in 11.16 seconds E: pybuild pybuild:283: test: plugin custom failed with: exit code=2: python3.5 -m pytest -v -x -rs testing/ dh_auto_test: pybuild --test --test-pytest -i python{version} -p 3.5 returned exit code 13 debian/rules:8: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 25 make[1]: Leaving directory '/<<PKGBUILDDIR>>' debian/rules:5: recipe for target 'build-indep' failed make: *** [build-indep] Error 2 dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2 -------------------------------------------------------------------------------- This is just how the build ends, not necessarily the relevant part. I've put several build logs here: https://people.debian.org/~sanvila/build-logs/execnet/ If this is really a bug in one of the build-depends, please use reassign and affects, so that this is still visible in the page for this package. The bug should be reproducible with sbuild on a single CPU virtual machine, provided you try enough times (as the failure happens randomly). Thanks.