Broken pipeline on fork due to missing container image
I forked networkmanager/networkmanager into juspence/networkmanager and submitted an MR several days ago. At that time a Fedora 34 container was built, the pipeline passed, and (I assume) the image was saved to registry.freedesktop.org with the correct tag.
Today after pushing some new commits to my MR, all the jobs in the "test" stage of the pipeline are failing.
Running with gitlab-runner 14.1.0 (8925d9a0)
on fdo-packet-m1xl-3 LB3m2Qse
Preparing the "docker" executor 00:02
Using Docker executor with image registry.freedesktop.org/juspence/networkmanager/fedora/34:2021-08-30.0-7ff339b89ca1 ...
Authenticating with credentials from job payload (GitLab Registry)
Pulling docker image registry.freedesktop.org/juspence/networkmanager/fedora/34:2021-08-30.0-7ff339b89ca1 ...
WARNING: Failed to pull image with policy "always": Error response from daemon: manifest for registry.freedesktop.org/juspence/networkmanager/fedora/34:2021-08-30.0-7ff339b89ca1 not found (manager.go:205:0s)
ERROR: Job failed: failed to pull image "registry.freedesktop.org/juspence/networkmanager/fedora/34:2021-08-30.0-7ff339b89ca1" with specified policies [always]: Error response from daemon: manifest for registry.freedesktop.org/juspence/networkmanager/fedora/34:2021-08-30.0-7ff339b89ca1 not found (manager.go:205:0s)
It looks like the image is missing, but the jobs in the "prep" stage of the pipeline all succeed:
+ podman login -u gitlab-ci-token -p [MASKED] registry.freedesktop.org
Login Succeeded!
+ skopeo login -u gitlab-ci-token -p [MASKED] registry.freedesktop.org
Login Succeeded!
+ [[ -z '' ]]
+ distro_exists
+ local repo_suffix_local=fedora/34
+ [[ fedora/34 == \f\e\d\o\r\a\/\c\i\_\t\e\m\p\l\a\t\e\s\_\t\e\s\t\_\u\p\s\t\r\e\a\m ]]
+ skopeo inspect docker://registry.freedesktop.org/juspence/networkmanager/fedora/34:2021-08-30.0-7ff339b89ca1
+ jq '[.Digest, .Layers]'
+ [[ -z NetworkManager/NetworkManager ]]
++ echo NetworkManager/NetworkManager
++ tr '[:upper:]' '[:lower:]'
+ local upstream_registry_path=networkmanager/networkmanager
+ skopeo inspect docker://registry.freedesktop.org/networkmanager/networkmanager/fedora/34:2021-08-30.0-7ff339b89ca1
+ jq '[.Digest, .Layers]'
+ diff -u upstream_sha local_sha
+ [[ -s local_sha ]]
+ return 0
+ echo 'Distro exists'
+ exit 0
Distro exists
Uploading artifacts for successful job 00:01
Uploading artifacts...
WARNING: container-build-report.xml: no matching files
ERROR: No files to upload
Uploading artifacts...
WARNING: container-build-report.xml: no matching files
ERROR: No files to upload
Cleaning up project directory and file based variables 00:00
Job succeeded
It looks like the image is not rebuilt in my juspence/networkmanager namespace because the local_sha matches the upstream_sha (even though the local image is gone?).
I'm not familiar with Gitlab or how to force a refresh of the internal image registry (and I doubt I have the permissions anyway). Thanks in advance for your help, and sorry for the noise if this is just user error rather than an actaul bug.