Re: [PATCH for-11.1] gitlab: disable provenance attestations to work around CI bug
Stefan Hajnoczi <[email protected]> Tue, 4 Aug 2026 13:40:07 -0400
| Newsgroups | gmane.comp.emulators.qemu |
|---|---|
| Message-ID | <20260804174007.GA488200@fedora> |
On Tue, Aug 04, 2026 at 12:54:14PM -0400, Stefan Hajnoczi wrote: > QEMU's CI pipeline involves building container images that will be used > to run builds and tests. A recent Docker change triggered the following > error: > > $ docker push "$TAG" > ... > error from registry: blob unknown to registry - sha256:4401f6f779caf8841cafd5f483e642fcac56a23a4e4a59523231e101c890dad9 > > https://gitlab.com/qemu-project/qemu/-/jobs/15701875927#L2372 > > This happens because Docker now pushes out-of-order and the GitLab > Container Registry rejects due to an unknown reference: > https://forum.gitlab.com/t/started-yesterday-docker-push-error-from-registry-blob-unknown-to-registry/134733/5 > > It is unclear at this point whether GitLab will modify the behavior of > Container Registry or whether Docker will ship a fix. > > The current workaround is to disable the provenance attestation that is > involved in this issue. QEMU's CI pipeline container images are used > internally for testing and are not widely distributed. Provenance > attestation can be disabled as there are no external consumers of these > images. Expect to revert this commit in the future when GitLab or Docker > have released their own fixes. > > Cc: Alex Bennée <[email protected]> > Cc: Daniel P. Berrangé <[email protected]> > Cc: Thomas Huth <[email protected]> > Signed-off-by: Stefan Hajnoczi <[email protected]> > --- > Note that this is an urgent patch so that the CI will pass again and I > can tag v11.1.0-rc3 later today. Currently it is failing due to this > issue! > > .gitlab-ci.d/container-template.yml | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Thanks, applied to my staging tree: https://gitlab.com/stefanha/qemu/commits/staging Stefan
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhpWov9P5fNqsNXdanKSrs4Grc8gFAmpyI/cACgkQnKSrs4Gr c8iB3QgAuKPO6Ng2t4o7Gmy1p7BHX7wByo15bTGk6trzeux6gxmfYNmWxefix36z g3XPzO75Rip7lilWY56FLD4uxif8eB3w02t9W5vUbecBtm8CZDtTv7TyMtN3yRDK T2LcTQbcANr7xdorqC5cKRL/cPn+iR8fp7PolBZ5ykQs8xGPyNm9tJfBysPSLEW7 1+xVNESHsXQgnO7SrTbUtPAND/sEOG7fmnR+rMy+ahn4Ixmbflbur0QGHVcI8Yta G0NMzBNGNgx4yg/lflEGDP6Mx5MEwBjliMqZi2qOkiD41QEAFGlzJ+RMiBgO38SU G2frMFEbJFWhfH7UYkC195G+As2Mvg== =/+vt -----END PGP SIGNATURE-----