"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirRemoveName|TestFileRemove|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSStat)$|^TestFileRename$/^(full,forceCache=false|writes,forceCache=true)$'" - Starting (try 2/5) 2025/07/18 04:09:43 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-gicukis7zire" 2025/07/18 04:09:43 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/07/18 04:09:43 DEBUG : Starting OpenDrive session with ID: 7129969dd611d719bce2644cefe83d9644e03264854f56eaf2a1c24a67a42dca 2025/07/18 04:09:43 DEBUG : Creating backend with remote "/tmp/rclone1003801413" === RUN TestDirCreate run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:09:43 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:09:43 NOTICE: OpenDrive root 'rclone-test-gicukis7zire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/18 04:09:45 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/18 04:09:47 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/07/18 04:09:47 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/18 04:09:47 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/07/18 04:09:47 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/18 04:09:47 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': File to upload is small (5 bytes), uploading instead of streaming 2025/07/18 04:09:47 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/07/18 04:09:48 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/07/18 04:09:48 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/07/18 04:09:48 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/07/18 04:09:48 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:09:48 DEBUG : dir: Looking for writers 2025/07/18 04:09:48 DEBUG : file1: reading active writers 2025/07/18 04:09:48 DEBUG : potato: reading active writers 2025/07/18 04:09:48 DEBUG : Looking for writers 2025/07/18 04:09:48 DEBUG : dir: reading active writers 2025/07/18 04:09:48 DEBUG : >WaitForWriters: --- PASS: TestDirCreate (5.77s) === RUN TestDirRemoveName run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:09:49 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:09:49 NOTICE: OpenDrive root 'rclone-test-gicukis7zire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/18 04:09:50 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/18 04:09:52 DEBUG : dir/file1: Remove: 2025/07/18 04:09:52 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/18 04:09:52 DEBUG : dir/file1: >Remove: err= dir_test.go:504: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:504 Error: Should be true Test: TestDirRemoveName 2025/07/18 04:09:53 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:09:53 DEBUG : dir: Looking for writers 2025/07/18 04:09:53 DEBUG : Looking for writers 2025/07/18 04:09:53 DEBUG : dir: reading active writers 2025/07/18 04:09:53 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (4.19s) === RUN TestFileRemove run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:09:53 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:09:53 NOTICE: OpenDrive root 'rclone-test-gicukis7zire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/18 04:09:55 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/18 04:09:56 DEBUG : dir/file1: Remove: 2025/07/18 04:09:56 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/18 04:09:56 DEBUG : dir/file1: >Remove: err= 2025/07/18 04:09:57 DEBUG : dir/file1: Remove: 2025/07/18 04:09:57 DEBUG : dir/file1: >Remove: err=Read only file system 2025/07/18 04:09:57 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:09:57 DEBUG : dir: Looking for writers 2025/07/18 04:09:57 DEBUG : Looking for writers 2025/07/18 04:09:57 DEBUG : dir: reading active writers 2025/07/18 04:09:57 DEBUG : >WaitForWriters: --- PASS: TestFileRemove (3.96s) === RUN TestFileRename === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:09:57 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:09:57 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/18 04:09:57 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:09:57 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:09:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:09:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:09:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:09:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:09:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:09:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:09:57 INFO : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/18 04:09:59 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/18 04:10:00 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/07/18 04:10:00 DEBUG : dir/file1: newRWFileHandle: 2025/07/18 04:10:00 DEBUG : dir/file1(0xc000413180): openPending: 2025/07/18 04:10:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/07/18 04:10:00 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/07/18 04:10:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:10:00 DEBUG : dir/file1(0xc000413180): >openPending: err= 2025/07/18 04:10:00 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/07/18 04:10:00 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/18 04:10:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:10:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/18 04:10:00 DEBUG : dir/file1(0xc000413180): _writeAt: size=14, off=0 2025/07/18 04:10:00 DEBUG : dir/file1(0xc000413180): >_writeAt: n=14, err= 2025/07/18 04:10:00 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/07/18 04:10:00 DEBUG : dir/file1(0xc000413180): close: 2025/07/18 04:10:00 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/07/18 04:10:00 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/07/18 04:10:00 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/07/18 04:10:00 DEBUG : dir/file1(0xc000413180): >close: err= 2025/07/18 04:10:00 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:00 DEBUG : dir: Looking for writers 2025/07/18 04:10:00 DEBUG : file1: reading active writers 2025/07/18 04:10:00 DEBUG : Looking for writers 2025/07/18 04:10:00 DEBUG : dir: reading active writers 2025/07/18 04:10:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/07/18 04:10:00 DEBUG : dir: Looking for writers 2025/07/18 04:10:00 DEBUG : file1: reading active writers 2025/07/18 04:10:00 DEBUG : Looking for writers 2025/07/18 04:10:00 DEBUG : dir: reading active writers 2025/07/18 04:10:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/07/18 04:10:00 DEBUG : dir: Looking for writers 2025/07/18 04:10:00 DEBUG : file1: reading active writers 2025/07/18 04:10:00 DEBUG : Looking for writers 2025/07/18 04:10:00 DEBUG : dir: reading active writers 2025/07/18 04:10:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/07/18 04:10:00 DEBUG : dir: Looking for writers 2025/07/18 04:10:00 DEBUG : file1: reading active writers 2025/07/18 04:10:00 DEBUG : Looking for writers 2025/07/18 04:10:00 DEBUG : dir: reading active writers 2025/07/18 04:10:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/07/18 04:10:00 DEBUG : dir/file1: vfs cache: starting upload 2025/07/18 04:10:00 DEBUG : dir: Looking for writers 2025/07/18 04:10:00 DEBUG : file1: reading active writers 2025/07/18 04:10:00 DEBUG : Looking for writers 2025/07/18 04:10:00 DEBUG : dir: reading active writers 2025/07/18 04:10:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/07/18 04:10:00 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/18 04:10:00 DEBUG : dir: Looking for writers 2025/07/18 04:10:00 DEBUG : file1: reading active writers 2025/07/18 04:10:00 DEBUG : Looking for writers 2025/07/18 04:10:00 DEBUG : dir: reading active writers 2025/07/18 04:10:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/07/18 04:10:01 DEBUG : dir: Looking for writers 2025/07/18 04:10:01 DEBUG : file1: reading active writers 2025/07/18 04:10:01 DEBUG : Looking for writers 2025/07/18 04:10:01 DEBUG : dir: reading active writers 2025/07/18 04:10:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/07/18 04:10:01 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2025/07/18 04:10:01 INFO : dir/file1: Copied (replaced existing) 2025/07/18 04:10:01 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/07/18 04:10:01 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/07/18 04:10:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:10:01 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/07/18 04:10:01 DEBUG : dir: Looking for writers 2025/07/18 04:10:01 DEBUG : file1: reading active writers 2025/07/18 04:10:01 DEBUG : Looking for writers 2025/07/18 04:10:01 DEBUG : dir: reading active writers 2025/07/18 04:10:01 DEBUG : >WaitForWriters: 2025/07/18 04:10:01 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/18 04:10:01 DEBUG : dir/file1: newRWFileHandle: 2025/07/18 04:10:01 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/18 04:10:01 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/18 04:10:01 DEBUG : dir/file1(0xc0002d4a40): _readAt: size=512, off=0 2025/07/18 04:10:01 DEBUG : dir/file1(0xc0002d4a40): openPending: 2025/07/18 04:10:01 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/07/18 04:10:01 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/07/18 04:10:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:10:01 DEBUG : dir/file1(0xc0002d4a40): >openPending: err= 2025/07/18 04:10:01 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/07/18 04:10:01 DEBUG : dir/file1(0xc0002d4a40): >_readAt: n=14, err=EOF 2025/07/18 04:10:01 DEBUG : dir/file1(0xc0002d4a40): close: 2025/07/18 04:10:01 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/18 04:10:01 DEBUG : dir/file1(0xc0002d4a40): >close: err= 2025/07/18 04:10:02 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/07/18 04:10:02 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/07/18 04:10:02 DEBUG : newLeaf: Updating file with newLeaf 0xc0009960c0 2025/07/18 04:10:02 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/18 04:10:02 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/18 04:10:03 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/07/18 04:10:03 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/07/18 04:10:03 DEBUG : dir/file1: Updating file with dir/file1 0xc0009960c0 2025/07/18 04:10:03 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/07/18 04:10:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:10:03 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/07/18 04:10:03 DEBUG : dir/file1: newRWFileHandle: 2025/07/18 04:10:03 DEBUG : dir/file1(0xc0006a13c0): openPending: 2025/07/18 04:10:03 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/07/18 04:10:03 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/07/18 04:10:03 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/07/18 04:10:03 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/07/18 04:10:03 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/07/18 04:10:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:10:03 DEBUG : dir/file1(0xc0006a13c0): >openPending: err= 2025/07/18 04:10:03 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/07/18 04:10:03 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/18 04:10:03 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/18 04:10:03 DEBUG : dir/file1(0xc0006a13c0): _writeAt: size=25, off=0 2025/07/18 04:10:03 DEBUG : dir/file1(0xc0006a13c0): >_writeAt: n=25, err= 2025/07/18 04:10:04 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/07/18 04:10:04 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/07/18 04:10:04 DEBUG : newLeaf: Updating file with newLeaf 0xc0009960c0 2025/07/18 04:10:04 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/18 04:10:04 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/18 04:10:04 DEBUG : newLeaf(0xc0006a13c0): close: 2025/07/18 04:10:04 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/07/18 04:10:04 DEBUG : newLeaf: vfs cache: setting modification time to 2025-07-18 04:10:03.858702001 +0000 UTC m=+20.777531695 2025/07/18 04:10:04 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/07/18 04:10:04 DEBUG : newLeaf(0xc0006a13c0): >close: err= 2025/07/18 04:10:04 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:04 DEBUG : dir: Looking for writers 2025/07/18 04:10:04 DEBUG : Looking for writers 2025/07/18 04:10:04 DEBUG : dir: reading active writers 2025/07/18 04:10:04 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/07/18 04:10:04 DEBUG : dir: Looking for writers 2025/07/18 04:10:04 DEBUG : Looking for writers 2025/07/18 04:10:04 DEBUG : dir: reading active writers 2025/07/18 04:10:04 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/07/18 04:10:04 DEBUG : dir: Looking for writers 2025/07/18 04:10:04 DEBUG : Looking for writers 2025/07/18 04:10:04 DEBUG : dir: reading active writers 2025/07/18 04:10:04 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/07/18 04:10:04 DEBUG : dir: Looking for writers 2025/07/18 04:10:04 DEBUG : Looking for writers 2025/07/18 04:10:04 DEBUG : dir: reading active writers 2025/07/18 04:10:04 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/07/18 04:10:04 DEBUG : newLeaf: vfs cache: starting upload 2025/07/18 04:10:04 DEBUG : dir: Looking for writers 2025/07/18 04:10:04 DEBUG : Looking for writers 2025/07/18 04:10:04 DEBUG : dir: reading active writers 2025/07/18 04:10:04 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/07/18 04:10:04 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/07/18 04:10:04 DEBUG : dir: Looking for writers 2025/07/18 04:10:04 DEBUG : Looking for writers 2025/07/18 04:10:04 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:04 DEBUG : dir: reading active writers 2025/07/18 04:10:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/07/18 04:10:05 DEBUG : dir: Looking for writers 2025/07/18 04:10:05 DEBUG : Looking for writers 2025/07/18 04:10:05 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:05 DEBUG : dir: reading active writers 2025/07/18 04:10:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/07/18 04:10:05 DEBUG : dir: Looking for writers 2025/07/18 04:10:05 DEBUG : Looking for writers 2025/07/18 04:10:05 DEBUG : dir: reading active writers 2025/07/18 04:10:05 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/07/18 04:10:05 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/07/18 04:10:05 INFO : newLeaf: Copied (replaced existing) 2025/07/18 04:10:05 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-07-18 04:10:03 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/07/18 04:10:05 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/07/18 04:10:05 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/18 04:10:05 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/07/18 04:10:06 DEBUG : dir: Looking for writers 2025/07/18 04:10:06 DEBUG : Looking for writers 2025/07/18 04:10:06 DEBUG : dir: reading active writers 2025/07/18 04:10:06 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:06 DEBUG : >WaitForWriters: 2025/07/18 04:10:07 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:07 DEBUG : dir: Looking for writers 2025/07/18 04:10:07 DEBUG : Looking for writers 2025/07/18 04:10:07 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:07 DEBUG : dir: reading active writers 2025/07/18 04:10:07 DEBUG : >WaitForWriters: 2025/07/18 04:10:07 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:10:07 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:10:07 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/18 04:10:07 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:07 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:10:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:10:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:07 INFO : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/18 04:10:09 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/07/18 04:10:10 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:10 DEBUG : dir: Looking for writers 2025/07/18 04:10:10 DEBUG : file1: reading active writers 2025/07/18 04:10:10 DEBUG : Looking for writers 2025/07/18 04:10:10 DEBUG : dir: reading active writers 2025/07/18 04:10:10 DEBUG : >WaitForWriters: 2025/07/18 04:10:10 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/18 04:10:10 DEBUG : dir/file1: newRWFileHandle: 2025/07/18 04:10:10 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/18 04:10:10 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/18 04:10:10 DEBUG : dir/file1(0xc0006e6f40): _readAt: size=512, off=0 2025/07/18 04:10:10 DEBUG : dir/file1(0xc0006e6f40): openPending: 2025/07/18 04:10:10 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/07/18 04:10:10 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/07/18 04:10:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:10:10 DEBUG : dir/file1(0xc0006e6f40): >openPending: err= 2025/07/18 04:10:10 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2025/07/18 04:10:10 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/18 04:10:10 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/18 04:10:10 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/18 04:10:11 DEBUG : dir/file1(0xc0006e6f40): >_readAt: n=14, err=EOF 2025/07/18 04:10:11 DEBUG : dir/file1(0xc0006e6f40): close: 2025/07/18 04:10:11 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/18 04:10:11 DEBUG : dir/file1(0xc0006e6f40): >close: err= 2025/07/18 04:10:12 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/07/18 04:10:12 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/07/18 04:10:12 DEBUG : newLeaf: Updating file with newLeaf 0xc0001afbc0 2025/07/18 04:10:12 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/18 04:10:12 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/18 04:10:12 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/07/18 04:10:12 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/07/18 04:10:12 DEBUG : dir/file1: Updating file with dir/file1 0xc0001afbc0 2025/07/18 04:10:12 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/07/18 04:10:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:10:13 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/07/18 04:10:13 DEBUG : dir/file1: newRWFileHandle: 2025/07/18 04:10:13 DEBUG : dir/file1(0xc0006e7640): openPending: 2025/07/18 04:10:13 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/07/18 04:10:13 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/07/18 04:10:13 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/07/18 04:10:13 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/07/18 04:10:13 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/07/18 04:10:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:10:13 DEBUG : dir/file1(0xc0006e7640): >openPending: err= 2025/07/18 04:10:13 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/07/18 04:10:13 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/18 04:10:13 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/18 04:10:13 DEBUG : dir/file1(0xc0006e7640): _writeAt: size=25, off=0 2025/07/18 04:10:13 DEBUG : dir/file1(0xc0006e7640): >_writeAt: n=25, err= 2025/07/18 04:10:13 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/07/18 04:10:13 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/07/18 04:10:13 DEBUG : newLeaf: Updating file with newLeaf 0xc0001afbc0 2025/07/18 04:10:13 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/18 04:10:13 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/18 04:10:13 DEBUG : newLeaf(0xc0006e7640): close: 2025/07/18 04:10:13 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/07/18 04:10:13 DEBUG : newLeaf: vfs cache: setting modification time to 2025-07-18 04:10:13.321555518 +0000 UTC m=+30.240385221 2025/07/18 04:10:13 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/07/18 04:10:13 DEBUG : newLeaf(0xc0006e7640): >close: err= 2025/07/18 04:10:13 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:13 DEBUG : dir: Looking for writers 2025/07/18 04:10:13 DEBUG : Looking for writers 2025/07/18 04:10:13 DEBUG : dir: reading active writers 2025/07/18 04:10:13 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/07/18 04:10:13 DEBUG : dir: Looking for writers 2025/07/18 04:10:13 DEBUG : Looking for writers 2025/07/18 04:10:13 DEBUG : dir: reading active writers 2025/07/18 04:10:13 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/07/18 04:10:13 DEBUG : dir: Looking for writers 2025/07/18 04:10:13 DEBUG : Looking for writers 2025/07/18 04:10:13 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:13 DEBUG : dir: reading active writers 2025/07/18 04:10:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/07/18 04:10:13 DEBUG : dir: Looking for writers 2025/07/18 04:10:13 DEBUG : Looking for writers 2025/07/18 04:10:13 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:13 DEBUG : dir: reading active writers 2025/07/18 04:10:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/07/18 04:10:13 DEBUG : newLeaf: vfs cache: starting upload 2025/07/18 04:10:13 DEBUG : dir: Looking for writers 2025/07/18 04:10:13 DEBUG : Looking for writers 2025/07/18 04:10:13 DEBUG : dir: reading active writers 2025/07/18 04:10:13 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/07/18 04:10:14 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/07/18 04:10:14 DEBUG : dir: Looking for writers 2025/07/18 04:10:14 DEBUG : Looking for writers 2025/07/18 04:10:14 DEBUG : dir: reading active writers 2025/07/18 04:10:14 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/07/18 04:10:14 DEBUG : dir: Looking for writers 2025/07/18 04:10:14 DEBUG : Looking for writers 2025/07/18 04:10:14 DEBUG : dir: reading active writers 2025/07/18 04:10:14 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/07/18 04:10:15 DEBUG : dir: Looking for writers 2025/07/18 04:10:15 DEBUG : Looking for writers 2025/07/18 04:10:15 DEBUG : dir: reading active writers 2025/07/18 04:10:15 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/07/18 04:10:15 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/07/18 04:10:15 INFO : newLeaf: Copied (replaced existing) 2025/07/18 04:10:15 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-07-18 04:10:13 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/07/18 04:10:15 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/07/18 04:10:15 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/18 04:10:15 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/07/18 04:10:16 DEBUG : dir: Looking for writers 2025/07/18 04:10:16 DEBUG : Looking for writers 2025/07/18 04:10:16 DEBUG : dir: reading active writers 2025/07/18 04:10:16 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:16 DEBUG : >WaitForWriters: 2025/07/18 04:10:16 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:16 DEBUG : dir: Looking for writers 2025/07/18 04:10:16 DEBUG : Looking for writers 2025/07/18 04:10:16 DEBUG : dir: reading active writers 2025/07/18 04:10:16 DEBUG : newLeaf: reading active writers 2025/07/18 04:10:16 DEBUG : >WaitForWriters: 2025/07/18 04:10:16 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaner exiting --- PASS: TestFileRename (19.51s) --- PASS: TestFileRename/writes,forceCache=true (10.08s) --- PASS: TestFileRename/full,forceCache=false (9.43s) === RUN TestReadFileHandleMethods run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:10:17 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:10:17 NOTICE: OpenDrive root 'rclone-test-gicukis7zire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/18 04:10:18 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/18 04:10:20 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/18 04:10:20 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/18 04:10:20 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/18 04:10:20 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/18 04:10:20 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/18 04:10:20 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/07/18 04:10:20 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2025/07/18 04:10:20 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:20 DEBUG : dir: Looking for writers 2025/07/18 04:10:20 DEBUG : file1: reading active writers 2025/07/18 04:10:20 DEBUG : Looking for writers 2025/07/18 04:10:20 DEBUG : dir: reading active writers 2025/07/18 04:10:20 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (4.73s) === RUN TestReadFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:10:22 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:10:22 NOTICE: OpenDrive root 'rclone-test-gicukis7zire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/18 04:10:23 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/18 04:10:24 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/18 04:10:24 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/18 04:10:24 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/18 04:10:24 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/18 04:10:24 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/18 04:10:25 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/07/18 04:10:25 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/07/18 04:10:25 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/07/18 04:10:25 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/07/18 04:10:25 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/07/18 04:10:25 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/07/18 04:10:25 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/07/18 04:10:25 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/07/18 04:10:25 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/07/18 04:10:25 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/07/18 04:10:25 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/07/18 04:10:25 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/07/18 04:10:26 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/07/18 04:10:26 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/07/18 04:10:26 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/07/18 04:10:26 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/07/18 04:10:26 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:26 DEBUG : dir: Looking for writers 2025/07/18 04:10:26 DEBUG : file1: reading active writers 2025/07/18 04:10:26 DEBUG : Looking for writers 2025/07/18 04:10:26 DEBUG : dir: reading active writers 2025/07/18 04:10:26 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (5.64s) === RUN TestReadFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:10:27 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:10:27 NOTICE: OpenDrive root 'rclone-test-gicukis7zire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/18 04:10:28 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/18 04:10:30 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/18 04:10:30 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/18 04:10:30 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/18 04:10:30 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/18 04:10:30 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/18 04:10:30 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/07/18 04:10:30 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/07/18 04:10:30 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/07/18 04:10:30 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/07/18 04:10:30 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/07/18 04:10:30 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/07/18 04:10:30 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/07/18 04:10:30 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/07/18 04:10:31 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/07/18 04:10:31 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/07/18 04:10:31 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/07/18 04:10:31 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/07/18 04:10:31 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/07/18 04:10:31 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/07/18 04:10:31 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/07/18 04:10:31 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/07/18 04:10:31 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/07/18 04:10:31 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/07/18 04:10:31 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/07/18 04:10:32 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/07/18 04:10:32 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/07/18 04:10:32 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/07/18 04:10:32 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/07/18 04:10:32 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/07/18 04:10:32 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/07/18 04:10:32 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/07/18 04:10:32 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/07/18 04:10:32 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/07/18 04:10:32 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/07/18 04:10:32 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/07/18 04:10:32 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/07/18 04:10:32 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:32 DEBUG : dir: Looking for writers 2025/07/18 04:10:32 DEBUG : file1: reading active writers 2025/07/18 04:10:32 DEBUG : Looking for writers 2025/07/18 04:10:32 DEBUG : dir: reading active writers 2025/07/18 04:10:32 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (5.81s) === RUN TestReadFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:10:33 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:10:33 NOTICE: OpenDrive root 'rclone-test-gicukis7zire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/18 04:10:34 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/18 04:10:36 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/18 04:10:36 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/18 04:10:36 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/18 04:10:36 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/18 04:10:36 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/18 04:10:36 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/07/18 04:10:36 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:36 DEBUG : dir: Looking for writers 2025/07/18 04:10:36 DEBUG : file1: reading active writers 2025/07/18 04:10:36 DEBUG : Looking for writers 2025/07/18 04:10:36 DEBUG : dir: reading active writers 2025/07/18 04:10:36 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (4.08s) === RUN TestReadFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:10:37 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:10:37 NOTICE: OpenDrive root 'rclone-test-gicukis7zire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/18 04:10:38 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/18 04:10:39 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/18 04:10:40 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/18 04:10:40 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/18 04:10:40 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/18 04:10:40 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/18 04:10:40 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/07/18 04:10:40 DEBUG : dir/file1: ReadFileHandle.Release closing 2025/07/18 04:10:40 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2025/07/18 04:10:40 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:40 DEBUG : dir: Looking for writers 2025/07/18 04:10:40 DEBUG : file1: reading active writers 2025/07/18 04:10:40 DEBUG : Looking for writers 2025/07/18 04:10:40 DEBUG : dir: reading active writers 2025/07/18 04:10:40 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (3.93s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:10:41 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:10:41 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/18 04:10:41 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:41 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:10:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:10:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:41 INFO : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/18 04:10:42 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/18 04:10:44 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/18 04:10:44 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/18 04:10:44 DEBUG : dir/file1: newRWFileHandle: 2025/07/18 04:10:44 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/18 04:10:44 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/18 04:10:44 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/18 04:10:44 DEBUG : dir/file1(0xc0002d4840): _readAt: size=1, off=0 2025/07/18 04:10:44 DEBUG : dir/file1(0xc0002d4840): openPending: 2025/07/18 04:10:44 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/18 04:10:44 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/18 04:10:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:10:44 DEBUG : dir/file1(0xc0002d4840): >openPending: err= 2025/07/18 04:10:44 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/18 04:10:44 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/18 04:10:44 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/18 04:10:44 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/18 04:10:44 DEBUG : dir/file1(0xc0002d4840): >_readAt: n=1, err= 2025/07/18 04:10:44 DEBUG : dir/file1(0xc0002d4840): _readAt: size=256, off=1 2025/07/18 04:10:44 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/07/18 04:10:44 DEBUG : dir/file1(0xc0002d4840): >_readAt: n=15, err=EOF 2025/07/18 04:10:44 DEBUG : dir/file1(0xc0002d4840): _readAt: size=16, off=16 2025/07/18 04:10:44 DEBUG : dir/file1(0xc0002d4840): >_readAt: n=0, err=EOF 2025/07/18 04:10:44 DEBUG : dir/file1(0xc0002d4840): close: 2025/07/18 04:10:44 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/18 04:10:44 DEBUG : dir/file1(0xc0002d4840): >close: err= 2025/07/18 04:10:44 DEBUG : dir/file1(0xc0002d4840): close: 2025/07/18 04:10:44 DEBUG : dir/file1(0xc0002d4840): >close: err=file already closed 2025/07/18 04:10:44 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:44 DEBUG : dir: Looking for writers 2025/07/18 04:10:44 DEBUG : file1: reading active writers 2025/07/18 04:10:44 DEBUG : Looking for writers 2025/07/18 04:10:44 DEBUG : dir: reading active writers 2025/07/18 04:10:44 DEBUG : >WaitForWriters: 2025/07/18 04:10:44 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaner exiting run.go:125: removing dir "dir" failed - try 1/3: folder not empty fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure --- PASS: TestRWFileHandleMethodsRead (12.83s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:10:54 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:10:54 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/18 04:10:54 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:54 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:10:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:10:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:54 INFO : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/18 04:10:55 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/18 04:10:56 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/18 04:10:57 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/18 04:10:57 DEBUG : dir/file1: newRWFileHandle: 2025/07/18 04:10:57 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/18 04:10:57 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/18 04:10:57 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): _readAt: size=1, off=0 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): openPending: 2025/07/18 04:10:57 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/18 04:10:57 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/18 04:10:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): >openPending: err= 2025/07/18 04:10:57 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/18 04:10:57 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/18 04:10:57 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/18 04:10:57 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): >_readAt: n=1, err= 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): _readAt: size=1, off=5 2025/07/18 04:10:57 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): >_readAt: n=1, err= 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): _readAt: size=1, off=3 2025/07/18 04:10:57 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): >_readAt: n=1, err= 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): _readAt: size=1, off=13 2025/07/18 04:10:57 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): >_readAt: n=1, err= 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): _readAt: size=16, off=100 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): >_readAt: n=0, err=EOF 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): close: 2025/07/18 04:10:57 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/18 04:10:57 DEBUG : dir/file1(0xc000412a80): >close: err= 2025/07/18 04:10:57 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:10:57 DEBUG : dir: Looking for writers 2025/07/18 04:10:57 DEBUG : file1: reading active writers 2025/07/18 04:10:57 DEBUG : Looking for writers 2025/07/18 04:10:57 DEBUG : dir: reading active writers 2025/07/18 04:10:57 DEBUG : >WaitForWriters: 2025/07/18 04:10:57 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (4.00s) === RUN TestRWFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:10:58 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:10:58 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/18 04:10:58 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:58 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:10:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:10:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:10:58 INFO : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/18 04:10:59 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/18 04:11:00 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/18 04:11:01 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/18 04:11:01 DEBUG : dir/file1: newRWFileHandle: 2025/07/18 04:11:01 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/18 04:11:01 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/18 04:11:01 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): _readAt: size=1, off=0 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): openPending: 2025/07/18 04:11:01 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/18 04:11:01 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/18 04:11:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): >openPending: err= 2025/07/18 04:11:01 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/18 04:11:01 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/18 04:11:01 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/18 04:11:01 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): >_readAt: n=1, err= 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): _readAt: size=1, off=5 2025/07/18 04:11:01 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): >_readAt: n=1, err= 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): _readAt: size=1, off=1 2025/07/18 04:11:01 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): >_readAt: n=1, err= 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): _readAt: size=6, off=10 2025/07/18 04:11:01 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): >_readAt: n=6, err= 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): _readAt: size=256, off=10 2025/07/18 04:11:01 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): >_readAt: n=6, err=EOF 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): _readAt: size=256, off=100 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): >_readAt: n=0, err=EOF 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): close: 2025/07/18 04:11:01 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): >close: err= 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): _readAt: size=256, off=100 2025/07/18 04:11:01 DEBUG : dir/file1(0xc0006a0440): >_readAt: n=0, err=file already closed 2025/07/18 04:11:01 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:11:01 DEBUG : dir: Looking for writers 2025/07/18 04:11:01 DEBUG : file1: reading active writers 2025/07/18 04:11:01 DEBUG : Looking for writers 2025/07/18 04:11:01 DEBUG : dir: reading active writers 2025/07/18 04:11:01 DEBUG : >WaitForWriters: 2025/07/18 04:11:01 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (4.09s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:11:02 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:11:02 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/18 04:11:02 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:02 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:11:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:11:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:02 INFO : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/18 04:11:03 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/18 04:11:04 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/18 04:11:05 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/18 04:11:05 DEBUG : dir/file1: newRWFileHandle: 2025/07/18 04:11:05 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/18 04:11:05 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/18 04:11:05 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/18 04:11:05 DEBUG : dir/file1(0xc00094cc80): RWFileHandle.Flush 2025/07/18 04:11:05 DEBUG : dir/file1(0xc00094cc80): _readAt: size=256, off=0 2025/07/18 04:11:05 DEBUG : dir/file1(0xc00094cc80): openPending: 2025/07/18 04:11:05 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/18 04:11:05 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/18 04:11:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:11:05 DEBUG : dir/file1(0xc00094cc80): >openPending: err= 2025/07/18 04:11:05 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/07/18 04:11:05 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/18 04:11:05 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/18 04:11:05 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/18 04:11:05 DEBUG : dir/file1(0xc00094cc80): >_readAt: n=16, err=EOF 2025/07/18 04:11:05 DEBUG : dir/file1(0xc00094cc80): RWFileHandle.Flush 2025/07/18 04:11:05 DEBUG : dir/file1(0xc00094cc80): RWFileHandle.Flush 2025/07/18 04:11:05 DEBUG : dir/file1(0xc00094cc80): close: 2025/07/18 04:11:05 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/18 04:11:05 DEBUG : dir/file1(0xc00094cc80): >close: err= 2025/07/18 04:11:05 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:11:05 DEBUG : dir: Looking for writers 2025/07/18 04:11:05 DEBUG : file1: reading active writers 2025/07/18 04:11:05 DEBUG : Looking for writers 2025/07/18 04:11:05 DEBUG : dir: reading active writers 2025/07/18 04:11:05 DEBUG : >WaitForWriters: 2025/07/18 04:11:05 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (4.12s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:11:06 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:11:06 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/18 04:11:06 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:06 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:11:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:11:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:06 INFO : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/18 04:11:07 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/18 04:11:09 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/18 04:11:09 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/18 04:11:09 DEBUG : dir/file1: newRWFileHandle: 2025/07/18 04:11:09 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/18 04:11:09 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/18 04:11:09 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/18 04:11:09 DEBUG : dir/file1(0xc00094c280): _readAt: size=256, off=0 2025/07/18 04:11:09 DEBUG : dir/file1(0xc00094c280): openPending: 2025/07/18 04:11:09 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/18 04:11:09 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/18 04:11:09 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:11:09 DEBUG : dir/file1(0xc00094c280): >openPending: err= 2025/07/18 04:11:09 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/07/18 04:11:09 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/18 04:11:09 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/18 04:11:09 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/18 04:11:09 DEBUG : dir/file1(0xc00094c280): >_readAt: n=16, err=EOF 2025/07/18 04:11:09 DEBUG : dir/file1(0xc00094c280): RWFileHandle.Release 2025/07/18 04:11:09 DEBUG : dir/file1(0xc00094c280): close: 2025/07/18 04:11:09 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/18 04:11:09 DEBUG : dir/file1(0xc00094c280): >close: err= 2025/07/18 04:11:09 DEBUG : dir/file1(0xc00094c280): RWFileHandle.Release 2025/07/18 04:11:09 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:11:09 DEBUG : dir: Looking for writers 2025/07/18 04:11:09 DEBUG : file1: reading active writers 2025/07/18 04:11:09 DEBUG : Looking for writers 2025/07/18 04:11:09 DEBUG : dir: reading active writers 2025/07/18 04:11:09 DEBUG : >WaitForWriters: 2025/07/18 04:11:09 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (4.07s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:11:10 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:11:10 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/18 04:11:10 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:10 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:11:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:11:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:10 INFO : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/18 04:11:11 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/18 04:11:13 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2025/07/18 04:11:13 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/07/18 04:11:13 DEBUG : dir/file1: newRWFileHandle: 2025/07/18 04:11:13 DEBUG : dir/file1(0xc00094ce40): openPending: 2025/07/18 04:11:13 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/18 04:11:13 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/18 04:11:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:11:13 DEBUG : dir/file1(0xc00094ce40): >openPending: err= 2025/07/18 04:11:13 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/07/18 04:11:13 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/18 04:11:13 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/18 04:11:13 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/18 04:11:13 DEBUG : dir/file1(0xc00094ce40): _writeAt: size=5, off=0 2025/07/18 04:11:13 DEBUG : dir/file1(0xc00094ce40): >_writeAt: n=5, err= 2025/07/18 04:11:13 DEBUG : dir/file1(0xc00094ce40): close: 2025/07/18 04:11:13 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2025/07/18 04:11:13 DEBUG : dir/file1: vfs cache: setting modification time to 2025-07-18 04:11:13.363894806 +0000 UTC m=+90.282724470 2025/07/18 04:11:13 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/07/18 04:11:13 DEBUG : dir/file1(0xc00094ce40): >close: err= 2025/07/18 04:11:13 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:11:13 DEBUG : dir: Looking for writers 2025/07/18 04:11:13 DEBUG : file1: reading active writers 2025/07/18 04:11:13 DEBUG : Looking for writers 2025/07/18 04:11:13 DEBUG : dir: reading active writers 2025/07/18 04:11:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/07/18 04:11:13 DEBUG : dir: Looking for writers 2025/07/18 04:11:13 DEBUG : file1: reading active writers 2025/07/18 04:11:13 DEBUG : Looking for writers 2025/07/18 04:11:13 DEBUG : dir: reading active writers 2025/07/18 04:11:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/07/18 04:11:13 DEBUG : dir: Looking for writers 2025/07/18 04:11:13 DEBUG : file1: reading active writers 2025/07/18 04:11:13 DEBUG : Looking for writers 2025/07/18 04:11:13 DEBUG : dir: reading active writers 2025/07/18 04:11:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/07/18 04:11:13 DEBUG : dir: Looking for writers 2025/07/18 04:11:13 DEBUG : file1: reading active writers 2025/07/18 04:11:13 DEBUG : Looking for writers 2025/07/18 04:11:13 DEBUG : dir: reading active writers 2025/07/18 04:11:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/07/18 04:11:13 DEBUG : dir/file1: vfs cache: starting upload 2025/07/18 04:11:13 DEBUG : dir: Looking for writers 2025/07/18 04:11:13 DEBUG : file1: reading active writers 2025/07/18 04:11:13 DEBUG : Looking for writers 2025/07/18 04:11:13 DEBUG : dir: reading active writers 2025/07/18 04:11:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/07/18 04:11:13 DEBUG : dir/file1: Uploading chunk 0, size=5, remain=0 2025/07/18 04:11:13 DEBUG : dir: Looking for writers 2025/07/18 04:11:13 DEBUG : file1: reading active writers 2025/07/18 04:11:13 DEBUG : Looking for writers 2025/07/18 04:11:13 DEBUG : dir: reading active writers 2025/07/18 04:11:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/07/18 04:11:13 DEBUG : dir: Looking for writers 2025/07/18 04:11:13 DEBUG : file1: reading active writers 2025/07/18 04:11:13 DEBUG : Looking for writers 2025/07/18 04:11:13 DEBUG : dir: reading active writers 2025/07/18 04:11:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/07/18 04:11:14 DEBUG : dir: Looking for writers 2025/07/18 04:11:14 DEBUG : file1: reading active writers 2025/07/18 04:11:14 DEBUG : Looking for writers 2025/07/18 04:11:14 DEBUG : dir: reading active writers 2025/07/18 04:11:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/07/18 04:11:14 DEBUG : dir/file1: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/07/18 04:11:14 INFO : dir/file1: Copied (replaced existing) 2025/07/18 04:11:14 DEBUG : dir/file1: vfs cache: fingerprint now "5,2025-07-18 04:11:13 +0000 UTC,5d41402abc4b2a76b9719d911017c592" 2025/07/18 04:11:14 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/07/18 04:11:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:11:14 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/07/18 04:11:15 DEBUG : dir: Looking for writers 2025/07/18 04:11:15 DEBUG : file1: reading active writers 2025/07/18 04:11:15 DEBUG : Looking for writers 2025/07/18 04:11:15 DEBUG : dir: reading active writers 2025/07/18 04:11:15 DEBUG : >WaitForWriters: 2025/07/18 04:11:15 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (5.90s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:11:16 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:11:16 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/18 04:11:16 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:16 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:11:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/18 04:11:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-gicukis7zire" 2025/07/18 04:11:16 INFO : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/18 04:11:17 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/07/18 04:11:18 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/07/18 04:11:19 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2025/07/18 04:11:19 DEBUG : dir/file1: newRWFileHandle: 2025/07/18 04:11:19 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/18 04:11:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:11:19 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/18 04:11:19 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/18 04:11:19 DEBUG : dir/file1(0xc000413d80): _writeAt: size=5, off=0 2025/07/18 04:11:19 DEBUG : dir/file1(0xc000413d80): openPending: 2025/07/18 04:11:19 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/07/18 04:11:19 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/18 04:11:19 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:11:19 DEBUG : dir/file1(0xc000413d80): >openPending: err= 2025/07/18 04:11:19 DEBUG : dir/file1(0xc000413d80): >_writeAt: n=5, err= 2025/07/18 04:11:19 DEBUG : dir/file1(0xc000413d80): _writeAt: size=15, off=5 2025/07/18 04:11:19 DEBUG : dir/file1(0xc000413d80): >_writeAt: n=15, err= 2025/07/18 04:11:19 DEBUG : dir/file1(0xc000413d80): close: 2025/07/18 04:11:19 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2025/07/18 04:11:19 DEBUG : dir/file1: vfs cache: setting modification time to 2025-07-18 04:11:19.270813434 +0000 UTC m=+96.189643137 2025/07/18 04:11:19 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/07/18 04:11:19 DEBUG : dir/file1(0xc000413d80): >close: err= 2025/07/18 04:11:19 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:11:19 DEBUG : dir: Looking for writers 2025/07/18 04:11:19 DEBUG : file1: reading active writers 2025/07/18 04:11:19 DEBUG : Looking for writers 2025/07/18 04:11:19 DEBUG : dir: reading active writers 2025/07/18 04:11:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/07/18 04:11:19 DEBUG : dir: Looking for writers 2025/07/18 04:11:19 DEBUG : file1: reading active writers 2025/07/18 04:11:19 DEBUG : Looking for writers 2025/07/18 04:11:19 DEBUG : dir: reading active writers 2025/07/18 04:11:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/07/18 04:11:19 DEBUG : dir: Looking for writers 2025/07/18 04:11:19 DEBUG : file1: reading active writers 2025/07/18 04:11:19 DEBUG : Looking for writers 2025/07/18 04:11:19 DEBUG : dir: reading active writers 2025/07/18 04:11:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/07/18 04:11:19 DEBUG : dir: Looking for writers 2025/07/18 04:11:19 DEBUG : file1: reading active writers 2025/07/18 04:11:19 DEBUG : Looking for writers 2025/07/18 04:11:19 DEBUG : dir: reading active writers 2025/07/18 04:11:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/07/18 04:11:19 DEBUG : dir/file1: vfs cache: starting upload 2025/07/18 04:11:19 DEBUG : dir: Looking for writers 2025/07/18 04:11:19 DEBUG : file1: reading active writers 2025/07/18 04:11:19 DEBUG : Looking for writers 2025/07/18 04:11:19 DEBUG : dir: reading active writers 2025/07/18 04:11:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/07/18 04:11:19 DEBUG : dir/file1: Uploading chunk 0, size=20, remain=0 2025/07/18 04:11:19 DEBUG : dir: Looking for writers 2025/07/18 04:11:19 DEBUG : file1: reading active writers 2025/07/18 04:11:19 DEBUG : Looking for writers 2025/07/18 04:11:19 DEBUG : dir: reading active writers 2025/07/18 04:11:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/07/18 04:11:19 DEBUG : dir: Looking for writers 2025/07/18 04:11:19 DEBUG : file1: reading active writers 2025/07/18 04:11:19 DEBUG : Looking for writers 2025/07/18 04:11:19 DEBUG : dir: reading active writers 2025/07/18 04:11:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/07/18 04:11:20 DEBUG : dir: Looking for writers 2025/07/18 04:11:20 DEBUG : file1: reading active writers 2025/07/18 04:11:20 DEBUG : Looking for writers 2025/07/18 04:11:20 DEBUG : dir: reading active writers 2025/07/18 04:11:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/07/18 04:11:20 DEBUG : dir/file1: md5 = 5198435b5c4e591523b7f5435cc07e88 OK 2025/07/18 04:11:20 INFO : dir/file1: Copied (replaced existing) 2025/07/18 04:11:20 DEBUG : dir/file1: vfs cache: fingerprint now "20,2025-07-18 04:11:19 +0000 UTC,5198435b5c4e591523b7f5435cc07e88" 2025/07/18 04:11:20 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/07/18 04:11:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/18 04:11:20 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/07/18 04:11:21 DEBUG : dir: Looking for writers 2025/07/18 04:11:21 DEBUG : file1: reading active writers 2025/07/18 04:11:21 DEBUG : Looking for writers 2025/07/18 04:11:21 DEBUG : dir: reading active writers 2025/07/18 04:11:21 DEBUG : >WaitForWriters: 2025/07/18 04:11:21 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (5.91s) === RUN TestVFSStat run.go:180: Remote "OpenDrive root 'rclone-test-gicukis7zire'", Local "Local file system at /tmp/rclone1003801413", Modify Window "1s" 2025/07/18 04:11:22 INFO : OpenDrive root 'rclone-test-gicukis7zire': poll-interval is not supported by this remote 2025/07/18 04:11:22 NOTICE: OpenDrive root 'rclone-test-gicukis7zire': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/07/18 04:11:23 DEBUG : file1: Uploading chunk 0, size=14, remain=0 2025/07/18 04:11:25 DEBUG : dir/file2: Uploading chunk 0, size=14, remain=0 2025/07/18 04:11:26 DEBUG : WaitForWriters: timeout=30s 2025/07/18 04:11:26 DEBUG : dir: Looking for writers 2025/07/18 04:11:26 DEBUG : file2: reading active writers 2025/07/18 04:11:26 DEBUG : Looking for writers 2025/07/18 04:11:26 DEBUG : file1: reading active writers 2025/07/18 04:11:26 DEBUG : dir: reading active writers 2025/07/18 04:11:26 DEBUG : >WaitForWriters: --- PASS: TestVFSStat (5.41s) FAIL 2025/07/18 04:11:27 DEBUG : OpenDrive root 'rclone-test-gicukis7zire': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirRemoveName|TestFileRemove|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSStat)$|^TestFileRename$/^(full,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 1m45.376601968s (try 2/5): exit status 1: Failed [TestDirRemoveName]