Repository navigation
Cherry pick #119999 to 26.3: Mirror the MinIO integration-test images into the clickhouse/ namespace - #120539
Merged
Conversation
MinIO deleted the minio/minio and minio/mc repositories from Docker Hub, so `docker compose pull` now exits 18 and cluster.start() fails before a single container starts. Docker Hub answers the manifest request with 401 and an empty JWT `access` grant, and its repo API returns "object not found". Anonymous Hub access itself is healthy (library/alpine and clickhouse/s3-proxy both 200, with a populated pull grant), so the daemon's "may require 'docker login'" wording is misleading: no credential can pull a repository that no longer exists. 142 files under tests/integration declare with_minio=True, but the reach is wider, which is why the master failures are in modules that have nothing to do with S3. helpers/cluster.py:2220-2224 sets with_minio for every instance when CLICKHOUSE_USE_DATABASE_DISK=1, which integration_test_job.py:1880 does for the "db disk" job variants, and cluster.py:2505-2507 sets it for the Iceberg/Glue/HMS catalogs, so on those variants every one of the 894 test_* modules starts minio. The prefetch step selects compose files by grepping each module's sources for with_X=True (integration_test_job.py:1003-1044), so an implicitly enabled module passes prefetch and then dies inside the fixture, where a bare `except Exception` swallows the cause. That is why a minio-keyed CIDB query finds almost nothing. It is not self-healing. The dockerhub-proxy pull-through cache still served the tag early in a master job on 7e8e3cb (09:48) and denied it 93 minutes later in the same job (11:21), so the failure rate rises as cache entries evict. quay.io still serves all three exact tags, and this is a pure re-hosting: the quay manifest digests are identical to the pre-deletion Docker Hub ones, minio/minio:RELEASE.2024-09-13T20-26-02Z sha256:cd04ea408e185cb50076ea1c3988d444119b19aaae15aab45387ccf14b2a2f86 minio/minio:RELEASE.2024-07-31T05-46-26Z sha256:9eea83a4e1425067e7b768397756efad19d36fc1c710808b8e1072236e8806c7 minio/mc:RELEASE.2025-04-16T18-13-26Z sha256:aead63c77f9db9107f1696fb08ecb0faeda23729cde94b0f663edf4fe09728e3 which also rules out the licence-expired AIStor build (a different artifact, distributed from dl.min.io/aistor). A green pull would not have settled that: an expired AIStor server answers GET / with a body containing AccessDenied, which is what the usual health probe greps for, so a dead store can report itself healthy. The licence line (License: GNU AGPLv3) and a real bucket-create + PUT + GET round trip were asserted instead. Referencing quay.io directly is rejected by check_compose_images in ci/jobs/check_style.py (style leg compose_images_from_dockerhub), which exists so CI pulls go through the dockerhub-proxy cache instead of a third-party registry's anonymous rate limits. Its violation message names the remedy used here, so the three pins are repointed at clickhouse/ mirrors and the mapping is added to tests/integration/compose/mirror-images.sh, following the naming rule the five existing entries use: drop the registry host, flatten the remaining slashes to dashes. mirror-images.sh is not automated and needs an account with push access to the clickhouse org, so the mirror repositories must be created once before these references resolve. Until that happens the integration checks cannot pull them, which is not a regression: the current pins are already denied and are only intermittently served from the draining proxy cache. Co-Authored-By: Claude Opus 5 <[email protected]>
…ation-images Mirror the MinIO integration-test images into the clickhouse/ namespace
… into the clickhouse/ namespace Conflict resolution: docker_compose_iceberg_rest_catalog_with_trino.yml and compose/mirror-images.sh do not exist on the 26.3 release branch, so only the docker_compose_minio.yml image change is backported. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Original pull-request #119999
Do not merge this PR manually
This pull-request is a first step of an automated backporting.
It contains changes similar to calling
git cherry-picklocally.If you intend to continue backporting the changes, then resolve all conflicts if any.
Otherwise, if you do not want to backport them, then just close this pull-request.
The check results does not matter at this step - you can safely ignore them.
Before you resolve anything
Conflicts are often caused by a prerequisite change that has not been backported yet, rather than by a real divergence. The bot re-tries this cherry-pick against the release branch on every run, so if that is the case here it will merge itself as soon as the prerequisite lands, and you will see a comment saying so. Manual resolution is only needed while the conflict persists.
Troubleshooting
If the conflicts were resolved in a wrong way
If this cherry-pick PR is completely screwed by a wrong conflicts resolution, and you want to recreate it:
pr-cherrypicklabel from the PRYou also need to check the Original pull-request for
pr-backports-createdlabel, and delete if it's presented thereThe PR source
The PR is created in the CI job