Comments (2)
Reliable way to reproduce:
(neo) (z-dev) (g.env) kirr@deca:~/src/neo/src/github.com/hanwen/go-fuse/fs$ go test -run TestFileFdLeak -count 1000 -failfast
--- FAIL: TestFileFdLeak (0.05s)
simple_test.go:178: found 4 used file handles, should be <= 3
FAIL
exit status 1
FAIL github.com/hanwen/go-fuse/fs 0.520s
(neo) (z-dev) (g.env) kirr@deca:~/src/neo/src/github.com/hanwen/go-fuse/fs$ go test -run TestFileFdLeak -count 1000 -failfast
11:39:00.300614 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
11:39:04.951491 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
11:39:05.835799 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
11:39:07.220097 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
11:39:07.293378 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
PASS
ok github.com/hanwen/go-fuse/fs 15.908s
(neo) (z-dev) (g.env) kirr@deca:~/src/neo/src/github.com/hanwen/go-fuse/fs$ go test -run TestFileFdLeak -count 1000 -failfast
11:39:15.729319 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
11:39:15.759519 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
11:39:16.958485 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
11:39:17.055378 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
11:39:20.155459 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
--- FAIL: TestFileFdLeak (0.02s)
simple_test.go:178: found 4 used file handles, should be <= 3
FAIL
exit status 1
FAIL github.com/hanwen/go-fuse/fs 5.020s
(neo) (z-dev) (g.env) kirr@deca:~/src/neo/src/github.com/hanwen/go-fuse/fs$ go test -run TestFileFdLeak -count 1000 -failfast
--- FAIL: TestFileFdLeak (0.05s)
simple_test.go:178: found 4 used file handles, should be <= 3
FAIL
exit status 1
FAIL github.com/hanwen/go-fuse/fs 1.032s
(neo) (z-dev) (g.env) kirr@deca:~/src/neo/src/github.com/hanwen/go-fuse/fs$ go test -run TestFileFdLeak -count 1000 -failfast
11:39:24.733796 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
--- FAIL: TestFileFdLeak (0.01s)
simple_test.go:178: found 4 used file handles, should be <= 3
FAIL
exit status 1
FAIL github.com/hanwen/go-fuse/fs 4.649s
go-fuse v2.3.0-11-g255ab74
from go-fuse.
After restoring GOMAXPROCS=1
into test matrix, TestFileFdLeak started to dominate in CI failures. See for example https://github.com/hanwen/go-fuse/actions/runs/5271837189 where in one CI run it failed on all
1.16.x,1, 1.17.x,1, 1.19.x,1 and 1.20.x .
from go-fuse.
Related Issues (20)
- example/hello cannot run when fusermount is not installed HOT 1
- user process can't access filesystem when not in primary group HOT 4
- fs: loopback does not respect calling UID/GID
- rawBridge passes a nil FileHandle to FsyncDir HOT 1
- Getattr sets Mode to 0120000 but file does not appear to be a symlink HOT 1
- newunionfs: FAIL: TestPosix/ReadDir HOT 4
- fuse/test: TestLargeDirRead: readdir mismatch got 99 wanted 100 HOT 4
- TestFopenKeepCache is still flaky HOT 5
- fs: TestFsstress is flaky HOT 4
- fs: TestReaddirplusParallel is flaky HOT 6
- fs: TestStaleHardlinks is flaky HOT 8
- TestMemNodeFsWrite: content mismatch: got "", want "hello" HOT 1
- TestMemNodeFsBasic: Size after write incorrect: got 0 want 1
- TestDirectMount: DirectMount effective mount options mismatch HOT 2
- How to create custom xattr with v2/fs HOT 3
- monitor file operations without entering the mount point HOT 1
- Go-FUSE logs are ambiguous with multiple servers HOT 4
- first level gocryptfs.diriv file always same when init in reverse mode HOT 1
- `Lseek` does not handle `ENXIO` HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from go-fuse.