"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdir|TestDirRemoveName|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek)$|^TestFileRename$/^(full,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2025/08/03 01:58:07 DEBUG : Creating backend with remote "TestOpenDrive:rclone-test-sanomir1mifo" 2025/08/03 01:58:07 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/08/03 01:58:07 DEBUG : Starting OpenDrive session with ID: 4f20eb9bdb83c923da4f03a03202246ed694ff1cdfd4b3d436bbc101a53968e4 2025/08/03 01:58:08 DEBUG : Creating backend with remote "/tmp/rclone1454308469" === RUN TestDirCreate run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:58:08 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:58:08 NOTICE: OpenDrive root 'rclone-test-sanomir1mifo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/03 01:58:09 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 dir_test.go:354: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:354 Error: Should be true Test: TestDirCreate 2025/08/03 01:58:11 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2025/08/03 01:58:11 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/08/03 01:58:11 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2025/08/03 01:58:11 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/08/03 01:58:11 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': File to upload is small (5 bytes), uploading instead of streaming 2025/08/03 01:58:12 DEBUG : dir/potato: Uploading chunk 0, size=5, remain=0 2025/08/03 01:58:13 DEBUG : dir/potato: md5 = 5d41402abc4b2a76b9719d911017c592 OK 2025/08/03 01:58:13 DEBUG : dir/potato: Size and md5 of src and dst objects identical 2025/08/03 01:58:13 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2025/08/03 01:58:13 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:58:13 DEBUG : dir: Looking for writers 2025/08/03 01:58:13 DEBUG : file1: reading active writers 2025/08/03 01:58:13 DEBUG : potato: reading active writers 2025/08/03 01:58:13 DEBUG : Looking for writers 2025/08/03 01:58:13 DEBUG : dir: reading active writers 2025/08/03 01:58:13 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (6.50s) === RUN TestDirMkdir run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:58:14 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:58:14 NOTICE: OpenDrive root 'rclone-test-sanomir1mifo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/03 01:58:15 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/08/03 01:58:17 DEBUG : dir: Added virtual directory entry vAddDir: "sub" dir_test.go:398: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:398 Error: Should be true Test: TestDirMkdir 2025/08/03 01:58:18 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:58:18 DEBUG : dir/sub: Looking for writers 2025/08/03 01:58:18 DEBUG : dir: Looking for writers 2025/08/03 01:58:18 DEBUG : file1: reading active writers 2025/08/03 01:58:18 DEBUG : sub: reading active writers 2025/08/03 01:58:18 DEBUG : Looking for writers 2025/08/03 01:58:18 DEBUG : dir: reading active writers 2025/08/03 01:58:18 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (5.41s) === RUN TestDirRemoveName run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:58:20 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:58:20 NOTICE: OpenDrive root 'rclone-test-sanomir1mifo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/03 01:58:21 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/08/03 01:58:22 DEBUG : dir/file1: Remove: 2025/08/03 01:58:23 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/08/03 01:58:23 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/08/03 01:58:23 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:58:23 DEBUG : dir: Looking for writers 2025/08/03 01:58:23 DEBUG : Looking for writers 2025/08/03 01:58:23 DEBUG : dir: reading active writers 2025/08/03 01:58:23 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (4.05s) === RUN TestFileRename === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:58:24 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:58:24 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/08/03 01:58:24 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:58:24 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:58:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:58:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:58:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:58:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:58:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:58:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:58:24 INFO : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/08/03 01:58:25 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/08/03 01:58:26 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/08/03 01:58:26 DEBUG : dir/file1: newRWFileHandle: 2025/08/03 01:58:26 DEBUG : dir/file1(0xc000a80500): openPending: 2025/08/03 01:58:26 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/08/03 01:58:26 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/08/03 01:58:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:58:26 DEBUG : dir/file1(0xc000a80500): >openPending: err= 2025/08/03 01:58:26 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/08/03 01:58:26 DEBUG : dir/file1: >newRWFileHandle: err= 2025/08/03 01:58:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:58:26 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/08/03 01:58:26 DEBUG : dir/file1(0xc000a80500): _writeAt: size=14, off=0 2025/08/03 01:58:26 DEBUG : dir/file1(0xc000a80500): >_writeAt: n=14, err= 2025/08/03 01:58:26 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/08/03 01:58:26 DEBUG : dir/file1(0xc000a80500): close: 2025/08/03 01:58:26 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/08/03 01:58:26 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/08/03 01:58:26 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/08/03 01:58:26 DEBUG : dir/file1(0xc000a80500): >close: err= 2025/08/03 01:58:26 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:58:26 DEBUG : dir: Looking for writers 2025/08/03 01:58:26 DEBUG : file1: reading active writers 2025/08/03 01:58:26 DEBUG : Looking for writers 2025/08/03 01:58:26 DEBUG : dir: reading active writers 2025/08/03 01:58:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/08/03 01:58:26 DEBUG : dir: Looking for writers 2025/08/03 01:58:26 DEBUG : file1: reading active writers 2025/08/03 01:58:26 DEBUG : Looking for writers 2025/08/03 01:58:26 DEBUG : dir: reading active writers 2025/08/03 01:58:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/08/03 01:58:26 DEBUG : dir: Looking for writers 2025/08/03 01:58:26 DEBUG : file1: reading active writers 2025/08/03 01:58:26 DEBUG : Looking for writers 2025/08/03 01:58:26 DEBUG : dir: reading active writers 2025/08/03 01:58:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/08/03 01:58:26 DEBUG : dir: Looking for writers 2025/08/03 01:58:26 DEBUG : file1: reading active writers 2025/08/03 01:58:26 DEBUG : Looking for writers 2025/08/03 01:58:26 DEBUG : dir: reading active writers 2025/08/03 01:58:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/08/03 01:58:26 DEBUG : dir/file1: vfs cache: starting upload 2025/08/03 01:58:27 DEBUG : dir: Looking for writers 2025/08/03 01:58:27 DEBUG : file1: reading active writers 2025/08/03 01:58:27 DEBUG : Looking for writers 2025/08/03 01:58:27 DEBUG : dir: reading active writers 2025/08/03 01:58:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/08/03 01:58:27 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/08/03 01:58:27 DEBUG : dir: Looking for writers 2025/08/03 01:58:27 DEBUG : file1: reading active writers 2025/08/03 01:58:27 DEBUG : Looking for writers 2025/08/03 01:58:27 DEBUG : dir: reading active writers 2025/08/03 01:58:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/08/03 01:58:27 DEBUG : dir: Looking for writers 2025/08/03 01:58:27 DEBUG : file1: reading active writers 2025/08/03 01:58:27 DEBUG : Looking for writers 2025/08/03 01:58:27 DEBUG : dir: reading active writers 2025/08/03 01:58:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/08/03 01:58:28 DEBUG : dir/file1: md5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2025/08/03 01:58:28 INFO : dir/file1: Copied (replaced existing) 2025/08/03 01:58:28 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/08/03 01:58:28 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/08/03 01:58:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:58:28 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/08/03 01:58:28 DEBUG : dir: Looking for writers 2025/08/03 01:58:28 DEBUG : file1: reading active writers 2025/08/03 01:58:28 DEBUG : Looking for writers 2025/08/03 01:58:28 DEBUG : dir: reading active writers 2025/08/03 01:58:28 DEBUG : >WaitForWriters: 2025/08/03 01:58:28 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/03 01:58:28 DEBUG : dir/file1: newRWFileHandle: 2025/08/03 01:58:28 DEBUG : dir/file1: >newRWFileHandle: err= 2025/08/03 01:58:28 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/08/03 01:58:28 DEBUG : dir/file1(0xc0003ac340): _readAt: size=512, off=0 2025/08/03 01:58:28 DEBUG : dir/file1(0xc0003ac340): openPending: 2025/08/03 01:58:28 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/08/03 01:58:28 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/08/03 01:58:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:58:28 DEBUG : dir/file1(0xc0003ac340): >openPending: err= 2025/08/03 01:58:28 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/08/03 01:58:28 DEBUG : dir/file1(0xc0003ac340): >_readAt: n=14, err=EOF 2025/08/03 01:58:28 DEBUG : dir/file1(0xc0003ac340): close: 2025/08/03 01:58:28 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/08/03 01:58:28 DEBUG : dir/file1(0xc0003ac340): >close: err= 2025/08/03 01:58:28 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/08/03 01:58:28 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/08/03 01:58:28 DEBUG : newLeaf: Updating file with newLeaf 0xc000306780 2025/08/03 01:58:28 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/08/03 01:58:28 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/08/03 01:58:29 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/08/03 01:58:29 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/08/03 01:58:29 DEBUG : dir/file1: Updating file with dir/file1 0xc000306780 2025/08/03 01:58:29 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/08/03 01:58:29 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:58:30 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/08/03 01:58:30 DEBUG : dir/file1: newRWFileHandle: 2025/08/03 01:58:30 DEBUG : dir/file1(0xc000876d80): openPending: 2025/08/03 01:58:30 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/08/03 01:58:30 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/08/03 01:58:30 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/08/03 01:58:30 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/08/03 01:58:30 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/08/03 01:58:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:58:30 DEBUG : dir/file1(0xc000876d80): >openPending: err= 2025/08/03 01:58:30 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/08/03 01:58:30 DEBUG : dir/file1: >newRWFileHandle: err= 2025/08/03 01:58:30 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/08/03 01:58:30 DEBUG : dir/file1(0xc000876d80): _writeAt: size=25, off=0 2025/08/03 01:58:30 DEBUG : dir/file1(0xc000876d80): >_writeAt: n=25, err= 2025/08/03 01:58:30 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/08/03 01:58:30 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/08/03 01:58:30 DEBUG : newLeaf: Updating file with newLeaf 0xc000306780 2025/08/03 01:58:30 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/08/03 01:58:30 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/08/03 01:58:30 DEBUG : newLeaf(0xc000876d80): close: 2025/08/03 01:58:30 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/08/03 01:58:30 DEBUG : newLeaf: vfs cache: setting modification time to 2025-08-03 01:58:30.162723011 +0000 UTC m=+22.769283905 2025/08/03 01:58:30 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/08/03 01:58:30 DEBUG : newLeaf(0xc000876d80): >close: err= 2025/08/03 01:58:30 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:58:30 DEBUG : dir: Looking for writers 2025/08/03 01:58:30 DEBUG : Looking for writers 2025/08/03 01:58:30 DEBUG : dir: reading active writers 2025/08/03 01:58:30 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/08/03 01:58:30 DEBUG : dir: Looking for writers 2025/08/03 01:58:30 DEBUG : Looking for writers 2025/08/03 01:58:30 DEBUG : dir: reading active writers 2025/08/03 01:58:30 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/08/03 01:58:30 DEBUG : dir: Looking for writers 2025/08/03 01:58:30 DEBUG : Looking for writers 2025/08/03 01:58:30 DEBUG : dir: reading active writers 2025/08/03 01:58:30 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/08/03 01:58:30 DEBUG : dir: Looking for writers 2025/08/03 01:58:30 DEBUG : Looking for writers 2025/08/03 01:58:30 DEBUG : dir: reading active writers 2025/08/03 01:58:30 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/08/03 01:58:30 DEBUG : newLeaf: vfs cache: starting upload 2025/08/03 01:58:30 DEBUG : dir: Looking for writers 2025/08/03 01:58:30 DEBUG : Looking for writers 2025/08/03 01:58:30 DEBUG : dir: reading active writers 2025/08/03 01:58:30 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/08/03 01:58:30 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/08/03 01:58:30 DEBUG : dir: Looking for writers 2025/08/03 01:58:30 DEBUG : Looking for writers 2025/08/03 01:58:30 DEBUG : dir: reading active writers 2025/08/03 01:58:30 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/08/03 01:58:31 DEBUG : dir: Looking for writers 2025/08/03 01:58:31 DEBUG : Looking for writers 2025/08/03 01:58:31 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:31 DEBUG : dir: reading active writers 2025/08/03 01:58:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/08/03 01:58:31 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/08/03 01:58:31 INFO : newLeaf: Copied (replaced existing) 2025/08/03 01:58:31 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-08-03 01:58:30 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/08/03 01:58:31 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/08/03 01:58:31 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/08/03 01:58:31 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/08/03 01:58:31 DEBUG : dir: Looking for writers 2025/08/03 01:58:31 DEBUG : Looking for writers 2025/08/03 01:58:31 DEBUG : dir: reading active writers 2025/08/03 01:58:31 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:31 DEBUG : >WaitForWriters: 2025/08/03 01:58:32 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:58:32 DEBUG : dir: Looking for writers 2025/08/03 01:58:32 DEBUG : Looking for writers 2025/08/03 01:58:32 DEBUG : dir: reading active writers 2025/08/03 01:58:32 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:32 DEBUG : >WaitForWriters: 2025/08/03 01:58:32 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:58:33 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:58:33 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/08/03 01:58:33 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:58:33 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:58:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:58:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:58:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:58:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:58:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:58:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:58:33 INFO : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/08/03 01:58:34 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2025/08/03 01:58:36 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:58:36 DEBUG : dir: Looking for writers 2025/08/03 01:58:36 DEBUG : file1: reading active writers 2025/08/03 01:58:36 DEBUG : Looking for writers 2025/08/03 01:58:36 DEBUG : dir: reading active writers 2025/08/03 01:58:36 DEBUG : >WaitForWriters: 2025/08/03 01:58:36 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/03 01:58:36 DEBUG : dir/file1: newRWFileHandle: 2025/08/03 01:58:36 DEBUG : dir/file1: >newRWFileHandle: err= 2025/08/03 01:58:36 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/08/03 01:58:36 DEBUG : dir/file1(0xc0008766c0): _readAt: size=512, off=0 2025/08/03 01:58:36 DEBUG : dir/file1(0xc0008766c0): openPending: 2025/08/03 01:58:36 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/08/03 01:58:36 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/08/03 01:58:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:58:36 DEBUG : dir/file1(0xc0008766c0): >openPending: err= 2025/08/03 01:58:36 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2025/08/03 01:58:36 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/03 01:58:36 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/03 01:58:36 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:58:36 DEBUG : dir/file1(0xc0008766c0): >_readAt: n=14, err=EOF 2025/08/03 01:58:36 DEBUG : dir/file1(0xc0008766c0): close: 2025/08/03 01:58:36 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/08/03 01:58:36 DEBUG : dir/file1(0xc0008766c0): >close: err= 2025/08/03 01:58:37 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/08/03 01:58:37 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/08/03 01:58:37 DEBUG : newLeaf: Updating file with newLeaf 0xc0001ab080 2025/08/03 01:58:37 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/08/03 01:58:37 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/08/03 01:58:38 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/08/03 01:58:38 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/08/03 01:58:38 DEBUG : dir/file1: Updating file with dir/file1 0xc0001ab080 2025/08/03 01:58:38 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/08/03 01:58:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:58:38 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/08/03 01:58:38 DEBUG : dir/file1: newRWFileHandle: 2025/08/03 01:58:38 DEBUG : dir/file1(0xc000a81100): openPending: 2025/08/03 01:58:38 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/08/03 01:58:38 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/08/03 01:58:38 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/08/03 01:58:38 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/08/03 01:58:38 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/08/03 01:58:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:58:38 DEBUG : dir/file1(0xc000a81100): >openPending: err= 2025/08/03 01:58:38 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/08/03 01:58:38 DEBUG : dir/file1: >newRWFileHandle: err= 2025/08/03 01:58:38 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/08/03 01:58:38 DEBUG : dir/file1(0xc000a81100): _writeAt: size=25, off=0 2025/08/03 01:58:38 DEBUG : dir/file1(0xc000a81100): >_writeAt: n=25, err= 2025/08/03 01:58:38 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/08/03 01:58:38 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/08/03 01:58:38 DEBUG : newLeaf: Updating file with newLeaf 0xc0001ab080 2025/08/03 01:58:38 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/08/03 01:58:38 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/08/03 01:58:38 DEBUG : newLeaf(0xc000a81100): close: 2025/08/03 01:58:38 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/08/03 01:58:38 DEBUG : newLeaf: vfs cache: setting modification time to 2025-08-03 01:58:38.447817223 +0000 UTC m=+31.054378116 2025/08/03 01:58:38 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/08/03 01:58:38 DEBUG : newLeaf(0xc000a81100): >close: err= 2025/08/03 01:58:38 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:58:38 DEBUG : dir: Looking for writers 2025/08/03 01:58:38 DEBUG : Looking for writers 2025/08/03 01:58:38 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:38 DEBUG : dir: reading active writers 2025/08/03 01:58:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/08/03 01:58:38 DEBUG : dir: Looking for writers 2025/08/03 01:58:38 DEBUG : Looking for writers 2025/08/03 01:58:38 DEBUG : dir: reading active writers 2025/08/03 01:58:38 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/08/03 01:58:38 DEBUG : dir: Looking for writers 2025/08/03 01:58:38 DEBUG : Looking for writers 2025/08/03 01:58:38 DEBUG : dir: reading active writers 2025/08/03 01:58:38 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/08/03 01:58:39 DEBUG : dir: Looking for writers 2025/08/03 01:58:39 DEBUG : Looking for writers 2025/08/03 01:58:39 DEBUG : dir: reading active writers 2025/08/03 01:58:39 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/08/03 01:58:39 DEBUG : newLeaf: vfs cache: starting upload 2025/08/03 01:58:39 DEBUG : dir: Looking for writers 2025/08/03 01:58:39 DEBUG : Looking for writers 2025/08/03 01:58:39 DEBUG : dir: reading active writers 2025/08/03 01:58:39 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/08/03 01:58:39 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2025/08/03 01:58:39 DEBUG : dir: Looking for writers 2025/08/03 01:58:39 DEBUG : Looking for writers 2025/08/03 01:58:39 DEBUG : dir: reading active writers 2025/08/03 01:58:39 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/08/03 01:58:39 DEBUG : dir: Looking for writers 2025/08/03 01:58:39 DEBUG : Looking for writers 2025/08/03 01:58:39 DEBUG : dir: reading active writers 2025/08/03 01:58:39 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/08/03 01:58:40 DEBUG : newLeaf: md5 = c7247bead226dfd7bd970c17229f4044 OK 2025/08/03 01:58:40 INFO : newLeaf: Copied (replaced existing) 2025/08/03 01:58:40 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-08-03 01:58:38 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2025/08/03 01:58:40 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/08/03 01:58:40 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/08/03 01:58:40 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/08/03 01:58:40 DEBUG : dir: Looking for writers 2025/08/03 01:58:40 DEBUG : Looking for writers 2025/08/03 01:58:40 DEBUG : dir: reading active writers 2025/08/03 01:58:40 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:40 DEBUG : >WaitForWriters: 2025/08/03 01:58:40 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:58:40 DEBUG : dir: Looking for writers 2025/08/03 01:58:40 DEBUG : Looking for writers 2025/08/03 01:58:40 DEBUG : newLeaf: reading active writers 2025/08/03 01:58:40 DEBUG : dir: reading active writers 2025/08/03 01:58:40 DEBUG : >WaitForWriters: 2025/08/03 01:58:40 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaner exiting 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: TestFileRename (24.82s) --- PASS: TestFileRename/writes,forceCache=true (9.04s) --- PASS: TestFileRename/full,forceCache=false (15.78s) === RUN TestReadFileHandleMethods run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:58:49 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:58:49 NOTICE: OpenDrive root 'rclone-test-sanomir1mifo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/03 01:58:50 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/08/03 01:58:51 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/08/03 01:58:51 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/03 01:58:51 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/08/03 01:58:51 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/08/03 01:58:51 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:58:51 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/08/03 01:58:51 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2025/08/03 01:58:51 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:58:51 DEBUG : dir: Looking for writers 2025/08/03 01:58:51 DEBUG : file1: reading active writers 2025/08/03 01:58:51 DEBUG : Looking for writers 2025/08/03 01:58:51 DEBUG : dir: reading active writers 2025/08/03 01:58:51 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (3.97s) === RUN TestReadFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:58:53 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:58:53 NOTICE: OpenDrive root 'rclone-test-sanomir1mifo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/03 01:58:54 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/08/03 01:58:55 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/08/03 01:58:55 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/03 01:58:55 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/08/03 01:58:55 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/08/03 01:58:55 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:58:55 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/08/03 01:58:55 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/08/03 01:58:55 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/08/03 01:58:55 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/08/03 01:58:55 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/08/03 01:58:55 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/08/03 01:58:55 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/08/03 01:58:55 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/08/03 01:58:56 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/08/03 01:58:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/08/03 01:58:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/08/03 01:58:56 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/08/03 01:58:56 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/08/03 01:58:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/08/03 01:58:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/08/03 01:58:56 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/08/03 01:58:57 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:58:57 DEBUG : dir: Looking for writers 2025/08/03 01:58:57 DEBUG : file1: reading active writers 2025/08/03 01:58:57 DEBUG : Looking for writers 2025/08/03 01:58:57 DEBUG : dir: reading active writers 2025/08/03 01:58:57 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (5.49s) === RUN TestReadFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:58:58 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:58:58 NOTICE: OpenDrive root 'rclone-test-sanomir1mifo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/03 01:58:59 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/08/03 01:59:00 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/08/03 01:59:01 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/03 01:59:01 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/08/03 01:59:01 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/08/03 01:59:01 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:59:01 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/08/03 01:59:01 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/08/03 01:59:01 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/08/03 01:59:01 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/08/03 01:59:01 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/08/03 01:59:01 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/08/03 01:59:01 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/08/03 01:59:01 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/08/03 01:59:01 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/08/03 01:59:01 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/08/03 01:59:01 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/08/03 01:59:01 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/08/03 01:59:02 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/08/03 01:59:02 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/08/03 01:59:02 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/08/03 01:59:02 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/08/03 01:59:02 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/08/03 01:59:02 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/08/03 01:59:02 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/08/03 01:59:02 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/08/03 01:59:02 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/08/03 01:59:02 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/08/03 01:59:02 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/08/03 01:59:03 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/08/03 01:59:03 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/08/03 01:59:03 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/08/03 01:59:03 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/08/03 01:59:03 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/08/03 01:59:03 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/08/03 01:59:03 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/08/03 01:59:03 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/08/03 01:59:03 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:59:03 DEBUG : dir: Looking for writers 2025/08/03 01:59:03 DEBUG : file1: reading active writers 2025/08/03 01:59:03 DEBUG : Looking for writers 2025/08/03 01:59:03 DEBUG : dir: reading active writers 2025/08/03 01:59:03 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (5.90s) === RUN TestReadFileHandleFlush run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:59:04 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:59:04 NOTICE: OpenDrive root 'rclone-test-sanomir1mifo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/03 01:59:05 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/08/03 01:59:06 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/08/03 01:59:07 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/03 01:59:07 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/08/03 01:59:07 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/08/03 01:59:07 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:59:07 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/08/03 01:59:07 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:59:07 DEBUG : dir: Looking for writers 2025/08/03 01:59:07 DEBUG : file1: reading active writers 2025/08/03 01:59:07 DEBUG : Looking for writers 2025/08/03 01:59:07 DEBUG : dir: reading active writers 2025/08/03 01:59:07 DEBUG : >WaitForWriters: 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: TestReadFileHandleFlush (11.61s) === RUN TestReadFileHandleRelease run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:59:16 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:59:16 NOTICE: OpenDrive root 'rclone-test-sanomir1mifo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/08/03 01:59:17 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/08/03 01:59:18 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/08/03 01:59:18 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/03 01:59:18 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/08/03 01:59:18 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/08/03 01:59:18 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:59:18 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/08/03 01:59:18 DEBUG : dir/file1: ReadFileHandle.Release closing 2025/08/03 01:59:18 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2025/08/03 01:59:18 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:59:18 DEBUG : dir: Looking for writers 2025/08/03 01:59:18 DEBUG : file1: reading active writers 2025/08/03 01:59:18 DEBUG : Looking for writers 2025/08/03 01:59:18 DEBUG : dir: reading active writers 2025/08/03 01:59:18 DEBUG : >WaitForWriters: run.go:125: removing dir "dir" failed - try 1/3: folder not empty --- PASS: TestReadFileHandleRelease (5.20s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:59:21 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:59:21 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/08/03 01:59:21 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:21 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:59:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:59:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:21 INFO : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/08/03 01:59:22 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/08/03 01:59:23 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/08/03 01:59:23 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/03 01:59:23 DEBUG : dir/file1: newRWFileHandle: 2025/08/03 01:59:23 DEBUG : dir/file1: >newRWFileHandle: err= 2025/08/03 01:59:23 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/08/03 01:59:23 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/08/03 01:59:23 DEBUG : dir/file1(0xc000a806c0): _readAt: size=1, off=0 2025/08/03 01:59:23 DEBUG : dir/file1(0xc000a806c0): openPending: 2025/08/03 01:59:23 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/08/03 01:59:23 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/08/03 01:59:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:59:23 DEBUG : dir/file1(0xc000a806c0): >openPending: err= 2025/08/03 01:59:23 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/08/03 01:59:23 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/03 01:59:23 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/03 01:59:23 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:59:24 DEBUG : dir/file1(0xc000a806c0): >_readAt: n=1, err= 2025/08/03 01:59:24 DEBUG : dir/file1(0xc000a806c0): _readAt: size=256, off=1 2025/08/03 01:59:24 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/08/03 01:59:24 DEBUG : dir/file1(0xc000a806c0): >_readAt: n=15, err=EOF 2025/08/03 01:59:24 DEBUG : dir/file1(0xc000a806c0): _readAt: size=16, off=16 2025/08/03 01:59:24 DEBUG : dir/file1(0xc000a806c0): >_readAt: n=0, err=EOF 2025/08/03 01:59:24 DEBUG : dir/file1(0xc000a806c0): close: 2025/08/03 01:59:24 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/08/03 01:59:24 DEBUG : dir/file1(0xc000a806c0): >close: err= 2025/08/03 01:59:24 DEBUG : dir/file1(0xc000a806c0): close: 2025/08/03 01:59:24 DEBUG : dir/file1(0xc000a806c0): >close: err=file already closed 2025/08/03 01:59:24 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:59:24 DEBUG : dir: Looking for writers 2025/08/03 01:59:24 DEBUG : file1: reading active writers 2025/08/03 01:59:24 DEBUG : Looking for writers 2025/08/03 01:59:24 DEBUG : dir: reading active writers 2025/08/03 01:59:24 DEBUG : >WaitForWriters: 2025/08/03 01:59:24 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (4.02s) === RUN TestRWFileHandleSeek run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:59:25 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:59:25 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/08/03 01:59:25 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:25 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:59:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:59:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:25 INFO : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/08/03 01:59:26 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 fstest.go:124: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:124 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:129 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:148 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:192 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:347 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:40 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:53 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:118 Error: Should be true Test: TestRWFileHandleSeek Messages: dir/file1: Modification time difference too big |-214725h54m19.500000001s| > 1s (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2025-08-03 01:59:26 +0000 UTC) (precision 1s) 2025/08/03 01:59:27 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/08/03 01:59:28 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/03 01:59:28 DEBUG : dir/file1: newRWFileHandle: 2025/08/03 01:59:28 DEBUG : dir/file1: >newRWFileHandle: err= 2025/08/03 01:59:28 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/08/03 01:59:28 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): _readAt: size=1, off=0 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): openPending: 2025/08/03 01:59:28 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/08/03 01:59:28 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/08/03 01:59:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): >openPending: err= 2025/08/03 01:59:28 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/08/03 01:59:28 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/03 01:59:28 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/03 01:59:28 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): >_readAt: n=1, err= 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): _readAt: size=1, off=5 2025/08/03 01:59:28 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): >_readAt: n=1, err= 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): _readAt: size=1, off=3 2025/08/03 01:59:28 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): >_readAt: n=1, err= 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): _readAt: size=1, off=13 2025/08/03 01:59:28 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): >_readAt: n=1, err= 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): _readAt: size=16, off=100 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): >_readAt: n=0, err=EOF 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): close: 2025/08/03 01:59:28 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/08/03 01:59:28 DEBUG : dir/file1(0xc000a81740): >close: err= 2025/08/03 01:59:28 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:59:28 DEBUG : dir: Looking for writers 2025/08/03 01:59:28 DEBUG : file1: reading active writers 2025/08/03 01:59:28 DEBUG : Looking for writers 2025/08/03 01:59:28 DEBUG : dir: reading active writers 2025/08/03 01:59:28 DEBUG : >WaitForWriters: 2025/08/03 01:59:28 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (4.17s) === RUN TestRWFileHandleReadAt run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:59:29 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:59:29 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/08/03 01:59:29 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:29 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:59:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:59:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:29 INFO : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/08/03 01:59:30 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/08/03 01:59:31 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/08/03 01:59:32 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/03 01:59:32 DEBUG : dir/file1: newRWFileHandle: 2025/08/03 01:59:32 DEBUG : dir/file1: >newRWFileHandle: err= 2025/08/03 01:59:32 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/08/03 01:59:32 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): _readAt: size=1, off=0 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): openPending: 2025/08/03 01:59:32 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/08/03 01:59:32 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/08/03 01:59:32 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): >openPending: err= 2025/08/03 01:59:32 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/08/03 01:59:32 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/03 01:59:32 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/03 01:59:32 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): >_readAt: n=1, err= 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): _readAt: size=1, off=5 2025/08/03 01:59:32 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): >_readAt: n=1, err= 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): _readAt: size=1, off=1 2025/08/03 01:59:32 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): >_readAt: n=1, err= 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): _readAt: size=6, off=10 2025/08/03 01:59:32 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): >_readAt: n=6, err= 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): _readAt: size=256, off=10 2025/08/03 01:59:32 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): >_readAt: n=6, err=EOF 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): _readAt: size=256, off=100 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): >_readAt: n=0, err=EOF 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): close: 2025/08/03 01:59:32 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): >close: err= 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): _readAt: size=256, off=100 2025/08/03 01:59:32 DEBUG : dir/file1(0xc0009bc5c0): >_readAt: n=0, err=file already closed 2025/08/03 01:59:32 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:59:32 DEBUG : dir: Looking for writers 2025/08/03 01:59:32 DEBUG : file1: reading active writers 2025/08/03 01:59:32 DEBUG : Looking for writers 2025/08/03 01:59:32 DEBUG : dir: reading active writers 2025/08/03 01:59:32 DEBUG : >WaitForWriters: 2025/08/03 01:59:32 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (4.02s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:59:33 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:59:33 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/08/03 01:59:33 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:33 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:59:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:59:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:33 INFO : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/08/03 01:59:34 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/08/03 01:59:35 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/08/03 01:59:36 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/03 01:59:36 DEBUG : dir/file1: newRWFileHandle: 2025/08/03 01:59:36 DEBUG : dir/file1: >newRWFileHandle: err= 2025/08/03 01:59:36 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/08/03 01:59:36 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/08/03 01:59:36 DEBUG : dir/file1(0xc0009bd7c0): RWFileHandle.Flush 2025/08/03 01:59:36 DEBUG : dir/file1(0xc0009bd7c0): _readAt: size=256, off=0 2025/08/03 01:59:36 DEBUG : dir/file1(0xc0009bd7c0): openPending: 2025/08/03 01:59:36 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/08/03 01:59:36 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/08/03 01:59:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:59:36 DEBUG : dir/file1(0xc0009bd7c0): >openPending: err= 2025/08/03 01:59:36 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/08/03 01:59:36 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/03 01:59:36 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/03 01:59:36 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:59:36 DEBUG : dir/file1(0xc0009bd7c0): >_readAt: n=16, err=EOF 2025/08/03 01:59:36 DEBUG : dir/file1(0xc0009bd7c0): RWFileHandle.Flush 2025/08/03 01:59:36 DEBUG : dir/file1(0xc0009bd7c0): RWFileHandle.Flush 2025/08/03 01:59:36 DEBUG : dir/file1(0xc0009bd7c0): close: 2025/08/03 01:59:36 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/08/03 01:59:36 DEBUG : dir/file1(0xc0009bd7c0): >close: err= 2025/08/03 01:59:36 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:59:36 DEBUG : dir: Looking for writers 2025/08/03 01:59:36 DEBUG : file1: reading active writers 2025/08/03 01:59:36 DEBUG : Looking for writers 2025/08/03 01:59:36 DEBUG : dir: reading active writers 2025/08/03 01:59:36 DEBUG : >WaitForWriters: 2025/08/03 01:59:36 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (4.01s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:59:37 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:59:37 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/08/03 01:59:37 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:37 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:59:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:59:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:37 INFO : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/08/03 01:59:38 DEBUG : dir/file1: Uploading chunk 0, size=16, remain=0 2025/08/03 01:59:39 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/08/03 01:59:40 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/08/03 01:59:40 DEBUG : dir/file1: newRWFileHandle: 2025/08/03 01:59:40 DEBUG : dir/file1: >newRWFileHandle: err= 2025/08/03 01:59:40 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/08/03 01:59:40 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/08/03 01:59:40 DEBUG : dir/file1(0xc000a80840): _readAt: size=256, off=0 2025/08/03 01:59:40 DEBUG : dir/file1(0xc000a80840): openPending: 2025/08/03 01:59:40 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/08/03 01:59:40 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/08/03 01:59:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/08/03 01:59:40 DEBUG : dir/file1(0xc000a80840): >openPending: err= 2025/08/03 01:59:40 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2025/08/03 01:59:40 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/03 01:59:40 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/03 01:59:40 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:59:40 DEBUG : dir/file1(0xc000a80840): >_readAt: n=16, err=EOF 2025/08/03 01:59:40 DEBUG : dir/file1(0xc000a80840): RWFileHandle.Release 2025/08/03 01:59:40 DEBUG : dir/file1(0xc000a80840): close: 2025/08/03 01:59:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/08/03 01:59:40 DEBUG : dir/file1(0xc000a80840): >close: err= 2025/08/03 01:59:40 DEBUG : dir/file1(0xc000a80840): RWFileHandle.Release 2025/08/03 01:59:40 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:59:40 DEBUG : dir: Looking for writers 2025/08/03 01:59:40 DEBUG : file1: reading active writers 2025/08/03 01:59:40 DEBUG : Looking for writers 2025/08/03 01:59:40 DEBUG : dir: reading active writers 2025/08/03 01:59:40 DEBUG : >WaitForWriters: 2025/08/03 01:59:40 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (4.05s) === RUN TestRWCacheUpdate run.go:180: Remote "OpenDrive root 'rclone-test-sanomir1mifo'", Local "Local file system at /tmp/rclone1454308469", Modify Window "1s" 2025/08/03 01:59:41 INFO : OpenDrive root 'rclone-test-sanomir1mifo': poll-interval is not supported by this remote 2025/08/03 01:59:41 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/08/03 01:59:41 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:41 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:59:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/08/03 01:59:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOpenDrive/rclone-test-sanomir1mifo" 2025/08/03 01:59:41 INFO : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/08/03 01:59:41 DEBUG : forgetting directory cache 2025/08/03 01:59:42 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate(0xc0002d07c0): _readAt: size=512, off=0 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate(0xc0002d07c0): openPending: 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-08-03 01:00:41 +0000 UTC,8558f20bbf1a5777c862752b37ad49be" against cached fingerprint "" 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/08/03 01:59:43 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate(0xc0002d07c0): >openPending: err= 2025/08/03 01:59:43 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate(0xc0002d07c0): >_readAt: n=20, err=EOF 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate(0xc0002d07c0): close: 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-08-03 01:00:41 +0000 UTC 2025/08/03 01:59:43 DEBUG : TestRWCacheUpdate(0xc0002d07c0): >close: err= 2025/08/03 01:59:43 DEBUG : Re-reading directory (169.944013ms old) 2025/08/03 01:59:44 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/03 01:59:44 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/08/03 01:59:44 DEBUG : forgetting directory cache 2025/08/03 01:59:44 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 fstest.go:140: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:140 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:146 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:192 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:347 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:744 Error: Should be true Test: TestRWCacheUpdate Messages: OpenDrive root 'rclone-test-sanomir1mifo'/TestRWCacheUpdate: md5 hash incorrect - expecting "944a242d910e2bbacae0d0db8c64490a" got "8558f20bbf1a5777c862752b37ad49be" fstest.go:124: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:124 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:129 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:148 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:192 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:335 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:347 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:744 Error: Should be true Test: TestRWCacheUpdate Messages: TestRWCacheUpdate: Modification time difference too big |1m0.500847337s| > 1s (want 2025-08-03 01:01:41.500847337 +0000 UTC m=-3385.892591780 vs got 2025-08-03 01:00:41 +0000 UTC) (precision 1s) 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate(0xc0002d15c0): _readAt: size=512, off=0 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate(0xc0002d15c0): openPending: 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-08-03 01:01:41 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" against cached fingerprint "20,2025-08-03 01:00:41 +0000 UTC,8558f20bbf1a5777c862752b37ad49be" 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2025-08-03 01:01:41 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" != cached fingerprint "20,2025-08-03 01:00:41 +0000 UTC,8558f20bbf1a5777c862752b37ad49be") 2025/08/03 01:59:45 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2025/08/03 01:59:45 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate(0xc0002d15c0): >openPending: err= 2025/08/03 01:59:45 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/08/03 01:59:45 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2025/08/03 01:59:46 DEBUG : TestRWCacheUpdate(0xc0002d15c0): >_readAt: n=20, err=EOF 2025/08/03 01:59:46 DEBUG : TestRWCacheUpdate(0xc0002d15c0): close: 2025/08/03 01:59:46 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-08-03 01:01:41 +0000 UTC 2025/08/03 01:59:46 DEBUG : TestRWCacheUpdate(0xc0002d15c0): >close: err= 2025/08/03 01:59:46 DEBUG : Re-reading directory (163.039973ms old) 2025/08/03 01:59:46 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/03 01:59:46 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2025/08/03 01:59:46 DEBUG : forgetting directory cache 2025/08/03 01:59:46 DEBUG : TestRWCacheUpdate: Uploading chunk 0, size=20, remain=0 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate(0xc000a80840): _readAt: size=512, off=0 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate(0xc000a80840): openPending: 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2025-08-03 01:01:41 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" against cached fingerprint "20,2025-08-03 01:01:41 +0000 UTC,944a242d910e2bbacae0d0db8c64490a" 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 (not needed as size correct) 2025/08/03 01:59:48 DEBUG : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate(0xc000a80840): >openPending: err= 2025/08/03 01:59:48 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate(0xc000a80840): >_readAt: n=20, err=EOF 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate(0xc000a80840): close: 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2025-08-03 01:01:41 +0000 UTC 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate(0xc000a80840): >close: err= read_write_test.go:752: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:752 Error: Not equal: expected: "TestRWCacheUpdate002" actual : "TestRWCacheUpdate001" Diff: --- Expected +++ Actual @@ -1 +1 @@ -TestRWCacheUpdate002 +TestRWCacheUpdate001 Test: TestRWCacheUpdate 2025/08/03 01:59:48 DEBUG : WaitForWriters: timeout=30s 2025/08/03 01:59:48 DEBUG : Looking for writers 2025/08/03 01:59:48 DEBUG : TestRWCacheUpdate: reading active writers 2025/08/03 01:59:48 DEBUG : >WaitForWriters: 2025/08/03 01:59:48 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': vfs cache: cleaner exiting 2025/08/03 01:59:48 DEBUG : forgetting directory cache 2025/08/03 01:59:48 DEBUG : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 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 --- FAIL: TestRWCacheUpdate (14.69s) FAIL 2025/08/03 01:59:56 DEBUG : OpenDrive root 'rclone-test-sanomir1mifo': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^(TestDirCreate|TestDirMkdir|TestDirRemoveName|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek)$|^TestFileRename$/^(full,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 1m49.282601007s (try 3/5): exit status 1: Failed [TestDirCreate TestDirMkdir TestDirRemoveName TestRWFileHandleSeek TestRWCacheUpdate]