[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Pulp-list] [devel] Kombu/qpid related Jenkins errors



I've got two separate pull requests[0][1] failing in pulp/master right
now due to what seems to be Kombu/qpid related problems. Since my two
pull requests do not share similar code, I believe something is wrong
on our master branch. The failures occur in RHEL 6 and Fedora 22,
though they are not the same errors. On RHEL6, I see 4 errors[2], two
of which look like this:

10:22:10
======================================================================
10:22:10 ERROR: Failure: AttributeError ('module' object has no
attribute 'dumps')
10:22:10
----------------------------------------------------------------------
10:22:10 Traceback (most recent call last):
10:22:10   File
"/home/jenkins/.virtualenvs/test/lib/python2.6/site-packages/nose/loader.py",
line 418, in loadTestsFromName
10:22:10     addr.filename, addr.module)
10:22:10   File
"/home/jenkins/.virtualenvs/test/lib/python2.6/site-packages/nose/importer.py",
line 47, in importFromPath
10:22:10     return self.importFromDir(dir_path, fqname)
10:22:10   File
"/home/jenkins/.virtualenvs/test/lib/python2.6/site-packages/nose/importer.py",
line 94, in importFromDir
10:22:10     mod = load_module(part_fqname, fh, filename, desc)
10:22:10   File
"/home/jenkins/workspace/unittest-pulp-pr/node-type/rhel6-np/pulp/devel/test/unit/server/test_base.py",
line 8, in <module>
10:22:10     from pulp.devel.unit.server import base
10:22:10   File
"/home/jenkins/workspace/unittest-pulp-pr/node-type/rhel6-np/pulp/devel/pulp/devel/unit/server/base.py",
line 8, in <module>
10:22:10     from pulp.server.logs import start_logging, stop_logging
10:22:10   File
"/home/jenkins/workspace/unittest-pulp-pr/node-type/rhel6-np/pulp/server/pulp/server/logs.py",
line 10, in <module>
10:22:10     from celery.signals import setup_logging
10:22:10   File "/usr/lib/python2.6/site-packages/celery/signals.py",
line 16, in <module>
10:22:10     from .utils.dispatch import Signal
10:22:10   File
"/usr/lib/python2.6/site-packages/celery/utils/__init__.py", line 25,
in <module>
10:22:10     from kombu.entity import Exchange, Queue
10:22:10   File "/usr/lib/python2.6/site-packages/kombu/entity.py",
line 12, in <module>
10:22:10     from .serialization import prepare_accept_content
10:22:10   File
"/usr/lib/python2.6/site-packages/kombu/serialization.py", line 388,
in <module>
10:22:10     register_json()
10:22:10   File
"/usr/lib/python2.6/site-packages/kombu/serialization.py", line 310,
in register_json
10:22:10     from anyjson import loads as json_loads, dumps as json_dumps
10:22:10   File
"/usr/lib/python2.6/site-packages/anyjson/__init__.py", line 125, in
<module>
10:22:10     implementation = _JsonImplementation(modspec)
10:22:10   File
"/usr/lib/python2.6/site-packages/anyjson/__init__.py", line 60, in
__init__
10:22:10     self._encode = getattr(module, modinfo["encoder"])
10:22:10 AttributeError: 'module' object has no attribute 'dumps'
10:22:10
10:22:10
======================================================================
10:22:10 ERROR: Failure: ImportError (cannot import name Exchange)
10:22:10
----------------------------------------------------------------------
10:22:10 Traceback (most recent call last):
10:22:10   File
"/home/jenkins/.virtualenvs/test/lib/python2.6/site-packages/nose/loader.py",
line 418, in loadTestsFromName
10:22:10     addr.filename, addr.module)
10:22:10   File
"/home/jenkins/.virtualenvs/test/lib/python2.6/site-packages/nose/importer.py",
line 47, in importFromPath
10:22:10     return self.importFromDir(dir_path, fqname)
10:22:10   File
"/home/jenkins/.virtualenvs/test/lib/python2.6/site-packages/nose/importer.py",
line 94, in importFromDir
10:22:10     mod = load_module(part_fqname, fh, filename, desc)
10:22:10   File
"/home/jenkins/workspace/unittest-pulp-pr/node-type/rhel6-np/pulp/common/test/unit/common/plugins/test_progress.py",
line 12, in <module>
10:22:10     from pulp.plugins.conduits.repo_sync import RepoSyncConduit
10:22:10   File
"/home/jenkins/workspace/unittest-pulp-pr/node-type/rhel6-np/pulp/server/pulp/plugins/conduits/repo_sync.py",
line 33, in <module>
10:22:10     from pulp.plugins.conduits.mixins import (
10:22:10   File
"/home/jenkins/workspace/unittest-pulp-pr/node-type/rhel6-np/pulp/server/pulp/plugins/conduits/mixins.py",
line 8, in <module>
10:22:10     from pulp.plugins.types import database as types_db
10:22:10   File
"/home/jenkins/workspace/unittest-pulp-pr/node-type/rhel6-np/pulp/server/pulp/plugins/types/database.py",
line 12, in <module>
10:22:10     from pulp.server.db.model.content import ContentType
10:22:10   File
"/home/jenkins/workspace/unittest-pulp-pr/node-type/rhel6-np/pulp/server/pulp/server/db/model/__init__.py",
line 16, in <module>
10:22:10     from pulp.server.async.emit import send as
send_taskstatus_message
10:22:10   File
"/home/jenkins/workspace/unittest-pulp-pr/node-type/rhel6-np/pulp/server/pulp/server/async/emit.py",
line 2, in <module>
10:22:10     from kombu import Connection, Exchange, Producer
10:22:10 ImportError: cannot import name Exchange

On Fedora 22 there are many errors of this form:

10:20:41
======================================================================
10:20:41 ERROR: test_fire (unit.server.event.test_email.TestSystem)
10:20:41
----------------------------------------------------------------------
10:20:41 Traceback (most recent call last):
10:20:41   File
"/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/mock.py",
line 1193, in patched
10:20:41     arg = patching.__enter__()
10:20:41   File
"/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/mock.py",
line 1252, in __enter__
10:20:41     self.target = self.getter()
10:20:41   File
"/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/mock.py",
line 1414, in <lambda>
10:20:41     getter = lambda: _importer(target)
10:20:41   File
"/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/mock.py",
line 1102, in _importer
10:20:41     thing = _dot_lookup(thing, comp, import_path)
10:20:41   File
"/home/jenkins/.virtualenvs/test/lib/python2.7/site-packages/mock.py",
line 1091, in _dot_lookup
10:20:41     __import__(import_path)
10:20:41   File
"/home/jenkins/workspace/unittest-pulp-pr/node-type/f22-np/pulp/server/pulp/server/managers/event/remote.py",
line 3, in <module>
10:20:41     from qpid.messaging import Connection
10:20:41   File "/usr/lib/python2.7/site-packages/qpid/__init__.py",
line 20, in <module>
10:20:41   File "/usr/lib/python2.7/site-packages/qpid/connection.py",
line 20, in <module>
10:20:41   File "/usr/lib/python2.7/site-packages/qpid/session.py",
line 21, in <module>
10:20:41   File "/usr/lib/python2.7/site-packages/qpid/generator.py",
line 22, in <module>
10:20:41   File "/usr/lib/python2.7/site-packages/qpid/ops.py", line
268, in <module>
10:20:41   File "/usr/lib/python2.7/site-packages/qpid/ops.py", line
257, in load_types
10:20:41 EOFError

Is anybody familiar with the recent Kombu changes able to figure out
what is happening?


[0] https://github.com/pulp/pulp/pull/1997
[1] https://github.com/pulp/pulp/pull/1998
[2] http://fpaste.org/250707/

-- 
Randy Barlow

Attachment: signature.asc
Description: OpenPGP digital signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]