2020-03-04T14:13:06.142010302Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | Starting the SWH mirror graph replayer 2020-03-04T14:13:21.173425515Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | Traceback (most recent call last): 2020-03-04T14:13:21.173475615Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/bin/swh", line 11, in 2020-03-04T14:13:21.173483615Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | load_entry_point('swh.core==0.0.94', 'console_scripts', 'swh')() 2020-03-04T14:13:21.173487415Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/swh/core/cli/__init__.py", line 111, in main 2020-03-04T14:13:21.173491215Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | return swh(auto_envvar_prefix='SWH') 2020-03-04T14:13:21.173494815Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/click/core.py", line 764, in __call__ 2020-03-04T14:13:21.173498515Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | return self.main(*args, **kwargs) 2020-03-04T14:13:21.173502015Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/click/core.py", line 717, in main 2020-03-04T14:13:21.173505515Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | rv = self.invoke(ctx) 2020-03-04T14:13:21.173509115Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke 2020-03-04T14:13:21.173512715Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | return _process_result(sub_ctx.command.invoke(sub_ctx)) 2020-03-04T14:13:21.173516115Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/click/core.py", line 1137, in invoke 2020-03-04T14:13:21.173533315Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | return _process_result(sub_ctx.command.invoke(sub_ctx)) 2020-03-04T14:13:21.173537315Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/click/core.py", line 956, in invoke 2020-03-04T14:13:21.173540815Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | return ctx.invoke(self.callback, **ctx.params) 2020-03-04T14:13:21.173544115Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/click/core.py", line 555, in invoke 2020-03-04T14:13:21.173547615Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | return callback(*args, **kwargs) 2020-03-04T14:13:21.173550915Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/click/decorators.py", line 17, in new_func 2020-03-04T14:13:21.173554415Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | return f(get_current_context(), *args, **kwargs) 2020-03-04T14:13:21.173557815Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/swh/journal/cli.py", line 108, in replay 2020-03-04T14:13:21.173561315Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | nb_messages += client.process(worker_fn) 2020-03-04T14:13:21.173564715Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/swh/journal/client.py", line 187, in process 2020-03-04T14:13:21.173568115Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | worker_fn(dict(objects)) 2020-03-04T14:13:21.173571415Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/swh/journal/replay.py", line 37, in process_replay_objects 2020-03-04T14:13:21.173576915Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | _insert_objects(object_type, objects, storage) 2020-03-04T14:13:21.173580315Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/swh/journal/replay.py", line 245, in _insert_objects 2020-03-04T14:13:21.173583915Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | method(objects) 2020-03-04T14:13:21.173587115Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/swh/storage/validate.py", line 77, in release_add 2020-03-04T14:13:21.173590815Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | return self.storage.release_add(releases) 2020-03-04T14:13:21.173643116Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 154, in meth_ 2020-03-04T14:13:21.173648816Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | return self.post(meth._endpoint_path, post_data) 2020-03-04T14:13:21.173652116Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 242, in post 2020-03-04T14:13:21.173655616Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | return self._decode_response(response) 2020-03-04T14:13:21.173660116Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 315, in _decode_response 2020-03-04T14:13:21.173663816Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | self.raise_for_status(response) 2020-03-04T14:13:21.173667216Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/swh/storage/api/client.py", line 30, in raise_for_status 2020-03-04T14:13:21.173670716Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | super().raise_for_status(response) 2020-03-04T14:13:21.173674016Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | File "/usr/lib/python3/dist-packages/swh/core/api/__init__.py", line 306, in raise_for_status 2020-03-04T14:13:21.173677516Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | raise exception from None 2020-03-04T14:13:21.173680816Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | swh.storage.exc.StorageArgumentException: duplicate key value violates unique constraint "release_pkey" 2020-03-04T14:13:21.173684416Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | DETAIL: Key (id)=(\x2ed33d82422be107409809641370771c95486243) already exists. 2020-03-04T14:13:21.173704916Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | CONTEXT: SQL statement "insert into release (id, target, target_type, date, date_offset, date_neg_utc_offset, name, comment, author, synthetic) 2020-03-04T14:13:21.173729016Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | select t.id, t.target, t.target_type, t.date, t.date_offset, t.date_neg_utc_offset, t.name, t.comment, a.id, t.synthetic 2020-03-04T14:13:21.173732016Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | from tmp_release t 2020-03-04T14:13:21.173734516Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | left join person a on a.fullname = t.author_fullname" 2020-03-04T14:13:21.173737216Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 | PL/pgSQL function swh_release_add() line 5 at SQL statement 2020-03-04T14:13:21.173739916Z swh_graph-replayer-release.1.8shri9bb8q0h@mirror-replay01 |