"./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestDirWalk|TestRWFileHandleReleaseRead|TestReadFileHandleRelease)$|^TestFileRename$/^off,forceCache=false$'" - Starting (try 2/5) 2024/05/06 02:20:52 DEBUG : Creating backend with remote "TestHiDrive:rclone-test-duxilid1tuqolem5getobuf2" 2024/05/06 02:20:52 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/05/06 02:20:52 DEBUG : Creating backend with remote "/tmp/rclone990428608" === RUN TestDirWalk run.go:180: Remote "HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2'", Local "Local file system at /tmp/rclone990428608", Modify Window "1s" 2024/05/06 02:20:52 INFO : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': poll-interval is not supported by this remote 2024/05/06 02:20:52 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:52 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 2024/05/06 02:20:52 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name fil 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name a 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name b 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name c 2024/05/06 02:20:53 DEBUG : : forgetting directory cache 2024/05/06 02:20:53 DEBUG : dir: forgetting directory cache 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name fil 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name a 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name b 2024/05/06 02:20:53 DEBUG : WaitForWriters: timeout=30s 2024/05/06 02:20:53 DEBUG : dir: Looking for writers 2024/05/06 02:20:53 DEBUG : fil/a/b: Looking for writers 2024/05/06 02:20:53 DEBUG : fil/a: Looking for writers 2024/05/06 02:20:53 DEBUG : b: reading active writers 2024/05/06 02:20:53 DEBUG : fil: Looking for writers 2024/05/06 02:20:53 DEBUG : a: reading active writers 2024/05/06 02:20:53 DEBUG : : Looking for writers 2024/05/06 02:20:53 DEBUG : dir: reading active writers 2024/05/06 02:20:53 DEBUG : fil: reading active writers 2024/05/06 02:20:53 DEBUG : >WaitForWriters: 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name fil 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name a 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name b 2024/05/06 02:20:53 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name c --- PASS: TestDirWalk (1.67s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2'", Local "Local file system at /tmp/rclone990428608", Modify Window "1s" 2024/05/06 02:20:53 INFO : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': poll-interval is not supported by this remote 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 2024/05/06 02:20:54 DEBUG : WaitForWriters: timeout=30s 2024/05/06 02:20:54 DEBUG : dir: Looking for writers 2024/05/06 02:20:54 DEBUG : file1: reading active writers 2024/05/06 02:20:54 DEBUG : : Looking for writers 2024/05/06 02:20:54 DEBUG : dir: reading active writers 2024/05/06 02:20:54 DEBUG : >WaitForWriters: 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 2024/05/06 02:20:54 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/05/06 02:20:54 DEBUG : newLeaf: Updating file with newLeaf 0xc0002d20c0 2024/05/06 02:20:54 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/05/06 02:20:54 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name newLeaf 2024/05/06 02:20:54 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/05/06 02:20:54 DEBUG : dir/file1: Updating file with dir/file1 0xc0002d20c0 2024/05/06 02:20:54 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/05/06 02:20:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 2024/05/06 02:20:54 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/05/06 02:20:54 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/05/06 02:20:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/05/06 02:20:54 DEBUG : dir/file1: File is currently open, delaying rename 0xc0002d20c0 2024/05/06 02:20:54 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/05/06 02:20:54 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': File to upload is small (25 bytes), uploading instead of streaming 2024/05/06 02:20:54 DEBUG : dir/file1: hidrive = 7f49c652efc45c47736396dbbe65b7ebf1af01c0 OK 2024/05/06 02:20:54 INFO : dir/file1: Copied (new) 2024/05/06 02:20:54 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/05/06 02:20:54 DEBUG : newLeaf: Running delayed rename now 2024/05/06 02:20:54 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/05/06 02:20:54 DEBUG : newLeaf: Updating file with newLeaf 0xc0002d20c0 2024/05/06 02:20:54 DEBUG : WaitForWriters: timeout=30s 2024/05/06 02:20:54 DEBUG : dir: Looking for writers 2024/05/06 02:20:54 DEBUG : : Looking for writers 2024/05/06 02:20:54 DEBUG : newLeaf: reading active writers 2024/05/06 02:20:54 DEBUG : dir: reading active writers 2024/05/06 02:20:54 DEBUG : >WaitForWriters: 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name newLeaf 2024/05/06 02:20:54 DEBUG : WaitForWriters: timeout=30s 2024/05/06 02:20:54 DEBUG : dir: Looking for writers 2024/05/06 02:20:54 DEBUG : : Looking for writers 2024/05/06 02:20:54 DEBUG : dir: reading active writers 2024/05/06 02:20:54 DEBUG : newLeaf: reading active writers 2024/05/06 02:20:54 DEBUG : >WaitForWriters: 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:54 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name newLeaf --- PASS: TestFileRename (1.34s) --- PASS: TestFileRename/off,forceCache=false (1.34s) === RUN TestReadFileHandleRelease run.go:180: Remote "HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2'", Local "Local file system at /tmp/rclone990428608", Modify Window "1s" 2024/05/06 02:20:55 INFO : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': poll-interval is not supported by this remote 2024/05/06 02:20:55 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:55 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 2024/05/06 02:20:55 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/05/06 02:20:55 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:55 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 2024/05/06 02:20:55 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/05/06 02:20:55 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/05/06 02:20:55 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/05/06 02:20:55 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/05/06 02:20:55 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2024/05/06 02:20:55 DEBUG : dir/file1: ReadFileHandle.Release closing 2024/05/06 02:20:55 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2024/05/06 02:20:55 DEBUG : WaitForWriters: timeout=30s 2024/05/06 02:20:55 DEBUG : dir: Looking for writers 2024/05/06 02:20:55 DEBUG : file1: reading active writers 2024/05/06 02:20:55 DEBUG : : Looking for writers 2024/05/06 02:20:55 DEBUG : dir: reading active writers 2024/05/06 02:20:55 DEBUG : >WaitForWriters: 2024/05/06 02:20:55 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:55 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 --- PASS: TestReadFileHandleRelease (0.63s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2'", Local "Local file system at /tmp/rclone990428608", Modify Window "1s" 2024/05/06 02:20:55 INFO : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': poll-interval is not supported by this remote 2024/05/06 02:20:55 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/05/06 02:20:55 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-duxilid1tuqolem5getobuf2" 2024/05/06 02:20:55 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-duxilid1tuqolem5getobuf2" 2024/05/06 02:20:55 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-duxilid1tuqolem5getobuf2" 2024/05/06 02:20:55 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-duxilid1tuqolem5getobuf2" 2024/05/06 02:20:55 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/05/06 02:20:56 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:56 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 2024/05/06 02:20:56 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/05/06 02:20:56 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:56 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 2024/05/06 02:20:56 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/05/06 02:20:56 DEBUG : dir/file1: newRWFileHandle: 2024/05/06 02:20:56 DEBUG : dir/file1: >newRWFileHandle: err= 2024/05/06 02:20:56 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/05/06 02:20:56 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/05/06 02:20:56 DEBUG : dir/file1(0xc000a541c0): _readAt: size=256, off=0 2024/05/06 02:20:56 DEBUG : dir/file1(0xc000a541c0): openPending: 2024/05/06 02:20:56 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,141e0c73643da72b75cfff6ef650d74d15bd9119" against cached fingerprint "" 2024/05/06 02:20:56 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/05/06 02:20:56 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/05/06 02:20:56 DEBUG : dir/file1(0xc000a541c0): >openPending: err= 2024/05/06 02:20:56 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2024/05/06 02:20:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/05/06 02:20:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/05/06 02:20:56 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/05/06 02:20:56 DEBUG : dir/file1(0xc000a541c0): >_readAt: n=16, err=EOF 2024/05/06 02:20:56 DEBUG : dir/file1(0xc000a541c0): RWFileHandle.Release 2024/05/06 02:20:56 DEBUG : dir/file1(0xc000a541c0): close: 2024/05/06 02:20:56 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/05/06 02:20:56 DEBUG : dir/file1(0xc000a541c0): >close: err= 2024/05/06 02:20:56 DEBUG : dir/file1(0xc000a541c0): RWFileHandle.Release 2024/05/06 02:20:56 DEBUG : WaitForWriters: timeout=30s 2024/05/06 02:20:56 DEBUG : dir: Looking for writers 2024/05/06 02:20:56 DEBUG : file1: reading active writers 2024/05/06 02:20:56 DEBUG : : Looking for writers 2024/05/06 02:20:56 DEBUG : dir: reading active writers 2024/05/06 02:20:56 DEBUG : >WaitForWriters: 2024/05/06 02:20:56 DEBUG : vfs cache: cleaner exiting 2024/05/06 02:20:56 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name dir 2024/05/06 02:20:56 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': found directory-element with name file1 --- PASS: TestRWFileHandleReleaseRead (0.59s) PASS 2024/05/06 02:20:56 DEBUG : HiDrive root 'rclone-test-duxilid1tuqolem5getobuf2': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestDirWalk|TestRWFileHandleReleaseRead|TestReadFileHandleRelease)$|^TestFileRename$/^off,forceCache=false$'" - Finished OK in 4.491696754s (try 2/5)