Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
Description
Several nightly tests fail with:
=================================== FAILURES =================================== ____________________________ test_s3fs_wrong_region ____________________________ @pytest.mark.s3 def test_s3fs_wrong_region(): from pyarrow.fs import S3FileSystem # wrong region for bucket fs = S3FileSystem(region='eu-north-1') msg = ("When getting information for bucket 'voltrondata-labs-datasets': " r"AWS Error UNKNOWN \(HTTP status 301\) during HeadBucket " "operation: No response body. Looks like the configured region is " "'eu-north-1' while the bucket is located in 'us-east-2'." "|NETWORK_CONNECTION") with pytest.raises(OSError, match=msg) as exc: fs.get_file_info("voltrondata-labs-datasets") # Sometimes fails on unrelated network error, so next call would also fail. if 'NETWORK_CONNECTION' in str(exc.value): return fs = S3FileSystem(region='us-east-2') > fs.get_file_info("voltrondata-labs-datasets")opt/conda/envs/arrow/lib/python3.7/site-packages/pyarrow/tests/test_fs.py:1339: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pyarrow/_fs.pyx:571: in pyarrow._fs.FileSystem.get_file_info ??? pyarrow/error.pxi:144: in pyarrow.lib.pyarrow_internal_check_status ??? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ > ??? E OSError: When getting information for bucket 'voltrondata-labs-datasets': AWS Error ACCESS_DENIED during HeadBucket operation: No response body.
I can't seem to be able to reproduce locally but is pretty consistent:
Attachments
Issue Links
- links to