svn: Failing to start the ingestion "No such revision 1', 160006)"
Another recurring issue to fix:
Sep 29 12:51:52 worker18 python3[1046]: [2021-09-29 12:51:52,181: INFO/ForkPoolWorker-7] Processing revisions [1-0] for {'swh-origin': 'https://svn.code.sf.net/p/penguinsdbtools2018/svn', 'remote_url': 'file:///tmp/tmpjtb68puq/swh.loader.s
vn.n58ub6q5-1046/tmpf9j3ln2g', 'local_url': b'/tmp/swh.loader.svn.ntglfflw-1046/tmpf9j3ln2g', 'uuid': b'd8f5688d-efb6-4dc1-b967-41be2f097118'}
Sep 29 12:51:52 worker18 python3[1046]: [2021-09-29 12:51:52,182: ERROR/ForkPoolWorker-7] ('No such revision 1', 160006)
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/swh/loader/svn/loader.py", line 457, in fetch_data
data = next(self.swh_revision_gen)
File "/usr/lib/python3/dist-packages/swh/loader/svn/loader.py", line 356, in process_svn_revisions
for rev, nextrev, commit, new_objects, root_directory in gen_revs:
File "/usr/lib/python3/dist-packages/swh/loader/svn/svn.py", line 222, in swh_hash_data_per_revision
for commit in self.logs(start_revision, end_revision):
File "/usr/lib/python3/dist-packages/swh/loader/svn/svn.py", line 168, in logs
discover_changed_paths=False,
subvertpy.SubversionException: ('No such revision 1', 160006)
Sep 29 12:51:52 worker18 python3[1046]: [2021-09-29 12:51:52,184: ERROR/ForkPoolWorker-7] Loading failure, updating to `failed` status
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/swh/loader/core/loader.py", line 339, in load
self.store_data()
File "/usr/lib/python3/dist-packages/swh/loader/svn/loader.py", line 489, in store_data
revision=self._last_revision, snapshot=self._snapshot
File "/usr/lib/python3/dist-packages/swh/loader/svn/loader.py", line 525, in generate_and_load_snapshot
"generate_and_load_snapshot called with null revision and snapshot!"
ValueError: generate_and_load_snapshot called with null revision and snapshot!
Migrated from T3622 (view on Phabricator)
Edited by Phabricator Migration user