"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdir|TestDirMkdirSub|TestDirRemoveName|TestRWCacheUpdate)$|^TestDirReadDirAll$/^Virtual$'" - Starting (try 2/5) 2026/02/07 05:48:20 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-nivivil9fiwo" 2026/02/07 05:48:20 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2026/02/07 05:48:21 DEBUG : Starting OpenDrive session with ID: 2beedb64d332e1f88408c8c2464833a943a80effce02a91b1cca581793080dcd 2026/02/07 05:48:21 DEBUG : Creating backend with remote "/tmp/rclone790354072" === RUN TestDirReadDirAll run.go:185: Remote "OpenDrive root 'rclone-test-nivivil9fiwo'", Local "Local file system at /tmp/rclone790354072", Modify Window "1s" 2026/02/07 05:48:21 INFO : OpenDrive root 'rclone-test-nivivil9fiwo': poll-interval is not supported by this remote 2026/02/07 05:48:21 NOTICE: OpenDrive root 'rclone-test-nivivil9fiwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/07 05:48:23 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/02/07 05:48:25 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2026/02/07 05:48:27 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 === RUN TestDirReadDirAll/Virtual 2026/02/07 05:48:29 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2026/02/07 05:48:29 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2026/02/07 05:48:29 DEBUG : dir: Added virtual directory entry vDel: "file2" 2026/02/07 05:48:29 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2026/02/07 05:48:30 DEBUG : dir/virtualFile: Uploading chunk 0, size=20, remain=0 2026/02/07 05:48:32 DEBUG : dir/virtualDir/testFile: Uploading chunk 0, size=17, remain=0 2026/02/07 05:48:35 DEBUG : dir: invalidating directory cache 2026/02/07 05:48:35 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2026/02/07 05:48:35 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2026/02/07 05:48:35 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2026/02/07 05:48:35 DEBUG : dir/file1: Reset virtual modtime 2026/02/07 05:48:35 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2026/02/07 05:48:35 DEBUG : dir/virtualFile: Reset virtual modtime 2026/02/07 05:48:35 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2026/02/07 05:48:35 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2026/02/07 05:48:35 DEBUG : dir: Added virtual directory entry vDel: "file1" 2026/02/07 05:48:35 DEBUG : dir: invalidating directory cache 2026/02/07 05:48:35 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2026/02/07 05:48:35 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2026/02/07 05:48:35 DEBUG : dir/virtualFile: Reset virtual modtime 2026/02/07 05:48:35 DEBUG : forgetting directory cache 2026/02/07 05:48:35 DEBUG : dir: forgetting directory cache 2026/02/07 05:48:35 DEBUG : dir/virtualDir: forgetting directory cache 2026/02/07 05:48:35 DEBUG : WaitForWriters: timeout=30s 2026/02/07 05:48:35 DEBUG : dir/virtualDir: Looking for writers 2026/02/07 05:48:35 DEBUG : dir: Looking for writers 2026/02/07 05:48:35 DEBUG : virtualFile: reading active writers 2026/02/07 05:48:35 DEBUG : virtualDir: reading active writers 2026/02/07 05:48:35 DEBUG : file1: reading active writers 2026/02/07 05:48:35 DEBUG : virtualFile2: reading active writers 2026/02/07 05:48:35 DEBUG : Looking for writers 2026/02/07 05:48:35 DEBUG : dir: reading active writers 2026/02/07 05:48:35 DEBUG : >WaitForWriters: === NAME TestDirReadDirAll 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 --- PASS: TestDirReadDirAll (23.18s) --- PASS: TestDirReadDirAll/Virtual (5.46s) === RUN TestDirCreate run.go:185: Remote "OpenDrive root 'rclone-test-nivivil9fiwo'", Local "Local file system at /tmp/rclone790354072", Modify Window "1s" 2026/02/07 05:48:44 INFO : OpenDrive root 'rclone-test-nivivil9fiwo': poll-interval is not supported by this remote 2026/02/07 05:48:44 NOTICE: OpenDrive root 'rclone-test-nivivil9fiwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/07 05:48:46 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/02/07 05:48:47 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2026/02/07 05:48:47 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2026/02/07 05:48:47 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2026/02/07 05:48:47 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2026/02/07 05:48:47 DEBUG : OpenDrive root 'rclone-test-nivivil9fiwo': File to upload is small (5 bytes), uploading instead of streaming 2026/02/07 05:48:48 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2026/02/07 05:48:49 DEBUG : dir/potato: size = 5 OK 2026/02/07 05:48:49 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2026/02/07 05:48:49 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2026/02/07 05:48:49 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2026/02/07 05:48:49 DEBUG : WaitForWriters: timeout=30s 2026/02/07 05:48:49 DEBUG : dir: Looking for writers 2026/02/07 05:48:49 DEBUG : potato: reading active writers 2026/02/07 05:48:49 DEBUG : file1: reading active writers 2026/02/07 05:48:49 DEBUG : Looking for writers 2026/02/07 05:48:49 DEBUG : dir: reading active writers 2026/02/07 05:48:49 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (5.85s) === RUN TestDirMkdir run.go:185: Remote "OpenDrive root 'rclone-test-nivivil9fiwo'", Local "Local file system at /tmp/rclone790354072", Modify Window "1s" 2026/02/07 05:48:50 INFO : OpenDrive root 'rclone-test-nivivil9fiwo': poll-interval is not supported by this remote 2026/02/07 05:48:50 NOTICE: OpenDrive root 'rclone-test-nivivil9fiwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/07 05:48:51 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/02/07 05:48:54 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2026/02/07 05:48:54 DEBUG : WaitForWriters: timeout=30s 2026/02/07 05:48:54 DEBUG : dir/sub: Looking for writers 2026/02/07 05:48:54 DEBUG : dir: Looking for writers 2026/02/07 05:48:54 DEBUG : file1: reading active writers 2026/02/07 05:48:54 DEBUG : sub: reading active writers 2026/02/07 05:48:54 DEBUG : Looking for writers 2026/02/07 05:48:54 DEBUG : dir: reading active writers 2026/02/07 05:48:54 DEBUG : >WaitForWriters: 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 --- PASS: TestDirMkdir (13.13s) === RUN TestDirMkdirSub run.go:185: Remote "OpenDrive root 'rclone-test-nivivil9fiwo'", Local "Local file system at /tmp/rclone790354072", Modify Window "1s" 2026/02/07 05:49:03 INFO : OpenDrive root 'rclone-test-nivivil9fiwo': poll-interval is not supported by this remote 2026/02/07 05:49:03 NOTICE: OpenDrive root 'rclone-test-nivivil9fiwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2026/02/07 05:49:05 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2026/02/07 05:49:07 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2026/02/07 05:49:07 ERROR : dir/sub/: Dir.Mkdir failed to create 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/02/07 05:49:07 DEBUG : WaitForWriters: timeout=30s 2026/02/07 05:49:07 DEBUG : dir/sub: Looking for writers 2026/02/07 05:49:07 DEBUG : dir: Looking for writers 2026/02/07 05:49:07 DEBUG : file1: reading active writers 2026/02/07 05:49:07 DEBUG : sub: reading active writers 2026/02/07 05:49:07 DEBUG : Looking for writers 2026/02/07 05:49:07 DEBUG : dir: reading active writers 2026/02/07 05:49:07 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (5.15s) 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=0xb3e385] goroutine 270 [running]: testing.tRunner.func1.2({0x24a8cc0, 0x44b8bf0}) /usr/local/go/src/testing/testing.go:1734 +0x21c testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1737 +0x35e panic({0x24a8cc0?, 0x44b8bf0?}) /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(0xc0009de000, 0xc0009de000?, {0x0, 0x0, 0x0}) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:245 +0x45 github.com/rclone/rclone/vfs.TestDirMkdirSub(0xc0009de000) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:427 +0x23e testing.tRunner(0xc0009de000, 0x2b248e0) /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|TestDirMkdir|TestDirMkdirSub|TestDirRemoveName|TestRWCacheUpdate)$|^TestDirReadDirAll$/^Virtual$'" - Finished ERROR in 48.281963413s (try 2/5): exit status 2: Failed [TestDirCreate TestDirMkdirSub]