Abacn commented on PR #33951:
URL: https://github.com/apache/beam/pull/33951#issuecomment-2651967422

   It's taking long because some images are failed to delete:
   
   ```
   Command: gcloud container images delete 
gcr.io/apache-beam-testing/beam-sdk/beam_java21_sdk_distroless@sha256:b9dc6a3b2ca3cb7453267d658ef28b682d6b0ca9a7c7e947ed9d76bcf998446f
 --force-delete-tags -q
   Digests:
   - 
gcr.io/apache-beam-testing/beam-sdk/beam_java21_sdk_distroless@sha256:b9dc6a3b2ca3cb7453267d658ef28b682d6b0ca9a7c7e947ed9d76bcf998446f
   ERROR: gcloud crashed (V2DiagnosticException): response: {'content-type': 
'application/json; charset=utf-8', 'docker-distribution-api-version': 
'registry/2.0', 'x-content-type-options': 'nosniff', 'x-frame-options': 
'SAMEORIGIN', 'x-xss-protection': '0', 'date': 'Tue, 11 Feb 2025 01:29:53 GMT', 
'x-gcr-using-artifact-registry': 'true', 'content-encoding': 'gzip', 'server': 
'Docker Registry', 'transfer-encoding': 'chunked', 'status': 400}
   Manifest is still referenced by one or more parent images: failed 
precondition manifest has referenced parents: 
beam-sdk/beam_java21_sdk_distroless/manifests/sha256:c4a4425e5fa26c2d269785474917de0c04a83be1962741c7b6c17049f9331308:
 None
   ```
   
   checked that actually it shouldn't be deleted because it is created less 
than 60 days.
   
   Likely the logic in 
https://github.com/apache/beam/blob/6fcf1618788c960e14a29cea80b67179a7b64593/.test-infra/tools/stale_dataflow_prebuilt_image_cleaner.sh#L95
 has issues after migrated from GCR -> AR


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to