HaochengLIU commented on issue #41493:
URL: https://github.com/apache/arrow/issues/41493#issuecomment-2130047587

   I tried few things and here is my latest findings:
   * A VM running Ubuntu 22.04 on my mac.
   * My working desktop which runs a modified version of Fedora 36.
   Both "passes" when minio is not installed
   ```
   [3/3] Completed 'absl_ep'
   Running main() from 
/home/lbting/software/arrow/build/_deps/googletest-src/googletest/src/gtest_main.cc
   Note: Google Test filter = TestS3FS.CreateDir
   [==========] Running 1 test from 1 test suite.
   [----------] Global test environment set-up.
   [----------] 1 test from TestS3FS
   [ RUN      ] TestS3FS.CreateDir
   /home/lbting/software/arrow/arrow/cpp/src/arrow/filesystem/s3fs_test.cc:186: 
Failure
   Failed
   'InitServerAndClient()' failed with IOError: Failed to find minio executable 
('minio') in PATH
   
/home/lbting/software/arrow/arrow/cpp/src/arrow/filesystem/s3_test_util.cc:168  
server->Start()
   /home/lbting/software/arrow/arrow/cpp/src/arrow/filesystem/s3fs_test.cc:203  
GetMinioEnv()->GetOneServer()
   [1]    41608 segmentation fault (core dumped)  ./debug/arrow-s3fs-test 
--gtest_filter="TestS3FS.CreateDir"
   
   ```
   Both failed with the presence of minio...
   ```
   ➜  build ninja && ./debug/arrow-s3fs-test 
--gtest_filter="TestS3FS.CreateDir"                                           
   [3/3] Completed 'absl_ep'
   Running main() from 
/home/lbting/software/arrow/build/_deps/googletest-src/googletest/src/gtest_main.cc
   Note: Google Test filter = TestS3FS.CreateDir
   [==========] Running 1 test from 1 test suite.
   [----------] Global test environment set-up.
   [----------] 1 test from TestS3FS
   [ RUN      ] TestS3FS.CreateDir
   /home/lbting/software/arrow/arrow/cpp/src/arrow/filesystem/s3fs_test.cc:934: 
Failure
   Failed
   Expected 'fs_->CreateDir("bucket/somefile")' to fail with IOError, but got OK
   [  FAILED  ] TestS3FS.CreateDir (497 ms)
   [----------] 1 test from TestS3FS (497 ms total)
   
   [----------] Global test environment tear-down
   [==========] 1 test from 1 test suite ran. (524 ms total)
   [  PASSED  ] 0 tests.
   [  FAILED  ] 1 test, listed below:
   [  FAILED  ] TestS3FS.CreateDir
   
    1 FAILED TEST
    ```
    Which makes me wonder if minio is ever used in Arrow testing pipelines?
    
    Anyway, I will try to create a PR with an extra options inside `S3Options` 
very soon


-- 
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]

Reply via email to