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> |
||
|---|---|---|
| .. | ||
| azure | ||
| koji | ||
| oci | ||
| vmware | ||