mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2026-04-25 13:26:00 +03:00
[GH-ISSUE #1171] Error test_write_multiple_offsets test on OSX #614
Labels
No labels
bug
bug
dataloss
duplicate
enhancement
feature request
help wanted
invalid
need info
performance
pull-request
question
question
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/s3fs-fuse#614
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ggtakec on GitHub (Oct 14, 2019).
Original GitHub issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/1171
Version of s3fs being used (s3fs --version)
SHA1:
db338b3Version of fuse being used (pkg-config --modversion fuse, rpm -qi fuse, dpkg -s fuse)
n/a
Kernel information (uname -r)
OSX
GNU/Linux Distribution, if applicable (cat /etc/os-release)
n/a
s3fs command line used, if applicable
s3fs-fuse test on travis
/etc/fstab entry, if applicable
n/a
s3fs syslog messages (grep s3fs /var/log/syslog, journalctl | grep s3fs, or s3fs outputs)
https://travis-ci.org/s3fs-fuse/s3fs-fuse/jobs/597622065
Details about issue
In the TravisCI test of s3fs-fuse, if singlepart_copy_limit=10240, an error occurred in test_write_multiple_offsets test.
This is the same as pointed out by @gaul in #1160.
The error contents are as follows.
https://gist.github.com/ggtakec/8394e005ec39f89a43083dd6a86b0cff
@ggtakec commented on GitHub (Oct 23, 2019):
This bug was found to occur in the test_rename_before_close test.
In "rename before close file", there was a problem with the number of references to the file discriptor.
When renaming the file, the file cache and file status cache for that file in s3fs are not closed, and file initialization(create, truncate) of test_write_multiple_offsets test cannot be performed normally.
Therefore, test_write_multiple_offsets test file at the start of testing cannot be initialized normally, so an error occurs in this test.
I posted PR #1181 that fixed this problem.