Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P389
Console output of ping test
Active
Public
Actions
Authored by
nahimilega
on Apr 28 2019, 12:02 AM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
swh_app = <Celery celery.tests at 0x7ff6a13d0048>
celery_session_worker = <Worker: gen658@b84cee4ca65b (running)>
def test_ping(swh_app, celery_session_worker):
res = swh_app.send_task(
'swh.lister.phabricator.tasks.ping')
assert res
> res.wait()
swh/lister/phabricator/tests/test_tasks.py:10:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.tox/py3/lib/python3.5/site-packages/celery/result.py:226: in get
on_message=on_message,
.tox/py3/lib/python3.5/site-packages/celery/backends/base.py:500: in wait_for_pending
return result.maybe_throw(propagate=propagate, callback=callback)
.tox/py3/lib/python3.5/site-packages/celery/result.py:331: in maybe_throw
self.throw(value, self._to_remote_traceback(tb))
.tox/py3/lib/python3.5/site-packages/celery/result.py:324: in throw
self.on_ready.throw(*args, **kwargs)
.tox/py3/lib/python3.5/site-packages/vine/promises.py:244: in throw
reraise(type(exc), exc, tb)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
tp = <class 'celery.exceptions.NotRegistered'>
value = Task of kind 'swh.lister.phabricator.tasks.ping' never registered, please make sure it's imported.
tb = None
def reraise(tp, value, tb=None):
"""Reraise exception."""
if value.__traceback__ is not tb:
raise value.with_traceback(tb)
> raise value
E celery.exceptions.NotRegistered: 'swh.lister.phabricator.tasks.ping'
.tox/py3/lib/python3.5/site-packages/vine/five.py:195: NotRegistered
----------------------------- Captured stderr call -----------------------------
[2019-04-27 22:56:55,596: ERROR/MainProcess] Received unregistered task of type 'swh.lister.phabricator.tasks.ping'.
The message has been ignored and discarded.
Did you remember to import the module containing this task?
Or maybe you're using relative imports?
Please see
http://docs.celeryq.org/en/latest/internals/protocol.html
for more information.
The full contents of the message body was:
b'\x93\x90\x80\x84\xa5chord\xc0\xa5chain\xc0\xa8errbacks\xc0\xa9callbacks\xc0' (39b)
Traceback (most recent call last):
File "/home/jenkins/workspace/DLS/tox/.tox/py3/lib/python3.5/site-packages/celery/worker/consumer/consumer.py", line 559, in on_task_received
strategy = strategies[type_]
KeyError: 'swh.lister.phabricator.tasks.ping'
------------------------------ Captured log call -------------------------------
consumer.py 494 ERROR Received unregistered task of type 'swh.lister.phabricator.tasks.ping'.
The message has been ignored and discarded.
Did you remember to import the module containing this task?
Or maybe you're using relative imports?
Please see
http://docs.celeryq.org/en/latest/internals/protocol.html
for more information.
The full contents of the message body was:
b'\x93\x90\x80\x84\xa5chord\xc0\xa5chain\xc0\xa8errbacks\xc0\xa9callbacks\xc0' (39b)
Traceback (most recent call last):
File "/home/jenkins/workspace/DLS/tox/.tox/py3/lib/python3.5/site-packages/celery/worker/consumer/consumer.py", line 559, in on_task_received
strategy = strategies[type_]
KeyError: 'swh.lister.phabricator.tasks.ping'
Event Timeline
nahimilega
created this paste.
Apr 28 2019, 12:02 AM
2019-04-28 00:02:45 (UTC+2)
nahimilega
created this object in space
S1 Public
.
nahimilega
changed the title of this paste from
Console output of first failed testcase
to
Console output of ping test
.
May 2 2019, 10:38 AM
2019-05-02 10:38:59 (UTC+2)
nahimilega
edited the content of this paste.
(Show Details)
Log In to Comment