"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirForgetAll|TestDirForgetPath|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileRemove|TestFileRemoveAll|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSMkdirAll|TestWriteFileHandleMethods)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$'" - Starting (try 2/5) 2024/10/29 01:25:21 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-cikipud6hetu" 2024/10/29 01:25:21 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/10/29 01:25:22 DEBUG : Starting OpenDrive session with ID: 94f62c88e7a9613bffc30446053eaf1bd1921f39508de2d1f7f7094acbe0e7bf 2024/10/29 01:25:22 DEBUG : Creating backend with remote "/tmp/rclone1647463767" === RUN TestDirHandleReaddir run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:25:22 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:25:22 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:25:24 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:25:25 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2024/10/29 01:25:29 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 2024/10/29 01:25:31 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:25:31 DEBUG : dir/subdir: Looking for writers 2024/10/29 01:25:31 DEBUG : dir: Looking for writers 2024/10/29 01:25:31 DEBUG : file1: reading active writers 2024/10/29 01:25:31 DEBUG : file2: reading active writers 2024/10/29 01:25:31 DEBUG : subdir: reading active writers 2024/10/29 01:25:31 DEBUG : : Looking for writers 2024/10/29 01:25:31 DEBUG : dir: reading active writers 2024/10/29 01:25:31 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddir (10.60s) === RUN TestDirHandleReaddirnames run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:25:33 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:25:33 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:28:55 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:28:57 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:28:57 DEBUG : dir: Looking for writers 2024/10/29 01:28:57 DEBUG : file1: reading active writers 2024/10/29 01:28:57 DEBUG : : Looking for writers 2024/10/29 01:28:57 DEBUG : dir: reading active writers 2024/10/29 01:28:57 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddirnames (205.24s) === RUN TestDirMethods run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:28:58 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:28:58 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:28:59 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:29:01 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:29:01 DEBUG : dir: Looking for writers 2024/10/29 01:29:01 DEBUG : : Looking for writers 2024/10/29 01:29:01 DEBUG : dir: reading active writers 2024/10/29 01:29:01 DEBUG : >WaitForWriters: --- PASS: TestDirMethods (3.53s) === RUN TestDirForgetAll run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:29:02 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:29:02 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:29:03 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:29:04 DEBUG : dir: forgetting directory cache 2024/10/29 01:29:04 DEBUG : : forgetting directory cache 2024/10/29 01:29:04 DEBUG : dir: forgetting directory cache 2024/10/29 01:29:04 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:29:04 DEBUG : : Looking for writers 2024/10/29 01:29:04 DEBUG : >WaitForWriters: --- PASS: TestDirForgetAll (3.72s) === RUN TestDirForgetPath run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:29:05 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:29:05 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:29:06 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:29:08 DEBUG : : ForgetPath: relativePath="dir/notfound", type=1 2024/10/29 01:29:08 DEBUG : dir: invalidating directory cache 2024/10/29 01:29:08 DEBUG : : >ForgetPath: 2024/10/29 01:29:08 DEBUG : : ForgetPath: relativePath="dir", type=0 2024/10/29 01:29:08 DEBUG : : invalidating directory cache 2024/10/29 01:29:08 DEBUG : dir: forgetting directory cache 2024/10/29 01:29:08 DEBUG : : >ForgetPath: 2024/10/29 01:29:08 DEBUG : : ForgetPath: relativePath="not/in/cache", type=0 2024/10/29 01:29:08 DEBUG : : >ForgetPath: 2024/10/29 01:29:08 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:29:08 DEBUG : dir: Looking for writers 2024/10/29 01:29:08 DEBUG : : Looking for writers 2024/10/29 01:29:08 DEBUG : dir: reading active writers 2024/10/29 01:29:08 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (3.82s) === RUN TestDirWalk run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:29:09 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:29:09 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:29:10 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:29:14 DEBUG : fil/a/b/c: Uploading chunk 0, size=15, remain=0 2024/10/29 01:29:15 DEBUG : : forgetting directory cache 2024/10/29 01:29:15 DEBUG : dir: forgetting directory cache 2024/10/29 01:29:16 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:29:16 DEBUG : dir: Looking for writers 2024/10/29 01:29:16 DEBUG : fil/a/b: Looking for writers 2024/10/29 01:29:16 DEBUG : fil/a: Looking for writers 2024/10/29 01:29:16 DEBUG : b: reading active writers 2024/10/29 01:29:16 DEBUG : fil: Looking for writers 2024/10/29 01:29:16 DEBUG : a: reading active writers 2024/10/29 01:29:16 DEBUG : : Looking for writers 2024/10/29 01:29:16 DEBUG : fil: reading active writers 2024/10/29 01:29:16 DEBUG : dir: reading active writers 2024/10/29 01:29:16 DEBUG : >WaitForWriters: --- PASS: TestDirWalk (9.01s) === RUN TestDirSetModTime run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:29:18 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:29:18 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:29:19 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:29:21 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:29:21 DEBUG : dir: Looking for writers 2024/10/29 01:29:21 DEBUG : : Looking for writers 2024/10/29 01:29:21 DEBUG : dir: reading active writers 2024/10/29 01:29:21 DEBUG : >WaitForWriters: --- PASS: TestDirSetModTime (3.55s) === RUN TestDirStat run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:29:22 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:29:22 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:29:23 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:29:24 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:29:24 DEBUG : dir: Looking for writers 2024/10/29 01:29:24 DEBUG : file1: reading active writers 2024/10/29 01:29:24 DEBUG : : Looking for writers 2024/10/29 01:29:24 DEBUG : dir: reading active writers 2024/10/29 01:29:24 DEBUG : >WaitForWriters: --- PASS: TestDirStat (3.71s) === RUN TestDirReadDirAll run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:29:25 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:29:25 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:29:27 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:29:28 DEBUG : dir/file2: Uploading chunk 0, size=15, remain=0 2024/10/29 01:29:30 DEBUG : dir/subdir/file3: Uploading chunk 0, size=16, remain=0 === RUN TestDirReadDirAll/Virtual 2024/10/29 01:29:32 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2024/10/29 01:29:32 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2024/10/29 01:29:32 DEBUG : dir: Added virtual directory entry vDel: "file2" 2024/10/29 01:29:32 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2024/10/29 01:29:33 DEBUG : dir/virtualFile: Uploading chunk 0, size=20, remain=0 2024/10/29 01:29:36 DEBUG : dir/virtualDir/testFile: Uploading chunk 0, size=17, remain=0 2024/10/29 01:29:38 DEBUG : dir: invalidating directory cache 2024/10/29 01:29:38 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2024/10/29 01:29:38 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2024/10/29 01:29:38 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2024/10/29 01:29:38 DEBUG : dir/file1: Reset virtual modtime 2024/10/29 01:29:38 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2024/10/29 01:29:38 DEBUG : dir/virtualFile: Reset virtual modtime 2024/10/29 01:29:38 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2024/10/29 01:29:38 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2024/10/29 01:29:38 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:29:38 DEBUG : dir: invalidating directory cache 2024/10/29 01:29:38 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2024/10/29 01:29:38 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2024/10/29 01:29:38 DEBUG : dir/virtualFile: Reset virtual modtime 2024/10/29 01:29:38 DEBUG : : forgetting directory cache 2024/10/29 01:29:38 DEBUG : dir: forgetting directory cache 2024/10/29 01:29:38 DEBUG : dir/virtualDir: forgetting directory cache 2024/10/29 01:29:38 DEBUG : dir/file1: Reset virtual modtime 2024/10/29 01:29:38 DEBUG : dir/virtualFile: Reset virtual modtime 2024/10/29 01:29:38 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:29:38 DEBUG : dir/virtualDir: Looking for writers 2024/10/29 01:29:38 DEBUG : dir: Looking for writers 2024/10/29 01:29:38 DEBUG : file1: reading active writers 2024/10/29 01:29:38 DEBUG : virtualFile2: reading active writers 2024/10/29 01:29:38 DEBUG : virtualFile: reading active writers 2024/10/29 01:29:38 DEBUG : virtualDir: reading active writers 2024/10/29 01:29:38 DEBUG : : Looking for writers 2024/10/29 01:29:38 DEBUG : dir: reading active writers 2024/10/29 01:29:38 DEBUG : >WaitForWriters: --- PASS: TestDirReadDirAll (14.99s) --- PASS: TestDirReadDirAll/Virtual (5.98s) === RUN TestDirOpen run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:29:40 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:29:40 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:29:42 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:29:43 ERROR : dir/: Can only open directories read only 2024/10/29 01:29:43 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:29:43 DEBUG : dir: Looking for writers 2024/10/29 01:29:43 DEBUG : : Looking for writers 2024/10/29 01:29:43 DEBUG : dir: reading active writers 2024/10/29 01:29:43 DEBUG : >WaitForWriters: --- PASS: TestDirOpen (3.57s) === RUN TestDirCreate run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:29:44 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:29:44 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:29:45 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 dir_test.go:351: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:351 Error: Should be true Test: TestDirCreate 2024/10/29 01:29:47 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2024/10/29 01:29:47 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2024/10/29 01:29:47 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2024/10/29 01:29:47 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2024/10/29 01:29:47 DEBUG : OpenDrive root 'rclone-test-cikipud6hetu': File to upload is small (5 bytes), uploading instead of streaming 2024/10/29 01:29:48 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2024/10/29 01:29:48 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2024/10/29 01:29:48 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2024/10/29 01:29:48 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2024/10/29 01:29:48 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:29:48 DEBUG : dir: Looking for writers 2024/10/29 01:29:48 DEBUG : file1: reading active writers 2024/10/29 01:29:48 DEBUG : potato: reading active writers 2024/10/29 01:29:48 DEBUG : : Looking for writers 2024/10/29 01:29:48 DEBUG : dir: reading active writers 2024/10/29 01:29:48 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (5.63s) === RUN TestDirMkdir run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:29:50 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:29:50 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:29:51 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:29:53 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2024/10/29 01:29:53 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:29:53 DEBUG : dir/sub: Looking for writers 2024/10/29 01:29:53 DEBUG : dir: Looking for writers 2024/10/29 01:29:53 DEBUG : file1: reading active writers 2024/10/29 01:29:53 DEBUG : sub: reading active writers 2024/10/29 01:29:53 DEBUG : : Looking for writers 2024/10/29 01:29:53 DEBUG : dir: reading active writers 2024/10/29 01:29:53 DEBUG : >WaitForWriters: --- PASS: TestDirMkdir (5.38s) === RUN TestDirMkdirSub run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:29:55 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:29:55 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:29:56 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:29:58 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2024/10/29 01:29:58 ERROR : dir/sub/: Dir.Mkdir failed to read directory: failed to get folder list: Directory doesn't exist (Error 404) dir_test.go:419: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:419 Error: Received unexpected error: failed to get folder list: Directory doesn't exist (Error 404) Test: TestDirMkdirSub 2024/10/29 01:29:59 DEBUG : dir/sub: Dir.ReadDirAll error: failed to get folder list: Directory doesn't exist (Error 404) dir_test.go:243: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:243 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:423 Error: Received unexpected error: failed to get folder list: Directory doesn't exist (Error 404) Test: TestDirMkdirSub 2024/10/29 01:32:38 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:33:30 DEBUG : dir/sub: Looking for writers 2024/10/29 01:33:30 DEBUG : dir: Looking for writers 2024/10/29 01:33:31 DEBUG : file1: reading active writers 2024/10/29 01:33:31 DEBUG : sub: reading active writers 2024/10/29 01:33:31 DEBUG : : Looking for writers 2024/10/29 01:33:31 DEBUG : dir: reading active writers 2024/10/29 01:33:31 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (217.53s) === RUN TestDirRemove run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:33:33 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:33:33 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:33:34 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:33:35 ERROR : dir/: Dir.Remove not empty 2024/10/29 01:33:35 DEBUG : dir/file1: Remove: 2024/10/29 01:33:35 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:33:35 DEBUG : dir/file1: >Remove: err= 2024/10/29 01:33:36 DEBUG : : Added virtual directory entry vDel: "dir" 2024/10/29 01:33:36 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:33:36 DEBUG : : Looking for writers 2024/10/29 01:33:36 DEBUG : >WaitForWriters: --- PASS: TestDirRemove (3.77s) === RUN TestDirRemoveAll run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:33:36 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:33:36 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:33:37 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:33:39 DEBUG : dir/file1: Remove: 2024/10/29 01:33:39 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:33:39 DEBUG : dir/file1: >Remove: err= 2024/10/29 01:33:40 DEBUG : : Added virtual directory entry vDel: "dir" 2024/10/29 01:33:40 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:33:40 DEBUG : : Looking for writers 2024/10/29 01:33:40 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveAll (3.95s) === RUN TestDirRemoveName run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:33:40 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:33:40 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:33:41 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:33:43 DEBUG : dir/file1: Remove: 2024/10/29 01:33:43 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:33:43 DEBUG : dir/file1: >Remove: err= dir_test.go:501: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:501 Error: Should be true Test: TestDirRemoveName 2024/10/29 01:33:44 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:33:44 DEBUG : dir: Looking for writers 2024/10/29 01:33:44 DEBUG : : Looking for writers 2024/10/29 01:33:44 DEBUG : dir: reading active writers 2024/10/29 01:33:44 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (4.43s) === RUN TestDirRename run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:33:45 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:33:45 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:33:46 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:33:48 DEBUG : dir/file3: Uploading chunk 0, size=15, remain=0 2024/10/29 01:33:49 ERROR : dir/not found: Dir.Rename error: file does not exist 2024/10/29 01:33:50 DEBUG : dir2: same parent dir (ODFfNjY5NTY2MF9LTmVQMg) - using folder/rename instead of move_copy 2024/10/29 01:33:50 DEBUG : dir: Updating dir with dir2 0xc000894000 2024/10/29 01:33:50 DEBUG : dir: forgetting directory cache 2024/10/29 01:33:50 DEBUG : : Added virtual directory entry vDel: "dir" 2024/10/29 01:33:50 DEBUG : : Added virtual directory entry vAddDir: "dir2" 2024/10/29 01:33:51 INFO : dir2/file1: Moved (server-side) to: file2 2024/10/29 01:33:51 DEBUG : file2: Updating file with file2 0xc0001eb440 2024/10/29 01:33:51 DEBUG : dir2: Added virtual directory entry vDel: "file1" 2024/10/29 01:33:51 DEBUG : : Added virtual directory entry vAddFile: "file2" 2024/10/29 01:33:52 INFO : dir2/file3: Deleted 2024/10/29 01:33:52 INFO : file2: Moved (server-side) to: dir2/file3 2024/10/29 01:33:52 DEBUG : dir2/file3: Updating file with dir2/file3 0xc0001eb440 2024/10/29 01:33:52 DEBUG : : Added virtual directory entry vDel: "file2" 2024/10/29 01:33:52 DEBUG : dir2: Added virtual directory entry vAddFile: "file3" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2024/10/29 01:34:01 DEBUG : : Added virtual directory entry vAddDir: "empty directory" 2024/10/29 01:34:01 DEBUG : renamed empty directory: same parent dir (ODFfNjY5NTY2MF9LTmVQMg) - using folder/rename instead of move_copy 2024/10/29 01:34:01 DEBUG : empty directory: Updating dir with renamed empty directory 0xc0004fd1e0 2024/10/29 01:34:01 DEBUG : empty directory: forgetting directory cache 2024/10/29 01:34:01 DEBUG : : Added virtual directory entry vDel: "empty directory" 2024/10/29 01:34:01 DEBUG : : Added virtual directory entry vAddDir: "renamed empty directory" 2024/10/29 01:34:01 DEBUG : dir2: Renaming to "dir3" 2024/10/29 01:34:01 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:01 DEBUG : dir3: Looking for writers 2024/10/29 01:34:01 DEBUG : file3: reading active writers 2024/10/29 01:34:01 DEBUG : renamed empty directory: Looking for writers 2024/10/29 01:34:01 DEBUG : : Looking for writers 2024/10/29 01:34:01 DEBUG : dir3: reading active writers 2024/10/29 01:34:01 DEBUG : renamed empty directory: reading active writers 2024/10/29 01:34:01 DEBUG : >WaitForWriters: --- PASS: TestDirRename (17.68s) === RUN TestFileMethods run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:34:02 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:34:02 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:34:04 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:34:05 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:05 DEBUG : dir: Looking for writers 2024/10/29 01:34:05 DEBUG : file1: reading active writers 2024/10/29 01:34:05 DEBUG : : Looking for writers 2024/10/29 01:34:05 DEBUG : dir: reading active writers 2024/10/29 01:34:05 DEBUG : >WaitForWriters: --- PASS: TestFileMethods (4.03s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:34:06 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:34:06 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:34:08 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:34:10 DEBUG : time_test: Uploading chunk 0, size=5, remain=0 2024/10/29 01:34:11 DEBUG : Can set mod time: true 2024/10/29 01:34:12 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2024/10/29 01:34:12 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:12 DEBUG : dir: Looking for writers 2024/10/29 01:34:12 DEBUG : file1: reading active writers 2024/10/29 01:34:12 DEBUG : : Looking for writers 2024/10/29 01:34:12 DEBUG : dir: reading active writers 2024/10/29 01:34:12 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:34:13 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:34:13 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:34:14 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:34:16 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/29 01:34:16 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/10/29 01:34:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:34:16 DEBUG : OpenDrive root 'rclone-test-cikipud6hetu': File to upload is small (0 bytes), uploading instead of streaming 2024/10/29 01:34:19 DEBUG : dir/file1: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/29 01:34:19 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2024/10/29 01:34:20 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2024/10/29 01:34:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:34:20 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:20 DEBUG : dir: Looking for writers 2024/10/29 01:34:20 DEBUG : file1: reading active writers 2024/10/29 01:34:20 DEBUG : : Looking for writers 2024/10/29 01:34:20 DEBUG : dir: reading active writers 2024/10/29 01:34:20 DEBUG : >WaitForWriters: 2024/10/29 01:34:20 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:20 DEBUG : dir: Looking for writers 2024/10/29 01:34:20 DEBUG : file1: reading active writers 2024/10/29 01:34:20 DEBUG : : Looking for writers 2024/10/29 01:34:20 DEBUG : dir: reading active writers 2024/10/29 01:34:20 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:34:22 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:34:22 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:34:23 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:34:25 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/29 01:34:25 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/10/29 01:34:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:34:25 DEBUG : OpenDrive root 'rclone-test-cikipud6hetu': File to upload is small (5 bytes), uploading instead of streaming 2024/10/29 01:34:25 DEBUG : dir/file1: Uploading chunk 0, size=5, remain=0 2024/10/29 01:34:26 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2024/10/29 01:34:26 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2024/10/29 01:34:26 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2024/10/29 01:34:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:34:26 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:26 DEBUG : dir: Looking for writers 2024/10/29 01:34:26 DEBUG : file1: reading active writers 2024/10/29 01:34:26 DEBUG : : Looking for writers 2024/10/29 01:34:26 DEBUG : dir: reading active writers 2024/10/29 01:34:26 DEBUG : >WaitForWriters: 2024/10/29 01:34:27 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:27 DEBUG : dir: Looking for writers 2024/10/29 01:34:27 DEBUG : file1: reading active writers 2024/10/29 01:34:27 DEBUG : : Looking for writers 2024/10/29 01:34:27 DEBUG : dir: reading active writers 2024/10/29 01:34:27 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:34:28 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:34:28 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:34:28 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:28 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:28 DEBUG : Config file has changed externally - reloading 2024/10/29 01:34:28 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:34:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:28 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:34:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:28 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:34:29 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:34:31 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2024/10/29 01:34:31 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:31 DEBUG : dir: Looking for writers 2024/10/29 01:34:31 DEBUG : file1: reading active writers 2024/10/29 01:34:31 DEBUG : : Looking for writers 2024/10/29 01:34:31 DEBUG : dir: reading active writers 2024/10/29 01:34:31 DEBUG : >WaitForWriters: 2024/10/29 01:34:31 DEBUG : vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:34:32 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:34:32 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:34:32 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:32 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:32 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:32 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:34:32 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:32 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:32 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:34:32 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:32 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:34:33 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:34:35 DEBUG : dir/file1: Open: flags=O_WRONLY 2024/10/29 01:34:35 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:34:35 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:34:35 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:34:35 DEBUG : dir/file1(0xc00052b500): close: 2024/10/29 01:34:35 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2024/10/29 01:34:35 DEBUG : dir/file1(0xc00052b500): >close: err= 2024/10/29 01:34:35 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:35 DEBUG : dir: Looking for writers 2024/10/29 01:34:35 DEBUG : file1: reading active writers 2024/10/29 01:34:35 DEBUG : : Looking for writers 2024/10/29 01:34:35 DEBUG : dir: reading active writers 2024/10/29 01:34:35 DEBUG : >WaitForWriters: 2024/10/29 01:34:35 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:35 DEBUG : dir: Looking for writers 2024/10/29 01:34:35 DEBUG : file1: reading active writers 2024/10/29 01:34:35 DEBUG : : Looking for writers 2024/10/29 01:34:35 DEBUG : dir: reading active writers 2024/10/29 01:34:35 DEBUG : >WaitForWriters: 2024/10/29 01:34:35 DEBUG : vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:34:36 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:34:36 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:34:36 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:36 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:36 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:34:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:36 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:34:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:34:36 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:34:38 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:34:39 DEBUG : dir/file1: Open: flags=O_WRONLY 2024/10/29 01:34:39 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:34:39 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:34:39 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:34:39 DEBUG : dir/file1(0xc000828080): _writeAt: size=5, off=0 2024/10/29 01:34:39 DEBUG : dir/file1(0xc000828080): openPending: 2024/10/29 01:34:39 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2024/10/29 01:34:39 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/29 01:34:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:34:39 DEBUG : dir/file1(0xc000828080): >openPending: err= 2024/10/29 01:34:39 DEBUG : dir/file1(0xc000828080): >_writeAt: n=5, err= 2024/10/29 01:34:39 DEBUG : dir/file1: vfs cache: setting modification time to 2011-12-25 12:59:59.123456789 +0000 UTC 2024/10/29 01:34:39 DEBUG : dir/file1(0xc000828080): close: 2024/10/29 01:34:39 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:5}] - present false 2024/10/29 01:34:39 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 5 length -1 2024/10/29 01:34:39 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 5 chunkSize 134217728 2024/10/29 01:34:39 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2024/10/29 01:34:40 DEBUG : dir/file1: vfs cache: setting modification time to 2011-12-25 12:59:59.123456789 +0000 UTC 2024/10/29 01:34:40 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/29 01:34:40 DEBUG : dir/file1(0xc000828080): >close: err= 2024/10/29 01:34:40 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:40 DEBUG : dir: Looking for writers 2024/10/29 01:34:40 DEBUG : file1: reading active writers 2024/10/29 01:34:40 DEBUG : : Looking for writers 2024/10/29 01:34:40 DEBUG : dir: reading active writers 2024/10/29 01:34:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/29 01:34:40 DEBUG : dir: Looking for writers 2024/10/29 01:34:40 DEBUG : file1: reading active writers 2024/10/29 01:34:40 DEBUG : : Looking for writers 2024/10/29 01:34:40 DEBUG : dir: reading active writers 2024/10/29 01:34:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/29 01:34:40 DEBUG : dir: Looking for writers 2024/10/29 01:34:40 DEBUG : file1: reading active writers 2024/10/29 01:34:40 DEBUG : : Looking for writers 2024/10/29 01:34:40 DEBUG : dir: reading active writers 2024/10/29 01:34:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/29 01:34:40 DEBUG : dir: Looking for writers 2024/10/29 01:34:40 DEBUG : file1: reading active writers 2024/10/29 01:34:40 DEBUG : : Looking for writers 2024/10/29 01:34:40 DEBUG : dir: reading active writers 2024/10/29 01:34:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/29 01:34:40 DEBUG : dir/file1: vfs cache: starting upload 2024/10/29 01:34:40 DEBUG : dir: Looking for writers 2024/10/29 01:34:40 DEBUG : file1: reading active writers 2024/10/29 01:34:40 DEBUG : : Looking for writers 2024/10/29 01:34:40 DEBUG : dir: reading active writers 2024/10/29 01:34:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/29 01:34:40 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:34:40 DEBUG : dir: Looking for writers 2024/10/29 01:34:40 DEBUG : file1: reading active writers 2024/10/29 01:34:40 DEBUG : : Looking for writers 2024/10/29 01:34:40 DEBUG : dir: reading active writers 2024/10/29 01:34:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/29 01:34:40 DEBUG : dir: Looking for writers 2024/10/29 01:34:40 DEBUG : file1: reading active writers 2024/10/29 01:34:40 DEBUG : : Looking for writers 2024/10/29 01:34:40 DEBUG : dir: reading active writers 2024/10/29 01:34:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/29 01:34:41 DEBUG : dir: Looking for writers 2024/10/29 01:34:41 DEBUG : file1: reading active writers 2024/10/29 01:34:41 DEBUG : : Looking for writers 2024/10/29 01:34:41 DEBUG : dir: reading active writers 2024/10/29 01:34:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/29 01:34:41 DEBUG : dir/file1: md5 = 60cac3f4f9c843121eee2ba9e0dac970 OK 2024/10/29 01:34:41 INFO : dir/file1: Copied (replaced existing) 2024/10/29 01:34:41 DEBUG : dir/file1: vfs cache: fingerprint now "14,2011-12-25 12:59:59 +0000 UTC,60cac3f4f9c843121eee2ba9e0dac970" 2024/10/29 01:34:41 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/10/29 01:34:41 DEBUG : dir/file1: Not setting pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC as it is already set 2024/10/29 01:34:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:34:41 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/10/29 01:34:42 DEBUG : dir: Looking for writers 2024/10/29 01:34:42 DEBUG : file1: reading active writers 2024/10/29 01:34:42 DEBUG : : Looking for writers 2024/10/29 01:34:42 DEBUG : dir: reading active writers 2024/10/29 01:34:42 DEBUG : >WaitForWriters: 2024/10/29 01:34:42 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:42 DEBUG : dir: Looking for writers 2024/10/29 01:34:42 DEBUG : file1: reading active writers 2024/10/29 01:34:42 DEBUG : : Looking for writers 2024/10/29 01:34:42 DEBUG : dir: reading active writers 2024/10/29 01:34:42 DEBUG : >WaitForWriters: 2024/10/29 01:34:42 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileSetModTime (37.12s) --- PASS: TestFileSetModTime/cache=off,open=false,write=false (6.49s) --- PASS: TestFileSetModTime/cache=off,open=true,write=false (9.09s) --- PASS: TestFileSetModTime/cache=off,open=true,write=true (5.82s) --- PASS: TestFileSetModTime/cache=full,open=false,write=false (4.31s) --- PASS: TestFileSetModTime/cache=full,open=true,write=false (4.27s) --- PASS: TestFileSetModTime/cache=full,open=true,write=true (7.14s) === RUN TestFileOpenRead run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:34:44 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:34:44 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:34:45 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:34:47 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:34:47 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/29 01:34:47 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/29 01:34:47 DEBUG : dir/file1: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2024/10/29 01:34:47 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:47 DEBUG : dir: Looking for writers 2024/10/29 01:34:47 DEBUG : file1: reading active writers 2024/10/29 01:34:47 DEBUG : : Looking for writers 2024/10/29 01:34:47 DEBUG : dir: reading active writers 2024/10/29 01:34:47 DEBUG : >WaitForWriters: --- PASS: TestFileOpenRead (4.63s) === RUN TestFileOpenWrite run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:34:48 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:34:48 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:34:49 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:34:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:34:51 DEBUG : OpenDrive root 'rclone-test-cikipud6hetu': File to upload is small (25 bytes), uploading instead of streaming 2024/10/29 01:34:51 DEBUG : dir/file1: Uploading chunk 0, size=25, remain=0 2024/10/29 01:34:52 DEBUG : dir/file1: md5 = c7247bead226dfd7bd970c17229f4044 OK 2024/10/29 01:34:52 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2024/10/29 01:34:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:34:52 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:52 DEBUG : dir: Looking for writers 2024/10/29 01:34:52 DEBUG : file1: reading active writers 2024/10/29 01:34:52 DEBUG : : Looking for writers 2024/10/29 01:34:52 DEBUG : dir: reading active writers 2024/10/29 01:34:52 DEBUG : >WaitForWriters: --- PASS: TestFileOpenWrite (4.94s) === RUN TestFileRemove run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:34:53 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:34:53 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:34:54 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:34:56 DEBUG : dir/file1: Remove: 2024/10/29 01:34:56 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:34:56 DEBUG : dir/file1: >Remove: err= 2024/10/29 01:34:56 DEBUG : dir/file1: Remove: 2024/10/29 01:34:56 DEBUG : dir/file1: >Remove: err=Read only file system 2024/10/29 01:34:56 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:34:56 DEBUG : dir: Looking for writers 2024/10/29 01:34:56 DEBUG : : Looking for writers 2024/10/29 01:34:56 DEBUG : dir: reading active writers 2024/10/29 01:34:56 DEBUG : >WaitForWriters: --- PASS: TestFileRemove (4.09s) === RUN TestFileRemoveAll run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:34:57 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:34:57 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:34:58 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:35:00 DEBUG : dir/file1: Remove: 2024/10/29 01:35:00 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:35:00 DEBUG : dir/file1: >Remove: err= 2024/10/29 01:35:01 DEBUG : dir/file1: Remove: 2024/10/29 01:35:01 DEBUG : dir/file1: >Remove: err=Read only file system 2024/10/29 01:35:01 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:01 DEBUG : dir: Looking for writers 2024/10/29 01:35:01 DEBUG : : Looking for writers 2024/10/29 01:35:01 DEBUG : dir: reading active writers 2024/10/29 01:35:01 DEBUG : >WaitForWriters: --- PASS: TestFileRemoveAll (4.26s) === RUN TestFileOpen run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:35:01 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:35:01 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:35:03 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:35:04 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:35:04 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/29 01:35:04 DEBUG : dir/file1: Open: flags=O_WRONLY 2024/10/29 01:35:04 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/10/29 01:35:04 DEBUG : dir/file1: Open: flags=O_RDWR 2024/10/29 01:35:04 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/10/29 01:35:04 DEBUG : dir/file1: Open: flags=0x3 2024/10/29 01:35:04 DEBUG : dir/file1: Can't figure out how to open with flags: 0x3 2024/10/29 01:35:04 DEBUG : dir/file1: >Open: fd=, err=permission denied 2024/10/29 01:35:04 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:04 DEBUG : dir: Looking for writers 2024/10/29 01:35:04 DEBUG : file1: reading active writers 2024/10/29 01:35:04 DEBUG : : Looking for writers 2024/10/29 01:35:04 DEBUG : dir: reading active writers 2024/10/29 01:35:04 DEBUG : >WaitForWriters: --- PASS: TestFileOpen (3.73s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:35:05 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:35:05 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:35:06 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:35:08 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:08 DEBUG : dir: Looking for writers 2024/10/29 01:35:08 DEBUG : file1: reading active writers 2024/10/29 01:35:08 DEBUG : : Looking for writers 2024/10/29 01:35:08 DEBUG : dir: reading active writers 2024/10/29 01:35:08 DEBUG : >WaitForWriters: 2024/10/29 01:35:09 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/29 01:35:09 DEBUG : newLeaf: Updating file with newLeaf 0xc000332a80 2024/10/29 01:35:09 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:35:09 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:35:10 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/29 01:35:10 DEBUG : dir/file1: Updating file with dir/file1 0xc000332a80 2024/10/29 01:35:10 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/29 01:35:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:10 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/29 01:35:10 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/10/29 01:35:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:10 DEBUG : dir/file1: File is currently open, delaying rename 0xc000332a80 2024/10/29 01:35:10 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:35:10 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:35:10 DEBUG : OpenDrive root 'rclone-test-cikipud6hetu': File to upload is small (25 bytes), uploading instead of streaming 2024/10/29 01:35:11 DEBUG : dir/file1: Uploading chunk 0, size=25, remain=0 2024/10/29 01:35:12 DEBUG : dir/file1: md5 = c7247bead226dfd7bd970c17229f4044 OK 2024/10/29 01:35:12 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2024/10/29 01:35:12 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:35:12 DEBUG : newLeaf: Running delayed rename now 2024/10/29 01:35:12 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/29 01:35:12 DEBUG : newLeaf: Updating file with newLeaf 0xc000332a80 2024/10/29 01:35:12 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:12 DEBUG : dir: Looking for writers 2024/10/29 01:35:12 DEBUG : : Looking for writers 2024/10/29 01:35:12 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:12 DEBUG : dir: reading active writers 2024/10/29 01:35:12 DEBUG : >WaitForWriters: 2024/10/29 01:35:12 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:12 DEBUG : dir: Looking for writers 2024/10/29 01:35:12 DEBUG : : Looking for writers 2024/10/29 01:35:12 DEBUG : dir: reading active writers 2024/10/29 01:35:12 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:12 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:35:13 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:35:13 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:35:13 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:35:13 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:13 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:13 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:35:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:13 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:35:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:13 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:35:15 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 fstest.go:121: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:121 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:126 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:145 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:28 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:302 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: dir/file1: Modification time difference too big |-208053h30m8.500000001s| > 1s (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2024-10-29 01:35:15 +0000 UTC) (precision 1s) 2024/10/29 01:35:16 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:16 DEBUG : dir: Looking for writers 2024/10/29 01:35:16 DEBUG : file1: reading active writers 2024/10/29 01:35:16 DEBUG : : Looking for writers 2024/10/29 01:35:16 DEBUG : dir: reading active writers 2024/10/29 01:35:16 DEBUG : >WaitForWriters: 2024/10/29 01:35:17 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/29 01:35:17 DEBUG : newLeaf: Updating file with newLeaf 0xc00060ee40 2024/10/29 01:35:17 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:35:17 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:35:18 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/29 01:35:18 DEBUG : dir/file1: Updating file with dir/file1 0xc00060ee40 2024/10/29 01:35:18 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/29 01:35:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:19 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/29 01:35:19 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/10/29 01:35:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:19 DEBUG : dir/file1: File is currently open, delaying rename 0xc00060ee40 2024/10/29 01:35:19 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:35:19 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:35:19 DEBUG : OpenDrive root 'rclone-test-cikipud6hetu': File to upload is small (25 bytes), uploading instead of streaming 2024/10/29 01:35:19 DEBUG : dir/file1: Uploading chunk 0, size=25, remain=0 2024/10/29 01:35:20 DEBUG : dir/file1: md5 = c7247bead226dfd7bd970c17229f4044 OK 2024/10/29 01:35:20 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2024/10/29 01:35:20 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:35:20 DEBUG : newLeaf: Running delayed rename now 2024/10/29 01:35:20 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/29 01:35:20 DEBUG : newLeaf: Updating file with newLeaf 0xc00060ee40 2024/10/29 01:35:20 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:20 DEBUG : dir: Looking for writers 2024/10/29 01:35:20 DEBUG : : Looking for writers 2024/10/29 01:35:20 DEBUG : dir: reading active writers 2024/10/29 01:35:20 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:20 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2024/10/29 01:35:28 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:28 DEBUG : dir: Looking for writers 2024/10/29 01:35:28 DEBUG : : Looking for writers 2024/10/29 01:35:28 DEBUG : dir: reading active writers 2024/10/29 01:35:28 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:28 DEBUG : >WaitForWriters: 2024/10/29 01:35:28 DEBUG : vfs cache: cleaner exiting fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache 2024/10/29 01:35:31 DEBUG : : forgetting directory cache 2024/10/29 01:35:31 DEBUG : dir: forgetting directory cache 2024/10/29 01:35:31 DEBUG : dir/subdir: forgetting directory cache fstest.go:286: Sleeping for 6s just to make sure === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:35:37 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:35:37 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:35:37 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:35:37 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:37 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:37 DEBUG : Config file has changed externally - reloading 2024/10/29 01:35:37 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:35:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:37 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:35:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:37 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:35:38 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:35:40 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/10/29 01:35:40 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:35:40 DEBUG : dir/file1(0xc000828480): openPending: 2024/10/29 01:35:40 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2024/10/29 01:35:40 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/29 01:35:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:40 DEBUG : dir/file1(0xc000828480): >openPending: err= 2024/10/29 01:35:40 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/29 01:35:40 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:35:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:40 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:35:40 DEBUG : dir/file1(0xc000828480): _writeAt: size=14, off=0 2024/10/29 01:35:40 DEBUG : dir/file1(0xc000828480): >_writeAt: n=14, err= 2024/10/29 01:35:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/29 01:35:40 DEBUG : dir/file1(0xc000828480): close: 2024/10/29 01:35:40 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/29 01:35:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/29 01:35:40 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/29 01:35:40 DEBUG : dir/file1(0xc000828480): >close: err= 2024/10/29 01:35:40 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:40 DEBUG : dir: Looking for writers 2024/10/29 01:35:40 DEBUG : file1: reading active writers 2024/10/29 01:35:40 DEBUG : : Looking for writers 2024/10/29 01:35:40 DEBUG : dir: reading active writers 2024/10/29 01:35:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/29 01:35:40 DEBUG : dir: Looking for writers 2024/10/29 01:35:40 DEBUG : file1: reading active writers 2024/10/29 01:35:40 DEBUG : : Looking for writers 2024/10/29 01:35:40 DEBUG : dir: reading active writers 2024/10/29 01:35:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/29 01:35:40 DEBUG : dir: Looking for writers 2024/10/29 01:35:40 DEBUG : file1: reading active writers 2024/10/29 01:35:40 DEBUG : : Looking for writers 2024/10/29 01:35:40 DEBUG : dir: reading active writers 2024/10/29 01:35:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/29 01:35:40 DEBUG : dir: Looking for writers 2024/10/29 01:35:40 DEBUG : file1: reading active writers 2024/10/29 01:35:40 DEBUG : : Looking for writers 2024/10/29 01:35:40 DEBUG : dir: reading active writers 2024/10/29 01:35:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/29 01:35:40 DEBUG : dir/file1: vfs cache: starting upload 2024/10/29 01:35:40 DEBUG : dir: Looking for writers 2024/10/29 01:35:40 DEBUG : file1: reading active writers 2024/10/29 01:35:40 DEBUG : : Looking for writers 2024/10/29 01:35:40 DEBUG : dir: reading active writers 2024/10/29 01:35:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/29 01:35:40 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:35:40 DEBUG : dir: Looking for writers 2024/10/29 01:35:40 DEBUG : file1: reading active writers 2024/10/29 01:35:40 DEBUG : : Looking for writers 2024/10/29 01:35:40 DEBUG : dir: reading active writers 2024/10/29 01:35:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/29 01:35:41 DEBUG : dir: Looking for writers 2024/10/29 01:35:41 DEBUG : file1: reading active writers 2024/10/29 01:35:41 DEBUG : : Looking for writers 2024/10/29 01:35:41 DEBUG : dir: reading active writers 2024/10/29 01:35:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/29 01:35:41 DEBUG : dir: Looking for writers 2024/10/29 01:35:41 DEBUG : file1: reading active writers 2024/10/29 01:35:41 DEBUG : : Looking for writers 2024/10/29 01:35:41 DEBUG : dir: reading active writers 2024/10/29 01:35:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/29 01:35:42 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2024/10/29 01:35:42 INFO : dir/file1: Copied (replaced existing) 2024/10/29 01:35:42 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/10/29 01:35:42 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/10/29 01:35:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:42 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/10/29 01:35:42 DEBUG : dir: Looking for writers 2024/10/29 01:35:42 DEBUG : file1: reading active writers 2024/10/29 01:35:42 DEBUG : : Looking for writers 2024/10/29 01:35:42 DEBUG : dir: reading active writers 2024/10/29 01:35:42 DEBUG : >WaitForWriters: 2024/10/29 01:35:42 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:35:42 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:35:42 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:35:42 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:35:42 DEBUG : dir/file1(0xc00031b680): _readAt: size=512, off=0 2024/10/29 01:35:42 DEBUG : dir/file1(0xc00031b680): openPending: 2024/10/29 01:35:42 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2024/10/29 01:35:42 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/10/29 01:35:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:42 DEBUG : dir/file1(0xc00031b680): >openPending: err= 2024/10/29 01:35:42 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/29 01:35:42 DEBUG : dir/file1(0xc00031b680): >_readAt: n=14, err=EOF 2024/10/29 01:35:42 DEBUG : dir/file1(0xc00031b680): close: 2024/10/29 01:35:42 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/10/29 01:35:42 DEBUG : dir/file1(0xc00031b680): >close: err= 2024/10/29 01:35:43 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/29 01:35:43 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/29 01:35:43 DEBUG : newLeaf: Updating file with newLeaf 0xc000332e40 2024/10/29 01:35:43 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:35:43 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:35:44 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/29 01:35:44 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/10/29 01:35:44 DEBUG : dir/file1: Updating file with dir/file1 0xc000332e40 2024/10/29 01:35:44 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/29 01:35:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:44 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/29 01:35:44 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:35:44 DEBUG : dir/file1(0xc00052a600): openPending: 2024/10/29 01:35:44 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2024/10/29 01:35:44 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," != cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595") 2024/10/29 01:35:44 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2024/10/29 01:35:44 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/29 01:35:44 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/29 01:35:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:44 DEBUG : dir/file1(0xc00052a600): >openPending: err= 2024/10/29 01:35:44 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/29 01:35:44 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:35:44 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:35:44 DEBUG : dir/file1(0xc00052a600): _writeAt: size=25, off=0 2024/10/29 01:35:44 DEBUG : dir/file1(0xc00052a600): >_writeAt: n=25, err= 2024/10/29 01:35:45 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/29 01:35:45 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/29 01:35:45 DEBUG : newLeaf: Updating file with newLeaf 0xc000332e40 2024/10/29 01:35:45 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:35:45 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:35:45 DEBUG : newLeaf(0xc00052a600): close: 2024/10/29 01:35:45 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/29 01:35:45 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-29 01:35:44.945572485 +0000 UTC m=+623.985014810 2024/10/29 01:35:45 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/29 01:35:45 DEBUG : newLeaf(0xc00052a600): >close: err= 2024/10/29 01:35:45 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:45 DEBUG : dir: Looking for writers 2024/10/29 01:35:45 DEBUG : : Looking for writers 2024/10/29 01:35:45 DEBUG : dir: reading active writers 2024/10/29 01:35:45 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/29 01:35:45 DEBUG : dir: Looking for writers 2024/10/29 01:35:45 DEBUG : : Looking for writers 2024/10/29 01:35:45 DEBUG : dir: reading active writers 2024/10/29 01:35:45 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/29 01:35:45 DEBUG : dir: Looking for writers 2024/10/29 01:35:45 DEBUG : : Looking for writers 2024/10/29 01:35:45 DEBUG : dir: reading active writers 2024/10/29 01:35:45 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/29 01:35:45 DEBUG : dir: Looking for writers 2024/10/29 01:35:45 DEBUG : : Looking for writers 2024/10/29 01:35:45 DEBUG : dir: reading active writers 2024/10/29 01:35:45 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/29 01:35:45 DEBUG : newLeaf: vfs cache: starting upload 2024/10/29 01:35:45 DEBUG : dir: Looking for writers 2024/10/29 01:35:45 DEBUG : : Looking for writers 2024/10/29 01:35:45 DEBUG : dir: reading active writers 2024/10/29 01:35:45 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/29 01:35:45 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2024/10/29 01:35:45 DEBUG : dir: Looking for writers 2024/10/29 01:35:45 DEBUG : : Looking for writers 2024/10/29 01:35:45 DEBUG : dir: reading active writers 2024/10/29 01:35:45 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/29 01:35:46 DEBUG : dir: Looking for writers 2024/10/29 01:35:46 DEBUG : : Looking for writers 2024/10/29 01:35:46 DEBUG : dir: reading active writers 2024/10/29 01:35:46 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/29 01:35:46 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2024/10/29 01:35:46 INFO : newLeaf: Copied (replaced existing) 2024/10/29 01:35:46 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-10-29 01:35:44 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2024/10/29 01:35:46 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/10/29 01:35:46 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:35:46 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/10/29 01:35:46 DEBUG : dir: Looking for writers 2024/10/29 01:35:46 DEBUG : : Looking for writers 2024/10/29 01:35:46 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:46 DEBUG : dir: reading active writers 2024/10/29 01:35:46 DEBUG : >WaitForWriters: 2024/10/29 01:35:47 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:47 DEBUG : dir: Looking for writers 2024/10/29 01:35:47 DEBUG : : Looking for writers 2024/10/29 01:35:47 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:47 DEBUG : dir: reading active writers 2024/10/29 01:35:47 DEBUG : >WaitForWriters: 2024/10/29 01:35:47 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:35:48 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:35:48 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:35:48 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:48 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:48 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:35:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:48 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:35:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:48 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:35:49 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:35:50 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:50 DEBUG : dir: Looking for writers 2024/10/29 01:35:50 DEBUG : file1: reading active writers 2024/10/29 01:35:50 DEBUG : : Looking for writers 2024/10/29 01:35:50 DEBUG : dir: reading active writers 2024/10/29 01:35:50 DEBUG : >WaitForWriters: 2024/10/29 01:35:51 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/29 01:35:51 DEBUG : newLeaf: Updating file with newLeaf 0xc0006700c0 2024/10/29 01:35:51 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:35:51 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:35:52 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/29 01:35:52 DEBUG : dir/file1: Updating file with dir/file1 0xc0006700c0 2024/10/29 01:35:52 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/29 01:35:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:53 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/29 01:35:53 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:35:53 DEBUG : dir/file1(0xc000828b80): openPending: 2024/10/29 01:35:53 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," against cached fingerprint "" 2024/10/29 01:35:53 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/29 01:35:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:53 DEBUG : dir/file1(0xc000828b80): >openPending: err= 2024/10/29 01:35:53 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/29 01:35:53 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:35:53 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:35:53 DEBUG : dir/file1(0xc000828b80): _writeAt: size=25, off=0 2024/10/29 01:35:53 DEBUG : dir/file1(0xc000828b80): >_writeAt: n=25, err= 2024/10/29 01:35:53 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/29 01:35:53 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/29 01:35:53 DEBUG : newLeaf: Updating file with newLeaf 0xc0006700c0 2024/10/29 01:35:53 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:35:53 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:35:53 DEBUG : newLeaf(0xc000828b80): close: 2024/10/29 01:35:53 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/29 01:35:53 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-29 01:35:53.029510083 +0000 UTC m=+632.068952397 2024/10/29 01:35:53 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/29 01:35:53 DEBUG : newLeaf(0xc000828b80): >close: err= 2024/10/29 01:35:53 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:53 DEBUG : dir: Looking for writers 2024/10/29 01:35:53 DEBUG : : Looking for writers 2024/10/29 01:35:53 DEBUG : dir: reading active writers 2024/10/29 01:35:53 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/29 01:35:53 DEBUG : dir: Looking for writers 2024/10/29 01:35:53 DEBUG : : Looking for writers 2024/10/29 01:35:53 DEBUG : dir: reading active writers 2024/10/29 01:35:53 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/29 01:35:53 DEBUG : dir: Looking for writers 2024/10/29 01:35:53 DEBUG : : Looking for writers 2024/10/29 01:35:53 DEBUG : dir: reading active writers 2024/10/29 01:35:53 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/29 01:35:53 DEBUG : dir: Looking for writers 2024/10/29 01:35:53 DEBUG : : Looking for writers 2024/10/29 01:35:53 DEBUG : dir: reading active writers 2024/10/29 01:35:53 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/29 01:35:53 DEBUG : newLeaf: vfs cache: starting upload 2024/10/29 01:35:53 DEBUG : dir: Looking for writers 2024/10/29 01:35:53 DEBUG : : Looking for writers 2024/10/29 01:35:53 DEBUG : dir: reading active writers 2024/10/29 01:35:53 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/29 01:35:53 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2024/10/29 01:35:53 DEBUG : dir: Looking for writers 2024/10/29 01:35:53 DEBUG : : Looking for writers 2024/10/29 01:35:53 DEBUG : dir: reading active writers 2024/10/29 01:35:53 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/29 01:35:54 DEBUG : dir: Looking for writers 2024/10/29 01:35:54 DEBUG : : Looking for writers 2024/10/29 01:35:54 DEBUG : dir: reading active writers 2024/10/29 01:35:54 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/29 01:35:54 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2024/10/29 01:35:54 INFO : newLeaf: Copied (replaced existing) 2024/10/29 01:35:54 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-10-29 01:35:53 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2024/10/29 01:35:54 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/10/29 01:35:54 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:35:54 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/10/29 01:35:54 DEBUG : dir: Looking for writers 2024/10/29 01:35:54 DEBUG : : Looking for writers 2024/10/29 01:35:54 DEBUG : dir: reading active writers 2024/10/29 01:35:54 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:54 DEBUG : >WaitForWriters: 2024/10/29 01:35:55 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:55 DEBUG : dir: Looking for writers 2024/10/29 01:35:55 DEBUG : : Looking for writers 2024/10/29 01:35:55 DEBUG : dir: reading active writers 2024/10/29 01:35:55 DEBUG : newLeaf: reading active writers 2024/10/29 01:35:55 DEBUG : >WaitForWriters: 2024/10/29 01:35:55 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:35:56 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:35:56 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:35:56 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:56 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:56 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:35:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:56 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:35:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:35:56 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:35:57 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:35:59 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/10/29 01:35:59 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:35:59 DEBUG : dir/file1(0xc000828440): openPending: 2024/10/29 01:35:59 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2024/10/29 01:35:59 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/29 01:35:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:59 DEBUG : dir/file1(0xc000828440): >openPending: err= 2024/10/29 01:35:59 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/29 01:35:59 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:35:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:35:59 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:35:59 DEBUG : dir/file1(0xc000828440): _writeAt: size=14, off=0 2024/10/29 01:35:59 DEBUG : dir/file1(0xc000828440): >_writeAt: n=14, err= 2024/10/29 01:35:59 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/29 01:35:59 DEBUG : dir/file1(0xc000828440): close: 2024/10/29 01:35:59 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/29 01:35:59 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/29 01:35:59 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/29 01:35:59 DEBUG : dir/file1(0xc000828440): >close: err= 2024/10/29 01:35:59 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:35:59 DEBUG : dir: Looking for writers 2024/10/29 01:35:59 DEBUG : file1: reading active writers 2024/10/29 01:35:59 DEBUG : : Looking for writers 2024/10/29 01:35:59 DEBUG : dir: reading active writers 2024/10/29 01:35:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/29 01:35:59 DEBUG : dir: Looking for writers 2024/10/29 01:35:59 DEBUG : file1: reading active writers 2024/10/29 01:35:59 DEBUG : : Looking for writers 2024/10/29 01:35:59 DEBUG : dir: reading active writers 2024/10/29 01:35:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/29 01:35:59 DEBUG : dir: Looking for writers 2024/10/29 01:35:59 DEBUG : file1: reading active writers 2024/10/29 01:35:59 DEBUG : : Looking for writers 2024/10/29 01:35:59 DEBUG : dir: reading active writers 2024/10/29 01:35:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/29 01:35:59 DEBUG : dir: Looking for writers 2024/10/29 01:35:59 DEBUG : file1: reading active writers 2024/10/29 01:35:59 DEBUG : : Looking for writers 2024/10/29 01:35:59 DEBUG : dir: reading active writers 2024/10/29 01:35:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/29 01:35:59 DEBUG : dir/file1: vfs cache: starting upload 2024/10/29 01:35:59 DEBUG : dir: Looking for writers 2024/10/29 01:35:59 DEBUG : file1: reading active writers 2024/10/29 01:35:59 DEBUG : : Looking for writers 2024/10/29 01:35:59 DEBUG : dir: reading active writers 2024/10/29 01:35:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/29 01:35:59 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:35:59 DEBUG : dir: Looking for writers 2024/10/29 01:35:59 DEBUG : file1: reading active writers 2024/10/29 01:35:59 DEBUG : : Looking for writers 2024/10/29 01:35:59 DEBUG : dir: reading active writers 2024/10/29 01:35:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/29 01:35:59 DEBUG : dir: Looking for writers 2024/10/29 01:35:59 DEBUG : file1: reading active writers 2024/10/29 01:35:59 DEBUG : : Looking for writers 2024/10/29 01:35:59 DEBUG : dir: reading active writers 2024/10/29 01:35:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/29 01:36:00 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2024/10/29 01:36:00 INFO : dir/file1: Copied (replaced existing) 2024/10/29 01:36:00 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/10/29 01:36:00 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/10/29 01:36:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:36:00 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/10/29 01:36:00 DEBUG : dir: Looking for writers 2024/10/29 01:36:00 DEBUG : file1: reading active writers 2024/10/29 01:36:00 DEBUG : : Looking for writers 2024/10/29 01:36:00 DEBUG : dir: reading active writers 2024/10/29 01:36:00 DEBUG : >WaitForWriters: 2024/10/29 01:36:00 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:36:00 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:36:00 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:36:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:36:00 DEBUG : dir/file1(0xc0005a0980): _readAt: size=512, off=0 2024/10/29 01:36:00 DEBUG : dir/file1(0xc0005a0980): openPending: 2024/10/29 01:36:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2024/10/29 01:36:00 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/10/29 01:36:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:36:00 DEBUG : dir/file1(0xc0005a0980): >openPending: err= 2024/10/29 01:36:00 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/29 01:36:00 DEBUG : dir/file1(0xc0005a0980): >_readAt: n=14, err=EOF 2024/10/29 01:36:00 DEBUG : dir/file1(0xc0005a0980): close: 2024/10/29 01:36:00 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/10/29 01:36:00 DEBUG : dir/file1(0xc0005a0980): >close: err= 2024/10/29 01:36:01 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/29 01:36:01 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/29 01:36:01 DEBUG : newLeaf: Updating file with newLeaf 0xc0006703c0 2024/10/29 01:36:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:36:01 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:36:02 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/29 01:36:02 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/10/29 01:36:02 DEBUG : dir/file1: Updating file with dir/file1 0xc0006703c0 2024/10/29 01:36:02 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/29 01:36:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:36:02 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/29 01:36:02 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:36:02 DEBUG : dir/file1(0xc0005a1d80): openPending: 2024/10/29 01:36:02 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2024/10/29 01:36:02 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," != cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595") 2024/10/29 01:36:02 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2024/10/29 01:36:02 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/29 01:36:02 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/29 01:36:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:36:02 DEBUG : dir/file1(0xc0005a1d80): >openPending: err= 2024/10/29 01:36:02 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/29 01:36:02 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:36:02 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:36:02 DEBUG : dir/file1(0xc0005a1d80): _writeAt: size=25, off=0 2024/10/29 01:36:02 DEBUG : dir/file1(0xc0005a1d80): >_writeAt: n=25, err= 2024/10/29 01:36:03 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/29 01:36:03 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/29 01:36:03 DEBUG : newLeaf: Updating file with newLeaf 0xc0006703c0 2024/10/29 01:36:03 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:36:03 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:36:03 DEBUG : newLeaf(0xc0005a1d80): close: 2024/10/29 01:36:03 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/29 01:36:03 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-29 01:36:02.809394094 +0000 UTC m=+641.848836449 2024/10/29 01:36:03 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/29 01:36:03 DEBUG : newLeaf(0xc0005a1d80): >close: err= 2024/10/29 01:36:03 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:36:03 DEBUG : dir: Looking for writers 2024/10/29 01:36:03 DEBUG : : Looking for writers 2024/10/29 01:36:03 DEBUG : dir: reading active writers 2024/10/29 01:36:03 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/29 01:36:03 DEBUG : dir: Looking for writers 2024/10/29 01:36:03 DEBUG : : Looking for writers 2024/10/29 01:36:03 DEBUG : dir: reading active writers 2024/10/29 01:36:03 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/29 01:36:03 DEBUG : dir: Looking for writers 2024/10/29 01:36:03 DEBUG : : Looking for writers 2024/10/29 01:36:03 DEBUG : dir: reading active writers 2024/10/29 01:36:03 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/29 01:36:03 DEBUG : dir: Looking for writers 2024/10/29 01:36:03 DEBUG : : Looking for writers 2024/10/29 01:36:03 DEBUG : dir: reading active writers 2024/10/29 01:36:03 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/29 01:36:03 DEBUG : newLeaf: vfs cache: starting upload 2024/10/29 01:36:03 DEBUG : dir: Looking for writers 2024/10/29 01:36:03 DEBUG : : Looking for writers 2024/10/29 01:36:03 DEBUG : dir: reading active writers 2024/10/29 01:36:03 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/29 01:36:03 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2024/10/29 01:36:03 DEBUG : dir: Looking for writers 2024/10/29 01:36:03 DEBUG : : Looking for writers 2024/10/29 01:36:03 DEBUG : dir: reading active writers 2024/10/29 01:36:03 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/29 01:36:03 DEBUG : dir: Looking for writers 2024/10/29 01:36:03 DEBUG : : Looking for writers 2024/10/29 01:36:03 DEBUG : dir: reading active writers 2024/10/29 01:36:03 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/29 01:36:04 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2024/10/29 01:36:04 INFO : newLeaf: Copied (replaced existing) 2024/10/29 01:36:04 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-10-29 01:36:02 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2024/10/29 01:36:04 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/10/29 01:36:04 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:36:04 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/10/29 01:36:04 DEBUG : dir: Looking for writers 2024/10/29 01:36:04 DEBUG : : Looking for writers 2024/10/29 01:36:04 DEBUG : dir: reading active writers 2024/10/29 01:36:04 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:04 DEBUG : >WaitForWriters: 2024/10/29 01:36:04 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:36:04 DEBUG : dir: Looking for writers 2024/10/29 01:36:04 DEBUG : : Looking for writers 2024/10/29 01:36:04 DEBUG : dir: reading active writers 2024/10/29 01:36:04 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:04 DEBUG : >WaitForWriters: 2024/10/29 01:36:04 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:36:06 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:36:06 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:36:06 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:06 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:06 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:36:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:06 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:36:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:06 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:36:07 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2024/10/29 01:36:08 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:36:08 DEBUG : dir: Looking for writers 2024/10/29 01:36:08 DEBUG : file1: reading active writers 2024/10/29 01:36:08 DEBUG : : Looking for writers 2024/10/29 01:36:08 DEBUG : dir: reading active writers 2024/10/29 01:36:08 DEBUG : >WaitForWriters: 2024/10/29 01:36:08 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:36:08 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:36:08 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:36:08 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:36:08 DEBUG : dir/file1(0xc0009325c0): _readAt: size=512, off=0 2024/10/29 01:36:08 DEBUG : dir/file1(0xc0009325c0): openPending: 2024/10/29 01:36:08 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2024/10/29 01:36:08 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/29 01:36:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:36:08 DEBUG : dir/file1(0xc0009325c0): >openPending: err= 2024/10/29 01:36:08 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2024/10/29 01:36:08 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/29 01:36:08 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/29 01:36:08 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/29 01:36:09 DEBUG : dir/file1(0xc0009325c0): >_readAt: n=14, err=EOF 2024/10/29 01:36:09 DEBUG : dir/file1(0xc0009325c0): close: 2024/10/29 01:36:09 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/10/29 01:36:09 DEBUG : dir/file1(0xc0009325c0): >close: err= 2024/10/29 01:36:10 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/29 01:36:10 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/29 01:36:10 DEBUG : newLeaf: Updating file with newLeaf 0xc000702300 2024/10/29 01:36:10 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:36:10 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:36:11 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/29 01:36:11 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/10/29 01:36:11 DEBUG : dir/file1: Updating file with dir/file1 0xc000702300 2024/10/29 01:36:11 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/29 01:36:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure 2024/10/29 01:36:19 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/29 01:36:19 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:36:19 DEBUG : dir/file1(0xc000828980): openPending: 2024/10/29 01:36:19 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2024/10/29 01:36:19 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," != cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595") 2024/10/29 01:36:19 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2024/10/29 01:36:19 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/29 01:36:19 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/29 01:36:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:36:19 DEBUG : dir/file1(0xc000828980): >openPending: err= 2024/10/29 01:36:19 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/29 01:36:19 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:36:19 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:36:19 DEBUG : dir/file1(0xc000828980): _writeAt: size=25, off=0 2024/10/29 01:36:19 DEBUG : dir/file1(0xc000828980): >_writeAt: n=25, err= 2024/10/29 01:36:19 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/29 01:36:19 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/29 01:36:19 DEBUG : newLeaf: Updating file with newLeaf 0xc000702300 2024/10/29 01:36:19 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/29 01:36:19 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:36:19 DEBUG : newLeaf(0xc000828980): close: 2024/10/29 01:36:19 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/29 01:36:19 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-29 01:36:19.035194253 +0000 UTC m=+658.074636578 2024/10/29 01:36:19 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/29 01:36:19 DEBUG : newLeaf(0xc000828980): >close: err= 2024/10/29 01:36:19 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:36:19 DEBUG : dir: Looking for writers 2024/10/29 01:36:19 DEBUG : : Looking for writers 2024/10/29 01:36:19 DEBUG : dir: reading active writers 2024/10/29 01:36:19 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/29 01:36:19 DEBUG : dir: Looking for writers 2024/10/29 01:36:19 DEBUG : : Looking for writers 2024/10/29 01:36:19 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:19 DEBUG : dir: reading active writers 2024/10/29 01:36:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/29 01:36:19 DEBUG : dir: Looking for writers 2024/10/29 01:36:19 DEBUG : : Looking for writers 2024/10/29 01:36:19 DEBUG : dir: reading active writers 2024/10/29 01:36:19 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/29 01:36:19 DEBUG : dir: Looking for writers 2024/10/29 01:36:19 DEBUG : : Looking for writers 2024/10/29 01:36:19 DEBUG : dir: reading active writers 2024/10/29 01:36:19 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/29 01:36:19 DEBUG : newLeaf: vfs cache: starting upload 2024/10/29 01:36:19 DEBUG : dir: Looking for writers 2024/10/29 01:36:19 DEBUG : : Looking for writers 2024/10/29 01:36:19 DEBUG : dir: reading active writers 2024/10/29 01:36:19 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/29 01:36:19 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2024/10/29 01:36:19 DEBUG : dir: Looking for writers 2024/10/29 01:36:19 DEBUG : : Looking for writers 2024/10/29 01:36:19 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:19 DEBUG : dir: reading active writers 2024/10/29 01:36:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/29 01:36:20 DEBUG : dir: Looking for writers 2024/10/29 01:36:20 DEBUG : : Looking for writers 2024/10/29 01:36:20 DEBUG : dir: reading active writers 2024/10/29 01:36:20 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/29 01:36:20 DEBUG : dir: Looking for writers 2024/10/29 01:36:20 DEBUG : : Looking for writers 2024/10/29 01:36:20 DEBUG : dir: reading active writers 2024/10/29 01:36:20 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/29 01:36:20 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2024/10/29 01:36:20 INFO : newLeaf: Copied (replaced existing) 2024/10/29 01:36:20 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-10-29 01:36:19 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2024/10/29 01:36:20 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/10/29 01:36:20 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/29 01:36:20 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/10/29 01:36:21 DEBUG : dir: Looking for writers 2024/10/29 01:36:21 DEBUG : : Looking for writers 2024/10/29 01:36:21 DEBUG : dir: reading active writers 2024/10/29 01:36:21 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:21 DEBUG : >WaitForWriters: 2024/10/29 01:36:22 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:36:22 DEBUG : dir: Looking for writers 2024/10/29 01:36:22 DEBUG : : Looking for writers 2024/10/29 01:36:22 DEBUG : dir: reading active writers 2024/10/29 01:36:22 DEBUG : newLeaf: reading active writers 2024/10/29 01:36:22 DEBUG : >WaitForWriters: 2024/10/29 01:36:22 DEBUG : vfs cache: cleaner exiting --- FAIL: TestFileRename (77.68s) --- PASS: TestFileRename/off,forceCache=false (8.31s) --- FAIL: TestFileRename/minimal,forceCache=false (23.53s) --- PASS: TestFileRename/minimal,forceCache=true (10.61s) --- PASS: TestFileRename/writes,forceCache=false (8.10s) --- PASS: TestFileRename/writes,forceCache=true (9.78s) --- PASS: TestFileRename/full,forceCache=false (17.35s) === RUN TestReadFileHandleMethods run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:36:23 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:36:23 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:36:24 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/10/29 01:36:25 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/29 01:36:26 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:36:26 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/29 01:36:26 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/10/29 01:36:26 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/29 01:36:26 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/10/29 01:36:26 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2024/10/29 01:36:26 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:36:26 DEBUG : dir: Looking for writers 2024/10/29 01:36:26 DEBUG : file1: reading active writers 2024/10/29 01:36:26 DEBUG : : Looking for writers 2024/10/29 01:36:26 DEBUG : dir: reading active writers 2024/10/29 01:36:26 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (4.26s) === RUN TestReadFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:36:27 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:36:27 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:36:28 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/10/29 01:36:29 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/29 01:36:30 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:36:30 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/29 01:36:30 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/10/29 01:36:30 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/29 01:36:30 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/10/29 01:36:30 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2024/10/29 01:36:30 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2024/10/29 01:36:30 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2024/10/29 01:36:30 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2024/10/29 01:36:30 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2024/10/29 01:36:30 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2024/10/29 01:36:30 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2024/10/29 01:36:30 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2024/10/29 01:36:30 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2024/10/29 01:36:30 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2024/10/29 01:36:30 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2024/10/29 01:36:30 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2024/10/29 01:36:30 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2024/10/29 01:36:30 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2024/10/29 01:36:30 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2024/10/29 01:36:30 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:36:30 DEBUG : dir: Looking for writers 2024/10/29 01:36:30 DEBUG : file1: reading active writers 2024/10/29 01:36:30 DEBUG : : Looking for writers 2024/10/29 01:36:30 DEBUG : dir: reading active writers 2024/10/29 01:36:30 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (4.41s) === RUN TestReadFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:36:32 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:36:32 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:36:33 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/10/29 01:36:34 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/29 01:36:34 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:36:34 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/29 01:36:34 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/10/29 01:36:34 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/29 01:36:34 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/10/29 01:36:34 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2024/10/29 01:36:34 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2024/10/29 01:36:34 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2024/10/29 01:36:34 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2024/10/29 01:36:34 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2024/10/29 01:36:34 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2024/10/29 01:36:34 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2024/10/29 01:36:35 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2024/10/29 01:36:35 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2024/10/29 01:36:35 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2024/10/29 01:36:35 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2024/10/29 01:36:35 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2024/10/29 01:36:35 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2024/10/29 01:36:35 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2024/10/29 01:36:35 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2024/10/29 01:36:35 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2024/10/29 01:36:35 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2024/10/29 01:36:35 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/10/29 01:36:35 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2024/10/29 01:36:35 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2024/10/29 01:36:35 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2024/10/29 01:36:35 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/10/29 01:36:35 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/10/29 01:36:36 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/10/29 01:36:36 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/10/29 01:36:36 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2024/10/29 01:36:36 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/10/29 01:36:36 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/10/29 01:36:36 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/10/29 01:36:36 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2024/10/29 01:36:36 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:36:36 DEBUG : dir: Looking for writers 2024/10/29 01:36:36 DEBUG : file1: reading active writers 2024/10/29 01:36:36 DEBUG : : Looking for writers 2024/10/29 01:36:36 DEBUG : dir: reading active writers 2024/10/29 01:36:36 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (5.26s) === RUN TestReadFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:36:37 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:36:37 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:36:38 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/10/29 01:36:39 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/29 01:36:40 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:36:40 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/29 01:36:40 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/10/29 01:36:40 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/29 01:36:40 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2024/10/29 01:36:40 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:36:40 DEBUG : dir: Looking for writers 2024/10/29 01:36:40 DEBUG : file1: reading active writers 2024/10/29 01:36:40 DEBUG : : Looking for writers 2024/10/29 01:36:40 DEBUG : dir: reading active writers 2024/10/29 01:36:40 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (4.37s) === RUN TestReadFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:36:41 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:36:41 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:36:42 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/10/29 01:36:44 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/29 01:36:44 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:36:44 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/29 01:36:44 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/10/29 01:36:44 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/29 01:36:44 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2024/10/29 01:36:45 DEBUG : dir/file1: ReadFileHandle.Release closing 2024/10/29 01:36:45 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2024/10/29 01:36:45 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:36:45 DEBUG : dir: Looking for writers 2024/10/29 01:36:45 DEBUG : file1: reading active writers 2024/10/29 01:36:45 DEBUG : : Looking for writers 2024/10/29 01:36:45 DEBUG : dir: reading active writers 2024/10/29 01:36:45 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (4.40s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:36:46 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:36:46 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:36:46 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:46 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:46 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:36:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:46 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:36:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:46 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:36:47 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/10/29 01:36:48 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/29 01:36:48 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:36:48 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:36:48 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:36:48 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:36:48 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/29 01:36:48 DEBUG : dir/file1(0xc000828000): _readAt: size=1, off=0 2024/10/29 01:36:48 DEBUG : dir/file1(0xc000828000): openPending: 2024/10/29 01:36:48 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/10/29 01:36:48 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/29 01:36:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:36:48 DEBUG : dir/file1(0xc000828000): >openPending: err= 2024/10/29 01:36:48 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/10/29 01:36:48 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/29 01:36:48 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/29 01:36:48 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/29 01:36:49 DEBUG : dir/file1(0xc000828000): >_readAt: n=1, err= 2024/10/29 01:36:49 DEBUG : dir/file1(0xc000828000): _readAt: size=256, off=1 2024/10/29 01:36:49 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2024/10/29 01:36:49 DEBUG : dir/file1(0xc000828000): >_readAt: n=15, err=EOF 2024/10/29 01:36:49 DEBUG : dir/file1(0xc000828000): _readAt: size=16, off=16 2024/10/29 01:36:49 DEBUG : dir/file1(0xc000828000): >_readAt: n=0, err=EOF 2024/10/29 01:36:49 DEBUG : dir/file1(0xc000828000): close: 2024/10/29 01:36:49 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/10/29 01:36:49 DEBUG : dir/file1(0xc000828000): >close: err= 2024/10/29 01:36:49 DEBUG : dir/file1(0xc000828000): close: 2024/10/29 01:36:49 DEBUG : dir/file1(0xc000828000): >close: err=file already closed 2024/10/29 01:36:49 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:36:49 DEBUG : dir: Looking for writers 2024/10/29 01:36:49 DEBUG : file1: reading active writers 2024/10/29 01:36:49 DEBUG : : Looking for writers 2024/10/29 01:36:49 DEBUG : dir: reading active writers 2024/10/29 01:36:49 DEBUG : >WaitForWriters: 2024/10/29 01:36:49 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (4.65s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:36:50 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:36:50 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:36:50 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:50 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:50 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:36:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:50 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:36:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:36:50 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:36:51 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/10/29 01:36:53 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/29 01:36:53 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:36:53 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:36:53 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:36:53 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:36:53 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/29 01:36:53 DEBUG : dir/file1(0xc000828440): _readAt: size=1, off=0 2024/10/29 01:36:53 DEBUG : dir/file1(0xc000828440): openPending: 2024/10/29 01:36:53 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/10/29 01:36:53 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/29 01:36:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:36:53 DEBUG : dir/file1(0xc000828440): >openPending: err= 2024/10/29 01:36:53 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/10/29 01:36:53 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/29 01:36:53 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/29 01:36:53 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/29 01:36:54 DEBUG : dir/file1(0xc000828440): >_readAt: n=1, err= 2024/10/29 01:36:54 DEBUG : dir/file1(0xc000828440): _readAt: size=1, off=5 2024/10/29 01:36:54 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2024/10/29 01:36:54 DEBUG : dir/file1(0xc000828440): >_readAt: n=1, err= 2024/10/29 01:36:54 DEBUG : dir/file1(0xc000828440): _readAt: size=1, off=3 2024/10/29 01:36:54 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2024/10/29 01:36:54 DEBUG : dir/file1(0xc000828440): >_readAt: n=1, err= 2024/10/29 01:36:54 DEBUG : dir/file1(0xc000828440): _readAt: size=1, off=13 2024/10/29 01:36:54 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2024/10/29 01:36:54 DEBUG : dir/file1(0xc000828440): >_readAt: n=1, err= 2024/10/29 01:36:54 DEBUG : dir/file1(0xc000828440): _readAt: size=16, off=100 2024/10/29 01:36:54 DEBUG : dir/file1(0xc000828440): >_readAt: n=0, err=EOF 2024/10/29 01:36:54 DEBUG : dir/file1(0xc000828440): close: 2024/10/29 01:36:54 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/10/29 01:36:54 DEBUG : dir/file1(0xc000828440): >close: err= 2024/10/29 01:36:54 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:36:54 DEBUG : dir: Looking for writers 2024/10/29 01:36:54 DEBUG : file1: reading active writers 2024/10/29 01:36:54 DEBUG : : Looking for writers 2024/10/29 01:36:54 DEBUG : dir: reading active writers 2024/10/29 01:36:54 DEBUG : >WaitForWriters: 2024/10/29 01:36:54 DEBUG : vfs cache: cleaner exiting fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestRWFileHandleSeek (11.97s) === RUN TestRWFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:37:02 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:37:02 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:37:02 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:02 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:02 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:37:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:02 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:37:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:02 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:37:03 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/10/29 01:37:05 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/29 01:37:05 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:37:05 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:37:05 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:37:05 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:37:05 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): _readAt: size=1, off=0 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): openPending: 2024/10/29 01:37:05 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/10/29 01:37:05 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/29 01:37:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): >openPending: err= 2024/10/29 01:37:05 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/10/29 01:37:05 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/29 01:37:05 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/29 01:37:05 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): >_readAt: n=1, err= 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): _readAt: size=1, off=5 2024/10/29 01:37:05 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): >_readAt: n=1, err= 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): _readAt: size=1, off=1 2024/10/29 01:37:05 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): >_readAt: n=1, err= 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): _readAt: size=6, off=10 2024/10/29 01:37:05 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): >_readAt: n=6, err= 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): _readAt: size=256, off=10 2024/10/29 01:37:05 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): >_readAt: n=6, err=EOF 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): _readAt: size=256, off=100 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): >_readAt: n=0, err=EOF 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): close: 2024/10/29 01:37:05 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): >close: err= 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): _readAt: size=256, off=100 2024/10/29 01:37:05 DEBUG : dir/file1(0xc000828c00): >_readAt: n=0, err=file already closed 2024/10/29 01:37:05 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:37:05 DEBUG : dir: Looking for writers 2024/10/29 01:37:05 DEBUG : file1: reading active writers 2024/10/29 01:37:05 DEBUG : : Looking for writers 2024/10/29 01:37:05 DEBUG : dir: reading active writers 2024/10/29 01:37:05 DEBUG : >WaitForWriters: 2024/10/29 01:37:05 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (4.30s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:37:06 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:37:06 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:37:06 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:06 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:06 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:37:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:06 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:37:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:06 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:37:08 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/10/29 01:37:09 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/29 01:37:09 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:37:09 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:37:09 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:37:09 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:37:09 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/29 01:37:09 DEBUG : dir/file1(0xc000828300): RWFileHandle.Flush 2024/10/29 01:37:09 DEBUG : dir/file1(0xc000828300): _readAt: size=256, off=0 2024/10/29 01:37:09 DEBUG : dir/file1(0xc000828300): openPending: 2024/10/29 01:37:09 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/10/29 01:37:09 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/29 01:37:09 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:09 DEBUG : dir/file1(0xc000828300): >openPending: err= 2024/10/29 01:37:09 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2024/10/29 01:37:09 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/29 01:37:09 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/29 01:37:09 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/29 01:37:10 DEBUG : dir/file1(0xc000828300): >_readAt: n=16, err=EOF 2024/10/29 01:37:10 DEBUG : dir/file1(0xc000828300): RWFileHandle.Flush 2024/10/29 01:37:10 DEBUG : dir/file1(0xc000828300): RWFileHandle.Flush 2024/10/29 01:37:10 DEBUG : dir/file1(0xc000828300): close: 2024/10/29 01:37:10 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/10/29 01:37:10 DEBUG : dir/file1(0xc000828300): >close: err= 2024/10/29 01:37:10 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:37:10 DEBUG : dir: Looking for writers 2024/10/29 01:37:10 DEBUG : file1: reading active writers 2024/10/29 01:37:10 DEBUG : : Looking for writers 2024/10/29 01:37:10 DEBUG : dir: reading active writers 2024/10/29 01:37:10 DEBUG : >WaitForWriters: 2024/10/29 01:37:10 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (4.39s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:37:11 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:37:11 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:37:11 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:11 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:11 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:37:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:11 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:37:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:11 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:37:12 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/10/29 01:37:13 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/29 01:37:14 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/29 01:37:14 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:37:14 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:37:14 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:37:14 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/29 01:37:14 DEBUG : dir/file1(0xc00052b980): _readAt: size=256, off=0 2024/10/29 01:37:14 DEBUG : dir/file1(0xc00052b980): openPending: 2024/10/29 01:37:14 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/10/29 01:37:14 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/29 01:37:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:14 DEBUG : dir/file1(0xc00052b980): >openPending: err= 2024/10/29 01:37:14 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2024/10/29 01:37:14 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/29 01:37:14 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/29 01:37:14 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/29 01:37:14 DEBUG : dir/file1(0xc00052b980): >_readAt: n=16, err=EOF 2024/10/29 01:37:14 DEBUG : dir/file1(0xc00052b980): RWFileHandle.Release 2024/10/29 01:37:14 DEBUG : dir/file1(0xc00052b980): close: 2024/10/29 01:37:14 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/10/29 01:37:14 DEBUG : dir/file1(0xc00052b980): >close: err= 2024/10/29 01:37:14 DEBUG : dir/file1(0xc00052b980): RWFileHandle.Release 2024/10/29 01:37:14 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:37:14 DEBUG : dir: Looking for writers 2024/10/29 01:37:14 DEBUG : file1: reading active writers 2024/10/29 01:37:14 DEBUG : : Looking for writers 2024/10/29 01:37:14 DEBUG : dir: reading active writers 2024/10/29 01:37:14 DEBUG : >WaitForWriters: 2024/10/29 01:37:14 DEBUG : vfs cache: cleaner exiting run.go:125: removing dir "dir" failed - try 1/3: folder not empty --- PASS: TestRWFileHandleReleaseRead (5.57s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:37:16 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:37:16 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:37:16 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:16 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:16 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:37:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:16 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:37:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:16 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:37:18 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/10/29 01:37:19 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2024/10/29 01:37:19 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/29 01:37:19 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:37:19 DEBUG : dir/file1(0xc000828680): openPending: 2024/10/29 01:37:19 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/10/29 01:37:19 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/29 01:37:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:19 DEBUG : dir/file1(0xc000828680): >openPending: err= 2024/10/29 01:37:19 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/29 01:37:19 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:37:19 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:37:19 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/29 01:37:19 DEBUG : dir/file1(0xc000828680): _writeAt: size=5, off=0 2024/10/29 01:37:19 DEBUG : dir/file1(0xc000828680): >_writeAt: n=5, err= 2024/10/29 01:37:19 DEBUG : dir/file1(0xc000828680): close: 2024/10/29 01:37:19 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2024/10/29 01:37:19 DEBUG : dir/file1: vfs cache: setting modification time to 2024-10-29 01:37:19.616913185 +0000 UTC m=+718.656355510 2024/10/29 01:37:19 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/29 01:37:19 DEBUG : dir/file1(0xc000828680): >close: err= 2024/10/29 01:37:19 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:37:19 DEBUG : dir: Looking for writers 2024/10/29 01:37:19 DEBUG : file1: reading active writers 2024/10/29 01:37:19 DEBUG : : Looking for writers 2024/10/29 01:37:19 DEBUG : dir: reading active writers 2024/10/29 01:37:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/29 01:37:19 DEBUG : dir: Looking for writers 2024/10/29 01:37:19 DEBUG : file1: reading active writers 2024/10/29 01:37:19 DEBUG : : Looking for writers 2024/10/29 01:37:19 DEBUG : dir: reading active writers 2024/10/29 01:37:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/29 01:37:19 DEBUG : dir: Looking for writers 2024/10/29 01:37:19 DEBUG : file1: reading active writers 2024/10/29 01:37:19 DEBUG : : Looking for writers 2024/10/29 01:37:19 DEBUG : dir: reading active writers 2024/10/29 01:37:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/29 01:37:19 DEBUG : dir: Looking for writers 2024/10/29 01:37:19 DEBUG : file1: reading active writers 2024/10/29 01:37:19 DEBUG : : Looking for writers 2024/10/29 01:37:19 DEBUG : dir: reading active writers 2024/10/29 01:37:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/29 01:37:19 DEBUG : dir/file1: vfs cache: starting upload 2024/10/29 01:37:19 DEBUG : dir: Looking for writers 2024/10/29 01:37:19 DEBUG : file1: reading active writers 2024/10/29 01:37:19 DEBUG : : Looking for writers 2024/10/29 01:37:19 DEBUG : dir: reading active writers 2024/10/29 01:37:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/29 01:37:19 DEBUG : dir/file1: Uploading chunk 0, size=5, remain=0 2024/10/29 01:37:19 DEBUG : dir: Looking for writers 2024/10/29 01:37:19 DEBUG : file1: reading active writers 2024/10/29 01:37:19 DEBUG : : Looking for writers 2024/10/29 01:37:19 DEBUG : dir: reading active writers 2024/10/29 01:37:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/29 01:37:20 DEBUG : dir: Looking for writers 2024/10/29 01:37:20 DEBUG : file1: reading active writers 2024/10/29 01:37:20 DEBUG : : Looking for writers 2024/10/29 01:37:20 DEBUG : dir: reading active writers 2024/10/29 01:37:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/29 01:37:20 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2024/10/29 01:37:20 INFO : dir/file1: Copied (replaced existing) 2024/10/29 01:37:20 DEBUG : dir/file1: vfs cache: fingerprint now "5,2024-10-29 01:37:19 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2024/10/29 01:37:20 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/10/29 01:37:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:20 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/10/29 01:37:20 DEBUG : dir: Looking for writers 2024/10/29 01:37:20 DEBUG : file1: reading active writers 2024/10/29 01:37:20 DEBUG : : Looking for writers 2024/10/29 01:37:20 DEBUG : dir: reading active writers 2024/10/29 01:37:20 DEBUG : >WaitForWriters: 2024/10/29 01:37:20 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (4.99s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:37:21 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:37:21 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/29 01:37:21 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:21 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:21 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:37:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:21 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/29 01:37:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-cikipud6hetu" 2024/10/29 01:37:21 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/29 01:37:23 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2024/10/29 01:37:24 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/29 01:37:24 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2024/10/29 01:37:24 DEBUG : dir/file1: newRWFileHandle: 2024/10/29 01:37:24 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/29 01:37:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:24 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/29 01:37:24 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/29 01:37:24 DEBUG : dir/file1(0xc000932380): _writeAt: size=5, off=0 2024/10/29 01:37:24 DEBUG : dir/file1(0xc000932380): openPending: 2024/10/29 01:37:24 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2024/10/29 01:37:24 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/29 01:37:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:24 DEBUG : dir/file1(0xc000932380): >openPending: err= 2024/10/29 01:37:24 DEBUG : dir/file1(0xc000932380): >_writeAt: n=5, err= 2024/10/29 01:37:24 DEBUG : dir/file1(0xc000932380): _writeAt: size=15, off=5 2024/10/29 01:37:24 DEBUG : dir/file1(0xc000932380): >_writeAt: n=15, err= 2024/10/29 01:37:24 DEBUG : dir/file1(0xc000932380): close: 2024/10/29 01:37:24 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2024/10/29 01:37:24 DEBUG : dir/file1: vfs cache: setting modification time to 2024-10-29 01:37:24.596302356 +0000 UTC m=+723.635744670 2024/10/29 01:37:24 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/29 01:37:24 DEBUG : dir/file1(0xc000932380): >close: err= 2024/10/29 01:37:24 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:37:24 DEBUG : dir: Looking for writers 2024/10/29 01:37:24 DEBUG : file1: reading active writers 2024/10/29 01:37:24 DEBUG : : Looking for writers 2024/10/29 01:37:24 DEBUG : dir: reading active writers 2024/10/29 01:37:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/29 01:37:24 DEBUG : dir: Looking for writers 2024/10/29 01:37:24 DEBUG : file1: reading active writers 2024/10/29 01:37:24 DEBUG : : Looking for writers 2024/10/29 01:37:24 DEBUG : dir: reading active writers 2024/10/29 01:37:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/29 01:37:24 DEBUG : dir: Looking for writers 2024/10/29 01:37:24 DEBUG : file1: reading active writers 2024/10/29 01:37:24 DEBUG : : Looking for writers 2024/10/29 01:37:24 DEBUG : dir: reading active writers 2024/10/29 01:37:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/29 01:37:24 DEBUG : dir: Looking for writers 2024/10/29 01:37:24 DEBUG : file1: reading active writers 2024/10/29 01:37:24 DEBUG : : Looking for writers 2024/10/29 01:37:24 DEBUG : dir: reading active writers 2024/10/29 01:37:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/29 01:37:24 DEBUG : dir/file1: vfs cache: starting upload 2024/10/29 01:37:24 DEBUG : dir: Looking for writers 2024/10/29 01:37:24 DEBUG : file1: reading active writers 2024/10/29 01:37:24 DEBUG : : Looking for writers 2024/10/29 01:37:24 DEBUG : dir: reading active writers 2024/10/29 01:37:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/29 01:37:24 DEBUG : dir/file1: Uploading chunk 0, size=20, remain=0 2024/10/29 01:37:24 DEBUG : dir: Looking for writers 2024/10/29 01:37:24 DEBUG : file1: reading active writers 2024/10/29 01:37:24 DEBUG : : Looking for writers 2024/10/29 01:37:24 DEBUG : dir: reading active writers 2024/10/29 01:37:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/29 01:37:25 DEBUG : dir: Looking for writers 2024/10/29 01:37:25 DEBUG : file1: reading active writers 2024/10/29 01:37:25 DEBUG : : Looking for writers 2024/10/29 01:37:25 DEBUG : dir: reading active writers 2024/10/29 01:37:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/29 01:37:25 DEBUG : dir/file1: md5 = 5198435b5c4e591523b7f5435cc07e88 OK 2024/10/29 01:37:25 INFO : dir/file1: Copied (replaced existing) 2024/10/29 01:37:25 DEBUG : dir/file1: vfs cache: fingerprint now "20,2024-10-29 01:37:24 +0000 UTC,5198435b5c4e591523b7f5435cc07e88" 2024/10/29 01:37:25 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/10/29 01:37:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:25 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/10/29 01:37:25 DEBUG : dir: Looking for writers 2024/10/29 01:37:25 DEBUG : file1: reading active writers 2024/10/29 01:37:25 DEBUG : : Looking for writers 2024/10/29 01:37:25 DEBUG : dir: reading active writers 2024/10/29 01:37:25 DEBUG : >WaitForWriters: 2024/10/29 01:37:25 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (4.98s) === RUN TestVFSMkdirAll run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:37:26 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:37:26 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:37:27 DEBUG : : Added virtual directory entry vAddDir: "a" 2024/10/29 01:37:28 DEBUG : a: Added virtual directory entry vAddDir: "b" 2024/10/29 01:37:28 DEBUG : a/b: Added virtual directory entry vAddDir: "c" 2024/10/29 01:37:29 DEBUG : a/b/c: Added virtual directory entry vAddDir: "d" 2024/10/29 01:37:32 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:37:32 DEBUG : a/b/c/d: Looking for writers 2024/10/29 01:37:32 DEBUG : a/b/c: Looking for writers 2024/10/29 01:37:32 DEBUG : d: reading active writers 2024/10/29 01:37:32 DEBUG : a/b: Looking for writers 2024/10/29 01:37:32 DEBUG : c: reading active writers 2024/10/29 01:37:32 DEBUG : a: Looking for writers 2024/10/29 01:37:32 DEBUG : b: reading active writers 2024/10/29 01:37:32 DEBUG : : Looking for writers 2024/10/29 01:37:32 DEBUG : a: reading active writers 2024/10/29 01:37:32 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdirAll (7.91s) === RUN TestWriteFileHandleMethods run.go:180: Remote "OpenDrive root 'rclone-test-cikipud6hetu'", Local "Local file system at /tmp/rclone1647463767", Modify Window "1s" 2024/10/29 01:37:34 INFO : OpenDrive root 'rclone-test-cikipud6hetu': poll-interval is not supported by this remote 2024/10/29 01:37:34 NOTICE: OpenDrive root 'rclone-test-cikipud6hetu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/29 01:37:34 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/29 01:37:34 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/29 01:37:34 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:34 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/29 01:37:34 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/29 01:37:34 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:34 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2024/10/29 01:37:34 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2024/10/29 01:37:34 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2024/10/29 01:37:34 DEBUG : OpenDrive root 'rclone-test-cikipud6hetu': File to upload is small (5 bytes), uploading instead of streaming 2024/10/29 01:37:35 DEBUG : file1: Uploading chunk 0, size=5, remain=0 2024/10/29 01:37:36 DEBUG : file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2024/10/29 01:37:36 DEBUG : file1: Size and md5 of src and dst objects identical 2024/10/29 01:37:36 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:36 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/29 01:37:36 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/29 01:37:36 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:36 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/29 01:37:36 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/29 01:37:36 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/29 01:37:36 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/29 01:37:36 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:36 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/29 01:37:36 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/29 01:37:36 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2024/10/29 01:37:36 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2024/10/29 01:37:36 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2024/10/29 01:37:36 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:36 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/29 01:37:36 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/29 01:37:36 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:36 DEBUG : OpenDrive root 'rclone-test-cikipud6hetu': File to upload is small (0 bytes), uploading instead of streaming 2024/10/29 01:37:42 DEBUG : file1: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/29 01:37:42 DEBUG : file1: Size and md5 of src and dst objects identical 2024/10/29 01:37:42 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:42 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2024/10/29 01:37:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2024/10/29 01:37:42 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:42 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/29 01:37:42 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/29 01:37:42 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:42 DEBUG : OpenDrive root 'rclone-test-cikipud6hetu': File to upload is small (7 bytes), uploading instead of streaming 2024/10/29 01:37:42 DEBUG : file1: Uploading chunk 0, size=7, remain=0 2024/10/29 01:37:43 DEBUG : file1: md5 = 9141de76717e095d4dd05f1e686ad6a8 OK 2024/10/29 01:37:43 DEBUG : file1: Size and md5 of src and dst objects identical 2024/10/29 01:37:43 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/29 01:37:43 DEBUG : WaitForWriters: timeout=30s 2024/10/29 01:37:43 DEBUG : : Looking for writers 2024/10/29 01:37:43 DEBUG : file1: reading active writers 2024/10/29 01:37:43 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (9.11s) FAIL 2024/10/29 01:37:43 DEBUG : OpenDrive root 'rclone-test-cikipud6hetu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirForgetAll|TestDirForgetPath|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileRemove|TestFileRemoveAll|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSMkdirAll|TestWriteFileHandleMethods)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$'" - Finished ERROR in 12m23.765564676s (try 2/5): exit status 1: Failed [TestDirCreate TestDirMkdirSub TestDirRemoveName TestFileRename/minimal,forceCache=false]