"./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestRWFileHandleSeek|TestReadFileHandleReadAt)$|^TestFileRename$/^(minimal,forceCache=false|minimal,forceCache=true)$'" - Starting (try 2/5) 2025/07/13 02:30:15 DEBUG : Creating backend with remote "TestHiDrive:rclone-test-lumateq2kiqi" 2025/07/13 02:30:15 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/07/13 02:30:15 DEBUG : Creating backend with remote "/tmp/rclone1506575263" === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "HiDrive root 'rclone-test-lumateq2kiqi'", Local "Local file system at /tmp/rclone1506575263", Modify Window "1s" 2025/07/13 02:30:15 INFO : HiDrive root 'rclone-test-lumateq2kiqi': poll-interval is not supported by this remote 2025/07/13 02:30:15 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/13 02:30:15 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:15 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/13 02:30:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-lumateq2kiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/13 02:30:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-lumateq2kiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:15 INFO : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/13 02:30:16 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:16 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 2025/07/13 02:30:16 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:16 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 2025/07/13 02:30:16 DEBUG : WaitForWriters: timeout=30s 2025/07/13 02:30:16 DEBUG : dir: Looking for writers 2025/07/13 02:30:16 DEBUG : file1: reading active writers 2025/07/13 02:30:16 DEBUG : Looking for writers 2025/07/13 02:30:16 DEBUG : dir: reading active writers 2025/07/13 02:30:16 DEBUG : >WaitForWriters: 2025/07/13 02:30:16 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:16 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 2025/07/13 02:30:16 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/07/13 02:30:16 DEBUG : newLeaf: Updating file with newLeaf 0xc0006fe6c0 2025/07/13 02:30:16 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/13 02:30:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/13 02:30:16 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:16 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name newLeaf 2025/07/13 02:30:16 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/07/13 02:30:16 DEBUG : dir/file1: Updating file with dir/file1 0xc0006fe6c0 2025/07/13 02:30:16 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/07/13 02:30:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/13 02:30:16 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:16 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 2025/07/13 02:30:16 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/07/13 02:30:16 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/07/13 02:30:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/13 02:30:16 DEBUG : dir/file1: File is currently open, delaying rename 0xc0006fe6c0 2025/07/13 02:30:16 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/13 02:30:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/13 02:30:16 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': File to upload is small (25 bytes), uploading instead of streaming 2025/07/13 02:30:16 DEBUG : dir/file1: hidrive = 7f49c652efc45c47736396dbbe65b7ebf1af01c0 OK 2025/07/13 02:30:16 DEBUG : dir/file1: Size and hidrive of src and dst objects identical 2025/07/13 02:30:16 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/13 02:30:16 DEBUG : newLeaf: Running delayed rename now 2025/07/13 02:30:17 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/07/13 02:30:17 DEBUG : newLeaf: Updating file with newLeaf 0xc0006fe6c0 2025/07/13 02:30:17 DEBUG : WaitForWriters: timeout=30s 2025/07/13 02:30:17 DEBUG : dir: Looking for writers 2025/07/13 02:30:17 DEBUG : Looking for writers 2025/07/13 02:30:17 DEBUG : dir: reading active writers 2025/07/13 02:30:17 DEBUG : newLeaf: reading active writers 2025/07/13 02:30:17 DEBUG : >WaitForWriters: 2025/07/13 02:30:17 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:17 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name newLeaf 2025/07/13 02:30:17 DEBUG : WaitForWriters: timeout=30s 2025/07/13 02:30:17 DEBUG : dir: Looking for writers 2025/07/13 02:30:17 DEBUG : Looking for writers 2025/07/13 02:30:17 DEBUG : dir: reading active writers 2025/07/13 02:30:17 DEBUG : newLeaf: reading active writers 2025/07/13 02:30:17 DEBUG : >WaitForWriters: 2025/07/13 02:30:17 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: cleaner exiting 2025/07/13 02:30:17 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:17 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name newLeaf === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "HiDrive root 'rclone-test-lumateq2kiqi'", Local "Local file system at /tmp/rclone1506575263", Modify Window "1s" 2025/07/13 02:30:17 INFO : HiDrive root 'rclone-test-lumateq2kiqi': poll-interval is not supported by this remote 2025/07/13 02:30:17 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/13 02:30:17 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:17 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/13 02:30:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-lumateq2kiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/13 02:30:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-lumateq2kiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:17 INFO : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/13 02:30:17 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:17 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 2025/07/13 02:30:17 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:17 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 2025/07/13 02:30:17 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/07/13 02:30:17 DEBUG : dir/file1: newRWFileHandle: 2025/07/13 02:30:17 DEBUG : dir/file1(0xc000136b40): openPending: 2025/07/13 02:30:17 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,aaeba82ca64452b89313b42f6621fe418e9847cc" against cached fingerprint "" 2025/07/13 02:30:17 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/07/13 02:30:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/13 02:30:17 DEBUG : dir/file1(0xc000136b40): >openPending: err= 2025/07/13 02:30:17 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/07/13 02:30:17 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/13 02:30:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/13 02:30:17 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/13 02:30:17 DEBUG : dir/file1(0xc000136b40): _writeAt: size=14, off=0 2025/07/13 02:30:17 DEBUG : dir/file1(0xc000136b40): >_writeAt: n=14, err= 2025/07/13 02:30:17 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/07/13 02:30:17 DEBUG : dir/file1(0xc000136b40): close: 2025/07/13 02:30:17 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/07/13 02:30:17 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/07/13 02:30:17 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/07/13 02:30:17 DEBUG : dir/file1(0xc000136b40): >close: err= 2025/07/13 02:30:17 DEBUG : WaitForWriters: timeout=30s 2025/07/13 02:30:17 DEBUG : dir: Looking for writers 2025/07/13 02:30:17 DEBUG : file1: reading active writers 2025/07/13 02:30:17 DEBUG : Looking for writers 2025/07/13 02:30:17 DEBUG : dir: reading active writers 2025/07/13 02:30:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/07/13 02:30:17 DEBUG : dir: Looking for writers 2025/07/13 02:30:17 DEBUG : file1: reading active writers 2025/07/13 02:30:17 DEBUG : Looking for writers 2025/07/13 02:30:17 DEBUG : dir: reading active writers 2025/07/13 02:30:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/07/13 02:30:17 DEBUG : dir: Looking for writers 2025/07/13 02:30:17 DEBUG : file1: reading active writers 2025/07/13 02:30:17 DEBUG : Looking for writers 2025/07/13 02:30:17 DEBUG : dir: reading active writers 2025/07/13 02:30:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/07/13 02:30:17 DEBUG : dir: Looking for writers 2025/07/13 02:30:17 DEBUG : file1: reading active writers 2025/07/13 02:30:17 DEBUG : Looking for writers 2025/07/13 02:30:17 DEBUG : dir: reading active writers 2025/07/13 02:30:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/07/13 02:30:17 DEBUG : dir/file1: vfs cache: starting upload 2025/07/13 02:30:17 DEBUG : dir: Looking for writers 2025/07/13 02:30:17 DEBUG : file1: reading active writers 2025/07/13 02:30:17 DEBUG : Looking for writers 2025/07/13 02:30:17 DEBUG : dir: reading active writers 2025/07/13 02:30:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/07/13 02:30:17 DEBUG : dir/file1: hidrive = aaeba82ca64452b89313b42f6621fe418e9847cc OK 2025/07/13 02:30:17 INFO : dir/file1: Copied (replaced existing) 2025/07/13 02:30:17 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/07/13 02:30:17 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/07/13 02:30:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/13 02:30:17 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/07/13 02:30:18 DEBUG : dir: Looking for writers 2025/07/13 02:30:18 DEBUG : file1: reading active writers 2025/07/13 02:30:18 DEBUG : Looking for writers 2025/07/13 02:30:18 DEBUG : dir: reading active writers 2025/07/13 02:30:18 DEBUG : >WaitForWriters: 2025/07/13 02:30:18 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/13 02:30:18 DEBUG : dir/file1: newRWFileHandle: 2025/07/13 02:30:18 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/13 02:30:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/13 02:30:18 DEBUG : dir/file1(0xc000410d40): _readAt: size=512, off=0 2025/07/13 02:30:18 DEBUG : dir/file1(0xc000410d40): openPending: 2025/07/13 02:30:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,aaeba82ca64452b89313b42f6621fe418e9847cc" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,aaeba82ca64452b89313b42f6621fe418e9847cc" 2025/07/13 02:30:18 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/07/13 02:30:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/13 02:30:18 DEBUG : dir/file1(0xc000410d40): >openPending: err= 2025/07/13 02:30:18 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/07/13 02:30:18 DEBUG : dir/file1(0xc000410d40): >_readAt: n=14, err=EOF 2025/07/13 02:30:18 DEBUG : dir/file1(0xc000410d40): close: 2025/07/13 02:30:18 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/13 02:30:18 DEBUG : dir/file1(0xc000410d40): >close: err= 2025/07/13 02:30:18 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:18 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 2025/07/13 02:30:18 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/07/13 02:30:18 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/07/13 02:30:18 DEBUG : newLeaf: Updating file with newLeaf 0xc00056a300 2025/07/13 02:30:18 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/13 02:30:18 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/13 02:30:18 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:18 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name newLeaf 2025/07/13 02:30:18 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/07/13 02:30:18 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/07/13 02:30:18 DEBUG : dir/file1: Updating file with dir/file1 0xc00056a300 2025/07/13 02:30:18 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/07/13 02:30:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/13 02:30:18 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:18 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 2025/07/13 02:30:18 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/07/13 02:30:18 DEBUG : dir/file1: newRWFileHandle: 2025/07/13 02:30:18 DEBUG : dir/file1(0xc000772bc0): openPending: 2025/07/13 02:30:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,aaeba82ca64452b89313b42f6621fe418e9847cc" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,aaeba82ca64452b89313b42f6621fe418e9847cc" 2025/07/13 02:30:18 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/07/13 02:30:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/13 02:30:18 DEBUG : dir/file1(0xc000772bc0): >openPending: err= 2025/07/13 02:30:18 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/07/13 02:30:18 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/13 02:30:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/13 02:30:18 DEBUG : dir/file1(0xc000772bc0): _writeAt: size=25, off=0 2025/07/13 02:30:18 DEBUG : dir/file1(0xc000772bc0): >_writeAt: n=25, err= 2025/07/13 02:30:18 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/07/13 02:30:18 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/07/13 02:30:18 DEBUG : newLeaf: Updating file with newLeaf 0xc00056a300 2025/07/13 02:30:18 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/07/13 02:30:18 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/13 02:30:18 DEBUG : newLeaf(0xc000772bc0): close: 2025/07/13 02:30:18 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/07/13 02:30:18 DEBUG : newLeaf: vfs cache: setting modification time to 2025-07-13 02:30:18.639178438 +0000 UTC m=+2.873185546 2025/07/13 02:30:18 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/07/13 02:30:18 DEBUG : newLeaf(0xc000772bc0): >close: err= 2025/07/13 02:30:18 DEBUG : WaitForWriters: timeout=30s 2025/07/13 02:30:18 DEBUG : dir: Looking for writers 2025/07/13 02:30:18 DEBUG : Looking for writers 2025/07/13 02:30:18 DEBUG : dir: reading active writers 2025/07/13 02:30:18 DEBUG : newLeaf: reading active writers 2025/07/13 02:30:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/07/13 02:30:18 DEBUG : dir: Looking for writers 2025/07/13 02:30:18 DEBUG : Looking for writers 2025/07/13 02:30:18 DEBUG : newLeaf: reading active writers 2025/07/13 02:30:18 DEBUG : dir: reading active writers 2025/07/13 02:30:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/07/13 02:30:18 DEBUG : dir: Looking for writers 2025/07/13 02:30:18 DEBUG : Looking for writers 2025/07/13 02:30:18 DEBUG : dir: reading active writers 2025/07/13 02:30:18 DEBUG : newLeaf: reading active writers 2025/07/13 02:30:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/07/13 02:30:18 DEBUG : dir: Looking for writers 2025/07/13 02:30:18 DEBUG : Looking for writers 2025/07/13 02:30:18 DEBUG : dir: reading active writers 2025/07/13 02:30:18 DEBUG : newLeaf: reading active writers 2025/07/13 02:30:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/07/13 02:30:18 DEBUG : newLeaf: vfs cache: starting upload 2025/07/13 02:30:18 DEBUG : dir: Looking for writers 2025/07/13 02:30:18 DEBUG : Looking for writers 2025/07/13 02:30:18 DEBUG : dir: reading active writers 2025/07/13 02:30:18 DEBUG : newLeaf: reading active writers 2025/07/13 02:30:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/07/13 02:30:18 DEBUG : newLeaf: hidrive = 7f49c652efc45c47736396dbbe65b7ebf1af01c0 OK 2025/07/13 02:30:18 INFO : newLeaf: Copied (replaced existing) 2025/07/13 02:30:18 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-07-13 02:30:18 +0000 UTC,7f49c652efc45c47736396dbbe65b7ebf1af01c0" 2025/07/13 02:30:18 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/07/13 02:30:18 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/07/13 02:30:18 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/07/13 02:30:19 DEBUG : dir: Looking for writers 2025/07/13 02:30:19 DEBUG : Looking for writers 2025/07/13 02:30:19 DEBUG : dir: reading active writers 2025/07/13 02:30:19 DEBUG : newLeaf: reading active writers 2025/07/13 02:30:19 DEBUG : >WaitForWriters: 2025/07/13 02:30:19 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:19 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name newLeaf 2025/07/13 02:30:19 DEBUG : WaitForWriters: timeout=30s 2025/07/13 02:30:19 DEBUG : dir: Looking for writers 2025/07/13 02:30:19 DEBUG : Looking for writers 2025/07/13 02:30:19 DEBUG : dir: reading active writers 2025/07/13 02:30:19 DEBUG : newLeaf: reading active writers 2025/07/13 02:30:19 DEBUG : >WaitForWriters: 2025/07/13 02:30:19 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: cleaner exiting 2025/07/13 02:30:19 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:19 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name newLeaf --- PASS: TestFileRename (3.36s) --- PASS: TestFileRename/minimal,forceCache=false (1.47s) --- PASS: TestFileRename/minimal,forceCache=true (1.89s) === RUN TestReadFileHandleReadAt run.go:180: Remote "HiDrive root 'rclone-test-lumateq2kiqi'", Local "Local file system at /tmp/rclone1506575263", Modify Window "1s" 2025/07/13 02:30:19 INFO : HiDrive root 'rclone-test-lumateq2kiqi': poll-interval is not supported by this remote 2025/07/13 02:30:19 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:19 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 2025/07/13 02:30:19 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/13 02:30:19 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:19 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 2025/07/13 02:30:19 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/13 02:30:19 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/07/13 02:30:19 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/07/13 02:30:19 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/13 02:30:19 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/07/13 02:30:19 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/07/13 02:30:19 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/07/13 02:30:19 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/07/13 02:30:19 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/07/13 02:30:19 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/07/13 02:30:19 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/07/13 02:30:19 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/07/13 02:30:19 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/07/13 02:30:19 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/07/13 02:30:19 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/07/13 02:30:19 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/07/13 02:30:20 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/07/13 02:30:20 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/07/13 02:30:20 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/07/13 02:30:20 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/07/13 02:30:20 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/07/13 02:30:20 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/07/13 02:30:20 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/07/13 02:30:20 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/07/13 02:30:20 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/07/13 02:30:20 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/07/13 02:30:20 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/07/13 02:30:20 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/07/13 02:30:20 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/07/13 02:30:20 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/07/13 02:30:20 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/07/13 02:30:20 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/07/13 02:30:20 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/07/13 02:30:20 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/07/13 02:30:20 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/07/13 02:30:20 DEBUG : WaitForWriters: timeout=30s 2025/07/13 02:30:20 DEBUG : dir: Looking for writers 2025/07/13 02:30:20 DEBUG : file1: reading active writers 2025/07/13 02:30:20 DEBUG : Looking for writers 2025/07/13 02:30:20 DEBUG : dir: reading active writers 2025/07/13 02:30:20 DEBUG : >WaitForWriters: 2025/07/13 02:30:20 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:20 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 --- PASS: TestReadFileHandleReadAt (1.10s) === RUN TestRWFileHandleSeek run.go:180: Remote "HiDrive root 'rclone-test-lumateq2kiqi'", Local "Local file system at /tmp/rclone1506575263", Modify Window "1s" 2025/07/13 02:30:20 INFO : HiDrive root 'rclone-test-lumateq2kiqi': poll-interval is not supported by this remote 2025/07/13 02:30:20 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/07/13 02:30:20 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:20 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/13 02:30:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-lumateq2kiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/07/13 02:30:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-lumateq2kiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-lumateq2kiqi" 2025/07/13 02:30:20 INFO : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/07/13 02:30:20 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:20 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 2025/07/13 02:30:20 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/07/13 02:30:20 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:20 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 2025/07/13 02:30:20 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/07/13 02:30:20 DEBUG : dir/file1: newRWFileHandle: 2025/07/13 02:30:20 DEBUG : dir/file1: >newRWFileHandle: err= 2025/07/13 02:30:20 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/07/13 02:30:20 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): _readAt: size=1, off=0 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): openPending: 2025/07/13 02:30:20 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,141e0c73643da72b75cfff6ef650d74d15bd9119" against cached fingerprint "" 2025/07/13 02:30:20 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/07/13 02:30:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): >openPending: err= 2025/07/13 02:30:20 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/07/13 02:30:20 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/07/13 02:30:20 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/07/13 02:30:20 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): >_readAt: n=1, err= 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): _readAt: size=1, off=5 2025/07/13 02:30:20 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): >_readAt: n=1, err= 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): _readAt: size=1, off=3 2025/07/13 02:30:20 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): >_readAt: n=1, err= 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): _readAt: size=1, off=13 2025/07/13 02:30:20 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): >_readAt: n=1, err= 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): _readAt: size=16, off=100 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): >_readAt: n=0, err=EOF 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): close: 2025/07/13 02:30:20 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/07/13 02:30:20 DEBUG : dir/file1(0xc000772580): >close: err= 2025/07/13 02:30:20 DEBUG : WaitForWriters: timeout=30s 2025/07/13 02:30:20 DEBUG : dir: Looking for writers 2025/07/13 02:30:20 DEBUG : file1: reading active writers 2025/07/13 02:30:20 DEBUG : Looking for writers 2025/07/13 02:30:20 DEBUG : dir: reading active writers 2025/07/13 02:30:20 DEBUG : >WaitForWriters: 2025/07/13 02:30:20 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': vfs cache: cleaner exiting 2025/07/13 02:30:20 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name dir 2025/07/13 02:30:20 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': found directory-element with name file1 --- PASS: TestRWFileHandleSeek (0.61s) PASS 2025/07/13 02:30:21 DEBUG : HiDrive root 'rclone-test-lumateq2kiqi': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestRWFileHandleSeek|TestReadFileHandleReadAt)$|^TestFileRename$/^(minimal,forceCache=false|minimal,forceCache=true)$'" - Finished OK in 5.372671656s (try 2/5)