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

TestFSOps: expect errno 0 but got is a directory #5659

Open
zhoucheng361 opened this issue Feb 14, 2025 · 0 comments · May be fixed by #5694
Open

TestFSOps: expect errno 0 but got is a directory #5659

zhoucheng361 opened this issue Feb 14, 2025 · 0 comments · May be fixed by #5694
Labels
kind/bug Something isn't working

Comments

@zhoucheng361
Copy link
Contributor

What happened:
https://github.com/juicedata/juicefs/actions/runs/13323319491/job/37211692074?pr=5573

=== RUN   TestFSOps
    random_test.go:2144: [rapid] failed after 4105 tests: expect errno 0 but got is a directory
        To reproduce, specify -run="TestFSOps" -rapid.failfile="testdata/rapid/TestFSOps/TestFSOps-20250214054809-17988.fail" (or -rapid.seed=8427566)
        Failed test output:
    random_test.go:126: [rapid] draw sid: 0x0
    random_test.go:2144: [rapid] draw action: "Mkdir"
    random_test.go:163: [rapid] draw uid: 0x0
    random_test.go:164: [rapid] draw gid: 0x0
    random_test.go:176: [rapid] draw node: 0x1
    random_test.go:1037: [rapid] draw name: "A"
    random_test.go:1038: [rapid] draw mode: 0x0
    random_test.go:1042: parent ino 1
    random_test.go:1046: dir ino 2
    random_test.go:2144: [rapid] draw action: "Mknod"
    random_test.go:163: [rapid] draw uid: 0x0
    random_test.go:164: [rapid] draw gid: 0x0
    random_test.go:176: [rapid] draw node: 0x1
    random_test.go:1057: [rapid] draw name: "?"
    random_test.go:1061: [rapid] draw type: 0x1
    random_test.go:1062: [rapid] draw mode: 0x0
    random_test.go:2144: [rapid] draw action: "Rename"
    random_test.go:1183: [rapid] draw name: "A"
    random_test.go:163: [rapid] draw uid: 0x0
    random_test.go:164: [rapid] draw gid: 0x0
    random_test.go:176: [rapid] draw node: 0x1
    random_test.go:421: [rapid] draw child: "?"
    random_test.go:163: [rapid] draw uid: 0x0
    random_test.go:164: [rapid] draw gid: 0x0
    random_test.go:176: [rapid] draw node: 0x1
    random_test.go:1221: expect errno 0 but got is a directory
--- FAIL: TestFSOps (39.67s)

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?

Environment:

  • JuiceFS version (use juicefs --version) or Hadoop Java SDK version:
  • Cloud provider or hardware configuration running JuiceFS:
  • OS (e.g cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Object storage (cloud provider and region, or self maintained):
  • Metadata engine info (version, cloud provider managed or self maintained):
  • Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
  • Others:
@zhoucheng361 zhoucheng361 added the kind/bug Something isn't working label Feb 14, 2025
@zhoucheng361 zhoucheng361 marked this as a duplicate of #5660 Feb 14, 2025
@jiefenghuang jiefenghuang linked a pull request Feb 25, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant