Page MenuHomeSoftware Heritage

Jenkins > .tox.py3.lib.python3.7.site-packages.swh.loader.git.tests.test_tasks::test_git_loader
Failed

TEST RESULT

Run At
Oct 6 2021, 2:13 PM
Details
mocker = <pytest_mock.plugin.MockerFixture object at 0x7f002c433828> swh_config = '/tmp/pytest-of-jenkins/pytest-0/test_git_loader0/loader.yml' swh_scheduler_celery_app = <Celery celery.tests at 0x7f006040eda0> swh_scheduler_celery_worker = <Worker: gen447@d178524cde15 (running)> def test_git_loader( mocker, swh_config, swh_scheduler_celery_app, swh_scheduler_celery_worker ): mock_loader = mocker.patch("swh.loader.git.loader.GitLoader.load") mock_loader.return_value = {"status": "eventful"} res = swh_scheduler_celery_app.send_task( "swh.loader.git.tasks.UpdateGitRepository", kwargs={"url": "origin_url",} ) assert res > res.wait() .tox/py3/lib/python3.7/site-packages/swh/loader/git/tests/test_tasks.py:17: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ .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 'RuntimeError'> value = RuntimeError('the tracemalloc module must be tracing memory allocations to take a snapshot') tb = None def reraise(tp, value, tb=None): """Reraise exception.""" if value.__traceback__ is not tb: raise value.with_traceback(tb) > raise value E RuntimeError: the tracemalloc module must be tracing memory allocations to take a snapshot .tox/py3/lib/python3.7/site-packages/vine/utils.py:30: RuntimeError