[Python-modules-team] Bug#851043: python-ws4py: FTBFS: dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13

Lucas Nussbaum lucas at debian.org
Wed Jan 11 18:51:35 UTC 2017


Source: python-ws4py
Version: 0.3.4-3
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170111 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
>  debian/rules build
> dh build --with python2,python3,sphinxdoc --buildsystem=pybuild
>    dh_testdir -O--buildsystem=pybuild
>    dh_update_autotools_config -O--buildsystem=pybuild
>    dh_auto_configure -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 -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/ws4py
> copying ws4py/websocket.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py
> copying ws4py/compat.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py
> copying ws4py/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py
> copying ws4py/utf8validator.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py
> copying ws4py/framing.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py
> copying ws4py/exc.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py
> copying ws4py/manager.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py
> copying ws4py/streaming.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py
> copying ws4py/messaging.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py/client
> copying ws4py/client/threadedclient.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py/client
> copying ws4py/client/tornadoclient.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py/client
> copying ws4py/client/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py/client
> copying ws4py/client/geventclient.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py/client
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py/server
> copying ws4py/server/cherrypyserver.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py/server
> copying ws4py/server/geventserver.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py/server
> copying ws4py/server/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py/server
> copying ws4py/server/wsgiutils.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py/server
> copying ws4py/server/wsgirefserver.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/ws4py/server
> I: pybuild base:184: /usr/bin/python3 setup.py build 
> running build
> running build_py
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py
> copying ws4py/websocket.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py
> copying ws4py/compat.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py
> copying ws4py/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py
> copying ws4py/utf8validator.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py
> copying ws4py/framing.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py
> copying ws4py/async_websocket.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py
> copying ws4py/exc.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py
> copying ws4py/manager.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py
> copying ws4py/streaming.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py
> copying ws4py/messaging.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py/client
> copying ws4py/client/threadedclient.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py/client
> copying ws4py/client/tornadoclient.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py/client
> copying ws4py/client/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py/client
> copying ws4py/client/geventclient.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py/client
> creating /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py/server
> copying ws4py/server/cherrypyserver.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py/server
> copying ws4py/server/geventserver.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py/server
> copying ws4py/server/__init__.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py/server
> copying ws4py/server/tulipserver.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py/server
> copying ws4py/server/wsgiutils.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py/server
> copying ws4py/server/wsgirefserver.py -> /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_3.5/build/ws4py/server
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild pybuild:212: cp -r /<<PKGBUILDDIR>>/test /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build
> I: pybuild base:184: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose test
> ................................F.........................................................
> ======================================================================
> FAIL: test_mainloop_can_be_stopped_when_no_websocket_were_registered (test.test_manager.WSManagerTest)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
>     return func(*args, **keywargs)
>   File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/test/test_manager.py", line 65, in test_mainloop_can_be_stopped_when_no_websocket_were_registered
>     self.assertTrue(m.running)
> AssertionError: False is not true
> 
> ----------------------------------------------------------------------
> Ran 90 tests in 1.535s
> 
> FAILED (failures=1)
> E: pybuild pybuild:276: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build; python2.7 -m nose test
> dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13

The full build log is available from:
   http://aws-logs.debian.net/2017/01/11/python-ws4py_0.3.4-3_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!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Python-modules-team mailing list