alamb opened a new issue, #254: URL: https://github.com/apache/arrow-rs-object-store/issues/254
Ported from https://github.com/influxdata/object_store_rs/issues/49 by @mkmik **Describe the bug** ```console $ cargo test ... ---- local::tests::test_list_root stdout ---- thread 'local::tests::test_list_root' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidPath { source: Canonicalize { path: "/.VolumeIcon.icns", source: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }', src/local.rs:692:20 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: local::tests::test_list_root test result: FAILED. 29 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.30s ``` same commit works on linux Reproducer on Linux: ```console $ uname Linux $ sudo ln -s /foo /bad $ cargo test ---- local::tests::test_list_root stdout ---- thread 'local::tests::test_list_root' panicked at 'called `Result::unwrap()` on an `Err` value: InvalidPath { source: Canonicalize { path: "/bad", source: Os { code: 2, kind: NotFound, message: "No such file or directory" } } }', src/local.rs:692:20 note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace failures: local::tests::test_list_root test result: FAILED. 29 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.23s error: test failed, to rerun pass '--lib' ``` basically the problem is that in my mac (and possibly other macs), there is a broken symlink in the root dir. ```console $ file /.VolumeIcon.icns /.VolumeIcon.icns: broken symbolic link to System/Volumes/Data/.VolumeIcon.icns ``` **To Reproduce** Steps to reproduce the behavior: **Expected behavior** A clear and concise description of what you expected to happen. **Additional context** Add any other context about the problem here. -- 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]
