[Python-modules-team] Bug#743406: pyzmq fails tests on mips and kfreebsd-amd64

Matthias Klose doko at ubuntu.com
Wed Apr 2 12:15:49 UTC 2014


Package: pyzmq
Version: 14.0.1-1
Severity: serious
Tags: sid jessie
User: debian-python at lists.debian.org
Usertags: python3.4

pyzmq fails tests on mips and kfreebsd-amd64, seen in the builds scheduled for 
the python3.4 support. See
https://buildd.debian.org/status/package.php?p=pyzmq

Ensure callable check works (py3k). ... ok

======================================================================
FAIL: test_monitor_connected (zmq.tests.test_monitor.TestSocketMonitor)
Test connected monitoring socket.
----------------------------------------------------------------------
Traceback (most recent call last):
   File 
"/«PKGBUILDDIR»/.pybuild/pythonX.Y-dbg_3.4/build/zmq/tests/test_monitor.py", 
line 68, in test_monitor_connected
     self.assertEqual(m['event'], zmq.EVENT_CONNECT_DELAYED)
AssertionError: 1 != 2

----------------------------------------------------------------------
Ran 147 tests in 16.843s

FAILED (failures=1, skipped=19)
<built-in method close of Socket object at 0x80508cf88>
<built-in method close of Socket object at 0x804f59688>
sys:1: ResourceWarning: unclosed file <_io.FileIO name=8 mode='rb'>
sys:1: ResourceWarning: unclosed file <_io.FileIO name=9 mode='wb'>
sys:1: ResourceWarning: unclosed file <_io.FileIO name=10 mode='rb'>
sys:1: ResourceWarning: unclosed file <_io.FileIO name=11 mode='wb'>
E: pybuild pybuild:256: test: plugin distutils failed with: exit code=1: cd 
/«PKGBUILDDIR»/.pybuild/pythonX.Y-dbg_3.4/build; python3.4-dbg -m unittest 
discover -v
dh_auto_test: pybuild --test -i python{version}-dbg -p 3.4 3.3 --dir . returned 
exit code 13




and mips:

Ran 147 tests in 18.525s

OK (skipped=19)
<built-in method close of Socket object at 0x2bd27d08>
<built-in method close of Socket object at 0x2bd27da8>
I: pybuild base:170: cd /«PKGBUILDDIR»/.pybuild/pythonX.Y-dbg_3.3/build; 
python3.3-dbg -m unittest discover -v
test_zmq_bind (zmq.tests.test_cffi_backend.TestCFFIBackend) ... skipped 'PyPy 
Tests Only'
test_zmq_bind_connect (zmq.tests.test_cffi_backend.TestCFFIBackend) ... skipped 
'PyPy Tests Only'
test_zmq_ctx_new_destroy (zmq.tests.test_cffi_backend.TestCFFIBackend) ... 
skipped 'PyPy Tests Only'
test_zmq_getsockopt (zmq.tests.test_cffi_backend.TestCFFIBackend) ... skipped 
'PyPy Tests Only'
test_zmq_msg_data (zmq.tests.test_cffi_backend.TestCFFIBackend) ... skipped 
'PyPy Tests Only'
test_zmq_msg_init_close (zmq.tests.test_cffi_backend.TestCFFIBackend) ... 
skipped 'PyPy Tests Only'
test_zmq_msg_init_data (zmq.tests.test_cffi_backend.TestCFFIBackend) ... skipped 
'PyPy Tests Only'
test_zmq_msg_init_size (zmq.tests.test_cffi_backend.TestCFFIBackend) ... skipped 
'PyPy Tests Only'
test_zmq_poll (zmq.tests.test_cffi_backend.TestCFFIBackend) ... skipped 'PyPy 
Tests Only'
test_zmq_recv (zmq.tests.test_cffi_backend.TestCFFIBackend) ... skipped 'PyPy 
Tests Only'
test_zmq_send (zmq.tests.test_cffi_backend.TestCFFIBackend) ... skipped 'PyPy 
Tests Only'
test_zmq_setsockopt (zmq.tests.test_cffi_backend.TestCFFIBackend) ... skipped 
'PyPy Tests Only'
test_zmq_sleep (zmq.tests.test_cffi_backend.TestCFFIBackend) ... skipped 'PyPy 
Tests Only'
test_zmq_socket_open_close (zmq.tests.test_cffi_backend.TestCFFIBackend) ... 
skipped 'PyPy Tests Only'
test_zmq_stopwatch_functions (zmq.tests.test_cffi_backend.TestCFFIBackend) ... 
skipped 'PyPy Tests Only'
test_zmq_version_info (zmq.tests.test_cffi_backend.TestCFFIBackend) ... skipped 
'PyPy Tests Only'
test_basic (zmq.tests.test_pair.TestPair) ... ok
test_json (zmq.tests.test_pair.TestPair) ... ok
test_multiple (zmq.tests.test_pair.TestPair) ... ok
test_pyobj (zmq.tests.test_pair.TestPair) ... ok
test_init_iface (zmq.tests.test_log.TestPubLog) ... ok
test_init_socket (zmq.tests.test_log.TestPubLog) ... ok
test_root_topic (zmq.tests.test_log.TestPubLog) ... ok
test_unicode_message (zmq.tests.test_log.TestPubLog) ... ok
test_monitor (zmq.tests.test_monitor.TestSocketMonitor)
Test monitoring interface for sockets. ... Assertion failed: pfd.revents & 
POLLIN (signaler.cpp:193)
Aborted
E: pybuild pybuild:256: test: plugin distutils failed with: exit code=134: cd 
/«PKGBUILDDIR»/.pybuild/pythonX.Y-dbg_3.3/build; python3.3-dbg -m unittest 
discover -v
dh_auto_test: pybuild --test -i python{version}-dbg -p 3.4 3.3 --dir . returned 
exit code 13
make: *** [build-arch] Error 13



More information about the Python-modules-team mailing list