"./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestDirForgetPath|TestDirOpen|TestRWFileHandleMethodsRead|TestReadFileHandleSeek)$|^TestFileRename$/^off,forceCache=false$'" - Starting (try 2/5) 2025/04/18 04:54:53 DEBUG : Creating backend with remote "TestHiDrive:rclone-test-jezeler0veyo" 2025/04/18 04:54:53 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/04/18 04:54:53 DEBUG : Creating backend with remote "/tmp/rclone331866561" === RUN TestDirForgetPath run.go:180: Remote "HiDrive root 'rclone-test-jezeler0veyo'", Local "Local file system at /tmp/rclone331866561", Modify Window "1s" 2025/04/18 04:54:53 INFO : HiDrive root 'rclone-test-jezeler0veyo': poll-interval is not supported by this remote 2025/04/18 04:54:54 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:54 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 2025/04/18 04:54:54 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:54 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 2025/04/18 04:54:54 DEBUG : : ForgetPath: relativePath="dir/notfound", type=1 2025/04/18 04:54:54 DEBUG : dir: invalidating directory cache 2025/04/18 04:54:54 DEBUG : : >ForgetPath: 2025/04/18 04:54:54 DEBUG : : ForgetPath: relativePath="dir", type=0 2025/04/18 04:54:54 DEBUG : : invalidating directory cache 2025/04/18 04:54:54 DEBUG : dir: forgetting directory cache 2025/04/18 04:54:54 DEBUG : : >ForgetPath: 2025/04/18 04:54:54 DEBUG : : ForgetPath: relativePath="not/in/cache", type=0 2025/04/18 04:54:54 DEBUG : : >ForgetPath: 2025/04/18 04:54:54 DEBUG : WaitForWriters: timeout=30s 2025/04/18 04:54:54 DEBUG : dir: Looking for writers 2025/04/18 04:54:54 DEBUG : : Looking for writers 2025/04/18 04:54:54 DEBUG : dir: reading active writers 2025/04/18 04:54:54 DEBUG : >WaitForWriters: 2025/04/18 04:54:54 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:54 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 --- PASS: TestDirForgetPath (0.64s) === RUN TestDirOpen run.go:180: Remote "HiDrive root 'rclone-test-jezeler0veyo'", Local "Local file system at /tmp/rclone331866561", Modify Window "1s" 2025/04/18 04:54:54 INFO : HiDrive root 'rclone-test-jezeler0veyo': poll-interval is not supported by this remote 2025/04/18 04:54:54 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:54 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 2025/04/18 04:54:54 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:54 ERROR : dir/: Can only open directories read only 2025/04/18 04:54:54 DEBUG : WaitForWriters: timeout=30s 2025/04/18 04:54:54 DEBUG : dir: Looking for writers 2025/04/18 04:54:54 DEBUG : : Looking for writers 2025/04/18 04:54:54 DEBUG : dir: reading active writers 2025/04/18 04:54:54 DEBUG : >WaitForWriters: 2025/04/18 04:54:54 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:54 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 --- PASS: TestDirOpen (0.52s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "HiDrive root 'rclone-test-jezeler0veyo'", Local "Local file system at /tmp/rclone331866561", Modify Window "1s" 2025/04/18 04:54:55 INFO : HiDrive root 'rclone-test-jezeler0veyo': poll-interval is not supported by this remote 2025/04/18 04:54:55 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:55 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 2025/04/18 04:54:55 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:55 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 2025/04/18 04:54:55 DEBUG : WaitForWriters: timeout=30s 2025/04/18 04:54:55 DEBUG : dir: Looking for writers 2025/04/18 04:54:55 DEBUG : file1: reading active writers 2025/04/18 04:54:55 DEBUG : : Looking for writers 2025/04/18 04:54:55 DEBUG : dir: reading active writers 2025/04/18 04:54:55 DEBUG : >WaitForWriters: 2025/04/18 04:54:55 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:55 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 2025/04/18 04:54:55 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/18 04:54:55 DEBUG : newLeaf: Updating file with newLeaf 0xc0008760c0 2025/04/18 04:54:55 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/18 04:54:55 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/18 04:54:55 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:55 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name newLeaf 2025/04/18 04:54:55 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/04/18 04:54:55 DEBUG : dir/file1: Updating file with dir/file1 0xc0008760c0 2025/04/18 04:54:55 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/04/18 04:54:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/18 04:54:55 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:55 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 2025/04/18 04:54:55 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/04/18 04:54:55 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/04/18 04:54:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/18 04:54:55 DEBUG : dir/file1: File is currently open, delaying rename 0xc0008760c0 2025/04/18 04:54:55 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/04/18 04:54:55 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/18 04:54:55 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': File to upload is small (25 bytes), uploading instead of streaming 2025/04/18 04:54:56 DEBUG : dir/file1: hidrive = 7f49c652efc45c47736396dbbe65b7ebf1af01c0 OK 2025/04/18 04:54:56 DEBUG : dir/file1: Size and hidrive of src and dst objects identical 2025/04/18 04:54:56 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/04/18 04:54:56 DEBUG : newLeaf: Running delayed rename now 2025/04/18 04:54:56 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/04/18 04:54:56 DEBUG : newLeaf: Updating file with newLeaf 0xc0008760c0 2025/04/18 04:54:56 DEBUG : WaitForWriters: timeout=30s 2025/04/18 04:54:56 DEBUG : dir: Looking for writers 2025/04/18 04:54:56 DEBUG : : Looking for writers 2025/04/18 04:54:56 DEBUG : newLeaf: reading active writers 2025/04/18 04:54:56 DEBUG : dir: reading active writers 2025/04/18 04:54:56 DEBUG : >WaitForWriters: 2025/04/18 04:54:56 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:56 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name newLeaf 2025/04/18 04:54:56 DEBUG : WaitForWriters: timeout=30s 2025/04/18 04:54:56 DEBUG : dir: Looking for writers 2025/04/18 04:54:56 DEBUG : : Looking for writers 2025/04/18 04:54:56 DEBUG : newLeaf: reading active writers 2025/04/18 04:54:56 DEBUG : dir: reading active writers 2025/04/18 04:54:56 DEBUG : >WaitForWriters: 2025/04/18 04:54:56 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:56 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name newLeaf --- PASS: TestFileRename (1.41s) --- PASS: TestFileRename/off,forceCache=false (1.41s) === RUN TestReadFileHandleSeek run.go:180: Remote "HiDrive root 'rclone-test-jezeler0veyo'", Local "Local file system at /tmp/rclone331866561", Modify Window "1s" 2025/04/18 04:54:56 INFO : HiDrive root 'rclone-test-jezeler0veyo': poll-interval is not supported by this remote 2025/04/18 04:54:56 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:56 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 2025/04/18 04:54:56 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/18 04:54:56 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:56 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 2025/04/18 04:54:56 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/18 04:54:56 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/04/18 04:54:56 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/04/18 04:54:56 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/18 04:54:56 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/04/18 04:54:56 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/04/18 04:54:57 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/04/18 04:54:57 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/04/18 04:54:57 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/04/18 04:54:57 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/04/18 04:54:57 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/04/18 04:54:57 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/04/18 04:54:57 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/04/18 04:54:57 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/04/18 04:54:57 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/04/18 04:54:57 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/04/18 04:54:57 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/04/18 04:54:57 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/04/18 04:54:57 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/04/18 04:54:57 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/04/18 04:54:57 DEBUG : WaitForWriters: timeout=30s 2025/04/18 04:54:57 DEBUG : dir: Looking for writers 2025/04/18 04:54:57 DEBUG : file1: reading active writers 2025/04/18 04:54:57 DEBUG : : Looking for writers 2025/04/18 04:54:57 DEBUG : dir: reading active writers 2025/04/18 04:54:57 DEBUG : >WaitForWriters: 2025/04/18 04:54:57 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:57 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 --- PASS: TestReadFileHandleSeek (1.01s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "HiDrive root 'rclone-test-jezeler0veyo'", Local "Local file system at /tmp/rclone331866561", Modify Window "1s" 2025/04/18 04:54:57 INFO : HiDrive root 'rclone-test-jezeler0veyo': poll-interval is not supported by this remote 2025/04/18 04:54:57 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/04/18 04:54:57 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-jezeler0veyo" 2025/04/18 04:54:57 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-jezeler0veyo" 2025/04/18 04:54:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-jezeler0veyo" 2025/04/18 04:54:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/18 04:54:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-jezeler0veyo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-jezeler0veyo" 2025/04/18 04:54:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-jezeler0veyo" 2025/04/18 04:54:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/04/18 04:54:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-jezeler0veyo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-jezeler0veyo" 2025/04/18 04:54:57 INFO : HiDrive root 'rclone-test-jezeler0veyo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/04/18 04:54:57 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:57 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 2025/04/18 04:54:57 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/04/18 04:54:57 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:57 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 2025/04/18 04:54:57 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/04/18 04:54:57 DEBUG : dir/file1: newRWFileHandle: 2025/04/18 04:54:57 DEBUG : dir/file1: >newRWFileHandle: err= 2025/04/18 04:54:57 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/04/18 04:54:57 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/04/18 04:54:57 DEBUG : dir/file1(0xc0002c2c40): _readAt: size=1, off=0 2025/04/18 04:54:57 DEBUG : dir/file1(0xc0002c2c40): openPending: 2025/04/18 04:54:57 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,141e0c73643da72b75cfff6ef650d74d15bd9119" against cached fingerprint "" 2025/04/18 04:54:57 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/04/18 04:54:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/04/18 04:54:57 DEBUG : dir/file1(0xc0002c2c40): >openPending: err= 2025/04/18 04:54:57 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/04/18 04:54:57 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/04/18 04:54:57 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/04/18 04:54:57 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/04/18 04:54:57 DEBUG : dir/file1(0xc0002c2c40): >_readAt: n=1, err= 2025/04/18 04:54:57 DEBUG : dir/file1(0xc0002c2c40): _readAt: size=256, off=1 2025/04/18 04:54:57 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2025/04/18 04:54:57 DEBUG : dir/file1(0xc0002c2c40): >_readAt: n=15, err=EOF 2025/04/18 04:54:57 DEBUG : dir/file1(0xc0002c2c40): _readAt: size=16, off=16 2025/04/18 04:54:57 DEBUG : dir/file1(0xc0002c2c40): >_readAt: n=0, err=EOF 2025/04/18 04:54:57 DEBUG : dir/file1(0xc0002c2c40): close: 2025/04/18 04:54:57 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/04/18 04:54:57 DEBUG : dir/file1(0xc0002c2c40): >close: err= 2025/04/18 04:54:57 DEBUG : dir/file1(0xc0002c2c40): close: 2025/04/18 04:54:57 DEBUG : dir/file1(0xc0002c2c40): >close: err=file already closed 2025/04/18 04:54:57 DEBUG : WaitForWriters: timeout=30s 2025/04/18 04:54:57 DEBUG : dir: Looking for writers 2025/04/18 04:54:57 DEBUG : file1: reading active writers 2025/04/18 04:54:57 DEBUG : : Looking for writers 2025/04/18 04:54:57 DEBUG : dir: reading active writers 2025/04/18 04:54:57 DEBUG : >WaitForWriters: 2025/04/18 04:54:57 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': vfs cache: cleaner exiting 2025/04/18 04:54:57 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name dir 2025/04/18 04:54:58 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': found directory-element with name file1 --- PASS: TestRWFileHandleMethodsRead (0.56s) PASS 2025/04/18 04:54:58 DEBUG : HiDrive root 'rclone-test-jezeler0veyo': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestDirForgetPath|TestDirOpen|TestRWFileHandleMethodsRead|TestReadFileHandleSeek)$|^TestFileRename$/^off,forceCache=false$'" - Finished OK in 4.497205201s (try 2/5)