Skip to content

Cherry pick #119999 to 26.6: Mirror the MinIO integration-test images into the clickhouse/ namespace - #120540

Merged
PedroTadim merged 3 commits into
backport/26.6/119999from
cherrypick/26.6/119999
Sep 17, 2026
Merged

PedroTadim merged 3 commits into
backport/26.6/119999from
cherrypick/26.6/119999

Conversation

@robot-clickhouse

Copy link
Copy Markdown
Member

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-pick locally.
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:

  • delete the pr-cherrypick label from the PR
  • delete this branch from the repository

You also need to check the Original pull-request for pr-backports-created label, and delete if it's presented there

The PR source

The PR is created in the CI job

groeneai and others added 2 commits September 14, 2026 14:35
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
@robot-clickhouse robot-clickhouse added pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only! do not test disable testing on pull request labels Sep 17, 2026
… into the clickhouse/ namespace

Conflict resolution: compose/mirror-images.sh does not exist on the 26.6
release branch, so only the two docker compose image changes are backported.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@CLAassistant

CLAassistant commented Sep 17, 2026 •

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
2 out of 3 committers have signed the CLA.

✅ groeneai
✅ maxknv
❌ claude
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not test disable testing on pull request pr-cherrypick Cherry-pick of merge-commit before backporting. Do not use manually - automated use only!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants