-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Python][CI] Compatibility with newer minio #37692
Comments
@h-vetinari Can you try running the Arrow C++ tests with this new Minio version and report the results? |
I don't understand - that's exactly what I did in conda-forge/arrow-cpp-feedstock#1170. You can look at one of the resulting CI runs here (but it contains exactly what I documented in the OP). |
Ok, but if you don't report the results on the Arrow issue tracker, then nobody notices :-) |
Wait, no, the CI run you're pointing to is showing the PyArrow tests. I'm talking about the Arrow C++ tests. |
Ah, sorry for the misunderstanding. I've been trying to enable the C++ tests in conda-forge/arrow-cpp-feedstock#1058, but it's not passing yet (completely aside from this issue here).
I had opened #35587 for that. 🙃 |
@pitrou in case it's helpful, I ran the test suite from a recent C++ build with minio
Key part there being "Please reduce your request rate". I then set
|
@amoeba Thanks for the report. It should be useful when someone tries to update Minio on CI, I guess. |
Describe the bug, including details regarding any error messages, version, and platform.
Conda-forge very recently added
minio
, which means we could now use that, at least in the conda(-forge) jobs. I'd be interested in doing that because I see a bunch of skips in the test suite of the following kind (not exhaustive):so if all it takes is adding the test dependency - why not?
As it turns out, this blows up pretty badly on main (through a proxy PR on our infra), which is at least partly, because arrow currently pins to a relatively outdated version
arrow/ci/scripts/install_minio.sh
Lines 54 to 56 in 4fac528
while the oldest available version in conda-forge is 2023.08.23.10.07.06.
Aside from 2-3 exceptions, the failures are all from the teardown of the
s3fs
andpy_fsspec_s3fs
fixtures, where the code unconditionally doesfs.delete_dir(bucket)
, even though the test presumably scribbled stuff in there. This leads to errors of the kind:more specifically, close to ~60 of them:
My first guess would be that:
I'm quite out of my depths here, but I think a alternative would be to somehow pipe through
ForceBucketDelete
or--force
. A cheap alternative is the following patch (also doesn't cover 100%), which just doesn't care about failed bucket deletes:After that patch, the only remaining errors are then:
This issue does not happen on 13.0.0?!
The final kicker is that all this is passing with arrow 13 - I even checked that the tests didn't get skipped. So it appears there are at least two things at work here: a change in minio behaviour & a change in pyarrow somewhere.
Component(s)
Continuous Integration, Python
The text was updated successfully, but these errors were encountered: