[GH-ISSUE #2216] test_cache_file_stat fails with -o use_cache #1123

Closed
opened 2026-03-04 01:51:34 +03:00 by kerem · 7 comments
Owner

Originally created by @gaul on GitHub (Jul 13, 2023).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2216

test_cache_file_stat:

first line(cache file stat) is different: "52025:0" != "52025:26214400"
test_cache_file_stat failed

test_list:

Expected 2 file but got 3
test_list failed

I assume the latter is related to the recent nocompat_dir fix but I checked these more carefully in #2215. Found via ALL_TESTS=1 make -C test/ check.

Originally created by @gaul on GitHub (Jul 13, 2023). Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/2216 test_cache_file_stat: ``` first line(cache file stat) is different: "52025:0" != "52025:26214400" test_cache_file_stat failed ``` test_list: ``` Expected 2 file but got 3 test_list failed ``` I assume the latter is related to the recent `nocompat_dir` fix but I checked these more carefully in #2215. Found via `ALL_TESTS=1 make -C test/ check`.
kerem closed this issue 2026-03-04 01:51:35 +03:00
Author
Owner

@gaul commented on GitHub (Jul 14, 2023):

This still fails even with d0a944fcaa.

<!-- gh-comment-id:1635893531 --> @gaul commented on GitHub (Jul 14, 2023): This still fails even with d0a944fcaaaef4ed20238b02fd37d9ca9346997e.
Author
Owner

@ggtakec commented on GitHub (Jul 16, 2023):

@gaul I have not been able to reproduce this.
(ThreadSanitizer errors are summarized in #2220.)
Are there any special steps or environment to reproduce?

<!-- gh-comment-id:1637109760 --> @ggtakec commented on GitHub (Jul 16, 2023): @gaul I have not been able to reproduce this. _(ThreadSanitizer errors are summarized in #2220.)_ Are there any special steps or environment to reproduce?
Author
Owner

@gaul commented on GitHub (Jul 18, 2023):

I see this symptom with test_cache_file_stat and -o use_cache=${CACHE_DIR}:

first line(cache file stat) is different: "55518:0" != "55518:26214400"
test_cache_file_stat failed
FAIL: test_cache_file_stat

I think test_list only fails because the other test does not clean up.

<!-- gh-comment-id:1640026794 --> @gaul commented on GitHub (Jul 18, 2023): I see this symptom with `test_cache_file_stat` and `-o use_cache=${CACHE_DIR}`: ``` first line(cache file stat) is different: "55518:0" != "55518:26214400" test_cache_file_stat failed FAIL: test_cache_file_stat ``` I think `test_list` only fails because the other test does not clean up.
Author
Owner

@ggtakec commented on GitHub (Jul 18, 2023):

@gaul Thanks, but I haven't been able to reproduce it yet.
Please let me know which OS (used for CI test) this error occurs.
Maybe there are conditions different from mine and Github Actions environment.

<!-- gh-comment-id:1640235818 --> @ggtakec commented on GitHub (Jul 18, 2023): @gaul Thanks, but I haven't been able to reproduce it yet. Please let me know which OS (used for CI test) this error occurs. _Maybe there are conditions different from mine and Github Actions environment._
Author
Owner

@gaul commented on GitHub (Jul 18, 2023):

I am running on Fedora 38. Note that you have to run with -o cache the same way as ALL_TESTS=1 does.

<!-- gh-comment-id:1640241946 --> @gaul commented on GitHub (Jul 18, 2023): I am running on Fedora 38. Note that you have to run with `-o cache` the same way as `ALL_TESTS=1` does.
Author
Owner

@ggtakec commented on GitHub (Jul 18, 2023):

I tested it with the use_cache option, but I couldn't reproduce it.
Using Github Actions(only some test cases), I tried it on all OSs targeted by CI, and it also passed.
(The branch will be deleted soon, but here's the log of the GithubActions I just ran: https://github.com/ggtakec/s3fs-fuse/actions/runs/5588207318)

<!-- gh-comment-id:1640267368 --> @ggtakec commented on GitHub (Jul 18, 2023): I tested it with the `use_cache` option, but I couldn't reproduce it. Using Github Actions(only some test cases), I tried it on all OSs targeted by CI, and it also passed. _(The branch will be deleted soon, but here's the log of the GithubActions I just ran: https://github.com/ggtakec/s3fs-fuse/actions/runs/5588207318)_
Author
Owner

@gaul commented on GitHub (Jul 18, 2023):

Sorry I think this is a few symptoms but the primary one is something specific about my SELinux config on Fedora 38. Closing this.

<!-- gh-comment-id:1641104540 --> @gaul commented on GitHub (Jul 18, 2023): Sorry I think this is a few symptoms but the primary one is something specific about my SELinux config on Fedora 38. Closing this.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#1123
No description provided.