Page MenuHomeSoftware Heritage
Paste P1050

Loading https://foss.heptapod.net/mercurial/hgview with the new hg loader, in a database with data from the old loader.
ActivePublic

Authored by olasd on May 24 2021, 1:00 PM.
May 24 10:21:08 worker0 python3[1746909]: [2021-05-24 10:21:08,531: INFO/MainProcess] Received task: swh.loader.mercurial.tasks.LoadMercurial[2f2eaa71-0415-4a7b-9647-02f930b727f4]
May 24 10:21:08 worker0 python3[1746920]: [2021-05-24 10:21:08,665: INFO/ForkPoolWorker-1] Load origin 'https://foss.heptapod.net/mercurial/hgview' with type 'hg'
May 24 10:21:10 worker0 python3[1747220]: requesting all changes
May 24 10:21:10 worker0 python3[1747220]: adding changesets
May 24 10:21:10 worker0 python3[1747220]: adding manifests
May 24 10:21:10 worker0 python3[1747220]: adding file changes
May 24 10:21:10 worker0 python3[1747220]: added 1245 changesets with 2634 changes to 312 files
May 24 10:21:10 worker0 python3[1747220]: new changesets 7bf307e75523:6cd8ebdbc158
May 24 10:21:10 worker0 python3[1746920]: [2021-05-24 10:21:10,570: INFO/ForkPoolWorker-1] New revisions found: 5
May 24 10:21:10 worker0 python3[1746920]: [2021-05-24 10:21:10,640: ERROR/ForkPoolWorker-1] Loading failure, updating to `failed` status
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/swh/loader/core/loader.py", line 342, in load
self.store_data()
File "/usr/lib/python3/dist-packages/swh/loader/mercurial/from_disk.py", line 331, in store_data
self.store_revision(repo[rev])
File "/usr/lib/python3/dist-packages/swh/loader/mercurial/from_disk.py", line 497, in store_revision
parents=self.get_revision_parents(rev_ctx),
File "/usr/lib/python3/dist-packages/swh/loader/mercurial/from_disk.py", line 444, in get_revision_parents
revision_id = self.get_revision_id_from_hg_nodeid(parent_hg_nodeid)
File "/usr/lib/python3/dist-packages/swh/loader/mercurial/from_disk.py", line 426, in get_revision_id_from_hg_nodeid
assert len(from_storage) == 1, msg % (hg_nodeid.hex(), len(from_storage))
AssertionError: Expected 1 match from storage for hg node 09916aa04cf5c8b43f79a6e3a82714a69c403f14, got 2
May 24 10:21:11 worker0 python3[1746920]: [2021-05-24 10:21:11,679: INFO/ForkPoolWorker-1] Task swh.loader.mercurial.tasks.LoadMercurial[2f2eaa71-0415-4a7b-9647-02f930b727f4] succeeded in 3.121858541853726s: {'status': 'failed'}