"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirRemove|TestDirRemoveName|TestFileOpen|TestFileRemove|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSOpenFile|TestVFSStat|TestVFSStatParent)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2025/10/06 01:44:07 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-casuxig8soha" 2025/10/06 01:44:07 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/06 01:44:08 DEBUG : Starting OpenDrive session with ID: 42d2851ab78fe34c767a4dcf238ff16f46a437eeac3c4340bf29e3363624d3b6 2025/10/06 01:44:08 DEBUG : Creating backend with remote "/tmp/rclone61257436" === RUN TestDirRemove run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:44:08 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:44:08 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:44:10 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:44:12 ERROR : dir/: Dir.Remove not empty 2025/10/06 01:44:12 DEBUG : dir/file1: Remove: 2025/10/06 01:44:12 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:44:12 DEBUG : dir/file1: >Remove: err= 2025/10/06 01:44:12 DEBUG : Added virtual directory entry vDel: "dir" 2025/10/06 01:44:12 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:44:12 DEBUG : Looking for writers 2025/10/06 01:44:12 DEBUG : >WaitForWriters: --- PASS: TestDirRemove (4.77s) === RUN TestDirRemoveName run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:44:13 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:44:13 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:44:14 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:44:16 DEBUG : dir/file1: Remove: 2025/10/06 01:44:16 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:44:16 DEBUG : dir/file1: >Remove: err= 2025/10/06 01:44:16 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:44:16 DEBUG : dir: Looking for writers 2025/10/06 01:44:16 DEBUG : Looking for writers 2025/10/06 01:44:16 DEBUG : dir: reading active writers 2025/10/06 01:44:16 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: folder not empty --- PASS: TestDirRemoveName (6.03s) === RUN TestFileRemove run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:44:19 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:44:19 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:44:20 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:44:22 DEBUG : dir/file1: Remove: 2025/10/06 01:44:22 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:44:22 DEBUG : dir/file1: >Remove: err= 2025/10/06 01:44:22 DEBUG : dir/file1: Remove: 2025/10/06 01:44:22 DEBUG : dir/file1: >Remove: err=Read only file system 2025/10/06 01:44:22 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:44:22 DEBUG : dir: Looking for writers 2025/10/06 01:44:22 DEBUG : Looking for writers 2025/10/06 01:44:22 DEBUG : dir: reading active writers 2025/10/06 01:44:22 DEBUG : >WaitForWriters: --- PASS: TestFileRemove (4.58s) === RUN TestFileOpen run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:44:23 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:44:23 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:44:25 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:44:26 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:44:26 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/10/06 01:44:26 DEBUG : dir/file1: Open: flags=O_WRONLY 2025/10/06 01:44:26 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/10/06 01:44:26 DEBUG : dir/file1: Open: flags=O_RDWR 2025/10/06 01:44:26 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/10/06 01:44:26 DEBUG : dir/file1: Open: flags=0x3 2025/10/06 01:44:26 DEBUG : dir/file1: Can't figure out how to open with flags: 0x3 2025/10/06 01:44:26 DEBUG : dir/file1: >Open: fd=, err=permission denied 2025/10/06 01:44:26 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:44:26 DEBUG : dir: Looking for writers 2025/10/06 01:44:26 DEBUG : file1: reading active writers 2025/10/06 01:44:26 DEBUG : Looking for writers 2025/10/06 01:44:26 DEBUG : dir: reading active writers 2025/10/06 01:44:26 DEBUG : >WaitForWriters: --- PASS: TestFileOpen (4.18s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:44:28 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:44:28 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:44:29 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:44:31 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:44:31 DEBUG : dir: Looking for writers 2025/10/06 01:44:31 DEBUG : file1: reading active writers 2025/10/06 01:44:31 DEBUG : Looking for writers 2025/10/06 01:44:31 DEBUG : dir: reading active writers 2025/10/06 01:44:31 DEBUG : >WaitForWriters: 2025/10/06 01:44:32 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/06 01:44:32 DEBUG : newLeaf: Updating file with newLeaf 0xc0000300c0 2025/10/06 01:44:32 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:44:32 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:44:33 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/10/06 01:44:33 DEBUG : dir/file1: Updating file with dir/file1 0xc0000300c0 2025/10/06 01:44:33 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/10/06 01:44:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:44:33 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/10/06 01:44:33 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/10/06 01:44:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:44:33 DEBUG : dir/file1: File is currently open, delaying rename 0xc0000300c0 2025/10/06 01:44:33 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:44:33 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:44:33 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': File to upload is small (25 bytes), uploading instead of streaming 2025/10/06 01:44:33 DEBUG : dir/file1: Uploading chunk 0, size=25, remain=0 2025/10/06 01:44:34 DEBUG : dir/file1: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/10/06 01:44:34 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2025/10/06 01:44:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:44:34 DEBUG : newLeaf: Running delayed rename now 2025/10/06 01:44:35 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/06 01:44:35 DEBUG : newLeaf: Updating file with newLeaf 0xc0000300c0 2025/10/06 01:44:35 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:44:35 DEBUG : dir: Looking for writers 2025/10/06 01:44:35 DEBUG : Looking for writers 2025/10/06 01:44:35 DEBUG : dir: reading active writers 2025/10/06 01:44:35 DEBUG : newLeaf: reading active writers 2025/10/06 01:44:35 DEBUG : >WaitForWriters: 2025/10/06 01:44:35 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:44:35 DEBUG : dir: Looking for writers 2025/10/06 01:44:35 DEBUG : Looking for writers 2025/10/06 01:44:35 DEBUG : newLeaf: reading active writers 2025/10/06 01:44:35 DEBUG : dir: reading active writers 2025/10/06 01:44:35 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:44:37 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:44:37 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:44:37 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 01:44:37 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:44:37 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:44:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:44:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:44:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:44:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:44:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:44:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:44:37 INFO : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 01:44:38 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:44:40 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:44:40 DEBUG : dir: Looking for writers 2025/10/06 01:44:40 DEBUG : file1: reading active writers 2025/10/06 01:44:40 DEBUG : Looking for writers 2025/10/06 01:44:40 DEBUG : dir: reading active writers 2025/10/06 01:44:40 DEBUG : >WaitForWriters: 2025/10/06 01:44:41 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/06 01:44:41 DEBUG : newLeaf: Updating file with newLeaf 0xc000382480 2025/10/06 01:44:41 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:44:41 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:44:42 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/10/06 01:44:42 DEBUG : dir/file1: Updating file with dir/file1 0xc000382480 2025/10/06 01:44:42 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/10/06 01:44:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:44:42 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/10/06 01:44:42 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/10/06 01:44:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:44:42 DEBUG : dir/file1: File is currently open, delaying rename 0xc000382480 2025/10/06 01:44:42 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:44:42 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:44:42 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': File to upload is small (25 bytes), uploading instead of streaming 2025/10/06 01:44:42 DEBUG : dir/file1: Uploading chunk 0, size=25, remain=0 2025/10/06 01:44:43 DEBUG : dir/file1: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/10/06 01:44:43 DEBUG : dir/file1: Size and md5 of src and dst objects identical 2025/10/06 01:44:43 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:44:43 DEBUG : newLeaf: Running delayed rename now 2025/10/06 01:44:44 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/06 01:44:44 DEBUG : newLeaf: Updating file with newLeaf 0xc000382480 2025/10/06 01:44:44 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:44:44 DEBUG : dir: Looking for writers 2025/10/06 01:44:44 DEBUG : Looking for writers 2025/10/06 01:44:44 DEBUG : dir: reading active writers 2025/10/06 01:44:44 DEBUG : newLeaf: reading active writers 2025/10/06 01:44:44 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure 2025/10/06 01:44:52 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:44:52 DEBUG : dir: Looking for writers 2025/10/06 01:44:52 DEBUG : Looking for writers 2025/10/06 01:44:52 DEBUG : dir: reading active writers 2025/10/06 01:44:52 DEBUG : newLeaf: reading active writers 2025/10/06 01:44:52 DEBUG : >WaitForWriters: 2025/10/06 01:44:52 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:44:53 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:44:53 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:44:53 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 01:44:53 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:44:53 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:44:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:44:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:44:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:44:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:44:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:44:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:44:53 INFO : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 01:44:54 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:44:56 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/10/06 01:44:56 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:44:56 DEBUG : dir/file1(0xc000692d40): openPending: 2025/10/06 01:44:56 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/10/06 01:44:56 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/10/06 01:44:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:44:56 DEBUG : dir/file1(0xc000692d40): >openPending: err= 2025/10/06 01:44:56 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/10/06 01:44:56 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:44:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:44:56 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:44:56 DEBUG : dir/file1(0xc000692d40): _writeAt: size=14, off=0 2025/10/06 01:44:56 DEBUG : dir/file1(0xc000692d40): >_writeAt: n=14, err= 2025/10/06 01:44:56 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/10/06 01:44:56 DEBUG : dir/file1(0xc000692d40): close: 2025/10/06 01:44:56 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/10/06 01:44:56 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/10/06 01:44:56 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/10/06 01:44:56 DEBUG : dir/file1(0xc000692d40): >close: err= 2025/10/06 01:44:56 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:44:56 DEBUG : dir: Looking for writers 2025/10/06 01:44:56 DEBUG : file1: reading active writers 2025/10/06 01:44:56 DEBUG : Looking for writers 2025/10/06 01:44:56 DEBUG : dir: reading active writers 2025/10/06 01:44:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 01:44:56 DEBUG : dir: Looking for writers 2025/10/06 01:44:56 DEBUG : file1: reading active writers 2025/10/06 01:44:56 DEBUG : Looking for writers 2025/10/06 01:44:56 DEBUG : dir: reading active writers 2025/10/06 01:44:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 01:44:56 DEBUG : dir: Looking for writers 2025/10/06 01:44:56 DEBUG : file1: reading active writers 2025/10/06 01:44:56 DEBUG : Looking for writers 2025/10/06 01:44:56 DEBUG : dir: reading active writers 2025/10/06 01:44:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 01:44:56 DEBUG : dir: Looking for writers 2025/10/06 01:44:56 DEBUG : file1: reading active writers 2025/10/06 01:44:56 DEBUG : Looking for writers 2025/10/06 01:44:56 DEBUG : dir: reading active writers 2025/10/06 01:44:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 01:44:56 DEBUG : dir/file1: vfs cache: starting upload 2025/10/06 01:44:56 DEBUG : dir: Looking for writers 2025/10/06 01:44:56 DEBUG : file1: reading active writers 2025/10/06 01:44:56 DEBUG : Looking for writers 2025/10/06 01:44:56 DEBUG : dir: reading active writers 2025/10/06 01:44:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 01:44:56 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:44:56 DEBUG : dir: Looking for writers 2025/10/06 01:44:56 DEBUG : file1: reading active writers 2025/10/06 01:44:56 DEBUG : Looking for writers 2025/10/06 01:44:56 DEBUG : dir: reading active writers 2025/10/06 01:44:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 01:44:57 DEBUG : dir: Looking for writers 2025/10/06 01:44:57 DEBUG : file1: reading active writers 2025/10/06 01:44:57 DEBUG : Looking for writers 2025/10/06 01:44:57 DEBUG : dir: reading active writers 2025/10/06 01:44:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 01:44:57 DEBUG : dir: Looking for writers 2025/10/06 01:44:57 DEBUG : file1: reading active writers 2025/10/06 01:44:57 DEBUG : Looking for writers 2025/10/06 01:44:57 DEBUG : dir: reading active writers 2025/10/06 01:44:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 01:44:57 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2025/10/06 01:44:57 INFO : dir/file1: Copied (replaced existing) 2025/10/06 01:44:57 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/10/06 01:44:57 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/10/06 01:44:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:44:57 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/10/06 01:44:58 DEBUG : dir: Looking for writers 2025/10/06 01:44:58 DEBUG : file1: reading active writers 2025/10/06 01:44:58 DEBUG : Looking for writers 2025/10/06 01:44:58 DEBUG : dir: reading active writers 2025/10/06 01:44:58 DEBUG : >WaitForWriters: 2025/10/06 01:44:58 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:44:58 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:44:58 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:44:58 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:44:58 DEBUG : dir/file1(0xc0000c6b40): _readAt: size=512, off=0 2025/10/06 01:44:58 DEBUG : dir/file1(0xc0000c6b40): openPending: 2025/10/06 01:44:58 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/10/06 01:44:58 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/10/06 01:44:58 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:44:58 DEBUG : dir/file1(0xc0000c6b40): >openPending: err= 2025/10/06 01:44:58 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/10/06 01:44:58 DEBUG : dir/file1(0xc0000c6b40): >_readAt: n=14, err=EOF 2025/10/06 01:44:58 DEBUG : dir/file1(0xc0000c6b40): close: 2025/10/06 01:44:58 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/10/06 01:44:58 DEBUG : dir/file1(0xc0000c6b40): >close: err= 2025/10/06 01:44:59 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/06 01:44:59 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/10/06 01:44:59 DEBUG : newLeaf: Updating file with newLeaf 0xc000030540 2025/10/06 01:44:59 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:44:59 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:45:00 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/10/06 01:45:00 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/10/06 01:45:00 DEBUG : dir/file1: Updating file with dir/file1 0xc000030540 2025/10/06 01:45:00 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/10/06 01:45:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:01 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/10/06 01:45:01 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:45:01 DEBUG : dir/file1(0xc0000c79c0): openPending: 2025/10/06 01:45:01 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/10/06 01:45:01 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/10/06 01:45:01 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/10/06 01:45:01 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/10/06 01:45:01 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/10/06 01:45:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:01 DEBUG : dir/file1(0xc0000c79c0): >openPending: err= 2025/10/06 01:45:01 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/10/06 01:45:01 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:45:01 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:45:01 DEBUG : dir/file1(0xc0000c79c0): _writeAt: size=25, off=0 2025/10/06 01:45:01 DEBUG : dir/file1(0xc0000c79c0): >_writeAt: n=25, err= 2025/10/06 01:45:01 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/06 01:45:01 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/10/06 01:45:01 DEBUG : newLeaf: Updating file with newLeaf 0xc000030540 2025/10/06 01:45:01 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:45:01 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:45:01 DEBUG : newLeaf(0xc0000c79c0): close: 2025/10/06 01:45:01 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/10/06 01:45:01 DEBUG : newLeaf: vfs cache: setting modification time to 2025-10-06 01:45:01.244572665 +0000 UTC m=+53.743834672 2025/10/06 01:45:01 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/10/06 01:45:01 DEBUG : newLeaf(0xc0000c79c0): >close: err= 2025/10/06 01:45:01 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:01 DEBUG : dir: Looking for writers 2025/10/06 01:45:01 DEBUG : Looking for writers 2025/10/06 01:45:01 DEBUG : dir: reading active writers 2025/10/06 01:45:01 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 01:45:01 DEBUG : dir: Looking for writers 2025/10/06 01:45:01 DEBUG : Looking for writers 2025/10/06 01:45:01 DEBUG : dir: reading active writers 2025/10/06 01:45:01 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 01:45:01 DEBUG : dir: Looking for writers 2025/10/06 01:45:01 DEBUG : Looking for writers 2025/10/06 01:45:01 DEBUG : dir: reading active writers 2025/10/06 01:45:01 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 01:45:01 DEBUG : dir: Looking for writers 2025/10/06 01:45:01 DEBUG : Looking for writers 2025/10/06 01:45:01 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:01 DEBUG : dir: reading active writers 2025/10/06 01:45:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 01:45:01 DEBUG : newLeaf: vfs cache: starting upload 2025/10/06 01:45:01 DEBUG : dir: Looking for writers 2025/10/06 01:45:01 DEBUG : Looking for writers 2025/10/06 01:45:01 DEBUG : dir: reading active writers 2025/10/06 01:45:01 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 01:45:02 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/10/06 01:45:02 DEBUG : dir: Looking for writers 2025/10/06 01:45:02 DEBUG : Looking for writers 2025/10/06 01:45:02 DEBUG : dir: reading active writers 2025/10/06 01:45:02 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 01:45:02 DEBUG : dir: Looking for writers 2025/10/06 01:45:02 DEBUG : Looking for writers 2025/10/06 01:45:02 DEBUG : dir: reading active writers 2025/10/06 01:45:02 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 01:45:03 DEBUG : dir: Looking for writers 2025/10/06 01:45:03 DEBUG : Looking for writers 2025/10/06 01:45:03 DEBUG : dir: reading active writers 2025/10/06 01:45:03 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 01:45:03 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/10/06 01:45:03 INFO : newLeaf: Copied (replaced existing) 2025/10/06 01:45:03 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-10-06 01:45:01 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/10/06 01:45:03 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/10/06 01:45:03 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:45:03 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/10/06 01:45:04 DEBUG : dir: Looking for writers 2025/10/06 01:45:04 DEBUG : Looking for writers 2025/10/06 01:45:04 DEBUG : dir: reading active writers 2025/10/06 01:45:04 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:04 DEBUG : >WaitForWriters: 2025/10/06 01:45:04 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:04 DEBUG : dir: Looking for writers 2025/10/06 01:45:04 DEBUG : Looking for writers 2025/10/06 01:45:04 DEBUG : dir: reading active writers 2025/10/06 01:45:04 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:04 DEBUG : >WaitForWriters: 2025/10/06 01:45:04 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:45:05 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:45:05 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 01:45:05 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:05 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:45:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:45:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:05 INFO : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 01:45:06 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:45:08 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:08 DEBUG : dir: Looking for writers 2025/10/06 01:45:08 DEBUG : file1: reading active writers 2025/10/06 01:45:08 DEBUG : Looking for writers 2025/10/06 01:45:08 DEBUG : dir: reading active writers 2025/10/06 01:45:08 DEBUG : >WaitForWriters: 2025/10/06 01:45:09 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/06 01:45:09 DEBUG : newLeaf: Updating file with newLeaf 0xc000030840 2025/10/06 01:45:09 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:45:09 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:45:10 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/10/06 01:45:10 DEBUG : dir/file1: Updating file with dir/file1 0xc000030840 2025/10/06 01:45:10 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/10/06 01:45:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:11 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/10/06 01:45:11 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:45:11 DEBUG : dir/file1(0xc0004a8400): openPending: 2025/10/06 01:45:11 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," against cached fingerprint "" 2025/10/06 01:45:11 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/10/06 01:45:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:11 DEBUG : dir/file1(0xc0004a8400): >openPending: err= 2025/10/06 01:45:11 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/10/06 01:45:11 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:45:11 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:45:11 DEBUG : dir/file1(0xc0004a8400): _writeAt: size=25, off=0 2025/10/06 01:45:11 DEBUG : dir/file1(0xc0004a8400): >_writeAt: n=25, err= 2025/10/06 01:45:11 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/06 01:45:11 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/10/06 01:45:11 DEBUG : newLeaf: Updating file with newLeaf 0xc000030840 2025/10/06 01:45:11 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:45:11 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:45:11 DEBUG : newLeaf(0xc0004a8400): close: 2025/10/06 01:45:11 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/10/06 01:45:11 DEBUG : newLeaf: vfs cache: setting modification time to 2025-10-06 01:45:11.263974715 +0000 UTC m=+63.763236692 2025/10/06 01:45:11 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/10/06 01:45:11 DEBUG : newLeaf(0xc0004a8400): >close: err= 2025/10/06 01:45:11 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:11 DEBUG : dir: Looking for writers 2025/10/06 01:45:11 DEBUG : Looking for writers 2025/10/06 01:45:11 DEBUG : dir: reading active writers 2025/10/06 01:45:11 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 01:45:11 DEBUG : dir: Looking for writers 2025/10/06 01:45:11 DEBUG : Looking for writers 2025/10/06 01:45:11 DEBUG : dir: reading active writers 2025/10/06 01:45:11 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 01:45:11 DEBUG : dir: Looking for writers 2025/10/06 01:45:11 DEBUG : Looking for writers 2025/10/06 01:45:11 DEBUG : dir: reading active writers 2025/10/06 01:45:11 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 01:45:11 DEBUG : dir: Looking for writers 2025/10/06 01:45:11 DEBUG : Looking for writers 2025/10/06 01:45:11 DEBUG : dir: reading active writers 2025/10/06 01:45:11 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 01:45:11 DEBUG : newLeaf: vfs cache: starting upload 2025/10/06 01:45:12 DEBUG : dir: Looking for writers 2025/10/06 01:45:12 DEBUG : Looking for writers 2025/10/06 01:45:12 DEBUG : dir: reading active writers 2025/10/06 01:45:12 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 01:45:12 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/10/06 01:45:12 DEBUG : dir: Looking for writers 2025/10/06 01:45:12 DEBUG : Looking for writers 2025/10/06 01:45:12 DEBUG : dir: reading active writers 2025/10/06 01:45:12 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 01:45:12 DEBUG : dir: Looking for writers 2025/10/06 01:45:12 DEBUG : Looking for writers 2025/10/06 01:45:12 DEBUG : dir: reading active writers 2025/10/06 01:45:12 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 01:45:13 DEBUG : dir: Looking for writers 2025/10/06 01:45:13 DEBUG : Looking for writers 2025/10/06 01:45:13 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:13 DEBUG : dir: reading active writers 2025/10/06 01:45:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 01:45:13 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/10/06 01:45:13 INFO : newLeaf: Copied (replaced existing) 2025/10/06 01:45:13 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-10-06 01:45:11 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/10/06 01:45:13 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/10/06 01:45:13 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:45:13 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/10/06 01:45:14 DEBUG : dir: Looking for writers 2025/10/06 01:45:14 DEBUG : Looking for writers 2025/10/06 01:45:14 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:14 DEBUG : dir: reading active writers 2025/10/06 01:45:14 DEBUG : >WaitForWriters: 2025/10/06 01:45:14 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:14 DEBUG : dir: Looking for writers 2025/10/06 01:45:14 DEBUG : Looking for writers 2025/10/06 01:45:14 DEBUG : dir: reading active writers 2025/10/06 01:45:14 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:14 DEBUG : >WaitForWriters: 2025/10/06 01:45:14 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:45:15 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:45:15 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 01:45:15 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:15 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:45:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:45:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:15 INFO : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 01:45:16 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:45:18 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/10/06 01:45:18 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:45:18 DEBUG : dir/file1(0xc0004a8880): openPending: 2025/10/06 01:45:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/10/06 01:45:18 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/10/06 01:45:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:18 DEBUG : dir/file1(0xc0004a8880): >openPending: err= 2025/10/06 01:45:18 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/10/06 01:45:18 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:45:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:45:18 DEBUG : dir/file1(0xc0004a8880): _writeAt: size=14, off=0 2025/10/06 01:45:18 DEBUG : dir/file1(0xc0004a8880): >_writeAt: n=14, err= 2025/10/06 01:45:18 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/10/06 01:45:18 DEBUG : dir/file1(0xc0004a8880): close: 2025/10/06 01:45:18 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/10/06 01:45:18 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/10/06 01:45:18 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/10/06 01:45:18 DEBUG : dir/file1(0xc0004a8880): >close: err= 2025/10/06 01:45:18 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:18 DEBUG : dir: Looking for writers 2025/10/06 01:45:18 DEBUG : file1: reading active writers 2025/10/06 01:45:18 DEBUG : Looking for writers 2025/10/06 01:45:18 DEBUG : dir: reading active writers 2025/10/06 01:45:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 01:45:18 DEBUG : dir: Looking for writers 2025/10/06 01:45:18 DEBUG : file1: reading active writers 2025/10/06 01:45:18 DEBUG : Looking for writers 2025/10/06 01:45:18 DEBUG : dir: reading active writers 2025/10/06 01:45:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 01:45:18 DEBUG : dir: Looking for writers 2025/10/06 01:45:18 DEBUG : file1: reading active writers 2025/10/06 01:45:18 DEBUG : Looking for writers 2025/10/06 01:45:18 DEBUG : dir: reading active writers 2025/10/06 01:45:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 01:45:18 DEBUG : dir: Looking for writers 2025/10/06 01:45:18 DEBUG : file1: reading active writers 2025/10/06 01:45:18 DEBUG : Looking for writers 2025/10/06 01:45:18 DEBUG : dir: reading active writers 2025/10/06 01:45:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 01:45:18 DEBUG : dir/file1: vfs cache: starting upload 2025/10/06 01:45:18 DEBUG : dir: Looking for writers 2025/10/06 01:45:18 DEBUG : file1: reading active writers 2025/10/06 01:45:18 DEBUG : Looking for writers 2025/10/06 01:45:18 DEBUG : dir: reading active writers 2025/10/06 01:45:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 01:45:19 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:45:19 DEBUG : dir: Looking for writers 2025/10/06 01:45:19 DEBUG : file1: reading active writers 2025/10/06 01:45:19 DEBUG : Looking for writers 2025/10/06 01:45:19 DEBUG : dir: reading active writers 2025/10/06 01:45:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 01:45:19 DEBUG : dir: Looking for writers 2025/10/06 01:45:19 DEBUG : file1: reading active writers 2025/10/06 01:45:19 DEBUG : Looking for writers 2025/10/06 01:45:19 DEBUG : dir: reading active writers 2025/10/06 01:45:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 01:45:20 DEBUG : dir: Looking for writers 2025/10/06 01:45:20 DEBUG : file1: reading active writers 2025/10/06 01:45:20 DEBUG : Looking for writers 2025/10/06 01:45:20 DEBUG : dir: reading active writers 2025/10/06 01:45:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 01:45:20 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2025/10/06 01:45:20 INFO : dir/file1: Copied (replaced existing) 2025/10/06 01:45:20 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/10/06 01:45:20 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/10/06 01:45:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:20 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/10/06 01:45:21 DEBUG : dir: Looking for writers 2025/10/06 01:45:21 DEBUG : file1: reading active writers 2025/10/06 01:45:21 DEBUG : Looking for writers 2025/10/06 01:45:21 DEBUG : dir: reading active writers 2025/10/06 01:45:21 DEBUG : >WaitForWriters: 2025/10/06 01:45:21 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:45:21 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:45:21 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:45:21 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:45:21 DEBUG : dir/file1(0xc0006929c0): _readAt: size=512, off=0 2025/10/06 01:45:21 DEBUG : dir/file1(0xc0006929c0): openPending: 2025/10/06 01:45:21 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/10/06 01:45:21 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/10/06 01:45:21 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:21 DEBUG : dir/file1(0xc0006929c0): >openPending: err= 2025/10/06 01:45:21 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/10/06 01:45:21 DEBUG : dir/file1(0xc0006929c0): >_readAt: n=14, err=EOF 2025/10/06 01:45:21 DEBUG : dir/file1(0xc0006929c0): close: 2025/10/06 01:45:21 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/10/06 01:45:21 DEBUG : dir/file1(0xc0006929c0): >close: err= 2025/10/06 01:45:22 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/06 01:45:22 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/10/06 01:45:22 DEBUG : newLeaf: Updating file with newLeaf 0xc00021cfc0 2025/10/06 01:45:22 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:45:22 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:45:23 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/10/06 01:45:23 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/10/06 01:45:23 DEBUG : dir/file1: Updating file with dir/file1 0xc00021cfc0 2025/10/06 01:45:23 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/10/06 01:45:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:23 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/10/06 01:45:23 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:45:23 DEBUG : dir/file1(0xc00089ea80): openPending: 2025/10/06 01:45:23 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/10/06 01:45:23 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/10/06 01:45:23 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/10/06 01:45:23 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/10/06 01:45:23 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/10/06 01:45:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:23 DEBUG : dir/file1(0xc00089ea80): >openPending: err= 2025/10/06 01:45:23 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/10/06 01:45:23 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:45:23 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:45:23 DEBUG : dir/file1(0xc00089ea80): _writeAt: size=25, off=0 2025/10/06 01:45:23 DEBUG : dir/file1(0xc00089ea80): >_writeAt: n=25, err= 2025/10/06 01:45:24 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/06 01:45:24 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/10/06 01:45:24 DEBUG : newLeaf: Updating file with newLeaf 0xc00021cfc0 2025/10/06 01:45:24 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:45:24 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:45:24 DEBUG : newLeaf(0xc00089ea80): close: 2025/10/06 01:45:24 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/10/06 01:45:24 DEBUG : newLeaf: vfs cache: setting modification time to 2025-10-06 01:45:23.672355491 +0000 UTC m=+76.171617488 2025/10/06 01:45:24 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/10/06 01:45:24 DEBUG : newLeaf(0xc00089ea80): >close: err= 2025/10/06 01:45:24 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:24 DEBUG : dir: Looking for writers 2025/10/06 01:45:24 DEBUG : Looking for writers 2025/10/06 01:45:24 DEBUG : dir: reading active writers 2025/10/06 01:45:24 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 01:45:24 DEBUG : dir: Looking for writers 2025/10/06 01:45:24 DEBUG : Looking for writers 2025/10/06 01:45:24 DEBUG : dir: reading active writers 2025/10/06 01:45:24 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 01:45:24 DEBUG : dir: Looking for writers 2025/10/06 01:45:24 DEBUG : Looking for writers 2025/10/06 01:45:24 DEBUG : dir: reading active writers 2025/10/06 01:45:24 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 01:45:24 DEBUG : dir: Looking for writers 2025/10/06 01:45:24 DEBUG : Looking for writers 2025/10/06 01:45:24 DEBUG : dir: reading active writers 2025/10/06 01:45:24 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 01:45:24 DEBUG : newLeaf: vfs cache: starting upload 2025/10/06 01:45:24 DEBUG : dir: Looking for writers 2025/10/06 01:45:24 DEBUG : Looking for writers 2025/10/06 01:45:24 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:24 DEBUG : dir: reading active writers 2025/10/06 01:45:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 01:45:24 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/10/06 01:45:24 DEBUG : dir: Looking for writers 2025/10/06 01:45:24 DEBUG : Looking for writers 2025/10/06 01:45:24 DEBUG : dir: reading active writers 2025/10/06 01:45:24 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 01:45:24 DEBUG : dir: Looking for writers 2025/10/06 01:45:24 DEBUG : Looking for writers 2025/10/06 01:45:24 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:24 DEBUG : dir: reading active writers 2025/10/06 01:45:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 01:45:25 DEBUG : dir: Looking for writers 2025/10/06 01:45:25 DEBUG : Looking for writers 2025/10/06 01:45:25 DEBUG : dir: reading active writers 2025/10/06 01:45:25 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 01:45:25 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/10/06 01:45:25 INFO : newLeaf: Copied (replaced existing) 2025/10/06 01:45:25 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-10-06 01:45:23 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/10/06 01:45:25 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/10/06 01:45:25 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:45:25 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/10/06 01:45:26 DEBUG : dir: Looking for writers 2025/10/06 01:45:26 DEBUG : Looking for writers 2025/10/06 01:45:26 DEBUG : dir: reading active writers 2025/10/06 01:45:26 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:26 DEBUG : >WaitForWriters: 2025/10/06 01:45:26 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:26 DEBUG : dir: Looking for writers 2025/10/06 01:45:26 DEBUG : Looking for writers 2025/10/06 01:45:26 DEBUG : dir: reading active writers 2025/10/06 01:45:26 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:26 DEBUG : >WaitForWriters: 2025/10/06 01:45:26 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:45:28 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:45:28 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 01:45:28 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:28 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:28 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:45:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:28 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:45:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:45:28 INFO : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 01:45:29 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:45:31 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:31 DEBUG : dir: Looking for writers 2025/10/06 01:45:31 DEBUG : file1: reading active writers 2025/10/06 01:45:31 DEBUG : Looking for writers 2025/10/06 01:45:31 DEBUG : dir: reading active writers 2025/10/06 01:45:31 DEBUG : >WaitForWriters: 2025/10/06 01:45:31 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:45:31 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:45:31 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:45:31 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:45:31 DEBUG : dir/file1(0xc0004a8700): _readAt: size=512, off=0 2025/10/06 01:45:31 DEBUG : dir/file1(0xc0004a8700): openPending: 2025/10/06 01:45:31 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/10/06 01:45:31 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/10/06 01:45:31 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:31 DEBUG : dir/file1(0xc0004a8700): >openPending: err= 2025/10/06 01:45:31 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2025/10/06 01:45:31 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/10/06 01:45:31 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/10/06 01:45:31 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/10/06 01:45:31 DEBUG : dir/file1(0xc0004a8700): >_readAt: n=14, err=EOF 2025/10/06 01:45:31 DEBUG : dir/file1(0xc0004a8700): close: 2025/10/06 01:45:31 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/10/06 01:45:31 DEBUG : dir/file1(0xc0004a8700): >close: err= 2025/10/06 01:45:32 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/06 01:45:32 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/10/06 01:45:32 DEBUG : newLeaf: Updating file with newLeaf 0xc000031140 2025/10/06 01:45:32 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:45:32 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:45:33 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/10/06 01:45:33 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/10/06 01:45:33 DEBUG : dir/file1: Updating file with dir/file1 0xc000031140 2025/10/06 01:45:33 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/10/06 01:45:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:33 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/10/06 01:45:33 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:45:33 DEBUG : dir/file1(0xc00089e840): openPending: 2025/10/06 01:45:33 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/10/06 01:45:33 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/10/06 01:45:33 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/10/06 01:45:33 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/10/06 01:45:33 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/10/06 01:45:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:45:33 DEBUG : dir/file1(0xc00089e840): >openPending: err= 2025/10/06 01:45:33 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/10/06 01:45:33 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:45:33 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:45:33 DEBUG : dir/file1(0xc00089e840): _writeAt: size=25, off=0 2025/10/06 01:45:33 DEBUG : dir/file1(0xc00089e840): >_writeAt: n=25, err= 2025/10/06 01:45:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/06 01:45:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/10/06 01:45:34 DEBUG : newLeaf: Updating file with newLeaf 0xc000031140 2025/10/06 01:45:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/06 01:45:34 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:45:34 DEBUG : newLeaf(0xc00089e840): close: 2025/10/06 01:45:34 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/10/06 01:45:34 DEBUG : newLeaf: vfs cache: setting modification time to 2025-10-06 01:45:33.918908676 +0000 UTC m=+86.418170654 2025/10/06 01:45:34 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/10/06 01:45:34 DEBUG : newLeaf(0xc00089e840): >close: err= 2025/10/06 01:45:34 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:34 DEBUG : dir: Looking for writers 2025/10/06 01:45:34 DEBUG : Looking for writers 2025/10/06 01:45:34 DEBUG : dir: reading active writers 2025/10/06 01:45:34 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 01:45:34 DEBUG : dir: Looking for writers 2025/10/06 01:45:34 DEBUG : Looking for writers 2025/10/06 01:45:34 DEBUG : dir: reading active writers 2025/10/06 01:45:34 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 01:45:34 DEBUG : dir: Looking for writers 2025/10/06 01:45:34 DEBUG : Looking for writers 2025/10/06 01:45:34 DEBUG : dir: reading active writers 2025/10/06 01:45:34 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 01:45:34 DEBUG : dir: Looking for writers 2025/10/06 01:45:34 DEBUG : Looking for writers 2025/10/06 01:45:34 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:34 DEBUG : dir: reading active writers 2025/10/06 01:45:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 01:45:34 DEBUG : newLeaf: vfs cache: starting upload 2025/10/06 01:45:34 DEBUG : dir: Looking for writers 2025/10/06 01:45:34 DEBUG : Looking for writers 2025/10/06 01:45:34 DEBUG : dir: reading active writers 2025/10/06 01:45:34 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 01:45:34 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/10/06 01:45:34 DEBUG : dir: Looking for writers 2025/10/06 01:45:34 DEBUG : Looking for writers 2025/10/06 01:45:34 DEBUG : dir: reading active writers 2025/10/06 01:45:34 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 01:45:35 DEBUG : dir: Looking for writers 2025/10/06 01:45:35 DEBUG : Looking for writers 2025/10/06 01:45:35 DEBUG : dir: reading active writers 2025/10/06 01:45:35 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 01:45:35 DEBUG : dir: Looking for writers 2025/10/06 01:45:35 DEBUG : Looking for writers 2025/10/06 01:45:35 DEBUG : dir: reading active writers 2025/10/06 01:45:35 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 01:45:35 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/10/06 01:45:35 INFO : newLeaf: Copied (replaced existing) 2025/10/06 01:45:35 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-10-06 01:45:33 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/10/06 01:45:35 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/10/06 01:45:35 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/06 01:45:35 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/10/06 01:45:36 DEBUG : dir: Looking for writers 2025/10/06 01:45:36 DEBUG : Looking for writers 2025/10/06 01:45:36 DEBUG : dir: reading active writers 2025/10/06 01:45:36 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:36 DEBUG : >WaitForWriters: 2025/10/06 01:45:37 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:37 DEBUG : dir: Looking for writers 2025/10/06 01:45:37 DEBUG : Looking for writers 2025/10/06 01:45:37 DEBUG : dir: reading active writers 2025/10/06 01:45:37 DEBUG : newLeaf: reading active writers 2025/10/06 01:45:37 DEBUG : >WaitForWriters: 2025/10/06 01:45:37 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaner exiting --- PASS: TestFileRename (70.28s) --- PASS: TestFileRename/off,forceCache=false (8.99s) --- PASS: TestFileRename/minimal,forceCache=false (16.44s) --- PASS: TestFileRename/minimal,forceCache=true (12.16s) --- PASS: TestFileRename/writes,forceCache=false (10.06s) --- PASS: TestFileRename/writes,forceCache=true (12.41s) --- PASS: TestFileRename/full,forceCache=false (10.21s) === RUN TestReadFileHandleMethods run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:45:38 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:45:38 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:45:39 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/10/06 01:45:41 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:45:41 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:45:41 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/10/06 01:45:41 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/10/06 01:45:41 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/10/06 01:45:41 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/10/06 01:45:41 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2025/10/06 01:45:41 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:41 DEBUG : dir: Looking for writers 2025/10/06 01:45:41 DEBUG : file1: reading active writers 2025/10/06 01:45:41 DEBUG : Looking for writers 2025/10/06 01:45:41 DEBUG : dir: reading active writers 2025/10/06 01:45:41 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (4.78s) === RUN TestReadFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:45:43 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:45:43 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:45:44 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/10/06 01:45:45 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:45:46 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:45:46 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/10/06 01:45:46 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/10/06 01:45:46 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/10/06 01:45:46 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/10/06 01:45:46 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/10/06 01:45:46 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/10/06 01:45:46 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/10/06 01:45:46 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/10/06 01:45:46 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/10/06 01:45:46 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/10/06 01:45:46 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/10/06 01:45:46 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/10/06 01:45:46 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/10/06 01:45:46 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/10/06 01:45:46 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/10/06 01:45:47 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/10/06 01:45:47 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/10/06 01:45:47 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/10/06 01:45:47 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/10/06 01:45:47 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:45:47 DEBUG : dir: Looking for writers 2025/10/06 01:45:47 DEBUG : file1: reading active writers 2025/10/06 01:45:47 DEBUG : Looking for writers 2025/10/06 01:45:47 DEBUG : dir: reading active writers 2025/10/06 01:45:47 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestReadFileHandleSeek (13.71s) === RUN TestReadFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:45:56 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:45:56 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:45:58 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/10/06 01:45:59 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:45:59 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:45:59 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/10/06 01:45:59 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/10/06 01:45:59 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/10/06 01:45:59 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/10/06 01:45:59 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/10/06 01:45:59 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/10/06 01:45:59 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/10/06 01:45:59 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/10/06 01:45:59 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/10/06 01:45:59 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/10/06 01:45:59 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/10/06 01:46:00 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/10/06 01:46:00 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/10/06 01:46:00 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/10/06 01:46:00 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/10/06 01:46:01 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/10/06 01:46:01 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/10/06 01:46:01 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/10/06 01:46:01 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/10/06 01:46:01 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/10/06 01:46:01 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/10/06 01:46:01 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/10/06 01:46:01 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/10/06 01:46:01 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/10/06 01:46:01 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/10/06 01:46:01 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/10/06 01:46:01 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/10/06 01:46:01 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/10/06 01:46:01 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/10/06 01:46:01 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/10/06 01:46:01 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/10/06 01:46:01 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/10/06 01:46:01 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/10/06 01:46:01 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/10/06 01:46:01 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:46:01 DEBUG : dir: Looking for writers 2025/10/06 01:46:01 DEBUG : file1: reading active writers 2025/10/06 01:46:01 DEBUG : Looking for writers 2025/10/06 01:46:01 DEBUG : dir: reading active writers 2025/10/06 01:46:01 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (6.34s) === RUN TestReadFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:46:03 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:46:03 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:46:04 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/10/06 01:46:05 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:46:05 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:46:05 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/10/06 01:46:05 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/10/06 01:46:05 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/10/06 01:46:06 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/10/06 01:46:06 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:46:06 DEBUG : dir: Looking for writers 2025/10/06 01:46:06 DEBUG : file1: reading active writers 2025/10/06 01:46:06 DEBUG : Looking for writers 2025/10/06 01:46:06 DEBUG : dir: reading active writers 2025/10/06 01:46:06 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (4.23s) === RUN TestReadFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:46:07 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:46:07 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:46:08 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/10/06 01:46:09 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:46:10 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:46:10 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/10/06 01:46:10 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/10/06 01:46:10 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/10/06 01:46:10 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/10/06 01:46:10 DEBUG : dir/file1: ReadFileHandle.Release closing 2025/10/06 01:46:10 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2025/10/06 01:46:10 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:46:10 DEBUG : dir: Looking for writers 2025/10/06 01:46:10 DEBUG : file1: reading active writers 2025/10/06 01:46:10 DEBUG : Looking for writers 2025/10/06 01:46:10 DEBUG : dir: reading active writers 2025/10/06 01:46:10 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (4.21s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:46:11 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:46:11 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 01:46:11 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:11 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:11 INFO : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 01:46:12 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/10/06 01:46:14 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:46:14 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:46:14 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:46:14 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:46:14 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:46:14 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/10/06 01:46:14 DEBUG : dir/file1(0xc00089e200): _readAt: size=1, off=0 2025/10/06 01:46:14 DEBUG : dir/file1(0xc00089e200): openPending: 2025/10/06 01:46:14 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/10/06 01:46:14 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/10/06 01:46:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:46:14 DEBUG : dir/file1(0xc00089e200): >openPending: err= 2025/10/06 01:46:14 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/10/06 01:46:14 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/10/06 01:46:14 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/10/06 01:46:14 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/10/06 01:46:14 DEBUG : dir/file1(0xc00089e200): >_readAt: n=1, err= 2025/10/06 01:46:14 DEBUG : dir/file1(0xc00089e200): _readAt: size=256, off=1 2025/10/06 01:46:14 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/10/06 01:46:14 DEBUG : dir/file1(0xc00089e200): >_readAt: n=15, err=EOF 2025/10/06 01:46:14 DEBUG : dir/file1(0xc00089e200): _readAt: size=16, off=16 2025/10/06 01:46:14 DEBUG : dir/file1(0xc00089e200): >_readAt: n=0, err=EOF 2025/10/06 01:46:14 DEBUG : dir/file1(0xc00089e200): close: 2025/10/06 01:46:14 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/10/06 01:46:14 DEBUG : dir/file1(0xc00089e200): >close: err= 2025/10/06 01:46:14 DEBUG : dir/file1(0xc00089e200): close: 2025/10/06 01:46:14 DEBUG : dir/file1(0xc00089e200): >close: err=file already closed 2025/10/06 01:46:14 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:46:14 DEBUG : dir: Looking for writers 2025/10/06 01:46:14 DEBUG : file1: reading active writers 2025/10/06 01:46:14 DEBUG : Looking for writers 2025/10/06 01:46:14 DEBUG : dir: reading active writers 2025/10/06 01:46:14 DEBUG : >WaitForWriters: 2025/10/06 01:46:14 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (4.22s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:46:15 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:46:15 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 01:46:15 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:15 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:15 INFO : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 01:46:16 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/10/06 01:46:18 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:46:18 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:46:18 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:46:18 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:46:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:46:18 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): _readAt: size=1, off=0 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): openPending: 2025/10/06 01:46:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/10/06 01:46:18 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/10/06 01:46:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): >openPending: err= 2025/10/06 01:46:18 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/10/06 01:46:18 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/10/06 01:46:18 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/10/06 01:46:18 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): >_readAt: n=1, err= 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): _readAt: size=1, off=5 2025/10/06 01:46:18 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): >_readAt: n=1, err= 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): _readAt: size=1, off=3 2025/10/06 01:46:18 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): >_readAt: n=1, err= 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): _readAt: size=1, off=13 2025/10/06 01:46:18 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): >_readAt: n=1, err= 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): _readAt: size=16, off=100 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): >_readAt: n=0, err=EOF 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): close: 2025/10/06 01:46:18 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/10/06 01:46:18 DEBUG : dir/file1(0xc00089ea40): >close: err= 2025/10/06 01:46:18 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:46:18 DEBUG : dir: Looking for writers 2025/10/06 01:46:18 DEBUG : file1: reading active writers 2025/10/06 01:46:18 DEBUG : Looking for writers 2025/10/06 01:46:18 DEBUG : dir: reading active writers 2025/10/06 01:46:18 DEBUG : >WaitForWriters: 2025/10/06 01:46:18 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (4.25s) === RUN TestRWFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:46:20 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:46:20 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 01:46:20 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:20 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:20 DEBUG : Config file has changed externally - reloading 2025/10/06 01:46:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:20 INFO : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 01:46:21 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/10/06 01:46:22 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:46:22 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:46:22 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:46:22 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:46:22 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:46:22 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/10/06 01:46:22 DEBUG : dir/file1(0xc0004a8700): _readAt: size=1, off=0 2025/10/06 01:46:22 DEBUG : dir/file1(0xc0004a8700): openPending: 2025/10/06 01:46:22 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/10/06 01:46:22 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/10/06 01:46:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:46:22 DEBUG : dir/file1(0xc0004a8700): >openPending: err= 2025/10/06 01:46:22 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/10/06 01:46:22 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/10/06 01:46:22 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/10/06 01:46:22 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): >_readAt: n=1, err= 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): _readAt: size=1, off=5 2025/10/06 01:46:23 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): >_readAt: n=1, err= 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): _readAt: size=1, off=1 2025/10/06 01:46:23 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): >_readAt: n=1, err= 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): _readAt: size=6, off=10 2025/10/06 01:46:23 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): >_readAt: n=6, err= 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): _readAt: size=256, off=10 2025/10/06 01:46:23 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): >_readAt: n=6, err=EOF 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): _readAt: size=256, off=100 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): >_readAt: n=0, err=EOF 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): close: 2025/10/06 01:46:23 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): >close: err= 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): _readAt: size=256, off=100 2025/10/06 01:46:23 DEBUG : dir/file1(0xc0004a8700): >_readAt: n=0, err=file already closed 2025/10/06 01:46:23 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:46:23 DEBUG : dir: Looking for writers 2025/10/06 01:46:23 DEBUG : file1: reading active writers 2025/10/06 01:46:23 DEBUG : Looking for writers 2025/10/06 01:46:23 DEBUG : dir: reading active writers 2025/10/06 01:46:23 DEBUG : >WaitForWriters: 2025/10/06 01:46:23 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (4.20s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:46:24 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:46:24 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 01:46:24 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:24 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:24 INFO : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 01:46:25 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/10/06 01:46:26 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:46:27 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:46:27 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:46:27 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:46:27 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:46:27 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/10/06 01:46:27 DEBUG : dir/file1(0xc00089e980): RWFileHandle.Flush 2025/10/06 01:46:27 DEBUG : dir/file1(0xc00089e980): _readAt: size=256, off=0 2025/10/06 01:46:27 DEBUG : dir/file1(0xc00089e980): openPending: 2025/10/06 01:46:27 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/10/06 01:46:27 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/10/06 01:46:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:46:27 DEBUG : dir/file1(0xc00089e980): >openPending: err= 2025/10/06 01:46:27 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/10/06 01:46:27 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/10/06 01:46:27 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/10/06 01:46:27 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/10/06 01:46:27 DEBUG : dir/file1(0xc00089e980): >_readAt: n=16, err=EOF 2025/10/06 01:46:27 DEBUG : dir/file1(0xc00089e980): RWFileHandle.Flush 2025/10/06 01:46:27 DEBUG : dir/file1(0xc00089e980): RWFileHandle.Flush 2025/10/06 01:46:27 DEBUG : dir/file1(0xc00089e980): close: 2025/10/06 01:46:27 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/10/06 01:46:27 DEBUG : dir/file1(0xc00089e980): >close: err= 2025/10/06 01:46:27 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:46:27 DEBUG : dir: Looking for writers 2025/10/06 01:46:27 DEBUG : file1: reading active writers 2025/10/06 01:46:27 DEBUG : Looking for writers 2025/10/06 01:46:27 DEBUG : dir: reading active writers 2025/10/06 01:46:27 DEBUG : >WaitForWriters: 2025/10/06 01:46:27 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaner exiting fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:292: Sleeping for 6s just to make sure --- PASS: TestRWFileHandleFlushRead (11.93s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:46:36 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:46:36 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 01:46:36 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:36 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:36 DEBUG : Config file has changed externally - reloading 2025/10/06 01:46:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:36 INFO : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 01:46:37 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/10/06 01:46:38 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:46:39 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/06 01:46:39 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:46:39 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:46:39 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:46:39 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/10/06 01:46:39 DEBUG : dir/file1(0xc0000c7500): _readAt: size=256, off=0 2025/10/06 01:46:39 DEBUG : dir/file1(0xc0000c7500): openPending: 2025/10/06 01:46:39 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/10/06 01:46:39 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/10/06 01:46:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:46:39 DEBUG : dir/file1(0xc0000c7500): >openPending: err= 2025/10/06 01:46:39 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/10/06 01:46:39 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/10/06 01:46:39 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/10/06 01:46:39 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/10/06 01:46:39 DEBUG : dir/file1(0xc0000c7500): >_readAt: n=16, err=EOF 2025/10/06 01:46:39 DEBUG : dir/file1(0xc0000c7500): RWFileHandle.Release 2025/10/06 01:46:39 DEBUG : dir/file1(0xc0000c7500): close: 2025/10/06 01:46:39 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/10/06 01:46:39 DEBUG : dir/file1(0xc0000c7500): >close: err= 2025/10/06 01:46:39 DEBUG : dir/file1(0xc0000c7500): RWFileHandle.Release 2025/10/06 01:46:39 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:46:39 DEBUG : dir: Looking for writers 2025/10/06 01:46:39 DEBUG : file1: reading active writers 2025/10/06 01:46:39 DEBUG : Looking for writers 2025/10/06 01:46:39 DEBUG : dir: reading active writers 2025/10/06 01:46:39 DEBUG : >WaitForWriters: 2025/10/06 01:46:39 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (4.37s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:46:40 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:46:40 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 01:46:40 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:40 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:40 INFO : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 01:46:41 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/10/06 01:46:43 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2025/10/06 01:46:43 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/10/06 01:46:43 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:46:43 DEBUG : dir/file1(0xc000787040): openPending: 2025/10/06 01:46:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/10/06 01:46:43 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/10/06 01:46:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:46:43 DEBUG : dir/file1(0xc000787040): >openPending: err= 2025/10/06 01:46:43 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/10/06 01:46:43 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:46:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:46:43 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/10/06 01:46:43 DEBUG : dir/file1(0xc000787040): _writeAt: size=5, off=0 2025/10/06 01:46:43 DEBUG : dir/file1(0xc000787040): >_writeAt: n=5, err= 2025/10/06 01:46:43 DEBUG : dir/file1(0xc000787040): close: 2025/10/06 01:46:43 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/10/06 01:46:43 DEBUG : dir/file1: vfs cache: setting modification time to 2025-10-06 01:46:43.362581974 +0000 UTC m=+155.861843992 2025/10/06 01:46:43 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/10/06 01:46:43 DEBUG : dir/file1(0xc000787040): >close: err= 2025/10/06 01:46:43 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:46:43 DEBUG : dir: Looking for writers 2025/10/06 01:46:43 DEBUG : file1: reading active writers 2025/10/06 01:46:43 DEBUG : Looking for writers 2025/10/06 01:46:43 DEBUG : dir: reading active writers 2025/10/06 01:46:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 01:46:43 DEBUG : dir: Looking for writers 2025/10/06 01:46:43 DEBUG : file1: reading active writers 2025/10/06 01:46:43 DEBUG : Looking for writers 2025/10/06 01:46:43 DEBUG : dir: reading active writers 2025/10/06 01:46:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 01:46:43 DEBUG : dir: Looking for writers 2025/10/06 01:46:43 DEBUG : file1: reading active writers 2025/10/06 01:46:43 DEBUG : Looking for writers 2025/10/06 01:46:43 DEBUG : dir: reading active writers 2025/10/06 01:46:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 01:46:43 DEBUG : dir: Looking for writers 2025/10/06 01:46:43 DEBUG : file1: reading active writers 2025/10/06 01:46:43 DEBUG : Looking for writers 2025/10/06 01:46:43 DEBUG : dir: reading active writers 2025/10/06 01:46:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 01:46:43 DEBUG : dir/file1: vfs cache: starting upload 2025/10/06 01:46:43 DEBUG : dir: Looking for writers 2025/10/06 01:46:43 DEBUG : file1: reading active writers 2025/10/06 01:46:43 DEBUG : Looking for writers 2025/10/06 01:46:43 DEBUG : dir: reading active writers 2025/10/06 01:46:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 01:46:43 DEBUG : dir/file1: Uploading chunk 0, size=5, remain=0 2025/10/06 01:46:43 DEBUG : dir: Looking for writers 2025/10/06 01:46:43 DEBUG : file1: reading active writers 2025/10/06 01:46:43 DEBUG : Looking for writers 2025/10/06 01:46:43 DEBUG : dir: reading active writers 2025/10/06 01:46:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 01:46:43 DEBUG : dir: Looking for writers 2025/10/06 01:46:43 DEBUG : file1: reading active writers 2025/10/06 01:46:43 DEBUG : Looking for writers 2025/10/06 01:46:43 DEBUG : dir: reading active writers 2025/10/06 01:46:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 01:46:44 DEBUG : dir: Looking for writers 2025/10/06 01:46:44 DEBUG : file1: reading active writers 2025/10/06 01:46:44 DEBUG : Looking for writers 2025/10/06 01:46:44 DEBUG : dir: reading active writers 2025/10/06 01:46:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 01:46:44 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/10/06 01:46:44 INFO : dir/file1: Copied (replaced existing) 2025/10/06 01:46:44 DEBUG : dir/file1: vfs cache: fingerprint now "5,2025-10-06 01:46:43 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2025/10/06 01:46:44 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/10/06 01:46:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:46:44 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/10/06 01:46:45 DEBUG : dir: Looking for writers 2025/10/06 01:46:45 DEBUG : file1: reading active writers 2025/10/06 01:46:45 DEBUG : Looking for writers 2025/10/06 01:46:45 DEBUG : dir: reading active writers 2025/10/06 01:46:45 DEBUG : >WaitForWriters: 2025/10/06 01:46:45 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (6.66s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:46:47 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:46:47 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 01:46:47 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:47 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 01:46:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-casuxig8soha" 2025/10/06 01:46:47 INFO : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 01:46:48 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/10/06 01:46:49 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 01:46:50 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 01:46:50 DEBUG : dir/file1: newRWFileHandle: 2025/10/06 01:46:50 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/06 01:46:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:46:50 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/06 01:46:50 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/10/06 01:46:50 DEBUG : dir/file1(0xc000693b40): _writeAt: size=5, off=0 2025/10/06 01:46:50 DEBUG : dir/file1(0xc000693b40): openPending: 2025/10/06 01:46:50 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/10/06 01:46:50 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/10/06 01:46:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:46:50 DEBUG : dir/file1(0xc000693b40): >openPending: err= 2025/10/06 01:46:50 DEBUG : dir/file1(0xc000693b40): >_writeAt: n=5, err= 2025/10/06 01:46:50 DEBUG : dir/file1(0xc000693b40): _writeAt: size=15, off=5 2025/10/06 01:46:50 DEBUG : dir/file1(0xc000693b40): >_writeAt: n=15, err= 2025/10/06 01:46:50 DEBUG : dir/file1(0xc000693b40): close: 2025/10/06 01:46:50 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2025/10/06 01:46:50 DEBUG : dir/file1: vfs cache: setting modification time to 2025-10-06 01:46:50.034240407 +0000 UTC m=+162.533502423 2025/10/06 01:46:50 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/10/06 01:46:50 DEBUG : dir/file1(0xc000693b40): >close: err= 2025/10/06 01:46:50 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:46:50 DEBUG : dir: Looking for writers 2025/10/06 01:46:50 DEBUG : file1: reading active writers 2025/10/06 01:46:50 DEBUG : Looking for writers 2025/10/06 01:46:50 DEBUG : dir: reading active writers 2025/10/06 01:46:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 01:46:50 DEBUG : dir: Looking for writers 2025/10/06 01:46:50 DEBUG : file1: reading active writers 2025/10/06 01:46:50 DEBUG : Looking for writers 2025/10/06 01:46:50 DEBUG : dir: reading active writers 2025/10/06 01:46:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 01:46:50 DEBUG : dir: Looking for writers 2025/10/06 01:46:50 DEBUG : file1: reading active writers 2025/10/06 01:46:50 DEBUG : Looking for writers 2025/10/06 01:46:50 DEBUG : dir: reading active writers 2025/10/06 01:46:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 01:46:50 DEBUG : dir: Looking for writers 2025/10/06 01:46:50 DEBUG : file1: reading active writers 2025/10/06 01:46:50 DEBUG : Looking for writers 2025/10/06 01:46:50 DEBUG : dir: reading active writers 2025/10/06 01:46:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 01:46:50 DEBUG : dir/file1: vfs cache: starting upload 2025/10/06 01:46:50 DEBUG : dir: Looking for writers 2025/10/06 01:46:50 DEBUG : file1: reading active writers 2025/10/06 01:46:50 DEBUG : Looking for writers 2025/10/06 01:46:50 DEBUG : dir: reading active writers 2025/10/06 01:46:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 01:46:50 DEBUG : dir/file1: Uploading chunk 0, size=20, remain=0 2025/10/06 01:46:50 DEBUG : dir: Looking for writers 2025/10/06 01:46:50 DEBUG : file1: reading active writers 2025/10/06 01:46:50 DEBUG : Looking for writers 2025/10/06 01:46:50 DEBUG : dir: reading active writers 2025/10/06 01:46:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 01:46:50 DEBUG : dir: Looking for writers 2025/10/06 01:46:50 DEBUG : file1: reading active writers 2025/10/06 01:46:50 DEBUG : Looking for writers 2025/10/06 01:46:50 DEBUG : dir: reading active writers 2025/10/06 01:46:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 01:46:51 DEBUG : dir/file1: md5 = 5198435b5c4e591523b7f5435cc07e88 OK 2025/10/06 01:46:51 INFO : dir/file1: Copied (replaced existing) 2025/10/06 01:46:51 DEBUG : dir/file1: vfs cache: fingerprint now "20,2025-10-06 01:46:50 +0000 UTC,5198435b5c4e591523b7f5435cc07e88" 2025/10/06 01:46:51 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/10/06 01:46:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/06 01:46:51 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/10/06 01:46:51 DEBUG : dir: Looking for writers 2025/10/06 01:46:51 DEBUG : file1: reading active writers 2025/10/06 01:46:51 DEBUG : Looking for writers 2025/10/06 01:46:51 DEBUG : dir: reading active writers 2025/10/06 01:46:51 DEBUG : >WaitForWriters: 2025/10/06 01:46:51 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (5.13s) === RUN TestVFSStat run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:46:52 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:46:52 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:46:53 DEBUG : file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:46:55 DEBUG : dir/file2: Uploading chunk 0, size=14, remain=0 2025/10/06 01:46:57 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:46:57 DEBUG : dir: Looking for writers 2025/10/06 01:46:57 DEBUG : file2: reading active writers 2025/10/06 01:46:57 DEBUG : Looking for writers 2025/10/06 01:46:57 DEBUG : file1: reading active writers 2025/10/06 01:46:57 DEBUG : dir: reading active writers 2025/10/06 01:46:57 DEBUG : >WaitForWriters: --- PASS: TestVFSStat (5.89s) === RUN TestVFSStatParent run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:46:58 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:46:58 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:46:59 DEBUG : file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:47:01 DEBUG : dir/file2: Uploading chunk 0, size=14, remain=0 2025/10/06 01:47:02 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:47:02 DEBUG : dir: Looking for writers 2025/10/06 01:47:02 DEBUG : Looking for writers 2025/10/06 01:47:02 DEBUG : dir: reading active writers 2025/10/06 01:47:02 DEBUG : file1: reading active writers 2025/10/06 01:47:02 DEBUG : >WaitForWriters: --- PASS: TestVFSStatParent (5.59s) === RUN TestVFSOpenFile run.go:180: Remote "OpenDrive root 'rclone-test-casuxig8soha'", Local "Local file system at /tmp/rclone61257436", Modify Window "1s" 2025/10/06 01:47:03 INFO : OpenDrive root 'rclone-test-casuxig8soha': poll-interval is not supported by this remote 2025/10/06 01:47:03 NOTICE: OpenDrive root 'rclone-test-casuxig8soha': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 01:47:04 DEBUG : file1: Uploading chunk 0, size=14, remain=0 2025/10/06 01:47:07 DEBUG : dir/file2: Uploading chunk 0, size=14, remain=0 2025/10/06 01:47:08 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:47:08 DEBUG : file1: Open: flags=O_RDONLY 2025/10/06 01:47:08 DEBUG : file1: >Open: fd=file1 (r), err= 2025/10/06 01:47:08 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/10/06 01:47:08 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:47:08 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2025/10/06 01:47:08 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/10/06 01:47:09 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/10/06 01:47:09 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 01:47:09 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2025/10/06 01:47:09 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/10/06 01:47:09 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2025/10/06 01:47:09 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2025/10/06 01:47:09 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/10/06 01:47:09 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': File to upload is small (0 bytes), uploading instead of streaming 2025/10/06 01:47:10 DEBUG : dir/new_file.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2025/10/06 01:47:10 DEBUG : dir/new_file.txt: Size and md5 of src and dst objects identical 2025/10/06 01:47:10 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/10/06 01:47:10 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 01:47:10 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/10/06 01:47:10 DEBUG : WaitForWriters: timeout=30s 2025/10/06 01:47:10 DEBUG : dir: Looking for writers 2025/10/06 01:47:10 DEBUG : file2: reading active writers 2025/10/06 01:47:10 DEBUG : new_file.txt: reading active writers 2025/10/06 01:47:10 DEBUG : Looking for writers 2025/10/06 01:47:10 DEBUG : dir: reading active writers 2025/10/06 01:47:10 DEBUG : file1: reading active writers 2025/10/06 01:47:10 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (8.25s) PASS 2025/10/06 01:47:12 DEBUG : OpenDrive root 'rclone-test-casuxig8soha': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirRemove|TestDirRemoveName|TestFileOpen|TestFileRemove|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSOpenFile|TestVFSStat|TestVFSStatParent)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished OK in 3m5.183351801s (try 3/5)