* Package: dev-python/paho-mqtt-1.3.1 * Repository: gentoo * Maintainer: ramage.lucas@openmailbox.org proxy-maint@gentoo.org * USE: abi_x86_32 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_6 test userland_GNU x86 * FEATURES: preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking paho-mqtt-1.3.1.tar.gz to /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work >>> Source unpacked in /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work >>> Preparing source in /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1 ... * Applying paho-mqtt-1.3.1-strip-test-dependency.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.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/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python2_7/lib/paho copying src/paho/__init__.py -> /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python2_7/lib/paho creating /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python2_7/lib/paho/mqtt copying src/paho/mqtt/matcher.py -> /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python2_7/lib/paho/mqtt copying src/paho/mqtt/publish.py -> /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python2_7/lib/paho/mqtt copying src/paho/mqtt/__init__.py -> /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python2_7/lib/paho/mqtt copying src/paho/mqtt/client.py -> /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python2_7/lib/paho/mqtt copying src/paho/mqtt/subscribe.py -> /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python2_7/lib/paho/mqtt running egg_info creating src/paho_mqtt.egg-info writing src/paho_mqtt.egg-info/PKG-INFO writing top-level names to src/paho_mqtt.egg-info/top_level.txt writing dependency_links to src/paho_mqtt.egg-info/dependency_links.txt writing manifest file 'src/paho_mqtt.egg-info/SOURCES.txt' reading manifest file 'src/paho_mqtt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/paho_mqtt.egg-info/SOURCES.txt' warning: build_py: 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/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python3_6/lib/paho copying src/paho/__init__.py -> /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python3_6/lib/paho creating /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python3_6/lib/paho/mqtt copying src/paho/mqtt/matcher.py -> /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python3_6/lib/paho/mqtt copying src/paho/mqtt/publish.py -> /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python3_6/lib/paho/mqtt copying src/paho/mqtt/__init__.py -> /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python3_6/lib/paho/mqtt copying src/paho/mqtt/client.py -> /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python3_6/lib/paho/mqtt copying src/paho/mqtt/subscribe.py -> /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1-python3_6/lib/paho/mqtt running egg_info writing src/paho_mqtt.egg-info/PKG-INFO writing dependency_links to src/paho_mqtt.egg-info/dependency_links.txt writing top-level names to src/paho_mqtt.egg-info/top_level.txt reading manifest file 'src/paho_mqtt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/paho_mqtt.egg-info/SOURCES.txt' warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/paho-mqtt-1.3.1 * python2_7: running distutils-r1_run_phase python_test python2.7 setup.py test running pytest running egg_info writing src/paho_mqtt.egg-info/PKG-INFO writing top-level names to src/paho_mqtt.egg-info/top_level.txt writing dependency_links to src/paho_mqtt.egg-info/dependency_links.txt reading manifest file 'src/paho_mqtt.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'src/paho_mqtt.egg-info/SOURCES.txt' running build_ext ==================================================================================== test session starts ===================================================================================== platform linux2 -- Python 2.7.14, pytest-3.2.2, py-1.4.34, pluggy-0.4.0 rootdir: /var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1, inifile: setup.cfg plugins: xdist-1.15.0, timeout-1.2.0, rerunfailures-2.1.0, cov-2.3.1, hypothesis-3.6.0, case-1.5.2 collected 44 items tests/test_client.py ......F. tests/test_matcher.py ................. tests/test_websocket_integration.py .................. tests/test_websockets.py . ========================================================================================== FAILURES ========================================================================================== ___________________________________________________________________ TestPublishBroker2Client.test_valid_utf8_topic_publish ___________________________________________________________________ self = , fake_broker = def test_valid_utf8_topic_publish(self, fake_broker): mqttc = client.Client("client-id") # It should be non-ascii multi-bytes character topic = unicodedata.lookup('SNOWMAN') mqttc.connect_async("localhost", 1888) mqttc.loop_start() try: fake_broker.start() connect_packet = paho_test.gen_connect("client-id") packet_in = fake_broker.receive_packet(len(connect_packet)) assert packet_in # Check connection was not closed assert packet_in == connect_packet connack_packet = paho_test.gen_connack(rc=0) count = fake_broker.send_packet(connack_packet) assert count # Check connection was not closed assert count == len(connack_packet) mqttc.publish(topic, None, 0) publish_packet = paho_test.gen_publish( topic.encode('utf-8'), qos=0 ) packet_in = fake_broker.receive_packet(len(publish_packet)) assert packet_in # Check connection was not closed assert packet_in == publish_packet mqttc.disconnect() disconnect_packet = paho_test.gen_disconnect() > packet_in = fake_broker.receive_packet(len(disconnect_packet)) tests/test_client.py:230: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , num_bytes = 2 def receive_packet(self, num_bytes): if self._conn is None: raise ValueError('Connection is not open') > packet_in = self._conn.recv(num_bytes) E error: [Errno 104] Connection reset by peer tests/testsupport/broker.py:43: error ============================================================================ 1 failed, 43 passed in 7.70 seconds ============================================================================= * ERROR: dev-python/paho-mqtt-1.3.1::gentoo failed (test phase): * (no error message) * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2624: Called distutils-r1_src_test * environment, line 875: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 325: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2156: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1529: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1527: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 549: Called distutils-r1_run_phase 'python_test' * environment, line 806: Called python_test * environment, line 2525: Called esetup.py 'test' * environment, line 1074: Called die * The specific snippet of code: * "${@}" || die "${die_args[@]}"; * * If you need support, post the output of `emerge --info '=dev-python/paho-mqtt-1.3.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/paho-mqtt-1.3.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/paho-mqtt-1.3.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/paho-mqtt-1.3.1/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1' * S: '/var/tmp/portage/dev-python/paho-mqtt-1.3.1/work/paho.mqtt.python-1.3.1'