Repository navigation
Mirror the MinIO integration-test images into the clickhouse/ namespace - #119999
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]>
Pre-publication review notes (click to expand)Reviewed independently before publication, two rounds; the second-model pass over the final tree Session id: cron:clickhouse-review-slot-8:20260914-144300 |
| image: minio/minio:RELEASE.2024-09-13T20-26-02Z | ||
| # Mirror of quay.io/minio/minio:RELEASE.2024-09-13T20-26-02Z (see compose/mirror-images.sh). | ||
| # The minio/minio Docker Hub repository was deleted upstream; quay.io is not behind the proxy. | ||
| image: clickhouse/minio-minio:RELEASE.2024-09-13T20-26-02Z |
There was a problem hiding this comment.
with_minio clusters are supposed to start again after this change, but clickhouse/minio-minio:RELEASE.2024-09-13T20-26-02Z is still not pullable right now: docker buildx imagetools inspect returns insufficient_scope, and the same is true for clickhouse/minio-minio:RELEASE.2024-07-31T05-46-26Z and clickhouse/minio-mc:RELEASE.2025-04-16T18-13-26Z. So docker compose pull still fails before the cluster starts; the broken reference just moved from minio/* to clickhouse/*. Please publish the mirror tags before flipping the compose files, or wire the image publication into the same automated change.
There was a problem hiding this comment.
Confirmed. All three tags still answer 401 with an empty JWT access grant, and the repo API
returns object not found, while clickhouse/azure-storage-azurite:3.35.0 answers 200 with a
populated pull grant on the same probe. So the tags are absent, not unauthorized.
I cannot publish them: mirror-images.sh needs push rights to the clickhouse Docker Hub org
and this account has none. Publishing first is also what the mechanism's own commit did, so the
order you describe is the established one: in e38592c8056b7 the five mirror tags were pushed
between 13:35:00Z and 13:40:07Z on 2026-06-25, and the commit repointing the compose files is
dated 13:44:46Z.
This change is therefore the second half on its own, and it needs bash tests/integration/compose/mirror-images.sh run once by someone holding those rights. The pins it
replaces are already denied on master, so nothing regresses while it waits.
Your second option, wiring the publication into the change, would mean a ci/docker image and a
DOCKERS entry, as with clickhouse/s3-proxy, instead of the mirror script. That is a different
mechanism from the one this area uses, so I have not switched to it unilaterally; if it is
preferred, I will rework the PR that way.
CI finish ledger - f54783dEvery failure below has an owner: a fixing PR (mine or external), or a full-effort fix task whose All eight failures are one class and this PR's own diff is the cause: the compose files it changes
Session id: cron:our-pr-ci-monitor:20260914-160320 |
|
Escalation, plus a correction to what I wrote in the review thread. The failure moved from the fixture to the batch pre-pull step. Since 02:00Z today the Only The correction. In the review thread I wrote that a Session id: cron:clickhouse-maint-slot-14:20260916-054300 |
|
Update, and a retraction of what I said in my previous comment. Earlier today I wrote that I was reworking this PR to build the images in CI, one So this PR stands as it is: three compose pins plus three mapping rows. The remaining step is one What the gap is costing in the meantime: 82 job-level If you would rather CI published these images than have someone run the script once, say so and I |
Cherry pick #119999 to 26.3: Mirror the MinIO integration-test images into the clickhouse/ namespace
Cherry pick #119999 to 26.6: Mirror the MinIO integration-test images into the clickhouse/ namespace
…to the clickhouse/ namespace
…to the clickhouse/ namespace
Backport #119999 to 26.7: Mirror the MinIO integration-test images into the clickhouse/ namespace
Backport #119999 to 26.8: Mirror the MinIO integration-test images into the clickhouse/ namespace
Backport #119999 to 26.3: Mirror the MinIO integration-test images into the clickhouse/ namespace
Backport #119999 to 26.9: Mirror the MinIO integration-test images into the clickhouse/ namespace
Backport #119999 to 26.6: Mirror the MinIO integration-test images into the clickhouse/ namespace
… images into the clickhouse/ namespace
… images into the clickhouse/ namespace
|
26.3 is affected too, and silently. #120545 fixed 26.2 and 26.4 lost the signal outright today, both on @ rschu1ze's merges of the same codec change. 26.2 The fix is the substitution from this PR, 10 lines on 26.3, 11 on 26.2 and 26.4, 9 on 25.8, 3 on 26.5, and all three mirror tags answer 200 anonymously today while I cannot land it myself: no PR based on a release branch, no hand-authored backport, and no master change left to label. @PedroTadim you applied the 26.2 label, so I think this one is yours to call. Is the substitution wanted on these branches, 26.3 first since it is supported and silent, or should I treat integration CI outside 26.6-26.9 as not a signal and stop reporting it? @ maxknv made the last change to that compose file if it is his call instead. |
minio/minio was deleted from Docker Hub, so every with_minio=True test fails in cluster.start() on the image pull. Point docker_compose_minio.yml at the clickhouse/minio-minio mirror (upstream ClickHouse#119999). The mirror has no RELEASE.2021-09-23T04-46-24Z tag, so bump to RELEASE.2024-07-31T05-46-26Z, the same image releases/24.8.14 uses. Also take the test_storage_delta change from upstream ClickHouse#55245 (the 2021 -> 2023 minio upgrade): newer minio does not match a list_objects prefix with a leading slash.
Changelog category (leave one):
Changelog entry (a user-readable short description of the changes that goes into CHANGELOG.md):
Not required (CI only).
Description
MinIO deleted
minio/minioandminio/mcfrom Docker Hub, sodocker compose pullexits 18and
cluster.start()dies:142 files declare
with_minio=True, but the reach is wider:helpers/cluster.pyalso forces iton for every instance when
CLICKHOUSE_USE_DATABASE_DISK=1(thedb diskvariants) and for theIceberg/Glue/HMS catalogs, which is why the master failures land in modules unrelated to S3
(
test_cow_policy,test_async_connect_to_multiple_ips). Provenance, 136pull access deniedlines naming one image,
Integration tests (amd_asan_ubsan, db disk, old analyzer, 8/8)on7e8e3cb635f6:https://s3.amazonaws.com/clickhouse-test-reports/praktika.html?REF=master&sha=7e8e3cb635f6d4f8e6ea8f2d0841f24a7020bc95&name_0=MasterCI&name_1=Integration%20tests%20%28amd_asan_ubsan%2C%20db%20disk%2C%20old%20analyzer%2C%208%2F8%29
Not self-healing: the same job pulled the tag at 09:48 and was denied at 11:21, so the
dockerhub-proxy cache is draining.
docker logincannot help: anonymous Hub access ishealthy (
library/alpine200) and the repositories are gone.quay.io still serves all three exact tags, and the pre-deletion Hub images were still in my local
cache, so I compared digests directly: quay's are identical, multi-arch index included
(
cd04ea408e18,9eea83a4e142,aead63c77f9d). Pure re-hosting, and not the licence-expiredAIStor build (a different artifact, behind
dl.min.io/aistor/). A green pull is not a sufficientoracle, so I also asserted
License: GNU AGPLv3and a real bucket-create + PUT + GET round trip.Referencing quay.io directly fails the
compose_images_from_dockerhubstyle check (3 violations),so this does what the check asks: three
mirror-images.shentries, pins repointed at themirrors. 26.3, 26.6, 26.7 and 26.8 carry the same pin and will need
must-backportafter merge.@maxknv, this needs
bash tests/integration/compose/mirror-images.shrun once with clickhouse-orgpush rights: the mirror repos do not exist yet, so the integration checks here stay red until
then. Master's pins are already denied too, so nothing regresses; only this tree recovers once the
mirror is pushed. A CI-built image in
DOCKERSinstead is your call.Workflow [PR]
Sync PR [sync-upstream/pr/119999]
Version info
26.9.1.1594(included in26.9and later)26.9.1.1593,26.8.7.10,26.7.11.9,26.6.9.8,26.3.33.98