"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose" - Starting (try 1/5) 2025/07/14 01:12:17 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-fedogon3jowo" 2025/07/14 01:12:17 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/07/14 01:12:17 DEBUG : Starting OpenDrive session with ID: 4587929d5e13d9a56dae8b256ecbd47623c31de5ad78824ed1a7d075bf26cff4 2025/07/14 01:12:18 DEBUG : Creating backend with remote "/tmp/rclone3298072956" === RUN TestDirHandleMethods run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:12:18 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:12:18 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:12:19 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:12:21 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:12:21 DEBUG : dir: Looking for writers 2025/07/14 01:12:21 DEBUG : Looking for writers 2025/07/14 01:12:21 DEBUG : dir: reading active writers 2025/07/14 01:12:21 DEBUG : >WaitForWriters: --- PASS: TestDirHandleMethods (4.02s) === RUN TestDirHandleReaddir run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:12:22 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:12:22 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:12:23 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:12:25 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2025/07/14 01:12:27 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 2025/07/14 01:12:29 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:12:29 DEBUG : dir/subdir: Looking for writers 2025/07/14 01:12:29 DEBUG : dir: Looking for writers 2025/07/14 01:12:29 DEBUG : file2: reading active writers 2025/07/14 01:12:29 DEBUG : subdir: reading active writers 2025/07/14 01:12:29 DEBUG : file1: reading active writers 2025/07/14 01:12:29 DEBUG : Looking for writers 2025/07/14 01:12:29 DEBUG : dir: reading active writers 2025/07/14 01:12:29 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddir (9.39s) === RUN TestDirHandleReaddirnames run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:12:31 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:12:31 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:12:32 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:12:34 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:12:34 DEBUG : dir: Looking for writers 2025/07/14 01:12:34 DEBUG : file1: reading active writers 2025/07/14 01:12:34 DEBUG : Looking for writers 2025/07/14 01:12:34 DEBUG : dir: reading active writers 2025/07/14 01:12:34 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: folder not empty --- PASS: TestDirHandleReaddirnames (5.36s) === RUN TestDirMethods run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:12:36 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:12:36 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:12:38 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:12:39 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:12:39 DEBUG : dir: Looking for writers 2025/07/14 01:12:39 DEBUG : Looking for writers 2025/07/14 01:12:39 DEBUG : dir: reading active writers 2025/07/14 01:12:39 DEBUG : >WaitForWriters: --- PASS: TestDirMethods (3.58s) === RUN TestDirForgetAll run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:12:40 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:12:40 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:12:41 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:12:43 DEBUG : dir: forgetting directory cache 2025/07/14 01:12:43 DEBUG : forgetting directory cache 2025/07/14 01:12:43 DEBUG : dir: forgetting directory cache 2025/07/14 01:12:43 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:12:43 DEBUG : Looking for writers 2025/07/14 01:12:43 DEBUG : >WaitForWriters: --- PASS: TestDirForgetAll (3.76s) === RUN TestDirForgetPath run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:12:44 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:12:44 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:12:45 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:12:47 DEBUG : ForgetPath: relativePath="dir/notfound", type=1 2025/07/14 01:12:47 DEBUG : dir: invalidating directory cache 2025/07/14 01:12:47 DEBUG : >ForgetPath: 2025/07/14 01:12:47 DEBUG : ForgetPath: relativePath="dir", type=0 2025/07/14 01:12:47 DEBUG : invalidating directory cache 2025/07/14 01:12:47 DEBUG : dir: forgetting directory cache 2025/07/14 01:12:47 DEBUG : >ForgetPath: 2025/07/14 01:12:47 DEBUG : ForgetPath: relativePath="not/in/cache", type=0 2025/07/14 01:12:47 DEBUG : >ForgetPath: 2025/07/14 01:12:47 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:12:47 DEBUG : dir: Looking for writers 2025/07/14 01:12:47 DEBUG : Looking for writers 2025/07/14 01:12:47 DEBUG : dir: reading active writers 2025/07/14 01:12:47 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (3.77s) === RUN TestDirWalk run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:12:48 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:12:48 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:12:49 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:12:52 DEBUG : fil/a/b/c: Uploading chunk 0, size=15, remain=0 2025/07/14 01:12:54 DEBUG : forgetting directory cache 2025/07/14 01:12:54 DEBUG : dir: forgetting directory cache 2025/07/14 01:12:54 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:12:54 DEBUG : dir: Looking for writers 2025/07/14 01:12:54 DEBUG : fil/a/b: Looking for writers 2025/07/14 01:12:54 DEBUG : fil/a: Looking for writers 2025/07/14 01:12:54 DEBUG : b: reading active writers 2025/07/14 01:12:54 DEBUG : fil: Looking for writers 2025/07/14 01:12:54 DEBUG : a: reading active writers 2025/07/14 01:12:54 DEBUG : Looking for writers 2025/07/14 01:12:54 DEBUG : dir: reading active writers 2025/07/14 01:12:54 DEBUG : fil: reading active writers 2025/07/14 01:12:54 DEBUG : >WaitForWriters: --- PASS: TestDirWalk (9.27s) === RUN TestDirSetModTime run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:12:57 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:12:57 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:12:58 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:12:59 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:12:59 DEBUG : dir: Looking for writers 2025/07/14 01:12:59 DEBUG : Looking for writers 2025/07/14 01:12:59 DEBUG : dir: reading active writers 2025/07/14 01:12:59 DEBUG : >WaitForWriters: --- PASS: TestDirSetModTime (3.61s) === RUN TestDirStat run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:13:00 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:13:00 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:13:02 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:13:03 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:13:03 DEBUG : dir: Looking for writers 2025/07/14 01:13:03 DEBUG : file1: reading active writers 2025/07/14 01:13:03 DEBUG : Looking for writers 2025/07/14 01:13:03 DEBUG : dir: reading active writers 2025/07/14 01:13:03 DEBUG : >WaitForWriters: --- PASS: TestDirStat (3.64s) === RUN TestDirReadDirAll run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:13:04 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:13:04 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:13:05 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:13:07 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2025/07/14 01:13:09 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 === RUN TestDirReadDirAll/Virtual 2025/07/14 01:13:11 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2025/07/14 01:13:11 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2025/07/14 01:13:11 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/07/14 01:13:11 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2025/07/14 01:13:11 DEBUG : dir/virtualFile: Uploading chunk 0, size=20, remain=0 2025/07/14 01:13:14 DEBUG : dir/virtualDir/testFile: Uploading chunk 0, size=17, remain=0 2025/07/14 01:13:15 DEBUG : dir: invalidating directory cache 2025/07/14 01:13:15 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2025/07/14 01:13:15 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2025/07/14 01:13:15 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2025/07/14 01:13:15 DEBUG : dir/file1: Reset virtual modtime 2025/07/14 01:13:15 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2025/07/14 01:13:15 DEBUG : dir/virtualFile: Reset virtual modtime 2025/07/14 01:13:15 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2025/07/14 01:13:15 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2025/07/14 01:13:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/14 01:13:15 DEBUG : dir: invalidating directory cache 2025/07/14 01:13:16 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2025/07/14 01:13:16 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/07/14 01:13:16 DEBUG : dir/virtualFile: Reset virtual modtime 2025/07/14 01:13:16 DEBUG : forgetting directory cache 2025/07/14 01:13:16 DEBUG : dir: forgetting directory cache 2025/07/14 01:13:16 DEBUG : dir/virtualDir: forgetting directory cache 2025/07/14 01:13:16 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:13:16 DEBUG : dir/virtualDir: Looking for writers 2025/07/14 01:13:16 DEBUG : dir: Looking for writers 2025/07/14 01:13:16 DEBUG : virtualFile2: reading active writers 2025/07/14 01:13:16 DEBUG : virtualFile: reading active writers 2025/07/14 01:13:16 DEBUG : virtualDir: reading active writers 2025/07/14 01:13:16 DEBUG : file1: reading active writers 2025/07/14 01:13:16 DEBUG : Looking for writers 2025/07/14 01:13:16 DEBUG : dir: reading active writers 2025/07/14 01:13:16 DEBUG : >WaitForWriters: --- PASS: TestDirReadDirAll (13.30s) --- PASS: TestDirReadDirAll/Virtual (4.86s) === RUN TestDirOpen run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:13:17 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:13:17 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:13:18 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:13:20 ERROR : dir/: Can only open directories read only 2025/07/14 01:13:20 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:13:20 DEBUG : dir: Looking for writers 2025/07/14 01:13:20 DEBUG : Looking for writers 2025/07/14 01:13:20 DEBUG : dir: reading active writers 2025/07/14 01:13:20 DEBUG : >WaitForWriters: --- PASS: TestDirOpen (3.47s) === RUN TestDirCreate run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:13:21 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:13:21 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:13:22 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:13:24 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/07/14 01:13:24 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/14 01:13:24 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/07/14 01:13:24 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/14 01:13:24 DEBUG : OpenDrive root 'rclone-test-fedogon3jowo': File to upload is small (5 bytes), uploading instead of streaming 2025/07/14 01:13:24 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/07/14 01:13:26 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/07/14 01:13:26 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/07/14 01:13:26 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/14 01:13:26 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:13:26 DEBUG : dir: Looking for writers 2025/07/14 01:13:26 DEBUG : file1: reading active writers 2025/07/14 01:13:26 DEBUG : potato: reading active writers 2025/07/14 01:13:26 DEBUG : Looking for writers 2025/07/14 01:13:26 DEBUG : dir: reading active writers 2025/07/14 01:13:26 DEBUG : >WaitForWriters: --- PASS: TestDirCreate (5.86s) === RUN TestDirMkdir run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:13:27 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:13:27 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:13:28 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:13:30 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/07/14 01:13:31 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:13:31 DEBUG : dir/sub: Looking for writers 2025/07/14 01:13:31 DEBUG : dir: Looking for writers 2025/07/14 01:13:31 DEBUG : file1: reading active writers 2025/07/14 01:13:31 DEBUG : sub: reading active writers 2025/07/14 01:13:31 DEBUG : Looking for writers 2025/07/14 01:13:31 DEBUG : dir: reading active writers 2025/07/14 01:13:31 DEBUG : >WaitForWriters: --- PASS: TestDirMkdir (5.30s) === RUN TestDirMkdirSub run.go:180: Remote "OpenDrive root 'rclone-test-fedogon3jowo'", Local "Local file system at /tmp/rclone3298072956", Modify Window "1s" 2025/07/14 01:13:32 INFO : OpenDrive root 'rclone-test-fedogon3jowo': poll-interval is not supported by this remote 2025/07/14 01:13:32 NOTICE: OpenDrive root 'rclone-test-fedogon3jowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/14 01:13:33 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/14 01:13:35 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2025/07/14 01:13:35 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 2025/07/14 01:13:35 DEBUG : WaitForWriters: timeout=30s 2025/07/14 01:13:35 DEBUG : dir/sub: Looking for writers 2025/07/14 01:13:35 DEBUG : dir: Looking for writers 2025/07/14 01:13:35 DEBUG : file1: reading active writers 2025/07/14 01:13:35 DEBUG : sub: reading active writers 2025/07/14 01:13:35 DEBUG : Looking for writers 2025/07/14 01:13:35 DEBUG : dir: reading active writers 2025/07/14 01:13:35 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (4.84s) 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=0x1e96025] goroutine 871 [running]: testing.tRunner.func1.2({0x2280960, 0x3f636d0}) /usr/local/go/src/testing/testing.go:1734 +0x21c testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1737 +0x35e panic({0x2280960?, 0x3f636d0?}) /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(0xc0008af880, 0xc0008af880?, {0x0, 0x0, 0x0}) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:245 +0x45 github.com/rclone/rclone/vfs.TestDirMkdirSub(0xc0008af880) /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:427 +0x23e testing.tRunner(0xc0008af880, 0x2883398) /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" - Finished ERROR in 1m20.118442769s (try 1/5): exit status 2: Failed [TestDirMkdirSub]