[Python-modules-team] Bug#801640: FTBFS: cffi library '_openssl' has no function, constant or global variable named '__class__'

Brian May bam at debian.org
Mon Oct 12 21:39:08 UTC 2015


Source: celery
Version: 3.1.18-2
Severity: serious
Justification: Does not build from source

======================================================================
ERROR: test_read_configuration_importerror (celery.tests.app.test_loaders.test_DefaultLoader)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/«PKGBUILDDIR»/celery/tests/app/test_loaders.py", line 172, in test_read_configuration_importerror
    with self.assertWarnsRegex(NotConfigured, r'make sure it exists'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_mail_admins_errors (celery.tests.app.test_loaders.test_LoaderBase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/«PKGBUILDDIR»/celery/tests/app/test_loaders.py", line 123, in test_mail_admins_errors
    with self.assertWarnsRegex(SendmailWarning, r'KeyError'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_current_loader (celery.tests.app.test_loaders.test_loaders)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 385, in __inner
    return fun(self, *args, **kwargs)
  File "/«PKGBUILDDIR»/celery/tests/app/test_loaders.py", line 36, in test_current_loader
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_load_settings (celery.tests.app.test_loaders.test_loaders)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 385, in __inner
    return fun(self, *args, **kwargs)
  File "/«PKGBUILDDIR»/celery/tests/app/test_loaders.py", line 41, in test_load_settings
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_compat_propertie (celery.tests.backends.test_redis.test_RedisBackend)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/backends/test_redis.py", line 166, in test_compat_propertie
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_warns_if_running_as_privileged_user (celery.tests.bin.test_worker.test_Worker)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/bin/test_worker.py", line 52, in disable
    return fun(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
    return func(*args, **keywargs)
  File "/«PKGBUILDDIR»/celery/tests/bin/test_worker.py", line 297, in test_warns_if_running_as_privileged_user
    r'absolutely not recommended'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'
-------------------- >> begin captured logging << --------------------
celery.bootsteps: DEBUG: | Worker: Preparing bootsteps.
celery.bootsteps: DEBUG: | Worker: Building graph...
celery.bootsteps: DEBUG: | Worker: New boot order: {Timer, Hub, Queues (intra), Pool, Autoscaler, StateDB, Autoreloader, Beat, Consumer}
celery.bootsteps: DEBUG: | Consumer: Preparing bootsteps.
celery.bootsteps: DEBUG: | Consumer: Building graph...
celery.bootsteps: DEBUG: | Consumer: New boot order: {Connection, Events, Mingle, Tasks, Control, Heart, Agent, Gossip, event loop}
--------------------- >> end captured logging << ---------------------

======================================================================
ERROR: test_fixup (celery.tests.fixups.test_django.test_DjangoFixup)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/fixups/test_django.py", line 41, in test_fixup
    with self.assertWarnsRegex(UserWarning, 'but Django is'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_on_worker_ready (celery.tests.fixups.test_django.test_DjangoWorkerFixup)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/fixups/test_django.py", line 243, in test_on_worker_ready
    with self.assertWarnsRegex(UserWarning, r'leads to a memory leak'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_iterate_eager (celery.tests.tasks.test_result.test_GroupResult)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/tasks/test_result.py", line 557, in test_iterate_eager
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_iterate_raises (celery.tests.tasks.test_result.test_GroupResult)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/tasks/test_result.py", line 464, in test_iterate_raises
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_iterate_simple (celery.tests.tasks.test_result.test_GroupResult)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/tasks/test_result.py", line 580, in test_iterate_simple
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_iterate_yields (celery.tests.tasks.test_result.test_GroupResult)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/tasks/test_result.py", line 548, in test_iterate_yields
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_iterate_respects_subpolling_interval (celery.tests.tasks.test_result.test_ResultSet)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/tasks/test_result.py", line 323, in test_iterate_respects_subpolling_interval
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_times_out (celery.tests.tasks.test_result.test_ResultSet)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/tasks/test_result.py", line 344, in test_times_out
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_iterate_eager (celery.tests.tasks.test_result.test_failed_AsyncResult)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/tasks/test_result.py", line 557, in test_iterate_eager
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_iterate_raises (celery.tests.tasks.test_result.test_failed_AsyncResult)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/tasks/test_result.py", line 464, in test_iterate_raises
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_iterate_simple (celery.tests.tasks.test_result.test_failed_AsyncResult)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/tasks/test_result.py", line 631, in test_iterate_simple
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_iterate_yields (celery.tests.tasks.test_result.test_failed_AsyncResult)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/tasks/test_result.py", line 548, in test_iterate_yields
    with self.assertPendingDeprecation():
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 321, in assertPendingDeprecation
    r'scheduled for deprecation'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

======================================================================
ERROR: test_trace_catches_exception (celery.tests.worker.test_request.test_Request)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/«PKGBUILDDIR»/celery/tests/worker/test_request.py", line 707, in test_trace_catches_exception
    r'Exception raised outside'):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 253, in __enter__
    if v and not _is_magic_module(v):
  File "/«PKGBUILDDIR»/celery/tests/case.py", line 237, in _is_magic_module
    cls, modtype = m.__class__, types.ModuleType
AttributeError: cffi library '_openssl' has no function, constant or global variable named '__class__'

----------------------------------------------------------------------
Ran 1693 tests in 27.754s

FAILED (errors=19, skipped=44)


-- System Information:
Debian Release: 8.2
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.2.0-rc6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Python-modules-team mailing list