Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.lister.cgit.tests.test_tasks::test_ping
Failed

TEST RESULT

Run At
Jan 12 2021, 2:29 PM
Details
@pytest.fixture(scope="session") def swh_scheduler_celery_app(): """Set up a Celery app as swh.scheduler and swh worker tests would expect it""" test_app = TestApp( set_as_current=True, enable_logging=True, task_cls="swh.scheduler.task:SWHTask", config={ "accept_content": ["application/x-msgpack", "application/json"], "task_serializer": "msgpack", "result_serializer": "json", }, ) with setup_default_app(test_app, use_trap=False): > from swh.scheduler.celery_backend import config .tox/py3/lib/python3.7/site-packages/swh/scheduler/pytest_plugin.py:77: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/swh/scheduler/celery_backend/config.py:268: in <module> task_modules = worker_registrer_fn().get("task_modules", []) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ def register(): > from .lister import BitBucketLister E ImportError: cannot import name 'BitBucketLister' from 'swh.lister.bitbucket.lister' (/var/lib/jenkins/workspace/DLS/tests-on-diff/.tox/py3/lib/python3.7/site-packages/swh/lister/bitbucket/lister.py) .tox/py3/lib/python3.7/site-packages/swh/lister/bitbucket/__init__.py:7: ImportError