[Python-modules-team] Bug#711269: python-eventlet: FTBFS: tests fail

Jakub Wilk jwilk at debian.org
Wed Jun 5 22:45:49 UTC 2013


Source: python-eventlet
Version: 0.12.1-2
Severity: serious
Justification: fails to build from source

Once the problem with documentation (#711265) is fixed, python-eventlet 
still FTBFS, because of test failures:
| ======================================================================
| ERROR: test_change_subscription (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 208, in test_change_subscription
|     pub, sub, port = self.create_bound_pair(zmq.PUB, zmq.SUB)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 38, in create_bound_pair
|     s1 = self.context.socket(type1)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 123, in socket
|     return Socket(self, socket_type)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 201, in __init__
|     self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
|     self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ======================================================================
| ERROR: test_close_during_recv (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 375, in test_close_during_recv
|     sender, receiver, port = self.create_bound_pair(zmq.XREQ, zmq.XREQ)
| AttributeError: 'module' object has no attribute 'XREQ'
|
| ======================================================================
| ERROR: test_close_linger (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 67, in test_close_linger
|     sock1, sock2, _ = self.create_bound_pair(zmq.PAIR, zmq.PAIR)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 38, in create_bound_pair
|     s1 = self.context.socket(type1)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 123, in socket
|     return Socket(self, socket_type)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 201, in __init__
|     self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
|     self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ======================================================================
| ERROR: test_close_socket_raises_enotsup (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 91, in test_close_socket_raises_enotsup
|     req, rep, port = self.create_bound_pair(zmq.PAIR, zmq.PAIR)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 38, in create_bound_pair
|     s1 = self.context.socket(type1)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 123, in socket
|     return Socket(self, socket_type)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 201, in __init__
|     self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
|     self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ======================================================================
| ERROR: test_close_xsocket_raises_enotsup (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 100, in test_close_xsocket_raises_enotsup
|     req, rep, port = self.create_bound_pair(zmq.XREQ, zmq.XREP)
| AttributeError: 'module' object has no attribute 'XREQ'
|
| ======================================================================
| ERROR: test_cpu_usage_after_bind (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 425, in test_cpu_usage_after_bind
|     sock = self.context.socket(zmq.PUB)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 123, in socket
|     return Socket(self, socket_type)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 201, in __init__
|     self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
|     self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ======================================================================
| ERROR: test_cpu_usage_after_pub_send_or_dealer_recv (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 437, in test_cpu_usage_after_pub_send_or_dealer_recv
|     pub, sub, _port = self.create_bound_pair(zmq.PUB, zmq.SUB)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 38, in create_bound_pair
|     s1 = self.context.socket(type1)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 123, in socket
|     return Socket(self, socket_type)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 201, in __init__
|     self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
|     self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ======================================================================
| ERROR: test_getsockopt_events (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 395, in test_getsockopt_events
|     sock1, sock2, _port = self.create_bound_pair(zmq.DEALER, zmq.DEALER)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 38, in create_bound_pair
|     s1 = self.context.socket(type1)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 123, in socket
|     return Socket(self, socket_type)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 201, in __init__
|     self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
|     self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ======================================================================
| ERROR: test_recv_during_send (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 345, in test_recv_during_send
|     sender, receiver, port = self.create_bound_pair(zmq.XREQ, zmq.XREQ)
| AttributeError: 'module' object has no attribute 'XREQ'
|
| ======================================================================
| ERROR: test_recv_multipart_bug68 (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 247, in test_recv_multipart_bug68
|     req, rep, port = self.create_bound_pair(zmq.REQ, zmq.REP)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 38, in create_bound_pair
|     s1 = self.context.socket(type1)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 123, in socket
|     return Socket(self, socket_type)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 201, in __init__
|     self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
|     self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ======================================================================
| ERROR: test_recv_noblock_bug76 (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 265, in test_recv_noblock_bug76
|     req, rep, port = self.create_bound_pair(zmq.REQ, zmq.REP)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 38, in create_bound_pair
|     s1 = self.context.socket(type1)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 123, in socket
|     return Socket(self, socket_type)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 201, in __init__
|     self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
|     self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ======================================================================
| ERROR: test_recv_spawned_before_send_is_non_blocking (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 73, in test_recv_spawned_before_send_is_non_blocking
|     req, rep, port = self.create_bound_pair(zmq.PAIR, zmq.PAIR)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 38, in create_bound_pair
|     s1 = self.context.socket(type1)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 123, in socket
|     return Socket(self, socket_type)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 201, in __init__
|     self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
|     self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ======================================================================
| ERROR: test_send_1k_pub_sub (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 159, in test_send_1k_pub_sub
|     pub, sub_all, port = self.create_bound_pair(zmq.PUB, zmq.SUB)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 38, in create_bound_pair
|     s1 = self.context.socket(type1)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 123, in socket
|     return Socket(self, socket_type)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 201, in __init__
|     self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
|     self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ======================================================================
| ERROR: test_send_1k_push_pull (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 135, in test_send_1k_push_pull
|     down, up, port = self.create_bound_pair(zmq.PUSH, zmq.PULL)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 38, in create_bound_pair
|     s1 = self.context.socket(type1)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 123, in socket
|     return Socket(self, socket_type)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 201, in __init__
|     self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
|     self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ======================================================================
| ERROR: test_send_1k_req_rep (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 109, in test_send_1k_req_rep
|     req, rep, port = self.create_bound_pair(zmq.REQ, zmq.REP)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 38, in create_bound_pair
|     s1 = self.context.socket(type1)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 123, in socket
|     return Socket(self, socket_type)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/eventlet/green/zmq.py", line 201, in __init__
|     self._eventlet_send_event = _BlockedThread()
|   File "/usr/lib/python2.7/dist-packages/zmq/sugar/attrsettr.py", line 38, in __setattr__
|     self.__class__.__name__, upper_key)
| AttributeError: Socket has no such option: _EVENTLET_SEND_EVENT
|
| ======================================================================
| ERROR: test_send_during_recv (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 271, in test_send_during_recv
|     sender, receiver, port = self.create_bound_pair(zmq.XREQ, zmq.XREQ)
| AttributeError: 'module' object has no attribute 'XREQ'
|
| ======================================================================
| ERROR: test_send_during_recv_multipart (tests.zmq_test.TestUpstreamDownStream)
| ----------------------------------------------------------------------
| Traceback (most recent call last):
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/__init__.py", line 73, in wrapped
|     return func(*a, **kw)
|   File "/build/python-eventlet-7JQZKR/python-eventlet-0.12.1/tests/zmq_test.py", line 307, in test_send_during_recv_multipart
|     sender, receiver, port = self.create_bound_pair(zmq.XREQ, zmq.XREQ)
| AttributeError: 'module' object has no attribute 'XREQ'
|
| ----------------------------------------------------------------------
| Ran 603 tests in 33.455s
|
| FAILED (errors=17, skipped=168)
| make[1]: *** [override_dh_auto_test] Error 1

-- 
Jakub Wilk



More information about the Python-modules-team mailing list