* Package: dev-python/ws4py-0.5.1 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_32 client elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 server test threads userland_GNU x86 * FEATURES: preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/dev-python/ws4py-0.5.1/work >>> Preparing source in /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1 ... * 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/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py copying ws4py/compat.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py copying ws4py/messaging.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py copying ws4py/exc.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py copying ws4py/utf8validator.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py copying ws4py/streaming.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py copying ws4py/manager.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py copying ws4py/websocket.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py copying ws4py/framing.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py copying ws4py/__init__.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py creating /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py/client copying ws4py/client/tornadoclient.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py/client copying ws4py/client/geventclient.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py/client copying ws4py/client/__init__.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py/client copying ws4py/client/threadedclient.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py/client creating /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py/server copying ws4py/server/wsgiutils.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py/server copying ws4py/server/geventserver.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py/server copying ws4py/server/cherrypyserver.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py/server copying ws4py/server/wsgirefserver.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py/server copying ws4py/server/__init__.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python2_7/lib/ws4py/server warning: buildfor2or3: byte-compiling is disabled, skipping. * python3_6: running distutils-r1_run_phase distutils-r1_python_compile python3.6 setup.py build running build running build_py creating /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py copying ws4py/compat.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py copying ws4py/messaging.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py copying ws4py/exc.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py copying ws4py/utf8validator.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py copying ws4py/async_websocket.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py copying ws4py/streaming.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py copying ws4py/manager.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py copying ws4py/websocket.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py copying ws4py/framing.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py copying ws4py/__init__.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py creating /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py/client copying ws4py/client/tornadoclient.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py/client copying ws4py/client/geventclient.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py/client copying ws4py/client/__init__.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py/client copying ws4py/client/threadedclient.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py/client creating /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py/server copying ws4py/server/wsgiutils.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py/server copying ws4py/server/tulipserver.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py/server copying ws4py/server/geventserver.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py/server copying ws4py/server/cherrypyserver.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py/server copying ws4py/server/wsgirefserver.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py/server copying ws4py/server/__init__.py -> /var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1-python3_6/lib/ws4py/server warning: buildfor2or3: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/ws4py-0.5.1 * python2_7: running distutils-r1_run_phase python_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/site-packages/mock/mock.py", line 1305, in patched return func(*args, **keywargs) File "test/test_manager.py", line 72, in test_mainloop_can_be_stopped_when_no_websocket_were_registered self.assertTrue(m.running) AssertionError: False is not true ---------------------------------------------------------------------- Ran 121 tests in 4.313s FAILED (failures=1) Exception in thread WebSocketManager (most likely raised during interpreter shutdown): Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner File "ws4py/manager.py", line 312, in run File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1062, in __call__ File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1120, in _mock_call : 'NoneType' object is not callable Unhandled exception in thread started by sys.excepthook is missing lost sys.stderr * ERROR: dev-python/ws4py-0.5.1::gentoo failed (test phase): * Tests failed under python2.7 * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2620: Called distutils-r1_src_test * environment, line 866: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 328: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2147: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1520: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1518: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 540: Called distutils-r1_run_phase 'python_test' * environment, line 797: Called python_test * environment, line 2522: Called die * The specific snippet of code: * "${PYTHON}" -m unittest discover || die "Tests failed under ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/ws4py-0.5.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/ws4py-0.5.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/ws4py-0.5.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/ws4py-0.5.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1' * S: '/var/tmp/portage/dev-python/ws4py-0.5.1/work/ws4py-0.5.1'