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

TestMemNodeFsBasic: Size after write incorrect: got 0 want 1 #480

Open
navytux opened this issue Jun 14, 2023 · 1 comment
Open

TestMemNodeFsBasic: Size after write incorrect: got 0 want 1 #480

navytux opened this issue Jun 14, 2023 · 1 comment

Comments

@navytux
Copy link
Contributor

navytux commented Jun 14, 2023

( This is probably due to the same reason as #479. Still filing for information not to get lost )

I'm getting TestMemNodeFsBasic failures.

The test fails reliably and quickly when run in a loop:

GOMAXPROCS=1 go test -run TestMemNodeFsBasic -count 1000 -failfast
(neo) (z-dev) (g.env) kirr@deca:~/src/neo/src/github.com/hanwen/go-fuse/fuse/nodefs$ GOMAXPROCS=1 go test  -run TestMemNodeFsBasic -count 1000 -failfast
17:02:09.980225 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:10.006436 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:10.041836 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:10.059018 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:10.128412 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:10.227891 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:10.392454 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:10.416665 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:10.441386 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:10.478822 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:10.501443 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
17:02:10.501740 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:10.523159 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:10.582940 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
--- FAIL: TestMemNodeFsBasic (0.00s)
    memnode_test.go:85: Size after write incorrect: got 0 want 1
FAIL
exit status 1
FAIL    github.com/hanwen/go-fuse/fuse/nodefs   0.671s

(neo) (z-dev) (g.env) kirr@deca:~/src/neo/src/github.com/hanwen/go-fuse/fuse/nodefs$ GOMAXPROCS=1 go test  -run TestMemNodeFsBasic -count 1000 -failfast
17:02:11.810029 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:11.833492 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:11.867196 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:11.914912 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:11.967787 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:12.030341 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:12.114258 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:12.137160 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:12.159238 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:12.208503 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:12.306333 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:12.339957 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
17:02:12.339978 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:12.380270 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:12.427632 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
17:02:12.427650 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:12.549287 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:12.651095 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
--- FAIL: TestMemNodeFsBasic (0.00s)
    memnode_test.go:85: Size after write incorrect: got 0 want 1
FAIL
exit status 1
FAIL    github.com/hanwen/go-fuse/fuse/nodefs   0.908s

(neo) (z-dev) (g.env) kirr@deca:~/src/neo/src/github.com/hanwen/go-fuse/fuse/nodefs$ GOMAXPROCS=1 go test  -run TestMemNodeFsBasic -count 1000 -failfast
17:02:13.667089 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:13.717399 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:13.761614 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:13.816041 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:13.872515 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:13.909801 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:13.933069 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:14.118173 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:14.118227 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
17:02:14.140675 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:14.224943 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:14.307957 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
17:02:14.307972 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:14.361086 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:14.392925 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
--- FAIL: TestMemNodeFsBasic (0.00s)
    memnode_test.go:85: Size after write incorrect: got 0 want 1
FAIL
exit status 1
FAIL    github.com/hanwen/go-fuse/fuse/nodefs   0.848s

(neo) (z-dev) (g.env) kirr@deca:~/src/neo/src/github.com/hanwen/go-fuse/fuse/nodefs$ GOMAXPROCS=1 go test  -run TestMemNodeFsBasic -count 1000 -failfast
17:02:15.337563 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
--- FAIL: TestMemNodeFsBasic (0.00s)
    memnode_test.go:85: Size after write incorrect: got 0 want 1
FAIL
exit status 1
FAIL    github.com/hanwen/go-fuse/fuse/nodefs   0.049s

(neo) (z-dev) (g.env) kirr@deca:~/src/neo/src/github.com/hanwen/go-fuse/fuse/nodefs$ GOMAXPROCS=1 go test  -run TestMemNodeFsBasic -count 1000 -failfast
17:02:18.652520 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:18.672869 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:18.795175 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:18.852193 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:18.875774 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:18.912095 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:18.958738 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:18.983469 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:19.148601 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:19.152209 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:19.193027 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
17:02:19.193044 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:19.230906 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:19.269032 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:19.306605 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:02:19.345352 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASE
17:02:19.345368 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
--- FAIL: TestMemNodeFsBasic (0.00s)
    memnode_test.go:85: Size after write incorrect: got 0 want 1
FAIL
exit status 1
FAIL    github.com/hanwen/go-fuse/fuse/nodefs   0.869s

Kirill

go-fuse: v2.3.0-11-g255ab74
os: Linux deca 6.1.0-9-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.27-1 (2023-05-08) x86_64 GNU/Linux
go: go version go1.20.5 linux/amd64

@navytux
Copy link
Contributor Author

navytux commented Sep 4, 2024

This issue is still present as of today:

GOMAXPROCS=1 go test -run TestMemNodeFsBasic -count 1000 -failfast
(neo) (zdev+py39.env) (g.env) kirr@deca:~/src/neo/src/github.com/hanwen/go-fuse/fuse/nodefs$ GOMAXPROCS=1 go test  -run TestMemNodeFsBasic -count 1000 -failfast
17:01:50.948147 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:01:51.018099 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:01:51.030447 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:01:51.056730 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:01:51.075515 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:01:51.139361 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
17:01:51.156636 writer: Write/Writev failed, err: 2=no such file or directory. opcode: RELEASEDIR
--- FAIL: TestMemNodeFsBasic (0.00s)
    memnode_test.go:85: Size after write incorrect: got 0 want 1
FAIL
exit status 1
FAIL    github.com/hanwen/go-fuse/fuse/nodefs   0.243s

go-fuse: v2.5.1-49-g1a7d98b
os: Linux deca 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/Linux
go: go version go1.21.13 linux/amd64

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

No branches or pull requests

1 participant