kamilk-pal opened a new pull request, #27749:
URL: https://github.com/apache/datafusion/pull/27749

   ## Which issue does this PR close?
   
   - Fixes #25705 on `branch-54`.
   
   ## Rationale for this change
   
   This PR backports #25706  to the `branch-54` line, as #25759 did for 
`branch-55`.
   
   `branch-54` still runs the `datafusion-cli` storage integration tests 
against `minio/minio:RELEASE.2025-02-28T09-55-16Z` from Docker Hub (the 
`testcontainers-modules` default). MinIO withdrew that image on 2026-09-11 (see 
#25485), and its `quay.io` replacement no longer allows anonymous pulls 
(#25705). So the `cargo test datafusion-cli (amd64)` job on this branch is 
expected to fail the next time it runs.
   
   ## What changes are included in this PR?
   
   Unlike #25759, this is **not a clean cherry-pick** of #25706. It is a 
slimmer, `branch-54`-only adaptation.
   
   #25706 builds on retry, timeout and pre-pull code from #25092 and #25216. 
`branch-55` got that code in #25485 before #25759, but `branch-54` never did, 
so cherry-picking #25706 conflicts. Bringing #25092 and #25216 along as well 
would roughly double the diff, so this PR ports only the switch from MinIO to 
RustFS:
   
   - `datafusion-cli/tests/cli_integration.rs`: the S3 tests run against a 
RustFS container (`docker.io/rustfs/rustfs:1.0.0`) instead of MinIO. 
`start_rustfs_container`, `provision_rustfs_container` (wait for 
`/health/ready`, create the bucket with `curl` and upload the fixtures through 
`object_store`) and `with_rustfs` are taken from #25706 unchanged. They plug 
into `branch-54`'s existing single-attempt setup.
   - `datafusion-cli/Cargo.toml`: drop the `minio` feature of 
`testcontainers-modules`, as in #25706.
   - `datafusion-cli/CONTRIBUTING.md`: update the storage test docs, as in 
#25706.
   
   Compared with `branch-55`, this PR leaves out:
   
   - the setup retry loop with backoff and the per-attempt timeout (the 
retrying version of `setup_rustfs_container`, `try_setup_rustfs_container`, 
`is_retryable`, `RUSTFS_SETUP_*`),
   - `start_rustfs_or_skip` / `is_docker_pull_rate_limit` (the `branch-54` 
tests keep their existing inline skip checks),
   - the `Pre-pull RustFS image` step in `.github/workflows/rust.yml` 
(`branch-54` never had a pre-pull step, so `rust.yml` is unchanged) and the 
`rustfs_image_matches_ci_prepull` test that guards it.
   
   It also avoids `Duration::from_mins`, which `branch-54`'s MSRV of 1.88 does 
not allow in a `const`.
   
   ## 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.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to