Page MenuHomeSoftware Heritage
Paste P1151

swh-vault cooking error
ActivePublic

Authored by ardumont on Sep 3 2021, 2:41 PM.
Sep 03 12:33:12 worker12 python3[2525920]: [2021-09-03 12:33:12,243: INFO/MainProcess] Received task: swh.vault.cooking_tasks.SWHCookingTask[49a1a587-113d-4a47-b2f0-8a3345f7a344]
Sep 03 12:33:12 worker12 python3[2614585]: Initialized empty Git repository in /tmp/swh-vault-gitbare-hfnujjye/clone.git/
Sep 03 12:33:12 worker12 python3[2525940]: [2021-09-03 12:33:12,975: WARNING/ForkPoolWorker-16] Retrying RPC call
Sep 03 12:33:13 worker12 python3[2525940]: [2021-09-03 12:33:13,191: WARNING/ForkPoolWorker-16] Retrying RPC call
Sep 03 12:33:14 worker12 python3[2525940]: [2021-09-03 12:33:14,168: WARNING/ForkPoolWorker-16] Retrying RPC call
Sep 03 12:33:14 worker12 python3[2525940]: [2021-09-03 12:33:14,283: ERROR/ForkPoolWorker-16] Bundle cooking failed.
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 412, in call
result = fn(*args, **kwargs)
File "/usr/lib/python3/dist-packages/swh/storage/proxies/retry.py", line 67, in newf
return getattr(storage, attribute_name)(*args, **kwargs)
File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 181, in meth_
return self.post(meth._endpoint_path, post_data)
File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 278, in post
return self._decode_response(response)
File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 354, in _decode_response
self.raise_for_status(response)
File "/usr/lib/python3/dist-packages/swh/storage/api/client.py", line 29, in raise_for_status
super().raise_for_status(response)
File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 308, in raise_for_status
raise RemoteException(payload="404 not found", response=response)
swh.core.api.RemoteException: 404 not found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/swh/vault/cookers/base.py", line 130, in cook
self.prepare_bundle()
File "/usr/lib/python3/dist-packages/swh/vault/cookers/git_bare.py", line 138, in prepare_bundle
self.load_objects()
File "/usr/lib/python3/dist-packages/swh/vault/cookers/git_bare.py", line 297, in load_objects
self.load_directories(directory_ids)
File "/usr/lib/python3/dist-packages/swh/vault/cookers/git_bare.py", line 495, in load_directories
self.load_directory(obj_id)
File "/usr/lib/python3/dist-packages/swh/vault/cookers/git_bare.py", line 500, in load_directory
self.storage.directory_get_entries, obj_id
File "/usr/lib/python3/dist-packages/swh/core/api/classes.py", line 51, in stream_results_optional
res = f(*args, page_token=None, **kwargs)
File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 329, in wrapped_f
return self.call(f, *args, **kw)
File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 409, in call
do = self.iter(retry_state=retry_state)
File "/usr/lib/python3/dist-packages/tenacity/__init__.py", line 369, in iter
six.raise_from(retry_exc, fut.exception())
File "<string>", line 3, in raise_from
tenacity.RetryError: RetryError[<Future at 0x7f29e9189438 state=finished raised RemoteException>]
Sep 03 12:33:14 worker12 python3[2525940]: [2021-09-03 12:33:14,353: INFO/ForkPoolWorker-16] Task swh.vault.cooking_tasks.SWHCookingTask[49a1a587-113d-4a47-b2f0-8a3345f7a344] succeeded in 2.107524750288576s: None