Skip to content

[branch-55] fix datafusion-cli CI: switch from minio to rustfs (#25706) - #25759

Merged
alamb merged 1 commit into
apache:branch-55from
comphead:backport-25706-branch-55
Sep 25, 2026
Merged

alamb merged 1 commit into
apache:branch-55from
comphead:backport-25706-branch-55

Conversation

@comphead

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

This PR backports #25706 from @a10y to the branch-55 line.

quay.io/minio/minio no longer allows anonymous pulls. branch-55 pulls that image for the datafusion-cli storage integration tests (it moved there from Docker Hub in #25485), so the cargo test datafusion-cli (amd64) job is expected to hit the same failure that #25705 reported on main. The last branch-55 CI run was on 2026-09-19, before the image became unavailable, so no run on this branch has failed yet.

What changes are included in this PR?

A clean git cherry-pick -x of e2ca7f3 with no conflicts. The patch is identical to the original (same git patch-id).

  • datafusion-cli/tests/cli_integration.rs: run the S3 tests against a RustFS container (docker.io/rustfs/rustfs:1.0.0) instead of MinIO.
  • .github/workflows/rust.yml: pre-pull the RustFS image instead of the MinIO one.
  • datafusion-cli/Cargo.toml: drop the minio feature of testcontainers-modules.
  • datafusion-cli/CONTRIBUTING.md: update the storage test docs.

What is the testing strategy for this PR?

The existing datafusion-cli storage integration tests cover this change, and CI runs them in the cargo test datafusion-cli (amd64) job. On this branch, datafusion-cli/tests/ and its snapshots match main apart from one unrelated Spark test. testcontainers and testcontainers-modules also resolve to the same versions as on main.

Locally, cargo fmt --all -- --check, cargo clippy -p datafusion-cli --all-targets --all-features -- -D warnings, taplo format --check and the prettier docs check pass. The Docker-based storage tests were not run locally. CI runs them.

Are there any user-facing changes?

No. The change only affects tests, CI and contributor docs.

## Which issue does this PR close?

Closes apache#25705

## Rationale for this change

This morning it seems like Minio pulled its images from quay.io, which
has caused recent CI runs to start failing, e.g.

https://github.com/apache/datafusion/actions/runs/36006680489/job/107657362588

RustFS is a pretty comparable (and more permissively licensed)
alternative that provides a suitable S3 interface for integration tests.

This was substantially authored by Codex, but reviewed by me and tested
locally.

## What is the testing strategy for this PR?

Existing integration tests

## Are there any user-facing changes?

No

Signed-off-by: Andrew Duffy <[email protected]>
(cherry picked from commit e2ca7f3)
@github-actions github-actions Bot added the development-process Related to development process of DataFusion label Sep 25, 2026
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.21%. Comparing base (5c4db5a) to head (055ec53).

Additional details and impacted files
@@              Coverage Diff              @@
##           branch-55   #25759      +/-   ##
=============================================
- Coverage      81.21%   81.21%   -0.01%     
=============================================
  Files           1110     1110              
  Lines         388499   388499              
  Branches      388499   388499              
=============================================
- Hits          315524   315507      -17     
- Misses         54424    54440      +16     
- Partials       18551    18552       +1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@alamb
alamb merged commit 9f5714b into apache:branch-55 Sep 25, 2026
35 checks passed
@alamb

alamb commented Sep 25, 2026

Copy link
Copy Markdown
Contributor

Thanks @comphead

MassivePizza added a commit to massive-com/arrow-datafusion that referenced this pull request Sep 30, 2026
Brings in the upstream 55.1.0 backports. Content matches rebasing the fork
patches onto upstream/branch-55, with these fork commits superseded upstream:

- #75 fix: preserve fetch across distribution reoptimization
  -> apache#24809 (backport apache#25821)
- #79 fix(ci): pull the MinIO test image from quay.io
  -> apache#25092, apache#25216 (backport apache#25485), later replaced by
     the switch to rustfs in apache#25706 (backport apache#25759)

Co-Authored-By: Claude Opus 5.5 <[email protected]>
bvolpato-dd added a commit to DataDog/datafusion that referenced this pull request Nov 4, 2026
Docker Hub no longer serves the MinIO image used by the four CLI storage tests. Adapt the RustFS 1.0.0 fixture from apache#25759 and keep the existing S3 queries and snapshots.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

development-process Related to development process of DataFusion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants