As part of the investigation of the CI failure in https://github.com/osbuild/osbuild-composer/pull/4247 we noticed that curl can return a return_code of `0` even when it did not downloaded all the urls in a `--config` provided file. This seems to be curl version dependent, I had a hard time writing a test-case with the real curl (8.6.0) that reproduces this so I went with mocking it. We definietly saw this failure with the centos 9 version (7.76). Our current code is buggy and assumes that the exit status of curl is always non-zero if any download fails but that is only the case when `--fail-early` is used. The extra paranoia will not hurt even when relying on the exit code of curl is fixed. |
||
|---|---|---|
| .. | ||
| test | ||
| org.osbuild.containers-storage | ||
| org.osbuild.curl | ||
| org.osbuild.inline | ||
| org.osbuild.ostree | ||
| org.osbuild.skopeo | ||
| org.osbuild.skopeo-index | ||