"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose" - Starting (try 1/5) 2026/03/28 01:17:41 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-fapeqab1topo" 2026/03/28 01:17:41 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/03/28 01:17:41 DEBUG : Starting OpenDrive session with ID: 5d7954a82f313eb44ec3e7cbceb65da0c7d132c1348a71ae75c5e2fa928744a5 2026/03/28 01:17:42 DEBUG : Creating backend with remote "/tmp/rclone135495322" === RUN TestDirHandleMethods run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:17:42 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:17:42 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:17:43 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:17:45 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:17:45 DEBUG : dir: Looking for writers 2026/03/28 01:17:45 DEBUG : Looking for writers 2026/03/28 01:17:45 DEBUG : dir: reading active writers 2026/03/28 01:17:45 DEBUG : >WaitForWriters: --- PASS: TestDirHandleMethods (4.03s) === RUN TestDirHandleReaddir run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:17:46 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:17:46 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:17:47 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:17:49 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2026/03/28 01:17:51 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 2026/03/28 01:17:53 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:17:53 DEBUG : dir/subdir: Looking for writers 2026/03/28 01:17:53 DEBUG : dir: Looking for writers 2026/03/28 01:17:53 DEBUG : file1: reading active writers 2026/03/28 01:17:53 DEBUG : file2: reading active writers 2026/03/28 01:17:53 DEBUG : subdir: reading active writers 2026/03/28 01:17:53 DEBUG : Looking for writers 2026/03/28 01:17:53 DEBUG : dir: reading active writers 2026/03/28 01:17:53 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddir (9.12s) === RUN TestDirHandleReaddirnames run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:17:55 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:17:55 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:17:56 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:17:57 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:17:57 DEBUG : dir: Looking for writers 2026/03/28 01:17:57 DEBUG : file1: reading active writers 2026/03/28 01:17:57 DEBUG : Looking for writers 2026/03/28 01:17:57 DEBUG : dir: reading active writers 2026/03/28 01:17:57 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddirnames (3.70s) === RUN TestDirMethods run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:17:58 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:17:58 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:18:00 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:18:01 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:18:01 DEBUG : dir: Looking for writers 2026/03/28 01:18:01 DEBUG : Looking for writers 2026/03/28 01:18:01 DEBUG : dir: reading active writers 2026/03/28 01:18:01 DEBUG : >WaitForWriters: --- PASS: TestDirMethods (3.52s) === RUN TestDirForgetAll run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:18:02 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:18:02 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:18:03 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:18:05 DEBUG : dir: forgetting directory cache 2026/03/28 01:18:05 DEBUG : forgetting directory cache 2026/03/28 01:18:05 DEBUG : dir: forgetting directory cache 2026/03/28 01:18:05 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:18:05 DEBUG : Looking for writers 2026/03/28 01:18:05 DEBUG : >WaitForWriters: --- PASS: TestDirForgetAll (3.70s) === RUN TestDirForgetPath run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:18:06 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:18:06 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:18:07 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:18:08 DEBUG : ForgetPath: relativePath="dir/notfound", type=1 2026/03/28 01:18:08 DEBUG : dir: invalidating directory cache 2026/03/28 01:18:08 DEBUG : >ForgetPath: 2026/03/28 01:18:08 DEBUG : ForgetPath: relativePath="dir", type=0 2026/03/28 01:18:08 DEBUG : invalidating directory cache 2026/03/28 01:18:08 DEBUG : dir: forgetting directory cache 2026/03/28 01:18:08 DEBUG : >ForgetPath: 2026/03/28 01:18:08 DEBUG : ForgetPath: relativePath="not/in/cache", type=0 2026/03/28 01:18:08 DEBUG : >ForgetPath: 2026/03/28 01:18:08 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:18:08 DEBUG : dir: Looking for writers 2026/03/28 01:18:08 DEBUG : Looking for writers 2026/03/28 01:18:08 DEBUG : dir: reading active writers 2026/03/28 01:18:08 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (3.70s) === RUN TestDirWalk run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:18:09 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:18:09 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:18:10 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:18:14 DEBUG : fil/a/b/c: Uploading chunk 0, size=15, remain=0 2026/03/28 01:18:16 DEBUG : forgetting directory cache 2026/03/28 01:18:16 DEBUG : dir: forgetting directory cache 2026/03/28 01:18:16 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:18:16 DEBUG : dir: Looking for writers 2026/03/28 01:18:16 DEBUG : fil/a/b: Looking for writers 2026/03/28 01:18:16 DEBUG : fil/a: Looking for writers 2026/03/28 01:18:16 DEBUG : b: reading active writers 2026/03/28 01:18:16 DEBUG : fil: Looking for writers 2026/03/28 01:18:16 DEBUG : a: reading active writers 2026/03/28 01:18:16 DEBUG : Looking for writers 2026/03/28 01:18:16 DEBUG : fil: reading active writers 2026/03/28 01:18:16 DEBUG : dir: reading active writers 2026/03/28 01:18:16 DEBUG : >WaitForWriters: --- PASS: TestDirWalk (9.63s) === RUN TestDirSetModTime run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:18:19 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:18:19 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:18:20 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:18:22 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:18:22 DEBUG : dir: Looking for writers 2026/03/28 01:18:22 DEBUG : Looking for writers 2026/03/28 01:18:22 DEBUG : dir: reading active writers 2026/03/28 01:18:22 DEBUG : >WaitForWriters: --- PASS: TestDirSetModTime (3.68s) === RUN TestDirStat run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:18:23 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:18:23 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:18:24 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:18:25 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:18:25 DEBUG : dir: Looking for writers 2026/03/28 01:18:25 DEBUG : file1: reading active writers 2026/03/28 01:18:25 DEBUG : Looking for writers 2026/03/28 01:18:25 DEBUG : dir: reading active writers 2026/03/28 01:18:25 DEBUG : >WaitForWriters: --- PASS: TestDirStat (4.18s) === RUN TestDirReadDirAll run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:18:27 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:18:27 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:18:28 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:18:30 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2026/03/28 01:18:32 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 === RUN TestDirReadDirAll/Virtual 2026/03/28 01:18:34 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2026/03/28 01:18:34 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2026/03/28 01:18:34 DEBUG : dir: Added virtual directory entry vDel: "file2" 2026/03/28 01:18:34 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2026/03/28 01:18:35 DEBUG : dir/virtualFile: Uploading chunk 0, size=20, remain=0 2026/03/28 01:18:38 DEBUG : dir/virtualDir/testFile: Uploading chunk 0, size=17, remain=0 2026/03/28 01:18:40 DEBUG : dir: invalidating directory cache 2026/03/28 01:18:40 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2026/03/28 01:18:40 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2026/03/28 01:18:40 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2026/03/28 01:18:40 DEBUG : dir/file1: Reset virtual modtime 2026/03/28 01:18:40 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2026/03/28 01:18:40 DEBUG : dir/virtualFile: Reset virtual modtime 2026/03/28 01:18:40 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2026/03/28 01:18:40 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2026/03/28 01:18:40 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/03/28 01:18:40 DEBUG : dir: invalidating directory cache 2026/03/28 01:18:40 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2026/03/28 01:18:40 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/03/28 01:18:40 DEBUG : dir/virtualFile: Reset virtual modtime 2026/03/28 01:18:40 DEBUG : forgetting directory cache 2026/03/28 01:18:40 DEBUG : dir: forgetting directory cache 2026/03/28 01:18:40 DEBUG : dir/virtualDir: forgetting directory cache 2026/03/28 01:18:40 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:18:40 DEBUG : dir/virtualDir: Looking for writers 2026/03/28 01:18:40 DEBUG : dir: Looking for writers 2026/03/28 01:18:40 DEBUG : file1: reading active writers 2026/03/28 01:18:40 DEBUG : virtualFile2: reading active writers 2026/03/28 01:18:40 DEBUG : virtualFile: reading active writers 2026/03/28 01:18:40 DEBUG : virtualDir: reading active writers 2026/03/28 01:18:40 DEBUG : Looking for writers 2026/03/28 01:18:40 DEBUG : dir: reading active writers 2026/03/28 01:18:40 DEBUG : >WaitForWriters: === NAME TestDirReadDirAll run.go:130: removing dir "dir/virtualDir" failed - try 1/3: folder not empty --- PASS: TestDirReadDirAll (16.53s) --- PASS: TestDirReadDirAll/Virtual (6.11s) === RUN TestDirOpen run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:18:43 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:18:43 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:18:45 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:18:46 ERROR : dir/: Can only open directories read only 2026/03/28 01:18:46 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:18:46 DEBUG : dir: Looking for writers 2026/03/28 01:18:46 DEBUG : Looking for writers 2026/03/28 01:18:46 DEBUG : dir: reading active writers 2026/03/28 01:18:46 DEBUG : >WaitForWriters: --- PASS: TestDirOpen (3.98s) === RUN TestDirCreate run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:18:47 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:18:47 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:18:48 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 2026/03/28 01:18:50 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2026/03/28 01:18:50 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2026/03/28 01:18:50 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2026/03/28 01:18:50 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2026/03/28 01:18:50 DEBUG : OpenDrive root 'rclone-test-fapeqab1topo': File to upload is small (5 bytes), uploading instead of streaming 2026/03/28 01:18:51 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2026/03/28 01:18:52 DEBUG : dir/potato: size = 5 OK 2026/03/28 01:18:52 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2026/03/28 01:18:52 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2026/03/28 01:18:52 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2026/03/28 01:18:52 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:18:52 DEBUG : dir: Looking for writers 2026/03/28 01:18:52 DEBUG : potato: reading active writers 2026/03/28 01:18:52 DEBUG : file1: reading active writers 2026/03/28 01:18:52 DEBUG : Looking for writers 2026/03/28 01:18:52 DEBUG : dir: reading active writers 2026/03/28 01:18:52 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (5.82s) === RUN TestDirMkdir run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:18:53 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:18:53 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:18:54 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:18:56 DEBUG : dir: Added virtual directory entry vAddDir: "sub" dir_test.go:398: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:398 Error: Should be true Test: TestDirMkdir 2026/03/28 01:18:57 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:18:57 DEBUG : dir/sub: Looking for writers 2026/03/28 01:18:57 DEBUG : dir: Looking for writers 2026/03/28 01:18:57 DEBUG : file1: reading active writers 2026/03/28 01:18:57 DEBUG : sub: reading active writers 2026/03/28 01:18:57 DEBUG : Looking for writers 2026/03/28 01:18:57 DEBUG : dir: reading active writers 2026/03/28 01:18:57 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (5.41s) === RUN TestDirMkdirSub run.go:185: Remote "OpenDrive root 'rclone-test-fapeqab1topo'", Local "Local file system at /tmp/rclone135495322", Modify Window "1s" 2026/03/28 01:18:59 INFO : OpenDrive root 'rclone-test-fapeqab1topo': poll-interval is not supported by this remote 2026/03/28 01:18:59 NOTICE: OpenDrive root 'rclone-test-fapeqab1topo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/03/28 01:19:00 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/03/28 01:19:02 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2026/03/28 01:19:02 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 2026/03/28 01:19:02 DEBUG : WaitForWriters: timeout=30s 2026/03/28 01:19:02 DEBUG : dir/sub: Looking for writers 2026/03/28 01:19:02 DEBUG : dir: Looking for writers 2026/03/28 01:19:02 DEBUG : file1: reading active writers 2026/03/28 01:19:02 DEBUG : sub: reading active writers 2026/03/28 01:19:02 DEBUG : Looking for writers 2026/03/28 01:19:02 DEBUG : dir: reading active writers 2026/03/28 01:19:02 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (5.40s) panic: runtime error: invalid memory address or nil pointer dereference [recovered, repanicked] [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xb62085] goroutine 883 [running]: testing.tRunner.func1.2({0x2507480, 0x45e66a0}) /usr/local/go/src/testing/testing.go:1974 +0x232 testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1977 +0x349 panic({0x2507480?, 0x45e66a0?}) /usr/local/go/src/runtime/panic.go:860 +0x13a 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(0xfe32e7ab208, 0xfe32e7ab208?, {0x0, 0x0, 0x0}) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:245 +0x45 github.com/rclone/rclone/vfs.TestDirMkdirSub(0xfe32e7ab208) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:427 +0x21e testing.tRunner(0xfe32e7ab208, 0x2b9b510) /usr/local/go/src/testing/testing.go:2036 +0xea created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:2101 +0x4c5 "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose" - Finished ERROR in 1m23.36869349s (try 1/5): exit status 2: Failed [TestDirCreate TestDirMkdir TestDirMkdirSub]