[Python-modules-team] Bug#770616: celery: FTBFS: Tests fail with NameError: name 'PROTOCOL_SSLv3' is not defined
Daniel Schepler
dschepler at gmail.com
Sat Nov 22 17:10:47 UTC 2014
Source: celery
Version: 3.1.13-3
Severity: serious
>From my pbuilder build log:
...
======================================================================
ERROR: test_with_autoscaler (celery.tests.worker.test_worker.test_WorkController)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/celery-3.1.13/celery/tests/case.py", line 430, in setUp
self.setup()
File "/tmp/buildd/celery-3.1.13/celery/tests/worker/test_worker.py", line 754, in setup
self.worker = self.create_worker()
File "/tmp/buildd/celery-3.1.13/celery/tests/worker/test_worker.py", line 772, in create_worker
worker = self.app.WorkController(concurrency=1, loglevel=0, **kw)
File "/tmp/buildd/celery-3.1.13/celery/worker/__init__.py", line 100, in __init__
self.setup_instance(**self.prepare_args(**kwargs))
File "/tmp/buildd/celery-3.1.13/celery/worker/__init__.py", line 126, in setup_instance
self.should_use_eventloop() if use_eventloop is None
File "/tmp/buildd/celery-3.1.13/celery/worker/__init__.py", line 244, in should_use_eventloop
return (detect_environment() == 'default' and
File "/usr/lib/python2.7/dist-packages/kombu/syn.py", line 52, in detect_environment
_environment = _detect_environment()
File "/usr/lib/python2.7/dist-packages/kombu/syn.py", line 38, in _detect_environment
from gevent import socket as _gsocket
File "/usr/lib/python2.7/dist-packages/gevent/socket.py", line 659, in <module>
from gevent.ssl import sslwrap_simple as ssl, SSLError as sslerror, SSLSocket as SSLType
File "/usr/lib/python2.7/dist-packages/gevent/ssl.py", line 385, in <module>
def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv3, ca_certs=None):
NameError: name 'PROTOCOL_SSLv3' is not defined
======================================================================
ERROR: test_with_embedded_beat (celery.tests.worker.test_worker.test_WorkController)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/buildd/celery-3.1.13/celery/tests/case.py", line 430, in setUp
self.setup()
File "/tmp/buildd/celery-3.1.13/celery/tests/worker/test_worker.py", line 754, in setup
self.worker = self.create_worker()
File "/tmp/buildd/celery-3.1.13/celery/tests/worker/test_worker.py", line 772, in create_worker
worker = self.app.WorkController(concurrency=1, loglevel=0, **kw)
File "/tmp/buildd/celery-3.1.13/celery/worker/__init__.py", line 100, in __init__
self.setup_instance(**self.prepare_args(**kwargs))
File "/tmp/buildd/celery-3.1.13/celery/worker/__init__.py", line 126, in setup_instance
self.should_use_eventloop() if use_eventloop is None
File "/tmp/buildd/celery-3.1.13/celery/worker/__init__.py", line 244, in should_use_eventloop
return (detect_environment() == 'default' and
File "/usr/lib/python2.7/dist-packages/kombu/syn.py", line 52, in detect_environment
_environment = _detect_environment()
File "/usr/lib/python2.7/dist-packages/kombu/syn.py", line 38, in _detect_environment
from gevent import socket as _gsocket
File "/usr/lib/python2.7/dist-packages/gevent/socket.py", line 659, in <module>
from gevent.ssl import sslwrap_simple as ssl, SSLError as sslerror, SSLSocket as SSLType
File "/usr/lib/python2.7/dist-packages/gevent/ssl.py", line 385, in <module>
def get_server_certificate(addr, ssl_version=PROTOCOL_SSLv3, ca_certs=None):
NameError: name 'PROTOCOL_SSLv3' is not defined
----------------------------------------------------------------------
Ran 1690 tests in 41.060s
FAILED (errors=131, skipped=42)
debian/rules:26: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 1
make[1]: Leaving directory '/tmp/buildd/celery-3.1.13'
debian/rules:10: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
--
Daniel Schepler
More information about the Python-modules-team
mailing list