"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdirSub)$|^TestDirReadDirAll$/^Virtual$'" - Starting (try 2/5) 2025/11/20 13:22:52 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-juvokok9wenu" 2025/11/20 13:22:52 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/11/20 13:22:53 DEBUG : Starting OpenDrive session with ID: 6a529202be907d7fe413dff485be5dc5097392de0882a6c3f08dbfb2de2a187e 2025/11/20 13:22:53 DEBUG : Creating backend with remote "/tmp/rclone869802494" === RUN TestDirReadDirAll run.go:185: Remote "OpenDrive root 'rclone-test-juvokok9wenu'", Local "Local file system at /tmp/rclone869802494", Modify Window "1s" 2025/11/20 13:22:53 INFO : OpenDrive root 'rclone-test-juvokok9wenu': poll-interval is not supported by this remote 2025/11/20 13:22:53 NOTICE: OpenDrive root 'rclone-test-juvokok9wenu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream run.go:290: Failed to put "dir/file1" to "OpenDrive root 'rclone-test-juvokok9wenu'": failed to get folder list: Directory doesn't exist (Error 404) 2025/11/20 13:22:54 DEBUG : WaitForWriters: timeout=30s 2025/11/20 13:22:54 DEBUG : Looking for writers 2025/11/20 13:22:54 DEBUG : >WaitForWriters: 2025/11/20 13:22:54 ERROR : error listing: failed to get folder list: Directory doesn't exist (Error 404) run.go:169: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:169 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:393 /usr/local/go/src/testing/testing.go:1211 /usr/local/go/src/testing/testing.go:1445 /usr/local/go/src/testing/testing.go:1786 /usr/local/go/src/runtime/panic.go:636 /usr/local/go/src/testing/testing.go:1041 /usr/local/go/src/testing/testing.go:1125 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:290 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:297 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:256 Error: Received unexpected error: failed to get folder list: Directory doesn't exist (Error 404) Test: TestDirReadDirAll --- FAIL: TestDirReadDirAll (0.69s) === RUN TestDirCreate run.go:185: Remote "OpenDrive root 'rclone-test-juvokok9wenu'", Local "Local file system at /tmp/rclone869802494", Modify Window "1s" 2025/11/20 13:22:54 INFO : OpenDrive root 'rclone-test-juvokok9wenu': poll-interval is not supported by this remote 2025/11/20 13:22:54 NOTICE: OpenDrive root 'rclone-test-juvokok9wenu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/20 13:22:55 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 dir_test.go:354: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:354 Error: Should be true Test: TestDirCreate 2025/11/20 13:22:57 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/11/20 13:22:57 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/11/20 13:22:57 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/11/20 13:22:57 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/11/20 13:22:57 DEBUG : OpenDrive root 'rclone-test-juvokok9wenu': File to upload is small (5 bytes), uploading instead of streaming 2025/11/20 13:22:58 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/11/20 13:22:59 DEBUG : dir/potato: size = 5 OK 2025/11/20 13:22:59 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/11/20 13:22:59 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/11/20 13:22:59 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/11/20 13:22:59 DEBUG : WaitForWriters: timeout=30s 2025/11/20 13:22:59 DEBUG : dir: Looking for writers 2025/11/20 13:22:59 DEBUG : file1: reading active writers 2025/11/20 13:22:59 DEBUG : potato: reading active writers 2025/11/20 13:22:59 DEBUG : Looking for writers 2025/11/20 13:22:59 DEBUG : dir: reading active writers 2025/11/20 13:22:59 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (5.95s) === RUN TestDirMkdirSub run.go:185: Remote "OpenDrive root 'rclone-test-juvokok9wenu'", Local "Local file system at /tmp/rclone869802494", Modify Window "1s" 2025/11/20 13:23:00 INFO : OpenDrive root 'rclone-test-juvokok9wenu': poll-interval is not supported by this remote 2025/11/20 13:23:00 NOTICE: OpenDrive root 'rclone-test-juvokok9wenu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/11/20 13:23:01 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2025/11/20 13:23:10 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/11/20 13:23:11 ERROR : dir/sub/: Dir.Mkdir failed to read directory: failed to get folder list: Directory doesn't exist (Error 404) dir_test.go:422: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:422 Error: Received unexpected error: failed to get folder list: Directory doesn't exist (Error 404) Test: TestDirMkdirSub dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:426 Error: Not equal: expected: []string{"subsub,0,true"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "subsub,0,true" -} +([]string) Test: TestDirMkdirSub 2025/11/20 13:23:11 DEBUG : WaitForWriters: timeout=30s 2025/11/20 13:23:11 DEBUG : dir/sub: Looking for writers 2025/11/20 13:23:11 DEBUG : dir: Looking for writers 2025/11/20 13:23:11 DEBUG : file1: reading active writers 2025/11/20 13:23:11 DEBUG : sub: reading active writers 2025/11/20 13:23:11 DEBUG : Looking for writers 2025/11/20 13:23:11 DEBUG : dir: reading active writers 2025/11/20 13:23:11 DEBUG : >WaitForWriters: run.go:130: removing dir "dir" failed - try 1/3: folder not empty fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- FAIL: TestDirMkdirSub (20.66s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb44be5] goroutine 61 [running]: testing.tRunner.func1.2({0x23e1a80, 0x4205520}) /usr/local/go/src/testing/testing.go:1734 +0x21c testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1737 +0x35e panic({0x23e1a80?, 0x4205520?}) /usr/local/go/src/runtime/panic.go:792 +0x132 github.com/rclone/rclone/vfs.(*Dir).ReadDirAll(0x0) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir.go:1006 +0x25 github.com/rclone/rclone/vfs.checkListing(0xc0006b6000, 0xc0006b6000?, {0x0, 0x0, 0x0}) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:245 +0x45 github.com/rclone/rclone/vfs.TestDirMkdirSub(0xc0006b6000) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:427 +0x23e testing.tRunner(0xc0006b6000, 0x2a17ea0) /usr/local/go/src/testing/testing.go:1792 +0xf4 created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:1851 +0x413 "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdirSub)$|^TestDirReadDirAll$/^Virtual$'" - Finished ERROR in 28.247955935s (try 2/5): exit status 2: Failed [TestDirReadDirAll TestDirCreate TestDirMkdirSub]