Code Monkey home page Code Monkey logo

Comments (2)

navytux avatar navytux commented on June 18, 2024

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.

navytux avatar navytux commented on June 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.