debian-forge-composer/internal/upload
Ondřej Budai fdc4f54be8 upload/koji: add a retrying mechanism for CGImport
CGImport quite often fails with the following error:
Fault(1000): File size 735051776 for Fedora-IoT-38.raw.xz (expected 738785372)
doesn't match. Corrupted upload?

When I inspect the file manually, everything seems fine, though.
I believe that this because of NFS inconsistency when multiple DNS-balanced
kojihubs are used in the setup (which is what Fedora uses). The addded
loop implements a retrying mechanism for the CGImport call to try again
whenever we see this issue.

Note that this isn't caught by other HTTP retrying mechanism because a failed
XMLRPC call returns code 200.

Signed-off-by: Ondřej Budai <ondrej@budai.cz>
2023-05-18 09:25:22 +02:00
..
azure upload/azure: skip uploading empty pages 2023-04-04 09:09:43 +02:00
koji upload/koji: add a retrying mechanism for CGImport 2023-05-18 09:25:22 +02:00
oci Add support for OCI upload provider 2022-01-28 15:16:47 +01:00
vmware worker/osbuild: stop handling VMDK stream-optimized conversion 2022-07-01 18:55:01 +01:00