Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.package.maven.tests.test_tasks::test_tasks_jar_loader
Failed

TEST RESULT

Run At
Dec 7 2021, 2:03 PM
Details
mocker = <pytest_mock.plugin.MockerFixture object at 0x7f263e8559b0> swh_scheduler_celery_app = <Celery celery.tests at 0x7f263fb15588> swh_scheduler_celery_worker = <Worker: gen458@62a05db40e6a (running)> swh_config = '/tmp/pytest-of-jenkins/pytest-0/test_tasks_jar_loader0/loader.yml' def test_tasks_jar_loader( mocker, swh_scheduler_celery_app, swh_scheduler_celery_worker, swh_config ): mock_load = mocker.patch("swh.loader.package.maven.loader.MavenLoader.load") mock_load.return_value = {"status": "eventful"} res = swh_scheduler_celery_app.send_task( "swh.loader.package.maven.tasks.LoadMaven", kwargs=dict(url=MVN_ARTIFACTS[0]["url"], artifacts=MVN_ARTIFACTS,), ) assert res > res.wait() .tox/py3/lib/python3.7/site-packages/swh/loader/package/maven/tests/test_tasks.py:30: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .tox/py3/lib/python3.7/site-packages/celery/result.py:230: in get on_message=on_message, .tox/py3/lib/python3.7/site-packages/celery/backends/base.py:711: in wait_for_pending return result.maybe_throw(propagate=propagate, callback=callback) .tox/py3/lib/python3.7/site-packages/celery/result.py:335: in maybe_throw self.throw(value, self._to_remote_traceback(tb)) .tox/py3/lib/python3.7/site-packages/celery/result.py:328: in throw self.on_ready.throw(*args, **kwargs) .tox/py3/lib/python3.7/site-packages/vine/promises.py:234: in throw reraise(type(exc), exc, tb) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tp = <class 'KeyError'>, value = KeyError('base_url'), tb = None def reraise(tp, value, tb=None): """Reraise exception.""" if value.__traceback__ is not tb: raise value.with_traceback(tb) > raise value E KeyError: 'base_url' .tox/py3/lib/python3.7/site-packages/vine/utils.py:30: KeyError