Koji often throws 502 errors when downloading RPMs. A failed download here means that a package never makes it into the archive.
The current behavior is to ignore failures downloading with a || true. We shouldn't ignore failures.
|| true
Maybe we should stop trying to download in parallel (via xargs) and check the failures.
xargs
Additionally it would be nice if we enhanced koji to have baked in retries for failures too.