"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirMethods|TestDirRemoveName|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileRemove|TestFileRemoveAll|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSOpenFile|TestVFSRename|TestVFSStat|TestVFSStatParent)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^cache=full,open=true,write=true$'" - Starting (try 2/5) 2025/04/30 16:39:31 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-loqofuy4yupi" 2025/04/30 16:39:31 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/04/30 16:39:32 DEBUG : Starting OpenDrive session with ID: a3365c67be21d71d671e7e27b0aaf3574c8ef8ac539e2e70937177b2e2539ad4 2025/04/30 16:39:32 DEBUG : Creating backend with remote "/tmp/rclone3573319164" === RUN TestDirMethods run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:39:32 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:39:32 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:39:33 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:39:35 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:39:35 DEBUG : dir: Looking for writers 2025/04/30 16:39:35 DEBUG : : Looking for writers 2025/04/30 16:39:35 DEBUG : dir: reading active writers 2025/04/30 16:39:35 DEBUG : >WaitForWriters: --- PASS: TestDirMethods (3.84s) === RUN TestDirRemoveName run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:39:36 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:39:36 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:39:37 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:39:39 DEBUG : dir/file1: Remove: 2025/04/30 16:39:39 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:39:39 DEBUG : dir/file1: >Remove: err= 2025/04/30 16:39:39 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:39:39 DEBUG : dir: Looking for writers 2025/04/30 16:39:39 DEBUG : : Looking for writers 2025/04/30 16:39:39 DEBUG : dir: reading active writers 2025/04/30 16:39:39 DEBUG : >WaitForWriters: --- PASS: TestDirRemoveName (4.16s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:39:40 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:39:40 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:39:40 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:39:40 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:39:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:39:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:39:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:39:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:39:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:39:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:39:40 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:39:41 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:39:43 DEBUG : time_test: Uploading chunk 0, size=5, remain=0 2025/04/30 16:39:45 DEBUG : Can set mod time: true 2025/04/30 16:39:45 DEBUG : dir/file1: Open: flags=O_WRONLY 2025/04/30 16:39:45 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:39:45 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:39:45 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:39:45 DEBUG : dir/file1(0xc00071a6c0): _writeAt: size=5, off=0 2025/04/30 16:39:45 DEBUG : dir/file1(0xc00071a6c0): openPending: 2025/04/30 16:39:45 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/04/30 16:39:45 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/04/30 16:39:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:39:45 DEBUG : dir/file1(0xc00071a6c0): >openPending: err= 2025/04/30 16:39:45 DEBUG : dir/file1(0xc00071a6c0): >_writeAt: n=5, err= 2025/04/30 16:39:45 DEBUG : dir/file1: vfs cache: setting modification time to 2011-12-25 12:59:59.123456789 +0000 UTC 2025/04/30 16:39:45 DEBUG : dir/file1(0xc00071a6c0): close: 2025/04/30 16:39:45 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:5}] - present false 2025/04/30 16:39:45 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 5 length -1 2025/04/30 16:39:45 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 5 chunkSize 134217728 2025/04/30 16:39:45 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/04/30 16:39:45 DEBUG : dir/file1: vfs cache: setting modification time to 2011-12-25 12:59:59.123456789 +0000 UTC 2025/04/30 16:39:45 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/04/30 16:39:45 DEBUG : dir/file1(0xc00071a6c0): >close: err= 2025/04/30 16:39:45 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:39:45 DEBUG : dir: Looking for writers 2025/04/30 16:39:45 DEBUG : file1: reading active writers 2025/04/30 16:39:45 DEBUG : : Looking for writers 2025/04/30 16:39:45 DEBUG : dir: reading active writers 2025/04/30 16:39:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/30 16:39:45 DEBUG : dir: Looking for writers 2025/04/30 16:39:45 DEBUG : file1: reading active writers 2025/04/30 16:39:45 DEBUG : : Looking for writers 2025/04/30 16:39:45 DEBUG : dir: reading active writers 2025/04/30 16:39:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/30 16:39:45 DEBUG : dir: Looking for writers 2025/04/30 16:39:45 DEBUG : file1: reading active writers 2025/04/30 16:39:45 DEBUG : : Looking for writers 2025/04/30 16:39:45 DEBUG : dir: reading active writers 2025/04/30 16:39:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/30 16:39:45 DEBUG : dir: Looking for writers 2025/04/30 16:39:45 DEBUG : file1: reading active writers 2025/04/30 16:39:45 DEBUG : : Looking for writers 2025/04/30 16:39:45 DEBUG : dir: reading active writers 2025/04/30 16:39:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/30 16:39:45 DEBUG : dir/file1: vfs cache: starting upload 2025/04/30 16:39:45 DEBUG : dir: Looking for writers 2025/04/30 16:39:45 DEBUG : file1: reading active writers 2025/04/30 16:39:45 DEBUG : : Looking for writers 2025/04/30 16:39:45 DEBUG : dir: reading active writers 2025/04/30 16:39:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/30 16:39:46 DEBUG : dir: Looking for writers 2025/04/30 16:39:46 DEBUG : file1: reading active writers 2025/04/30 16:39:46 DEBUG : : Looking for writers 2025/04/30 16:39:46 DEBUG : dir: reading active writers 2025/04/30 16:39:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/30 16:39:46 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:39:46 DEBUG : dir: Looking for writers 2025/04/30 16:39:46 DEBUG : file1: reading active writers 2025/04/30 16:39:46 DEBUG : : Looking for writers 2025/04/30 16:39:46 DEBUG : dir: reading active writers 2025/04/30 16:39:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/30 16:39:47 DEBUG : dir: Looking for writers 2025/04/30 16:39:47 DEBUG : file1: reading active writers 2025/04/30 16:39:47 DEBUG : : Looking for writers 2025/04/30 16:39:47 DEBUG : dir: reading active writers 2025/04/30 16:39:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/04/30 16:39:47 DEBUG : dir/file1: md5 = 60cac3f4f9c843121eee2ba9e0dac970 OK 2025/04/30 16:39:47 INFO : dir/file1: Copied (replaced existing) 2025/04/30 16:39:47 DEBUG : dir/file1: vfs cache: fingerprint now "14,2011-12-25 12:59:59 +0000 UTC,60cac3f4f9c843121eee2ba9e0dac970" 2025/04/30 16:39:47 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/04/30 16:39:47 DEBUG : dir/file1: Not setting pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC as it is already set 2025/04/30 16:39:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:39:47 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/04/30 16:39:48 DEBUG : dir: Looking for writers 2025/04/30 16:39:48 DEBUG : file1: reading active writers 2025/04/30 16:39:48 DEBUG : : Looking for writers 2025/04/30 16:39:48 DEBUG : dir: reading active writers 2025/04/30 16:39:48 DEBUG : >WaitForWriters: 2025/04/30 16:39:48 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:39:48 DEBUG : dir: Looking for writers 2025/04/30 16:39:48 DEBUG : file1: reading active writers 2025/04/30 16:39:48 DEBUG : : Looking for writers 2025/04/30 16:39:48 DEBUG : dir: reading active writers 2025/04/30 16:39:48 DEBUG : >WaitForWriters: 2025/04/30 16:39:48 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting --- PASS: TestFileSetModTime (8.97s) --- PASS: TestFileSetModTime/cache=full,open=true,write=true (8.96s) === RUN TestFileOpenRead run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:39:49 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:39:49 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:39:50 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:39:52 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:39:52 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/30 16:39:52 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:39:52 DEBUG : dir/file1: ChunkedReader.Read at 0 length 512 chunkOffset 0 chunkSize 134217728 2025/04/30 16:39:52 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:39:52 DEBUG : dir: Looking for writers 2025/04/30 16:39:52 DEBUG : file1: reading active writers 2025/04/30 16:39:52 DEBUG : : Looking for writers 2025/04/30 16:39:52 DEBUG : dir: reading active writers 2025/04/30 16:39:52 DEBUG : >WaitForWriters: --- PASS: TestFileOpenRead (4.25s) === RUN TestFileOpenWrite run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:39:53 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:39:53 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:39:54 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:39:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:39:56 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': File to upload is small (25 bytes), uploading instead of streaming 2025/04/30 16:39:56 DEBUG : dir/file1: Uploading chunk 0, size=25, remain=0 2025/04/30 16:39:57 DEBUG : dir/file1: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/04/30 16:39:57 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2025/04/30 16:39:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:39:57 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:39:57 DEBUG : dir: Looking for writers 2025/04/30 16:39:57 DEBUG : file1: reading active writers 2025/04/30 16:39:57 DEBUG : : Looking for writers 2025/04/30 16:39:57 DEBUG : dir: reading active writers 2025/04/30 16:39:57 DEBUG : >WaitForWriters: --- PASS: TestFileOpenWrite (4.91s) === RUN TestFileRemove run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:39:58 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:39:58 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:39:59 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:40:01 DEBUG : dir/file1: Remove: 2025/04/30 16:40:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:40:01 DEBUG : dir/file1: >Remove: err= 2025/04/30 16:40:01 DEBUG : dir/file1: Remove: 2025/04/30 16:40:01 DEBUG : dir/file1: >Remove: err=Read only file system 2025/04/30 16:40:01 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:01 DEBUG : dir: Looking for writers 2025/04/30 16:40:01 DEBUG : : Looking for writers 2025/04/30 16:40:01 DEBUG : dir: reading active writers 2025/04/30 16:40:01 DEBUG : >WaitForWriters: --- PASS: TestFileRemove (4.03s) === RUN TestFileRemoveAll run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:40:02 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:40:02 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:40:03 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:40:05 DEBUG : dir/file1: Remove: 2025/04/30 16:40:05 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:40:05 DEBUG : dir/file1: >Remove: err= 2025/04/30 16:40:05 DEBUG : dir/file1: Remove: 2025/04/30 16:40:05 DEBUG : dir/file1: >Remove: err=Read only file system 2025/04/30 16:40:05 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:05 DEBUG : dir: Looking for writers 2025/04/30 16:40:05 DEBUG : : Looking for writers 2025/04/30 16:40:05 DEBUG : dir: reading active writers 2025/04/30 16:40:05 DEBUG : >WaitForWriters: --- PASS: TestFileRemoveAll (3.96s) === RUN TestFileOpen run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:40:06 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:40:06 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:40:07 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:40:09 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:40:09 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/30 16:40:09 DEBUG : dir/file1: Open: flags=O_WRONLY 2025/04/30 16:40:09 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/04/30 16:40:09 DEBUG : dir/file1: Open: flags=O_RDWR 2025/04/30 16:40:09 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/04/30 16:40:09 DEBUG : dir/file1: Open: flags=0x3 2025/04/30 16:40:09 DEBUG : dir/file1: Can't figure out how to open with flags: 0x3 2025/04/30 16:40:09 DEBUG : dir/file1: >Open: fd=, err=permission denied 2025/04/30 16:40:09 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:09 DEBUG : dir: Looking for writers 2025/04/30 16:40:09 DEBUG : file1: reading active writers 2025/04/30 16:40:09 DEBUG : : Looking for writers 2025/04/30 16:40:09 DEBUG : dir: reading active writers 2025/04/30 16:40:09 DEBUG : >WaitForWriters: --- PASS: TestFileOpen (3.68s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:40:10 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:40:10 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:40:11 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:40:12 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:12 DEBUG : dir: Looking for writers 2025/04/30 16:40:12 DEBUG : file1: reading active writers 2025/04/30 16:40:12 DEBUG : : Looking for writers 2025/04/30 16:40:12 DEBUG : dir: reading active writers 2025/04/30 16:40:12 DEBUG : >WaitForWriters: 2025/04/30 16:40:13 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 16:40:13 DEBUG : newLeaf: Updating file with newLeaf 0xc0004e2f00 2025/04/30 16:40:13 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:40:13 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:14 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/04/30 16:40:14 DEBUG : dir/file1: Updating file with dir/file1 0xc0004e2f00 2025/04/30 16:40:14 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/04/30 16:40:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:14 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/04/30 16:40:14 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/04/30 16:40:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:14 DEBUG : dir/file1: File is currently open, delaying rename 0xc0004e2f00 2025/04/30 16:40:14 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:40:14 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:14 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': File to upload is small (25 bytes), uploading instead of streaming 2025/04/30 16:40:15 DEBUG : dir/file1: Uploading chunk 0, size=25, remain=0 2025/04/30 16:40:16 DEBUG : dir/file1: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/04/30 16:40:16 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2025/04/30 16:40:16 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:16 DEBUG : newLeaf: Running delayed rename now 2025/04/30 16:40:16 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 16:40:16 DEBUG : newLeaf: Updating file with newLeaf 0xc0004e2f00 2025/04/30 16:40:16 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:16 DEBUG : dir: Looking for writers 2025/04/30 16:40:16 DEBUG : : Looking for writers 2025/04/30 16:40:16 DEBUG : dir: reading active writers 2025/04/30 16:40:16 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:16 DEBUG : >WaitForWriters: 2025/04/30 16:40:16 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:16 DEBUG : dir: Looking for writers 2025/04/30 16:40:16 DEBUG : : Looking for writers 2025/04/30 16:40:16 DEBUG : dir: reading active writers 2025/04/30 16:40:16 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:16 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:40:17 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:40:17 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:40:17 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:40:17 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:17 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:40:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:40:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:17 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:40:19 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:40:20 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:20 DEBUG : dir: Looking for writers 2025/04/30 16:40:20 DEBUG : file1: reading active writers 2025/04/30 16:40:20 DEBUG : : Looking for writers 2025/04/30 16:40:20 DEBUG : dir: reading active writers 2025/04/30 16:40:20 DEBUG : >WaitForWriters: 2025/04/30 16:40:21 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 16:40:21 DEBUG : newLeaf: Updating file with newLeaf 0xc0004e2fc0 2025/04/30 16:40:21 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:40:21 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:22 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/04/30 16:40:22 DEBUG : dir/file1: Updating file with dir/file1 0xc0004e2fc0 2025/04/30 16:40:22 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/04/30 16:40:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:22 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/04/30 16:40:22 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/04/30 16:40:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:22 DEBUG : dir/file1: File is currently open, delaying rename 0xc0004e2fc0 2025/04/30 16:40:22 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:40:22 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:22 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': File to upload is small (25 bytes), uploading instead of streaming 2025/04/30 16:40:22 DEBUG : dir/file1: Uploading chunk 0, size=25, remain=0 2025/04/30 16:40:23 DEBUG : dir/file1: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/04/30 16:40:23 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2025/04/30 16:40:23 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:23 DEBUG : newLeaf: Running delayed rename now 2025/04/30 16:40:24 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 16:40:24 DEBUG : newLeaf: Updating file with newLeaf 0xc0004e2fc0 2025/04/30 16:40:24 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:24 DEBUG : dir: Looking for writers 2025/04/30 16:40:24 DEBUG : : Looking for writers 2025/04/30 16:40:24 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:24 DEBUG : dir: reading active writers 2025/04/30 16:40:24 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 2025/04/30 16:40:32 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:32 DEBUG : dir: Looking for writers 2025/04/30 16:40:32 DEBUG : : Looking for writers 2025/04/30 16:40:32 DEBUG : dir: reading active writers 2025/04/30 16:40:32 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:32 DEBUG : >WaitForWriters: 2025/04/30 16:40:32 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:40:33 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:40:33 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:40:33 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:40:33 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:33 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:40:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:40:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:33 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:40:34 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:40:36 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/04/30 16:40:36 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:40:36 DEBUG : dir/file1(0xc000684740): openPending: 2025/04/30 16:40:36 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/04/30 16:40:36 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/04/30 16:40:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:36 DEBUG : dir/file1(0xc000684740): >openPending: err= 2025/04/30 16:40:36 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/04/30 16:40:36 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:40:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:36 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:40:36 DEBUG : dir/file1(0xc000684740): _writeAt: size=14, off=0 2025/04/30 16:40:36 DEBUG : dir/file1(0xc000684740): >_writeAt: n=14, err= 2025/04/30 16:40:36 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/04/30 16:40:36 DEBUG : dir/file1(0xc000684740): close: 2025/04/30 16:40:36 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/04/30 16:40:36 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/04/30 16:40:36 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/04/30 16:40:36 DEBUG : dir/file1(0xc000684740): >close: err= 2025/04/30 16:40:36 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:36 DEBUG : dir: Looking for writers 2025/04/30 16:40:36 DEBUG : file1: reading active writers 2025/04/30 16:40:36 DEBUG : : Looking for writers 2025/04/30 16:40:36 DEBUG : dir: reading active writers 2025/04/30 16:40:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/30 16:40:36 DEBUG : dir: Looking for writers 2025/04/30 16:40:36 DEBUG : file1: reading active writers 2025/04/30 16:40:36 DEBUG : : Looking for writers 2025/04/30 16:40:36 DEBUG : dir: reading active writers 2025/04/30 16:40:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/30 16:40:36 DEBUG : dir: Looking for writers 2025/04/30 16:40:36 DEBUG : file1: reading active writers 2025/04/30 16:40:36 DEBUG : : Looking for writers 2025/04/30 16:40:36 DEBUG : dir: reading active writers 2025/04/30 16:40:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/30 16:40:36 DEBUG : dir: Looking for writers 2025/04/30 16:40:36 DEBUG : file1: reading active writers 2025/04/30 16:40:36 DEBUG : : Looking for writers 2025/04/30 16:40:36 DEBUG : dir: reading active writers 2025/04/30 16:40:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/30 16:40:36 DEBUG : dir/file1: vfs cache: starting upload 2025/04/30 16:40:36 DEBUG : dir: Looking for writers 2025/04/30 16:40:36 DEBUG : file1: reading active writers 2025/04/30 16:40:36 DEBUG : : Looking for writers 2025/04/30 16:40:36 DEBUG : dir: reading active writers 2025/04/30 16:40:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/30 16:40:36 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:40:36 DEBUG : dir: Looking for writers 2025/04/30 16:40:36 DEBUG : file1: reading active writers 2025/04/30 16:40:36 DEBUG : : Looking for writers 2025/04/30 16:40:36 DEBUG : dir: reading active writers 2025/04/30 16:40:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/30 16:40:36 DEBUG : dir: Looking for writers 2025/04/30 16:40:36 DEBUG : file1: reading active writers 2025/04/30 16:40:36 DEBUG : : Looking for writers 2025/04/30 16:40:36 DEBUG : dir: reading active writers 2025/04/30 16:40:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/30 16:40:37 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2025/04/30 16:40:37 INFO : dir/file1: Copied (replaced existing) 2025/04/30 16:40:37 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/04/30 16:40:37 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/04/30 16:40:37 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:37 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/04/30 16:40:37 DEBUG : dir: Looking for writers 2025/04/30 16:40:37 DEBUG : file1: reading active writers 2025/04/30 16:40:37 DEBUG : : Looking for writers 2025/04/30 16:40:37 DEBUG : dir: reading active writers 2025/04/30 16:40:37 DEBUG : >WaitForWriters: 2025/04/30 16:40:37 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:40:37 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:40:37 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:40:37 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:40:37 DEBUG : dir/file1(0xc0007a4200): _readAt: size=512, off=0 2025/04/30 16:40:37 DEBUG : dir/file1(0xc0007a4200): openPending: 2025/04/30 16:40:37 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" 2025/04/30 16:40:37 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/04/30 16:40:37 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:37 DEBUG : dir/file1(0xc0007a4200): >openPending: err= 2025/04/30 16:40:37 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/04/30 16:40:37 DEBUG : dir/file1(0xc0007a4200): >_readAt: n=14, err=EOF 2025/04/30 16:40:37 DEBUG : dir/file1(0xc0007a4200): close: 2025/04/30 16:40:37 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/30 16:40:37 DEBUG : dir/file1(0xc0007a4200): >close: err= 2025/04/30 16:40:38 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 16:40:38 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/04/30 16:40:38 DEBUG : newLeaf: Updating file with newLeaf 0xc0004e3500 2025/04/30 16:40:38 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:40:38 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:39 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/04/30 16:40:39 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/04/30 16:40:39 DEBUG : dir/file1: Updating file with dir/file1 0xc0004e3500 2025/04/30 16:40:39 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/04/30 16:40:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:39 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/04/30 16:40:39 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:40:39 DEBUG : dir/file1(0xc0004a28c0): openPending: 2025/04/30 16:40:39 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" 2025/04/30 16:40:39 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") 2025/04/30 16:40:39 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/04/30 16:40:39 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/30 16:40:39 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/04/30 16:40:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:39 DEBUG : dir/file1(0xc0004a28c0): >openPending: err= 2025/04/30 16:40:39 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/04/30 16:40:39 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:40:39 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:40:39 DEBUG : dir/file1(0xc0004a28c0): _writeAt: size=25, off=0 2025/04/30 16:40:39 DEBUG : dir/file1(0xc0004a28c0): >_writeAt: n=25, err= 2025/04/30 16:40:39 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 16:40:39 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/04/30 16:40:39 DEBUG : newLeaf: Updating file with newLeaf 0xc0004e3500 2025/04/30 16:40:39 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:40:39 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:39 DEBUG : newLeaf(0xc0004a28c0): close: 2025/04/30 16:40:39 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/04/30 16:40:39 DEBUG : newLeaf: vfs cache: setting modification time to 2025-04-30 16:40:39.352540213 +0000 UTC m=+67.791948918 2025/04/30 16:40:39 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/04/30 16:40:39 DEBUG : newLeaf(0xc0004a28c0): >close: err= 2025/04/30 16:40:39 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:39 DEBUG : dir: Looking for writers 2025/04/30 16:40:39 DEBUG : : Looking for writers 2025/04/30 16:40:39 DEBUG : dir: reading active writers 2025/04/30 16:40:39 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/30 16:40:39 DEBUG : dir: Looking for writers 2025/04/30 16:40:39 DEBUG : : Looking for writers 2025/04/30 16:40:39 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:39 DEBUG : dir: reading active writers 2025/04/30 16:40:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/30 16:40:39 DEBUG : dir: Looking for writers 2025/04/30 16:40:39 DEBUG : : Looking for writers 2025/04/30 16:40:39 DEBUG : dir: reading active writers 2025/04/30 16:40:39 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/30 16:40:39 DEBUG : dir: Looking for writers 2025/04/30 16:40:39 DEBUG : : Looking for writers 2025/04/30 16:40:39 DEBUG : dir: reading active writers 2025/04/30 16:40:39 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/30 16:40:39 DEBUG : newLeaf: vfs cache: starting upload 2025/04/30 16:40:40 DEBUG : dir: Looking for writers 2025/04/30 16:40:40 DEBUG : : Looking for writers 2025/04/30 16:40:40 DEBUG : dir: reading active writers 2025/04/30 16:40:40 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/30 16:40:40 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/04/30 16:40:40 DEBUG : dir: Looking for writers 2025/04/30 16:40:40 DEBUG : : Looking for writers 2025/04/30 16:40:40 DEBUG : dir: reading active writers 2025/04/30 16:40:40 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/30 16:40:40 DEBUG : dir: Looking for writers 2025/04/30 16:40:40 DEBUG : : Looking for writers 2025/04/30 16:40:40 DEBUG : dir: reading active writers 2025/04/30 16:40:40 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/30 16:40:40 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/04/30 16:40:40 INFO : newLeaf: Copied (replaced existing) 2025/04/30 16:40:40 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-04-30 16:40:39 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/04/30 16:40:40 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/04/30 16:40:40 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:40 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/04/30 16:40:41 DEBUG : dir: Looking for writers 2025/04/30 16:40:41 DEBUG : : Looking for writers 2025/04/30 16:40:41 DEBUG : dir: reading active writers 2025/04/30 16:40:41 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:41 DEBUG : >WaitForWriters: 2025/04/30 16:40:41 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:41 DEBUG : dir: Looking for writers 2025/04/30 16:40:41 DEBUG : : Looking for writers 2025/04/30 16:40:41 DEBUG : dir: reading active writers 2025/04/30 16:40:41 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:41 DEBUG : >WaitForWriters: 2025/04/30 16:40:41 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:40:42 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:40:42 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:40:42 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:42 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:40:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:40:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:42 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:40:43 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:40:45 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:45 DEBUG : dir: Looking for writers 2025/04/30 16:40:45 DEBUG : file1: reading active writers 2025/04/30 16:40:45 DEBUG : : Looking for writers 2025/04/30 16:40:45 DEBUG : dir: reading active writers 2025/04/30 16:40:45 DEBUG : >WaitForWriters: 2025/04/30 16:40:46 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 16:40:46 DEBUG : newLeaf: Updating file with newLeaf 0xc0006d0300 2025/04/30 16:40:46 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:40:46 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:46 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/04/30 16:40:46 DEBUG : dir/file1: Updating file with dir/file1 0xc0006d0300 2025/04/30 16:40:46 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/04/30 16:40:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:47 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/04/30 16:40:47 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:40:47 DEBUG : dir/file1(0xc0004a2f80): openPending: 2025/04/30 16:40:47 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," against cached fingerprint "" 2025/04/30 16:40:47 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/04/30 16:40:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:47 DEBUG : dir/file1(0xc0004a2f80): >openPending: err= 2025/04/30 16:40:47 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/04/30 16:40:47 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:40:47 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:40:47 DEBUG : dir/file1(0xc0004a2f80): _writeAt: size=25, off=0 2025/04/30 16:40:47 DEBUG : dir/file1(0xc0004a2f80): >_writeAt: n=25, err= 2025/04/30 16:40:47 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 16:40:47 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/04/30 16:40:47 DEBUG : newLeaf: Updating file with newLeaf 0xc0006d0300 2025/04/30 16:40:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:40:47 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:47 DEBUG : newLeaf(0xc0004a2f80): close: 2025/04/30 16:40:47 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/04/30 16:40:47 DEBUG : newLeaf: vfs cache: setting modification time to 2025-04-30 16:40:47.27461816 +0000 UTC m=+75.714026874 2025/04/30 16:40:47 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/04/30 16:40:47 DEBUG : newLeaf(0xc0004a2f80): >close: err= 2025/04/30 16:40:47 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:47 DEBUG : dir: Looking for writers 2025/04/30 16:40:47 DEBUG : : Looking for writers 2025/04/30 16:40:47 DEBUG : dir: reading active writers 2025/04/30 16:40:47 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/30 16:40:47 DEBUG : dir: Looking for writers 2025/04/30 16:40:47 DEBUG : : Looking for writers 2025/04/30 16:40:47 DEBUG : dir: reading active writers 2025/04/30 16:40:47 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/30 16:40:47 DEBUG : dir: Looking for writers 2025/04/30 16:40:47 DEBUG : : Looking for writers 2025/04/30 16:40:47 DEBUG : dir: reading active writers 2025/04/30 16:40:47 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/30 16:40:47 DEBUG : dir: Looking for writers 2025/04/30 16:40:47 DEBUG : : Looking for writers 2025/04/30 16:40:47 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:47 DEBUG : dir: reading active writers 2025/04/30 16:40:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/30 16:40:47 DEBUG : newLeaf: vfs cache: starting upload 2025/04/30 16:40:47 DEBUG : dir: Looking for writers 2025/04/30 16:40:47 DEBUG : : Looking for writers 2025/04/30 16:40:47 DEBUG : dir: reading active writers 2025/04/30 16:40:47 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/30 16:40:48 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/04/30 16:40:48 DEBUG : dir: Looking for writers 2025/04/30 16:40:48 DEBUG : : Looking for writers 2025/04/30 16:40:48 DEBUG : dir: reading active writers 2025/04/30 16:40:48 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/30 16:40:48 DEBUG : dir: Looking for writers 2025/04/30 16:40:48 DEBUG : : Looking for writers 2025/04/30 16:40:48 DEBUG : dir: reading active writers 2025/04/30 16:40:48 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/30 16:40:48 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/04/30 16:40:48 INFO : newLeaf: Copied (replaced existing) 2025/04/30 16:40:48 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-04-30 16:40:47 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/04/30 16:40:48 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/04/30 16:40:48 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:48 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/04/30 16:40:49 DEBUG : dir: Looking for writers 2025/04/30 16:40:49 DEBUG : : Looking for writers 2025/04/30 16:40:49 DEBUG : dir: reading active writers 2025/04/30 16:40:49 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:49 DEBUG : >WaitForWriters: 2025/04/30 16:40:49 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:49 DEBUG : dir: Looking for writers 2025/04/30 16:40:49 DEBUG : : Looking for writers 2025/04/30 16:40:49 DEBUG : dir: reading active writers 2025/04/30 16:40:49 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:49 DEBUG : >WaitForWriters: 2025/04/30 16:40:49 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:40:50 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:40:50 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:40:50 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:50 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:40:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:40:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:50 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:40:51 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:40:52 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/04/30 16:40:52 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:40:52 DEBUG : dir/file1(0xc0007a41c0): openPending: 2025/04/30 16:40:52 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/04/30 16:40:52 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/04/30 16:40:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:52 DEBUG : dir/file1(0xc0007a41c0): >openPending: err= 2025/04/30 16:40:52 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/04/30 16:40:52 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:40:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:52 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:40:52 DEBUG : dir/file1(0xc0007a41c0): _writeAt: size=14, off=0 2025/04/30 16:40:52 DEBUG : dir/file1(0xc0007a41c0): >_writeAt: n=14, err= 2025/04/30 16:40:52 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/04/30 16:40:52 DEBUG : dir/file1(0xc0007a41c0): close: 2025/04/30 16:40:52 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/04/30 16:40:52 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/04/30 16:40:52 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/04/30 16:40:52 DEBUG : dir/file1(0xc0007a41c0): >close: err= 2025/04/30 16:40:52 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:52 DEBUG : dir: Looking for writers 2025/04/30 16:40:52 DEBUG : file1: reading active writers 2025/04/30 16:40:52 DEBUG : : Looking for writers 2025/04/30 16:40:52 DEBUG : dir: reading active writers 2025/04/30 16:40:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/30 16:40:52 DEBUG : dir: Looking for writers 2025/04/30 16:40:52 DEBUG : file1: reading active writers 2025/04/30 16:40:52 DEBUG : : Looking for writers 2025/04/30 16:40:52 DEBUG : dir: reading active writers 2025/04/30 16:40:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/30 16:40:52 DEBUG : dir: Looking for writers 2025/04/30 16:40:52 DEBUG : file1: reading active writers 2025/04/30 16:40:52 DEBUG : : Looking for writers 2025/04/30 16:40:52 DEBUG : dir: reading active writers 2025/04/30 16:40:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/30 16:40:53 DEBUG : dir: Looking for writers 2025/04/30 16:40:53 DEBUG : file1: reading active writers 2025/04/30 16:40:53 DEBUG : : Looking for writers 2025/04/30 16:40:53 DEBUG : dir: reading active writers 2025/04/30 16:40:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/30 16:40:53 DEBUG : dir/file1: vfs cache: starting upload 2025/04/30 16:40:53 DEBUG : dir: Looking for writers 2025/04/30 16:40:53 DEBUG : file1: reading active writers 2025/04/30 16:40:53 DEBUG : : Looking for writers 2025/04/30 16:40:53 DEBUG : dir: reading active writers 2025/04/30 16:40:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/30 16:40:53 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:40:53 DEBUG : dir: Looking for writers 2025/04/30 16:40:53 DEBUG : file1: reading active writers 2025/04/30 16:40:53 DEBUG : : Looking for writers 2025/04/30 16:40:53 DEBUG : dir: reading active writers 2025/04/30 16:40:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/30 16:40:53 DEBUG : dir: Looking for writers 2025/04/30 16:40:53 DEBUG : file1: reading active writers 2025/04/30 16:40:53 DEBUG : : Looking for writers 2025/04/30 16:40:53 DEBUG : dir: reading active writers 2025/04/30 16:40:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/30 16:40:54 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2025/04/30 16:40:54 INFO : dir/file1: Copied (replaced existing) 2025/04/30 16:40:54 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/04/30 16:40:54 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/04/30 16:40:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:54 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/04/30 16:40:54 DEBUG : dir: Looking for writers 2025/04/30 16:40:54 DEBUG : file1: reading active writers 2025/04/30 16:40:54 DEBUG : : Looking for writers 2025/04/30 16:40:54 DEBUG : dir: reading active writers 2025/04/30 16:40:54 DEBUG : >WaitForWriters: 2025/04/30 16:40:54 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:40:54 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:40:54 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:40:54 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:40:54 DEBUG : dir/file1(0xc0007a4300): _readAt: size=512, off=0 2025/04/30 16:40:54 DEBUG : dir/file1(0xc0007a4300): openPending: 2025/04/30 16:40:54 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" 2025/04/30 16:40:54 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/04/30 16:40:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:54 DEBUG : dir/file1(0xc0007a4300): >openPending: err= 2025/04/30 16:40:54 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/04/30 16:40:54 DEBUG : dir/file1(0xc0007a4300): >_readAt: n=14, err=EOF 2025/04/30 16:40:54 DEBUG : dir/file1(0xc0007a4300): close: 2025/04/30 16:40:54 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/30 16:40:54 DEBUG : dir/file1(0xc0007a4300): >close: err= 2025/04/30 16:40:55 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 16:40:55 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/04/30 16:40:55 DEBUG : newLeaf: Updating file with newLeaf 0xc0006d03c0 2025/04/30 16:40:55 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:40:55 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:55 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/04/30 16:40:55 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/04/30 16:40:55 DEBUG : dir/file1: Updating file with dir/file1 0xc0006d03c0 2025/04/30 16:40:55 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/04/30 16:40:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:56 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/04/30 16:40:56 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:40:56 DEBUG : dir/file1(0xc0004a2d40): openPending: 2025/04/30 16:40:56 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" 2025/04/30 16:40:56 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") 2025/04/30 16:40:56 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/04/30 16:40:56 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/30 16:40:56 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/04/30 16:40:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:40:56 DEBUG : dir/file1(0xc0004a2d40): >openPending: err= 2025/04/30 16:40:56 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/04/30 16:40:56 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:40:56 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:40:56 DEBUG : dir/file1(0xc0004a2d40): _writeAt: size=25, off=0 2025/04/30 16:40:56 DEBUG : dir/file1(0xc0004a2d40): >_writeAt: n=25, err= 2025/04/30 16:40:56 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 16:40:56 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/04/30 16:40:56 DEBUG : newLeaf: Updating file with newLeaf 0xc0006d03c0 2025/04/30 16:40:56 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:40:56 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:56 DEBUG : newLeaf(0xc0004a2d40): close: 2025/04/30 16:40:56 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/04/30 16:40:56 DEBUG : newLeaf: vfs cache: setting modification time to 2025-04-30 16:40:56.243904812 +0000 UTC m=+84.683313517 2025/04/30 16:40:56 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/04/30 16:40:56 DEBUG : newLeaf(0xc0004a2d40): >close: err= 2025/04/30 16:40:56 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:56 DEBUG : dir: Looking for writers 2025/04/30 16:40:56 DEBUG : : Looking for writers 2025/04/30 16:40:56 DEBUG : dir: reading active writers 2025/04/30 16:40:56 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/30 16:40:56 DEBUG : dir: Looking for writers 2025/04/30 16:40:56 DEBUG : : Looking for writers 2025/04/30 16:40:56 DEBUG : dir: reading active writers 2025/04/30 16:40:56 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/30 16:40:56 DEBUG : dir: Looking for writers 2025/04/30 16:40:56 DEBUG : : Looking for writers 2025/04/30 16:40:56 DEBUG : dir: reading active writers 2025/04/30 16:40:56 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/30 16:40:56 DEBUG : dir: Looking for writers 2025/04/30 16:40:56 DEBUG : : Looking for writers 2025/04/30 16:40:56 DEBUG : dir: reading active writers 2025/04/30 16:40:56 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/30 16:40:56 DEBUG : newLeaf: vfs cache: starting upload 2025/04/30 16:40:56 DEBUG : dir: Looking for writers 2025/04/30 16:40:56 DEBUG : : Looking for writers 2025/04/30 16:40:56 DEBUG : dir: reading active writers 2025/04/30 16:40:56 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/30 16:40:57 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/04/30 16:40:57 DEBUG : dir: Looking for writers 2025/04/30 16:40:57 DEBUG : : Looking for writers 2025/04/30 16:40:57 DEBUG : dir: reading active writers 2025/04/30 16:40:57 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/30 16:40:57 DEBUG : dir: Looking for writers 2025/04/30 16:40:57 DEBUG : : Looking for writers 2025/04/30 16:40:57 DEBUG : dir: reading active writers 2025/04/30 16:40:57 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/30 16:40:57 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/04/30 16:40:57 INFO : newLeaf: Copied (replaced existing) 2025/04/30 16:40:57 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-04-30 16:40:56 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/04/30 16:40:57 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/04/30 16:40:57 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:40:57 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/04/30 16:40:58 DEBUG : dir: Looking for writers 2025/04/30 16:40:58 DEBUG : : Looking for writers 2025/04/30 16:40:58 DEBUG : dir: reading active writers 2025/04/30 16:40:58 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:58 DEBUG : >WaitForWriters: 2025/04/30 16:40:58 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:40:58 DEBUG : dir: Looking for writers 2025/04/30 16:40:58 DEBUG : : Looking for writers 2025/04/30 16:40:58 DEBUG : newLeaf: reading active writers 2025/04/30 16:40:58 DEBUG : dir: reading active writers 2025/04/30 16:40:58 DEBUG : >WaitForWriters: 2025/04/30 16:40:58 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:40:59 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:40:59 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:40:59 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:59 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:59 DEBUG : Config file has changed externally - reloading 2025/04/30 16:40:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:40:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:40:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:40:59 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:41:00 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:41:02 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:41:02 DEBUG : dir: Looking for writers 2025/04/30 16:41:02 DEBUG : file1: reading active writers 2025/04/30 16:41:02 DEBUG : : Looking for writers 2025/04/30 16:41:02 DEBUG : dir: reading active writers 2025/04/30 16:41:02 DEBUG : >WaitForWriters: 2025/04/30 16:41:02 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:41:02 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:41:02 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:41:02 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:41:02 DEBUG : dir/file1(0xc000380c80): _readAt: size=512, off=0 2025/04/30 16:41:02 DEBUG : dir/file1(0xc000380c80): openPending: 2025/04/30 16:41:02 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/04/30 16:41:02 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/04/30 16:41:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:41:02 DEBUG : dir/file1(0xc000380c80): >openPending: err= 2025/04/30 16:41:02 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2025/04/30 16:41:02 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:41:02 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:41:02 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:41:02 DEBUG : dir/file1(0xc000380c80): >_readAt: n=14, err=EOF 2025/04/30 16:41:02 DEBUG : dir/file1(0xc000380c80): close: 2025/04/30 16:41:02 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/30 16:41:02 DEBUG : dir/file1(0xc000380c80): >close: err= 2025/04/30 16:41:03 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 16:41:03 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/04/30 16:41:03 DEBUG : newLeaf: Updating file with newLeaf 0xc000894300 2025/04/30 16:41:03 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:41:03 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 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 2025/04/30 16:41:11 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/04/30 16:41:11 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/04/30 16:41:11 DEBUG : dir/file1: Updating file with dir/file1 0xc000894300 2025/04/30 16:41:11 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/04/30 16:41:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:41:12 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/04/30 16:41:12 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:41:12 DEBUG : dir/file1(0xc00071a640): openPending: 2025/04/30 16:41:12 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" 2025/04/30 16:41:12 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") 2025/04/30 16:41:12 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/04/30 16:41:12 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/30 16:41:12 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/04/30 16:41:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:41:12 DEBUG : dir/file1(0xc00071a640): >openPending: err= 2025/04/30 16:41:12 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/04/30 16:41:12 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:41:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:41:12 DEBUG : dir/file1(0xc00071a640): _writeAt: size=25, off=0 2025/04/30 16:41:12 DEBUG : dir/file1(0xc00071a640): >_writeAt: n=25, err= 2025/04/30 16:41:12 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/30 16:41:12 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/04/30 16:41:12 DEBUG : newLeaf: Updating file with newLeaf 0xc000894300 2025/04/30 16:41:12 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:41:12 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:41:12 DEBUG : newLeaf(0xc00071a640): close: 2025/04/30 16:41:12 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/04/30 16:41:12 DEBUG : newLeaf: vfs cache: setting modification time to 2025-04-30 16:41:12.154299187 +0000 UTC m=+100.593707902 2025/04/30 16:41:12 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/04/30 16:41:12 DEBUG : newLeaf(0xc00071a640): >close: err= 2025/04/30 16:41:12 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:41:12 DEBUG : dir: Looking for writers 2025/04/30 16:41:12 DEBUG : : Looking for writers 2025/04/30 16:41:12 DEBUG : dir: reading active writers 2025/04/30 16:41:12 DEBUG : newLeaf: reading active writers 2025/04/30 16:41:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/30 16:41:12 DEBUG : dir: Looking for writers 2025/04/30 16:41:12 DEBUG : : Looking for writers 2025/04/30 16:41:12 DEBUG : dir: reading active writers 2025/04/30 16:41:12 DEBUG : newLeaf: reading active writers 2025/04/30 16:41:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/30 16:41:12 DEBUG : dir: Looking for writers 2025/04/30 16:41:12 DEBUG : : Looking for writers 2025/04/30 16:41:12 DEBUG : dir: reading active writers 2025/04/30 16:41:12 DEBUG : newLeaf: reading active writers 2025/04/30 16:41:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/30 16:41:12 DEBUG : dir: Looking for writers 2025/04/30 16:41:12 DEBUG : : Looking for writers 2025/04/30 16:41:12 DEBUG : dir: reading active writers 2025/04/30 16:41:12 DEBUG : newLeaf: reading active writers 2025/04/30 16:41:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/30 16:41:12 DEBUG : newLeaf: vfs cache: starting upload 2025/04/30 16:41:12 DEBUG : dir: Looking for writers 2025/04/30 16:41:12 DEBUG : : Looking for writers 2025/04/30 16:41:12 DEBUG : dir: reading active writers 2025/04/30 16:41:12 DEBUG : newLeaf: reading active writers 2025/04/30 16:41:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/30 16:41:12 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/04/30 16:41:12 DEBUG : dir: Looking for writers 2025/04/30 16:41:12 DEBUG : : Looking for writers 2025/04/30 16:41:12 DEBUG : dir: reading active writers 2025/04/30 16:41:12 DEBUG : newLeaf: reading active writers 2025/04/30 16:41:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/30 16:41:13 DEBUG : dir: Looking for writers 2025/04/30 16:41:13 DEBUG : : Looking for writers 2025/04/30 16:41:13 DEBUG : dir: reading active writers 2025/04/30 16:41:13 DEBUG : newLeaf: reading active writers 2025/04/30 16:41:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/30 16:41:13 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/04/30 16:41:13 INFO : newLeaf: Copied (replaced existing) 2025/04/30 16:41:13 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-04-30 16:41:12 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/04/30 16:41:13 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/04/30 16:41:13 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/30 16:41:13 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/04/30 16:41:13 DEBUG : dir: Looking for writers 2025/04/30 16:41:13 DEBUG : : Looking for writers 2025/04/30 16:41:13 DEBUG : dir: reading active writers 2025/04/30 16:41:13 DEBUG : newLeaf: reading active writers 2025/04/30 16:41:13 DEBUG : >WaitForWriters: 2025/04/30 16:41:14 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:41:14 DEBUG : dir: Looking for writers 2025/04/30 16:41:14 DEBUG : : Looking for writers 2025/04/30 16:41:14 DEBUG : dir: reading active writers 2025/04/30 16:41:14 DEBUG : newLeaf: reading active writers 2025/04/30 16:41:14 DEBUG : >WaitForWriters: 2025/04/30 16:41:14 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting --- PASS: TestFileRename (65.04s) --- PASS: TestFileRename/off,forceCache=false (7.75s) --- PASS: TestFileRename/minimal,forceCache=false (15.34s) --- PASS: TestFileRename/minimal,forceCache=true (9.15s) --- PASS: TestFileRename/writes,forceCache=false (7.90s) --- PASS: TestFileRename/writes,forceCache=true (9.03s) --- PASS: TestFileRename/full,forceCache=false (15.85s) === RUN TestReadFileHandleMethods run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:41:15 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:41:15 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:41:16 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/30 16:41:17 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:41:18 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:41:18 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/30 16:41:18 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/04/30 16:41:18 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:41:18 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/04/30 16:41:18 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2025/04/30 16:41:18 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:41:18 DEBUG : dir: Looking for writers 2025/04/30 16:41:18 DEBUG : file1: reading active writers 2025/04/30 16:41:18 DEBUG : : Looking for writers 2025/04/30 16:41:18 DEBUG : dir: reading active writers 2025/04/30 16:41:18 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: folder not empty --- PASS: TestReadFileHandleMethods (5.30s) === RUN TestReadFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:41:20 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:41:20 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:41:21 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/30 16:41:22 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:41:23 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:41:23 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/30 16:41:23 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/04/30 16:41:23 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:41:23 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/04/30 16:41:23 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/04/30 16:41:23 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/04/30 16:41:23 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/04/30 16:41:23 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/04/30 16:41:23 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/04/30 16:41:23 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/04/30 16:41:23 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/04/30 16:41:23 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/04/30 16:41:23 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/04/30 16:41:23 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/04/30 16:41:23 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/04/30 16:41:24 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/04/30 16:41:24 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/04/30 16:41:24 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/04/30 16:41:24 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/04/30 16:41:24 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:41:24 DEBUG : dir: Looking for writers 2025/04/30 16:41:24 DEBUG : file1: reading active writers 2025/04/30 16:41:24 DEBUG : : Looking for writers 2025/04/30 16:41:24 DEBUG : dir: reading active writers 2025/04/30 16:41:24 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (5.54s) === RUN TestReadFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:41:26 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:41:26 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:41:27 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/30 16:41:28 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:41:28 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:41:28 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/30 16:41:28 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/04/30 16:41:28 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:41:28 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/04/30 16:41:28 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/04/30 16:41:28 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/04/30 16:41:28 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/04/30 16:41:28 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/04/30 16:41:28 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/04/30 16:41:28 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/04/30 16:41:28 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/04/30 16:41:29 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/04/30 16:41:29 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/04/30 16:41:29 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/04/30 16:41:29 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/04/30 16:41:29 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/04/30 16:41:29 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/04/30 16:41:29 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/04/30 16:41:29 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/04/30 16:41:29 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/04/30 16:41:29 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/04/30 16:41:29 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/04/30 16:41:30 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/04/30 16:41:30 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/04/30 16:41:30 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/04/30 16:41:30 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/04/30 16:41:30 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/04/30 16:41:30 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/04/30 16:41:30 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/04/30 16:41:30 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/04/30 16:41:30 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/04/30 16:41:30 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/04/30 16:41:30 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/04/30 16:41:30 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/04/30 16:41:30 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:41:30 DEBUG : dir: Looking for writers 2025/04/30 16:41:30 DEBUG : file1: reading active writers 2025/04/30 16:41:30 DEBUG : : Looking for writers 2025/04/30 16:41:30 DEBUG : dir: reading active writers 2025/04/30 16:41:30 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (5.82s) === RUN TestReadFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:41:31 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:41:31 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:41:33 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/30 16:41:34 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:41:34 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:41:34 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/30 16:41:34 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/04/30 16:41:34 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:41:34 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/04/30 16:41:34 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:41:34 DEBUG : dir: Looking for writers 2025/04/30 16:41:34 DEBUG : file1: reading active writers 2025/04/30 16:41:34 DEBUG : : Looking for writers 2025/04/30 16:41:34 DEBUG : dir: reading active writers 2025/04/30 16:41:34 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (4.04s) === RUN TestReadFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:41:35 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:41:35 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:41:37 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/30 16:41:38 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:41:38 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:41:38 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/30 16:41:38 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/04/30 16:41:38 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:41:38 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/04/30 16:41:38 DEBUG : dir/file1: ReadFileHandle.Release closing 2025/04/30 16:41:38 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2025/04/30 16:41:38 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:41:38 DEBUG : dir: Looking for writers 2025/04/30 16:41:38 DEBUG : file1: reading active writers 2025/04/30 16:41:38 DEBUG : : Looking for writers 2025/04/30 16:41:38 DEBUG : dir: reading active writers 2025/04/30 16:41:38 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (4.16s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:41:40 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:41:40 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:41:40 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:40 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:40 DEBUG : Config file has changed externally - reloading 2025/04/30 16:41:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:41:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:41:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:40 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:41:41 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/30 16:41:42 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:41:43 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:41:43 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:41:43 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:41:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:41:43 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/30 16:41:43 DEBUG : dir/file1(0xc000684940): _readAt: size=1, off=0 2025/04/30 16:41:43 DEBUG : dir/file1(0xc000684940): openPending: 2025/04/30 16:41:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/30 16:41:43 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/30 16:41:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:41:43 DEBUG : dir/file1(0xc000684940): >openPending: err= 2025/04/30 16:41:43 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/04/30 16:41:43 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:41:43 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:41:43 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:41:43 DEBUG : dir/file1(0xc000684940): >_readAt: n=1, err= 2025/04/30 16:41:43 DEBUG : dir/file1(0xc000684940): _readAt: size=256, off=1 2025/04/30 16:41:43 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/04/30 16:41:43 DEBUG : dir/file1(0xc000684940): >_readAt: n=15, err=EOF 2025/04/30 16:41:43 DEBUG : dir/file1(0xc000684940): _readAt: size=16, off=16 2025/04/30 16:41:43 DEBUG : dir/file1(0xc000684940): >_readAt: n=0, err=EOF 2025/04/30 16:41:43 DEBUG : dir/file1(0xc000684940): close: 2025/04/30 16:41:43 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/30 16:41:43 DEBUG : dir/file1(0xc000684940): >close: err= 2025/04/30 16:41:43 DEBUG : dir/file1(0xc000684940): close: 2025/04/30 16:41:43 DEBUG : dir/file1(0xc000684940): >close: err=file already closed 2025/04/30 16:41:43 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:41:43 DEBUG : dir: Looking for writers 2025/04/30 16:41:43 DEBUG : file1: reading active writers 2025/04/30 16:41:43 DEBUG : : Looking for writers 2025/04/30 16:41:43 DEBUG : dir: reading active writers 2025/04/30 16:41:43 DEBUG : >WaitForWriters: 2025/04/30 16:41:43 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (4.31s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:41:44 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:41:44 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:41:44 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:44 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:41:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:41:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:44 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:41:45 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/30 16:41:47 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:41:47 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:41:47 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:41:47 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:41:47 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:41:47 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): _readAt: size=1, off=0 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): openPending: 2025/04/30 16:41:47 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/30 16:41:47 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/30 16:41:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): >openPending: err= 2025/04/30 16:41:47 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/04/30 16:41:47 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:41:47 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:41:47 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): >_readAt: n=1, err= 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): _readAt: size=1, off=5 2025/04/30 16:41:47 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): >_readAt: n=1, err= 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): _readAt: size=1, off=3 2025/04/30 16:41:47 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): >_readAt: n=1, err= 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): _readAt: size=1, off=13 2025/04/30 16:41:47 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): >_readAt: n=1, err= 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): _readAt: size=16, off=100 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): >_readAt: n=0, err=EOF 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): close: 2025/04/30 16:41:47 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/30 16:41:47 DEBUG : dir/file1(0xc000380980): >close: err= 2025/04/30 16:41:47 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:41:47 DEBUG : dir: Looking for writers 2025/04/30 16:41:47 DEBUG : file1: reading active writers 2025/04/30 16:41:47 DEBUG : : Looking for writers 2025/04/30 16:41:47 DEBUG : dir: reading active writers 2025/04/30 16:41:47 DEBUG : >WaitForWriters: 2025/04/30 16:41:47 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (4.36s) === RUN TestRWFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:41:48 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:41:48 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:41:48 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:48 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:41:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:41:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:48 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:41:49 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/30 16:41:51 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:41:51 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:41:51 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:41:51 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:41:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:41:51 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): _readAt: size=1, off=0 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): openPending: 2025/04/30 16:41:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/30 16:41:51 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/30 16:41:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): >openPending: err= 2025/04/30 16:41:51 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/04/30 16:41:51 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:41:51 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:41:51 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): >_readAt: n=1, err= 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): _readAt: size=1, off=5 2025/04/30 16:41:51 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): >_readAt: n=1, err= 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): _readAt: size=1, off=1 2025/04/30 16:41:51 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): >_readAt: n=1, err= 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): _readAt: size=6, off=10 2025/04/30 16:41:51 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): >_readAt: n=6, err= 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): _readAt: size=256, off=10 2025/04/30 16:41:51 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): >_readAt: n=6, err=EOF 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): _readAt: size=256, off=100 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): >_readAt: n=0, err=EOF 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): close: 2025/04/30 16:41:51 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): >close: err= 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): _readAt: size=256, off=100 2025/04/30 16:41:51 DEBUG : dir/file1(0xc0008c0340): >_readAt: n=0, err=file already closed 2025/04/30 16:41:51 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:41:51 DEBUG : dir: Looking for writers 2025/04/30 16:41:51 DEBUG : file1: reading active writers 2025/04/30 16:41:51 DEBUG : : Looking for writers 2025/04/30 16:41:51 DEBUG : dir: reading active writers 2025/04/30 16:41:51 DEBUG : >WaitForWriters: 2025/04/30 16:41:51 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (4.17s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:41:52 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:41:52 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:41:52 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:52 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:41:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:41:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:52 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:41:54 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/30 16:41:55 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:41:55 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:41:55 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:41:55 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:41:55 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:41:55 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/30 16:41:55 DEBUG : dir/file1(0xc0008c0d00): RWFileHandle.Flush 2025/04/30 16:41:55 DEBUG : dir/file1(0xc0008c0d00): _readAt: size=256, off=0 2025/04/30 16:41:55 DEBUG : dir/file1(0xc0008c0d00): openPending: 2025/04/30 16:41:55 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/30 16:41:55 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/30 16:41:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:41:55 DEBUG : dir/file1(0xc0008c0d00): >openPending: err= 2025/04/30 16:41:55 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/04/30 16:41:55 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:41:55 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:41:55 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:41:55 DEBUG : dir/file1(0xc0008c0d00): >_readAt: n=16, err=EOF 2025/04/30 16:41:55 DEBUG : dir/file1(0xc0008c0d00): RWFileHandle.Flush 2025/04/30 16:41:55 DEBUG : dir/file1(0xc0008c0d00): RWFileHandle.Flush 2025/04/30 16:41:55 DEBUG : dir/file1(0xc0008c0d00): close: 2025/04/30 16:41:55 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/30 16:41:55 DEBUG : dir/file1(0xc0008c0d00): >close: err= 2025/04/30 16:41:55 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:41:55 DEBUG : dir: Looking for writers 2025/04/30 16:41:55 DEBUG : file1: reading active writers 2025/04/30 16:41:55 DEBUG : : Looking for writers 2025/04/30 16:41:55 DEBUG : dir: reading active writers 2025/04/30 16:41:55 DEBUG : >WaitForWriters: 2025/04/30 16:41:55 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (4.35s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:41:57 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:41:57 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:41:57 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:57 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:41:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:41:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:41:57 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:41:58 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/30 16:41:59 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:42:00 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/30 16:42:00 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:42:00 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:42:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:42:00 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/30 16:42:00 DEBUG : dir/file1(0xc0008c02c0): _readAt: size=256, off=0 2025/04/30 16:42:00 DEBUG : dir/file1(0xc0008c02c0): openPending: 2025/04/30 16:42:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/30 16:42:00 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/30 16:42:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:42:00 DEBUG : dir/file1(0xc0008c02c0): >openPending: err= 2025/04/30 16:42:00 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/04/30 16:42:00 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:42:00 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:42:00 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:42:00 DEBUG : dir/file1(0xc0008c02c0): >_readAt: n=16, err=EOF 2025/04/30 16:42:00 DEBUG : dir/file1(0xc0008c02c0): RWFileHandle.Release 2025/04/30 16:42:00 DEBUG : dir/file1(0xc0008c02c0): close: 2025/04/30 16:42:00 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/30 16:42:00 DEBUG : dir/file1(0xc0008c02c0): >close: err= 2025/04/30 16:42:00 DEBUG : dir/file1(0xc0008c02c0): RWFileHandle.Release 2025/04/30 16:42:00 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:42:00 DEBUG : dir: Looking for writers 2025/04/30 16:42:00 DEBUG : file1: reading active writers 2025/04/30 16:42:00 DEBUG : : Looking for writers 2025/04/30 16:42:00 DEBUG : dir: reading active writers 2025/04/30 16:42:00 DEBUG : >WaitForWriters: 2025/04/30 16:42:00 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (4.21s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:42:01 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:42:01 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:42:01 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:01 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:42:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:42:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:01 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:42:02 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/30 16:42:04 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2025/04/30 16:42:04 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/04/30 16:42:04 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:42:04 DEBUG : dir/file1(0xc0006850c0): openPending: 2025/04/30 16:42:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/30 16:42:04 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/30 16:42:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:42:04 DEBUG : dir/file1(0xc0006850c0): >openPending: err= 2025/04/30 16:42:04 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/04/30 16:42:04 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:42:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:42:04 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/30 16:42:04 DEBUG : dir/file1(0xc0006850c0): _writeAt: size=5, off=0 2025/04/30 16:42:04 DEBUG : dir/file1(0xc0006850c0): >_writeAt: n=5, err= 2025/04/30 16:42:04 DEBUG : dir/file1(0xc0006850c0): close: 2025/04/30 16:42:04 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/04/30 16:42:04 DEBUG : dir/file1: vfs cache: setting modification time to 2025-04-30 16:42:04.438917059 +0000 UTC m=+152.878325763 2025/04/30 16:42:04 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/04/30 16:42:04 DEBUG : dir/file1(0xc0006850c0): >close: err= 2025/04/30 16:42:04 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:42:04 DEBUG : dir: Looking for writers 2025/04/30 16:42:04 DEBUG : file1: reading active writers 2025/04/30 16:42:04 DEBUG : : Looking for writers 2025/04/30 16:42:04 DEBUG : dir: reading active writers 2025/04/30 16:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/30 16:42:04 DEBUG : dir: Looking for writers 2025/04/30 16:42:04 DEBUG : file1: reading active writers 2025/04/30 16:42:04 DEBUG : : Looking for writers 2025/04/30 16:42:04 DEBUG : dir: reading active writers 2025/04/30 16:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/30 16:42:04 DEBUG : dir: Looking for writers 2025/04/30 16:42:04 DEBUG : file1: reading active writers 2025/04/30 16:42:04 DEBUG : : Looking for writers 2025/04/30 16:42:04 DEBUG : dir: reading active writers 2025/04/30 16:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/30 16:42:04 DEBUG : dir: Looking for writers 2025/04/30 16:42:04 DEBUG : file1: reading active writers 2025/04/30 16:42:04 DEBUG : : Looking for writers 2025/04/30 16:42:04 DEBUG : dir: reading active writers 2025/04/30 16:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/30 16:42:04 DEBUG : dir/file1: vfs cache: starting upload 2025/04/30 16:42:04 DEBUG : dir: Looking for writers 2025/04/30 16:42:04 DEBUG : file1: reading active writers 2025/04/30 16:42:04 DEBUG : : Looking for writers 2025/04/30 16:42:04 DEBUG : dir: reading active writers 2025/04/30 16:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/30 16:42:04 DEBUG : dir/file1: Uploading chunk 0, size=5, remain=0 2025/04/30 16:42:04 DEBUG : dir: Looking for writers 2025/04/30 16:42:04 DEBUG : file1: reading active writers 2025/04/30 16:42:04 DEBUG : : Looking for writers 2025/04/30 16:42:04 DEBUG : dir: reading active writers 2025/04/30 16:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/30 16:42:05 DEBUG : dir: Looking for writers 2025/04/30 16:42:05 DEBUG : file1: reading active writers 2025/04/30 16:42:05 DEBUG : : Looking for writers 2025/04/30 16:42:05 DEBUG : dir: reading active writers 2025/04/30 16:42:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/30 16:42:05 DEBUG : dir: Looking for writers 2025/04/30 16:42:05 DEBUG : file1: reading active writers 2025/04/30 16:42:05 DEBUG : : Looking for writers 2025/04/30 16:42:05 DEBUG : dir: reading active writers 2025/04/30 16:42:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/04/30 16:42:05 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/04/30 16:42:05 INFO : dir/file1: Copied (replaced existing) 2025/04/30 16:42:05 DEBUG : dir/file1: vfs cache: fingerprint now "5,2025-04-30 16:42:04 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2025/04/30 16:42:05 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/04/30 16:42:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:42:05 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/04/30 16:42:06 DEBUG : dir: Looking for writers 2025/04/30 16:42:06 DEBUG : file1: reading active writers 2025/04/30 16:42:06 DEBUG : : Looking for writers 2025/04/30 16:42:06 DEBUG : dir: reading active writers 2025/04/30 16:42:06 DEBUG : >WaitForWriters: 2025/04/30 16:42:06 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': 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: TestRWFileHandleSizeTruncateExisting (13.72s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:42:15 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:42:15 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:42:15 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:15 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:42:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:42:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:15 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:42:16 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/04/30 16:42:17 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/04/30 16:42:18 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2025/04/30 16:42:18 DEBUG : dir/file1: newRWFileHandle: 2025/04/30 16:42:18 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/30 16:42:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:42:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/30 16:42:18 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/30 16:42:18 DEBUG : dir/file1(0xc0008c0700): _writeAt: size=5, off=0 2025/04/30 16:42:18 DEBUG : dir/file1(0xc0008c0700): openPending: 2025/04/30 16:42:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/04/30 16:42:18 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/30 16:42:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:42:18 DEBUG : dir/file1(0xc0008c0700): >openPending: err= 2025/04/30 16:42:18 DEBUG : dir/file1(0xc0008c0700): >_writeAt: n=5, err= 2025/04/30 16:42:18 DEBUG : dir/file1(0xc0008c0700): _writeAt: size=15, off=5 2025/04/30 16:42:18 DEBUG : dir/file1(0xc0008c0700): >_writeAt: n=15, err= 2025/04/30 16:42:18 DEBUG : dir/file1(0xc0008c0700): close: 2025/04/30 16:42:18 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2025/04/30 16:42:18 DEBUG : dir/file1: vfs cache: setting modification time to 2025-04-30 16:42:18.023647917 +0000 UTC m=+166.463056622 2025/04/30 16:42:18 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/04/30 16:42:18 DEBUG : dir/file1(0xc0008c0700): >close: err= 2025/04/30 16:42:18 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:42:18 DEBUG : dir: Looking for writers 2025/04/30 16:42:18 DEBUG : file1: reading active writers 2025/04/30 16:42:18 DEBUG : : Looking for writers 2025/04/30 16:42:18 DEBUG : dir: reading active writers 2025/04/30 16:42:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/04/30 16:42:18 DEBUG : dir: Looking for writers 2025/04/30 16:42:18 DEBUG : file1: reading active writers 2025/04/30 16:42:18 DEBUG : : Looking for writers 2025/04/30 16:42:18 DEBUG : dir: reading active writers 2025/04/30 16:42:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/04/30 16:42:18 DEBUG : dir: Looking for writers 2025/04/30 16:42:18 DEBUG : file1: reading active writers 2025/04/30 16:42:18 DEBUG : : Looking for writers 2025/04/30 16:42:18 DEBUG : dir: reading active writers 2025/04/30 16:42:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/04/30 16:42:18 DEBUG : dir: Looking for writers 2025/04/30 16:42:18 DEBUG : file1: reading active writers 2025/04/30 16:42:18 DEBUG : : Looking for writers 2025/04/30 16:42:18 DEBUG : dir: reading active writers 2025/04/30 16:42:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/04/30 16:42:18 DEBUG : dir/file1: vfs cache: starting upload 2025/04/30 16:42:18 DEBUG : dir: Looking for writers 2025/04/30 16:42:18 DEBUG : file1: reading active writers 2025/04/30 16:42:18 DEBUG : : Looking for writers 2025/04/30 16:42:18 DEBUG : dir: reading active writers 2025/04/30 16:42:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/04/30 16:42:18 DEBUG : dir/file1: Uploading chunk 0, size=20, remain=0 2025/04/30 16:42:18 DEBUG : dir: Looking for writers 2025/04/30 16:42:18 DEBUG : file1: reading active writers 2025/04/30 16:42:18 DEBUG : : Looking for writers 2025/04/30 16:42:18 DEBUG : dir: reading active writers 2025/04/30 16:42:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/04/30 16:42:18 DEBUG : dir: Looking for writers 2025/04/30 16:42:18 DEBUG : file1: reading active writers 2025/04/30 16:42:18 DEBUG : : Looking for writers 2025/04/30 16:42:18 DEBUG : dir: reading active writers 2025/04/30 16:42:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/04/30 16:42:19 DEBUG : dir/file1: md5 = 5198435b5c4e591523b7f5435cc07e88 OK 2025/04/30 16:42:19 INFO : dir/file1: Copied (replaced existing) 2025/04/30 16:42:19 DEBUG : dir/file1: vfs cache: fingerprint now "20,2025-04-30 16:42:18 +0000 UTC,5198435b5c4e591523b7f5435cc07e88" 2025/04/30 16:42:19 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/04/30 16:42:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:42:19 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/04/30 16:42:19 DEBUG : dir: Looking for writers 2025/04/30 16:42:19 DEBUG : file1: reading active writers 2025/04/30 16:42:19 DEBUG : : Looking for writers 2025/04/30 16:42:19 DEBUG : dir: reading active writers 2025/04/30 16:42:19 DEBUG : >WaitForWriters: 2025/04/30 16:42:19 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (5.05s) === RUN TestRWCacheUpdate run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:42:20 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:42:20 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/30 16:42:20 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:20 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:42:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/30 16:42:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-loqofuy4yupi" 2025/04/30 16:42:20 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/30 16:42:20 DEBUG : : forgetting directory cache 2025/04/30 16:42:21 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate(0xc00071a780): _readAt: size=512, off=0 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate(0xc00071a780): openPending: 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-04-30 15:43:20 +0000 UTC,8558f20bbf1a5777c862752b37ad49be" against cached fingerprint "" 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/04/30 16:42:22 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate(0xc00071a780): >openPending: err= 2025/04/30 16:42:22 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate(0xc00071a780): >_readAt: n=20, err=EOF 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate(0xc00071a780): close: 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-04-30 15:43:20 +0000 UTC 2025/04/30 16:42:22 DEBUG : TestRWCacheUpdate(0xc00071a780): >close: err= 2025/04/30 16:42:22 DEBUG : : Re-reading directory (164.961863ms old) 2025/04/30 16:42:23 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:23 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/04/30 16:42:23 DEBUG : : forgetting directory cache 2025/04/30 16:42:23 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate(0xc00071a740): _readAt: size=512, off=0 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate(0xc00071a740): openPending: 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-04-30 15:44:20 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" against cached fingerprint "20,2025-04-30 15:43:20 +0000 UTC,8558f20bbf1a5777c862752b37ad49be" 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-04-30 15:44:20 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" != cached fingerprint "20,2025-04-30 15:43:20 +0000 UTC,8558f20bbf1a5777c862752b37ad49be") 2025/04/30 16:42:25 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/04/30 16:42:25 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate(0xc00071a740): >openPending: err= 2025/04/30 16:42:25 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate(0xc00071a740): >_readAt: n=20, err=EOF 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate(0xc00071a740): close: 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-04-30 15:44:20 +0000 UTC 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate(0xc00071a740): >close: err= 2025/04/30 16:42:25 DEBUG : : Re-reading directory (170.463769ms old) 2025/04/30 16:42:25 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:25 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/04/30 16:42:25 DEBUG : : forgetting directory cache 2025/04/30 16:42:26 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate(0xc00071ab80): _readAt: size=512, off=0 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate(0xc00071ab80): openPending: 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-04-30 15:45:20 +0000 UTC,4e063366550d230fc1fb85c19dbb494d" against cached fingerprint "20,2025-04-30 15:44:20 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-04-30 15:45:20 +0000 UTC,4e063366550d230fc1fb85c19dbb494d" != cached fingerprint "20,2025-04-30 15:44:20 +0000 UTC,944a242d910e2bbacae0d0db8c64490a") 2025/04/30 16:42:27 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/04/30 16:42:27 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate(0xc00071ab80): >openPending: err= 2025/04/30 16:42:27 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate(0xc00071ab80): >_readAt: n=20, err=EOF 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate(0xc00071ab80): close: 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-04-30 15:45:20 +0000 UTC 2025/04/30 16:42:27 DEBUG : TestRWCacheUpdate(0xc00071ab80): >close: err= 2025/04/30 16:42:27 DEBUG : : Re-reading directory (164.611235ms old) 2025/04/30 16:42:28 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:28 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/04/30 16:42:28 DEBUG : : forgetting directory cache 2025/04/30 16:42:28 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate(0xc00071a4c0): _readAt: size=512, off=0 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate(0xc00071a4c0): openPending: 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-04-30 15:46:20 +0000 UTC,a8c7956852282e88c22a986150cb5a68" against cached fingerprint "20,2025-04-30 15:45:20 +0000 UTC,4e063366550d230fc1fb85c19dbb494d" 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-04-30 15:46:20 +0000 UTC,a8c7956852282e88c22a986150cb5a68" != cached fingerprint "20,2025-04-30 15:45:20 +0000 UTC,4e063366550d230fc1fb85c19dbb494d") 2025/04/30 16:42:29 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/04/30 16:42:29 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate(0xc00071a4c0): >openPending: err= 2025/04/30 16:42:29 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:42:29 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:42:30 DEBUG : TestRWCacheUpdate(0xc00071a4c0): >_readAt: n=20, err=EOF 2025/04/30 16:42:30 DEBUG : TestRWCacheUpdate(0xc00071a4c0): close: 2025/04/30 16:42:30 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-04-30 15:46:20 +0000 UTC 2025/04/30 16:42:30 DEBUG : TestRWCacheUpdate(0xc00071a4c0): >close: err= 2025/04/30 16:42:30 DEBUG : : Re-reading directory (166.415001ms old) 2025/04/30 16:42:30 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:30 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/04/30 16:42:30 DEBUG : : forgetting directory cache 2025/04/30 16:42:30 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/04/30 16:42:31 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate(0xc0008c0280): _readAt: size=512, off=0 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate(0xc0008c0280): openPending: 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-04-30 15:47:20 +0000 UTC,25074c7237d5f7774d304950950b2d66" against cached fingerprint "20,2025-04-30 15:46:20 +0000 UTC,a8c7956852282e88c22a986150cb5a68" 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-04-30 15:47:20 +0000 UTC,25074c7237d5f7774d304950950b2d66" != cached fingerprint "20,2025-04-30 15:46:20 +0000 UTC,a8c7956852282e88c22a986150cb5a68") 2025/04/30 16:42:32 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/04/30 16:42:32 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate(0xc0008c0280): >openPending: err= 2025/04/30 16:42:32 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate(0xc0008c0280): >_readAt: n=20, err=EOF 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate(0xc0008c0280): close: 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-04-30 15:47:20 +0000 UTC 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate(0xc0008c0280): >close: err= 2025/04/30 16:42:32 DEBUG : : Re-reading directory (177.613099ms old) 2025/04/30 16:42:32 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:32 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/04/30 16:42:32 DEBUG : : forgetting directory cache 2025/04/30 16:42:33 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate(0xc0008c0380): _readAt: size=512, off=0 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate(0xc0008c0380): openPending: 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-04-30 15:48:20 +0000 UTC,58e51f3b328781d7a035e462b2e9bd00" against cached fingerprint "20,2025-04-30 15:47:20 +0000 UTC,25074c7237d5f7774d304950950b2d66" 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-04-30 15:48:20 +0000 UTC,58e51f3b328781d7a035e462b2e9bd00" != cached fingerprint "20,2025-04-30 15:47:20 +0000 UTC,25074c7237d5f7774d304950950b2d66") 2025/04/30 16:42:34 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/04/30 16:42:34 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate(0xc0008c0380): >openPending: err= 2025/04/30 16:42:34 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate(0xc0008c0380): >_readAt: n=20, err=EOF 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate(0xc0008c0380): close: 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-04-30 15:48:20 +0000 UTC 2025/04/30 16:42:34 DEBUG : TestRWCacheUpdate(0xc0008c0380): >close: err= 2025/04/30 16:42:34 DEBUG : : Re-reading directory (179.290437ms old) 2025/04/30 16:42:35 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:35 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/04/30 16:42:35 DEBUG : : forgetting directory cache 2025/04/30 16:42:35 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=21, remain=0 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate(0xc0008c08c0): _readAt: size=512, off=0 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate(0xc0008c08c0): openPending: 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "21,2025-04-30 15:49:20 +0000 UTC,8dbc613757cc0c1614e9b1aafd9156a7" against cached fingerprint "20,2025-04-30 15:48:20 +0000 UTC,58e51f3b328781d7a035e462b2e9bd00" 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "21,2025-04-30 15:49:20 +0000 UTC,8dbc613757cc0c1614e9b1aafd9156a7" != cached fingerprint "20,2025-04-30 15:48:20 +0000 UTC,58e51f3b328781d7a035e462b2e9bd00") 2025/04/30 16:42:36 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=21 2025/04/30 16:42:36 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate(0xc0008c08c0): >openPending: err= 2025/04/30 16:42:36 DEBUG : vfs cache: looking for range={Pos:0 Size:21} in [] - present false 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:42:36 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:42:37 DEBUG : TestRWCacheUpdate(0xc0008c08c0): >_readAt: n=21, err=EOF 2025/04/30 16:42:37 DEBUG : TestRWCacheUpdate(0xc0008c08c0): close: 2025/04/30 16:42:37 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-04-30 15:49:20 +0000 UTC 2025/04/30 16:42:37 DEBUG : TestRWCacheUpdate(0xc0008c08c0): >close: err= 2025/04/30 16:42:37 DEBUG : : Re-reading directory (184.246409ms old) 2025/04/30 16:42:37 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:37 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/04/30 16:42:37 DEBUG : : forgetting directory cache 2025/04/30 16:42:37 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=22, remain=0 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate(0xc000684a00): _readAt: size=512, off=0 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate(0xc000684a00): openPending: 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "22,2025-04-30 15:50:20 +0000 UTC,d6db0c1b4814e22b98d1f690596f68ca" against cached fingerprint "21,2025-04-30 15:49:20 +0000 UTC,8dbc613757cc0c1614e9b1aafd9156a7" 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "22,2025-04-30 15:50:20 +0000 UTC,d6db0c1b4814e22b98d1f690596f68ca" != cached fingerprint "21,2025-04-30 15:49:20 +0000 UTC,8dbc613757cc0c1614e9b1aafd9156a7") 2025/04/30 16:42:39 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=22 2025/04/30 16:42:39 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate(0xc000684a00): >openPending: err= 2025/04/30 16:42:39 DEBUG : vfs cache: looking for range={Pos:0 Size:22} in [] - present false 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate(0xc000684a00): >_readAt: n=22, err=EOF 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate(0xc000684a00): close: 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-04-30 15:50:20 +0000 UTC 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate(0xc000684a00): >close: err= 2025/04/30 16:42:39 DEBUG : : Re-reading directory (180.844916ms old) 2025/04/30 16:42:39 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:39 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/04/30 16:42:40 DEBUG : : forgetting directory cache 2025/04/30 16:42:40 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=23, remain=0 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate(0xc00071aa80): _readAt: size=512, off=0 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate(0xc00071aa80): openPending: 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "23,2025-04-30 15:51:20 +0000 UTC,a04b60cad5c51870e80f668df3d720c0" against cached fingerprint "22,2025-04-30 15:50:20 +0000 UTC,d6db0c1b4814e22b98d1f690596f68ca" 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "23,2025-04-30 15:51:20 +0000 UTC,a04b60cad5c51870e80f668df3d720c0" != cached fingerprint "22,2025-04-30 15:50:20 +0000 UTC,d6db0c1b4814e22b98d1f690596f68ca") 2025/04/30 16:42:41 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=23 2025/04/30 16:42:41 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate(0xc00071aa80): >openPending: err= 2025/04/30 16:42:41 DEBUG : vfs cache: looking for range={Pos:0 Size:23} in [] - present false 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:42:41 DEBUG : : forgetting directory cache 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate(0xc00071aa80): >_readAt: n=23, err=EOF 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate(0xc00071aa80): close: 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-04-30 15:51:20 +0000 UTC 2025/04/30 16:42:41 DEBUG : TestRWCacheUpdate(0xc00071aa80): >close: err= 2025/04/30 16:42:41 DEBUG : : Re-reading directory (289.412018ms old) 2025/04/30 16:42:42 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:42 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/04/30 16:42:42 DEBUG : : forgetting directory cache 2025/04/30 16:42:42 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=24, remain=0 2025/04/30 16:42:43 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate(0xc00071a880): _readAt: size=512, off=0 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate(0xc00071a880): openPending: 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "24,2025-04-30 15:52:20 +0000 UTC,074978d6705e58530a3c8d378a08fa37" against cached fingerprint "23,2025-04-30 15:51:20 +0000 UTC,a04b60cad5c51870e80f668df3d720c0" 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "24,2025-04-30 15:52:20 +0000 UTC,074978d6705e58530a3c8d378a08fa37" != cached fingerprint "23,2025-04-30 15:51:20 +0000 UTC,a04b60cad5c51870e80f668df3d720c0") 2025/04/30 16:42:44 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=24 2025/04/30 16:42:44 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate(0xc00071a880): >openPending: err= 2025/04/30 16:42:44 DEBUG : vfs cache: looking for range={Pos:0 Size:24} in [] - present false 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/04/30 16:42:44 DEBUG : : forgetting directory cache 2025/04/30 16:42:44 DEBUG : : forgetting directory cache 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate(0xc00071a880): >_readAt: n=24, err=EOF 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate(0xc00071a880): close: 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-04-30 15:52:20 +0000 UTC 2025/04/30 16:42:44 DEBUG : TestRWCacheUpdate(0xc00071a880): >close: err= 2025/04/30 16:42:44 DEBUG : : Re-reading directory (546.562266ms old) 2025/04/30 16:42:45 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/04/30 16:42:45 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/04/30 16:42:45 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:42:45 DEBUG : : Looking for writers 2025/04/30 16:42:45 DEBUG : TestRWCacheUpdate: reading active writers 2025/04/30 16:42:45 DEBUG : >WaitForWriters: 2025/04/30 16:42:45 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': vfs cache: cleaner exiting 2025/04/30 16:42:45 DEBUG : : forgetting directory cache --- PASS: TestRWCacheUpdate (25.19s) === RUN TestVFSStat run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:42:45 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:42:45 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:42:46 DEBUG : file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:42:48 DEBUG : dir/file2: Uploading chunk 0, size=14, remain=0 2025/04/30 16:42:50 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:42:50 DEBUG : dir: Looking for writers 2025/04/30 16:42:50 DEBUG : file2: reading active writers 2025/04/30 16:42:50 DEBUG : : Looking for writers 2025/04/30 16:42:50 DEBUG : dir: reading active writers 2025/04/30 16:42:50 DEBUG : file1: reading active writers 2025/04/30 16:42:50 DEBUG : >WaitForWriters: --- PASS: TestVFSStat (5.77s) === RUN TestVFSStatParent run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:42:51 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:42:51 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:42:52 DEBUG : file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:42:54 DEBUG : dir/file2: Uploading chunk 0, size=14, remain=0 2025/04/30 16:42:55 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:42:55 DEBUG : dir: Looking for writers 2025/04/30 16:42:55 DEBUG : : Looking for writers 2025/04/30 16:42:55 DEBUG : dir: reading active writers 2025/04/30 16:42:55 DEBUG : file1: reading active writers 2025/04/30 16:42:55 DEBUG : >WaitForWriters: --- PASS: TestVFSStatParent (5.42s) === RUN TestVFSOpenFile run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:42:56 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:42:56 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:42:57 DEBUG : file1: Uploading chunk 0, size=14, remain=0 2025/04/30 16:42:59 DEBUG : dir/file2: Uploading chunk 0, size=14, remain=0 2025/04/30 16:43:00 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:43:00 DEBUG : file1: Open: flags=O_RDONLY 2025/04/30 16:43:00 DEBUG : file1: >Open: fd=file1 (r), err= 2025/04/30 16:43:00 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/04/30 16:43:00 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:43:00 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2025/04/30 16:43:00 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/30 16:43:01 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/04/30 16:43:01 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/04/30 16:43:01 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2025/04/30 16:43:01 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/04/30 16:43:01 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2025/04/30 16:43:01 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2025/04/30 16:43:01 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/04/30 16:43:01 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': File to upload is small (0 bytes), uploading instead of streaming 2025/04/30 16:43:02 DEBUG : dir/new_file.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/04/30 16:43:02 DEBUG : dir/new_file.txt: Size and md5 of src and dst objects identical 2025/04/30 16:43:02 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/04/30 16:43:02 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/04/30 16:43:02 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/04/30 16:43:02 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:43:02 DEBUG : dir: Looking for writers 2025/04/30 16:43:02 DEBUG : file2: reading active writers 2025/04/30 16:43:02 DEBUG : new_file.txt: reading active writers 2025/04/30 16:43:02 DEBUG : : Looking for writers 2025/04/30 16:43:02 DEBUG : dir: reading active writers 2025/04/30 16:43:02 DEBUG : file1: reading active writers 2025/04/30 16:43:02 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (7.10s) === RUN TestVFSRename run.go:180: Remote "OpenDrive root 'rclone-test-loqofuy4yupi'", Local "Local file system at /tmp/rclone3573319164", Modify Window "1s" 2025/04/30 16:43:03 INFO : OpenDrive root 'rclone-test-loqofuy4yupi': poll-interval is not supported by this remote 2025/04/30 16:43:03 NOTICE: OpenDrive root 'rclone-test-loqofuy4yupi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/04/30 16:43:04 DEBUG : dir/file2: Uploading chunk 0, size=14, remain=0 2025/04/30 16:43:06 DEBUG : dir/file2: same parent dir (ODFfODQ4MjgyNV91ZXVSSg) - using file/rename instead of move_copy for dir/file1 2025/04/30 16:43:06 INFO : dir/file2: Moved (server-side) to: dir/file1 2025/04/30 16:43:06 DEBUG : dir/file1: Updating file with dir/file1 0xc0008949c0 2025/04/30 16:43:06 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/04/30 16:43:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/30 16:43:07 INFO : dir/file1: Moved (server-side) to: file0 2025/04/30 16:43:07 DEBUG : file0: Updating file with file0 0xc0008949c0 2025/04/30 16:43:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/30 16:43:07 DEBUG : : Added virtual directory entry vAddFile: "file0" 2025/04/30 16:43:08 DEBUG : WaitForWriters: timeout=30s 2025/04/30 16:43:08 DEBUG : dir: Looking for writers 2025/04/30 16:43:08 DEBUG : : Looking for writers 2025/04/30 16:43:08 DEBUG : dir: reading active writers 2025/04/30 16:43:08 DEBUG : file0: reading active writers 2025/04/30 16:43:08 DEBUG : >WaitForWriters: --- PASS: TestVFSRename (5.32s) PASS 2025/04/30 16:43:09 DEBUG : OpenDrive root 'rclone-test-loqofuy4yupi': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirMethods|TestDirRemoveName|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileRemove|TestFileRemoveAll|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSOpenFile|TestVFSRename|TestVFSStat|TestVFSStatParent)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^cache=full,open=true,write=true$'" - Finished OK in 3m38.094569322s (try 2/5)