Skip to content
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

[C++][FS][Azure] Empty/GetFileInfoSelectorWithRecursion generic tests are broken with Azure hierarchical namespace support #41277

Open
kou opened this issue Apr 18, 2024 · 0 comments

Comments

@kou
Copy link
Member

kou commented Apr 18, 2024

Describe the bug, including details regarding any error messages, version, and platform.

Empty:

[ RUN      ] TestAzureHierarchicalNSGeneric.Empty
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/result.cc:28: ValueOrDie called on an error: IOError: Path does not exist 'agikasj1xxp3jbao7nzxokhflwmbkl22/'
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/filesystem/azurefs.cc:2973  impl_->GetFileInfoWithSelector(context, page_size_hint, select, &results)
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/filesystem/filesystem.cc:366  base_fs_->GetFileInfo(selector). Detail: [errno 2] No such file or directory

GetFileInfoSelectorWithRecursion:

[ RUN      ] TestAzureHierarchicalNSGeneric.GetFileInfoSelectorWithRecursion
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/filesystem/test_util.cc:841: Failure
Value of: infos
Expected: has 3 elements where
element #0 is equal to FileInfo(FileType::File, 00.file, -1, -1),
element #1 is equal to FileInfo(FileType::Directory, 01, -1, -1),
element #2 is equal to FileInfo(FileType::Directory, AA, -1, -1)
  Actual: { FileInfo(FileType::File, 00.file, -1, -1), FileInfo(FileType::Directory, 01, -1, -1), FileInfo(FileType::File, 01/01.file, -1, -1), FileInfo(FileType::Directory, 01/02, -1, -1), FileInfo(FileType::File, 01/02/02.file, -1, -1), FileInfo(FileType::Directory, 01/02/03, -1, -1), FileInfo(FileType::File, 01/02/03/03.file, -1, -1), FileInfo(FileType::Directory, 01/02/03/04, -1, -1), FileInfo(FileType::File, 01/02/03/04/04.file, -1, -1), FileInfo(FileType::Directory, AA, -1, -1), FileInfo(FileType::File, AA/AA.file, -1, -1) }, which has 11 elements
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/filesystem/test_util.cc:846: Failure
Value of: infos
Expected: has 6 elements where
element #0 is equal to FileInfo(FileType::File, 00.file, -1, -1),
element #1 is equal to FileInfo(FileType::Directory, 01, -1, -1),
element #2 is equal to FileInfo(FileType::File, 01/01.file, -1, -1),
element #3 is equal to FileInfo(FileType::Directory, 01/02, -1, -1),
element #4 is equal to FileInfo(FileType::Directory, AA, -1, -1),
element #5 is equal to FileInfo(FileType::File, AA/AA.file, -1, -1)
  Actual: { FileInfo(FileType::File, 00.file, -1, -1), FileInfo(FileType::Directory, 01, -1, -1), FileInfo(FileType::File, 01/01.file, -1, -1), FileInfo(FileType::Directory, 01/02, -1, -1), FileInfo(FileType::File, 01/02/02.file, -1, -1), FileInfo(FileType::Directory, 01/02/03, -1, -1), FileInfo(FileType::File, 01/02/03/03.file, -1, -1), FileInfo(FileType::Directory, 01/02/03/04, -1, -1), FileInfo(FileType::File, 01/02/03/04/04.file, -1, -1), FileInfo(FileType::Directory, AA, -1, -1), FileInfo(FileType::File, AA/AA.file, -1, -1) }, which has 11 elements
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/filesystem/test_util.cc:852: Failure
Value of: infos
Expected: has 8 elements where
element #0 is equal to FileInfo(FileType::File, 00.file, -1, -1),
element #1 is equal to FileInfo(FileType::Directory, 01, -1, -1),
element #2 is equal to FileInfo(FileType::File, 01/01.file, -1, -1),
element #3 is equal to FileInfo(FileType::Directory, 01/02, -1, -1),
element #4 is equal to FileInfo(FileType::File, 01/02/02.file, -1, -1),
element #5 is equal to FileInfo(FileType::Directory, 01/02/03, -1, -1),
element #6 is equal to FileInfo(FileType::Directory, AA, -1, -1),
element #7 is equal to FileInfo(FileType::File, AA/AA.file, -1, -1)
  Actual: { FileInfo(FileType::File, 00.file, -1, -1), FileInfo(FileType::Directory, 01, -1, -1), FileInfo(FileType::File, 01/01.file, -1, -1), FileInfo(FileType::Directory, 01/02, -1, -1), FileInfo(FileType::File, 01/02/02.file, -1, -1), FileInfo(FileType::Directory, 01/02/03, -1, -1), FileInfo(FileType::File, 01/02/03/03.file, -1, -1), FileInfo(FileType::Directory, 01/02/03/04, -1, -1), FileInfo(FileType::File, 01/02/03/04/04.file, -1, -1), FileInfo(FileType::Directory, AA, -1, -1), FileInfo(FileType::File, AA/AA.file, -1, -1) }, which has 11 elements
/home/kou/work/cpp/arrow.kou/cpp/src/arrow/filesystem/test_util.cc:865: Failure
Value of: infos
Expected: has 4 elements where
element #0 is equal to FileInfo(FileType::File, 01/01.file, -1, -1),
element #1 is equal to FileInfo(FileType::Directory, 01/02, -1, -1),
element #2 is equal to FileInfo(FileType::File, 01/02/02.file, -1, -1),
element #3 is equal to FileInfo(FileType::Directory, 01/02/03, -1, -1)
  Actual: { FileInfo(FileType::File, 01/01.file, -1, -1), FileInfo(FileType::Directory, 01/02, -1, -1), FileInfo(FileType::File, 01/02/02.file, -1, -1), FileInfo(FileType::Directory, 01/02/03, -1, -1), FileInfo(FileType::File, 01/02/03/03.file, -1, -1), FileInfo(FileType::Directory, 01/02/03/04, -1, -1), FileInfo(FileType::File, 01/02/03/04/04.file, -1, -1) }, which has 7 elements
[  FAILED  ] TestAzureHierarchicalNSGeneric.GetFileInfoSelectorWithRecursion (1186 ms)

I think that this is a regression in #41068.

Component(s)

C++

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant