Skip to content

[test] Replace the removed MinIO test image with the pgsty/silo drop-in - #10167

Open
LuciferYang wants to merge 1 commit into
apache:masterfrom
LuciferYang:fix/minio-image-silo
Open

LuciferYang wants to merge 1 commit into
apache:masterfrom
LuciferYang:fix/minio-image-silo

Conversation

@LuciferYang

Copy link
Copy Markdown
Contributor

Purpose

quay.io/minio/minio:RELEASE.2022-02-07T08-17-33Z, pinned in DockerImageVersions.MINIO, is no longer pullable. MinIO archived its community edition and removed the images from Docker Hub (Sep 2026) and quay.io, so quay.io/minio/minio now returns 401 for an anonymous pull. Every test that starts the MinIO container (S3FileIOTest and the other MinioTestContainer users in paimon-s3 and paimon-s3-impl) fails in CI with org.testcontainers.containers.ContainerFetchException: Can't get Docker image.

This repoints the pin at pgsty/silo, a maintained community MinIO fork that keeps the S3 API, the MINIO_* env vars, the /minio/* routes, and the .minio.sys storage layout, and still accepts the legacy server <dir> argv. Only DockerImageVersions.MINIO changes; MinioTestContainer (its command, env vars, and health probe) is untouched. This follows grafana/mimir#16604, which swapped to the same image and tag. pgsty/silo is published on Docker Hub only, so the pin uses docker.io.

Tests

No new tests. The existing MinIO-backed tests (S3FileIOTest and the other MinioTestContainer users) now pull an image that exists; the S3 CI jobs exercise the swap.

API and Format

no

Documentation

no

quay.io/minio/minio:RELEASE.2022-02-07T08-17-33Z is no longer pullable
(MinIO archived its community edition and removed the images from Docker
Hub and quay.io), so every MinioTestContainer user fails in CI with a
testcontainers ContainerFetchException. Repoint DockerImageVersions.MINIO
at pgsty/silo, a drop-in MinIO fork; the container config is unchanged.
Follows grafana/mimir#16604.

@Akash3121 Akash3121 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
The replacement preserves every contract used by both MinioTestContainer copies: server /data, MINIO_ROOT_USER, MINIO_ROOT_PASSWORD, port 9000, /minio/health/ready, S3 path-style access, and the STS flow. The exact Silo tag is active on Docker Hub with both linux/amd64 and linux/arm64 manifests. All 18 GitHub checks passed, including the full Java matrix and S3-backed tests; the PR remains at the reviewed head with no existing review comments or discussion.

@LuciferYang

Copy link
Copy Markdown
Contributor Author

cc @JingsongLi FYI

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants