"./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestDirOpen|TestRWFileHandleReadAt|TestReadFileHandleReadAt)$|^TestFileSetModTime$/^cache=full,open=true,write=false$'" - Starting (try 2/5) 2025/01/18 02:54:06 DEBUG : Creating backend with remote "TestHiDrive:rclone-test-poludav4pawo" 2025/01/18 02:54:06 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/18 02:54:06 DEBUG : Creating backend with remote "/tmp/rclone569441258" === RUN TestDirOpen run.go:180: Remote "HiDrive root 'rclone-test-poludav4pawo'", Local "Local file system at /tmp/rclone569441258", Modify Window "1s" 2025/01/18 02:54:06 INFO : HiDrive root 'rclone-test-poludav4pawo': poll-interval is not supported by this remote 2025/01/18 02:54:07 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:07 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name file1 2025/01/18 02:54:07 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:07 ERROR : dir/: Can only open directories read only 2025/01/18 02:54:07 DEBUG : WaitForWriters: timeout=30s 2025/01/18 02:54:07 DEBUG : dir: Looking for writers 2025/01/18 02:54:07 DEBUG : : Looking for writers 2025/01/18 02:54:07 DEBUG : dir: reading active writers 2025/01/18 02:54:07 DEBUG : >WaitForWriters: 2025/01/18 02:54:07 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:07 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name file1 --- PASS: TestDirOpen (0.73s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "HiDrive root 'rclone-test-poludav4pawo'", Local "Local file system at /tmp/rclone569441258", Modify Window "1s" 2025/01/18 02:54:07 INFO : HiDrive root 'rclone-test-poludav4pawo': poll-interval is not supported by this remote 2025/01/18 02:54:07 DEBUG : HiDrive root 'rclone-test-poludav4pawo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/01/18 02:54:07 DEBUG : HiDrive root 'rclone-test-poludav4pawo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-poludav4pawo" 2025/01/18 02:54:07 DEBUG : HiDrive root 'rclone-test-poludav4pawo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-poludav4pawo" 2025/01/18 02:54:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-poludav4pawo" 2025/01/18 02:54:07 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/18 02:54:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-poludav4pawo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-poludav4pawo" 2025/01/18 02:54:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-poludav4pawo" 2025/01/18 02:54:07 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/18 02:54:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-poludav4pawo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-poludav4pawo" 2025/01/18 02:54:07 INFO : HiDrive root 'rclone-test-poludav4pawo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/01/18 02:54:07 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:07 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name file1 2025/01/18 02:54:08 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:08 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name file1 2025/01/18 02:54:08 DEBUG : Can set mod time: true 2025/01/18 02:54:08 DEBUG : dir/file1: Open: flags=O_WRONLY 2025/01/18 02:54:08 DEBUG : dir/file1: newRWFileHandle: 2025/01/18 02:54:08 DEBUG : dir/file1: >newRWFileHandle: err= 2025/01/18 02:54:08 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/01/18 02:54:08 DEBUG : dir/file1(0xc0007fc000): close: 2025/01/18 02:54:08 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2025/01/18 02:54:08 DEBUG : dir/file1(0xc0007fc000): >close: err= 2025/01/18 02:54:08 DEBUG : WaitForWriters: timeout=30s 2025/01/18 02:54:08 DEBUG : dir: Looking for writers 2025/01/18 02:54:08 DEBUG : file1: reading active writers 2025/01/18 02:54:08 DEBUG : : Looking for writers 2025/01/18 02:54:08 DEBUG : dir: reading active writers 2025/01/18 02:54:08 DEBUG : >WaitForWriters: 2025/01/18 02:54:08 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:08 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name file1 2025/01/18 02:54:08 DEBUG : WaitForWriters: timeout=30s 2025/01/18 02:54:08 DEBUG : dir: Looking for writers 2025/01/18 02:54:08 DEBUG : file1: reading active writers 2025/01/18 02:54:08 DEBUG : : Looking for writers 2025/01/18 02:54:08 DEBUG : dir: reading active writers 2025/01/18 02:54:08 DEBUG : >WaitForWriters: 2025/01/18 02:54:08 DEBUG : HiDrive root 'rclone-test-poludav4pawo': vfs cache: cleaner exiting 2025/01/18 02:54:08 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:08 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name file1 --- PASS: TestFileSetModTime (0.91s) --- PASS: TestFileSetModTime/cache=full,open=true,write=false (0.91s) === RUN TestReadFileHandleReadAt run.go:180: Remote "HiDrive root 'rclone-test-poludav4pawo'", Local "Local file system at /tmp/rclone569441258", Modify Window "1s" 2025/01/18 02:54:08 INFO : HiDrive root 'rclone-test-poludav4pawo': poll-interval is not supported by this remote 2025/01/18 02:54:08 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:08 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name file1 2025/01/18 02:54:08 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/01/18 02:54:08 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:09 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name file1 2025/01/18 02:54:09 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/01/18 02:54:09 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/01/18 02:54:09 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/01/18 02:54:09 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/01/18 02:54:09 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/01/18 02:54:09 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/01/18 02:54:09 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/01/18 02:54:09 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2025/01/18 02:54:09 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2025/01/18 02:54:09 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2025/01/18 02:54:09 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2025/01/18 02:54:09 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/01/18 02:54:09 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2025/01/18 02:54:09 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2025/01/18 02:54:09 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/01/18 02:54:09 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/01/18 02:54:09 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/01/18 02:54:09 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2025/01/18 02:54:09 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2025/01/18 02:54:09 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2025/01/18 02:54:09 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2025/01/18 02:54:09 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2025/01/18 02:54:09 DEBUG : WaitForWriters: timeout=30s 2025/01/18 02:54:09 DEBUG : dir: Looking for writers 2025/01/18 02:54:09 DEBUG : file1: reading active writers 2025/01/18 02:54:09 DEBUG : : Looking for writers 2025/01/18 02:54:09 DEBUG : dir: reading active writers 2025/01/18 02:54:09 DEBUG : >WaitForWriters: 2025/01/18 02:54:09 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:09 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name file1 --- PASS: TestReadFileHandleReadAt (1.06s) === RUN TestRWFileHandleReadAt run.go:180: Remote "HiDrive root 'rclone-test-poludav4pawo'", Local "Local file system at /tmp/rclone569441258", Modify Window "1s" 2025/01/18 02:54:09 INFO : HiDrive root 'rclone-test-poludav4pawo': poll-interval is not supported by this remote 2025/01/18 02:54:09 DEBUG : HiDrive root 'rclone-test-poludav4pawo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/01/18 02:54:09 DEBUG : HiDrive root 'rclone-test-poludav4pawo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-poludav4pawo" 2025/01/18 02:54:09 DEBUG : HiDrive root 'rclone-test-poludav4pawo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-poludav4pawo" 2025/01/18 02:54:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-poludav4pawo" 2025/01/18 02:54:09 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/18 02:54:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-poludav4pawo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-poludav4pawo" 2025/01/18 02:54:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-poludav4pawo" 2025/01/18 02:54:09 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/18 02:54:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-poludav4pawo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-poludav4pawo" 2025/01/18 02:54:09 INFO : HiDrive root 'rclone-test-poludav4pawo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/01/18 02:54:09 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:09 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name file1 2025/01/18 02:54:09 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/01/18 02:54:09 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:10 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name file1 2025/01/18 02:54:10 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/01/18 02:54:10 DEBUG : dir/file1: newRWFileHandle: 2025/01/18 02:54:10 DEBUG : dir/file1: >newRWFileHandle: err= 2025/01/18 02:54:10 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/01/18 02:54:10 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): _readAt: size=1, off=0 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): openPending: 2025/01/18 02:54:10 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,141e0c73643da72b75cfff6ef650d74d15bd9119" against cached fingerprint "" 2025/01/18 02:54:10 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/01/18 02:54:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): >openPending: err= 2025/01/18 02:54:10 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/01/18 02:54:10 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/01/18 02:54:10 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/01/18 02:54:10 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): >_readAt: n=1, err= 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): _readAt: size=1, off=5 2025/01/18 02:54:10 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): >_readAt: n=1, err= 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): _readAt: size=1, off=1 2025/01/18 02:54:10 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): >_readAt: n=1, err= 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): _readAt: size=6, off=10 2025/01/18 02:54:10 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): >_readAt: n=6, err= 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): _readAt: size=256, off=10 2025/01/18 02:54:10 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): >_readAt: n=6, err=EOF 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): _readAt: size=256, off=100 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): >_readAt: n=0, err=EOF 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): close: 2025/01/18 02:54:10 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): >close: err= 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): _readAt: size=256, off=100 2025/01/18 02:54:10 DEBUG : dir/file1(0xc000900180): >_readAt: n=0, err=file already closed 2025/01/18 02:54:10 DEBUG : WaitForWriters: timeout=30s 2025/01/18 02:54:10 DEBUG : dir: Looking for writers 2025/01/18 02:54:10 DEBUG : file1: reading active writers 2025/01/18 02:54:10 DEBUG : : Looking for writers 2025/01/18 02:54:10 DEBUG : dir: reading active writers 2025/01/18 02:54:10 DEBUG : >WaitForWriters: 2025/01/18 02:54:10 DEBUG : HiDrive root 'rclone-test-poludav4pawo': vfs cache: cleaner exiting 2025/01/18 02:54:10 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name dir 2025/01/18 02:54:10 DEBUG : HiDrive root 'rclone-test-poludav4pawo': found directory-element with name file1 --- PASS: TestRWFileHandleReadAt (0.61s) PASS 2025/01/18 02:54:10 DEBUG : HiDrive root 'rclone-test-poludav4pawo': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestDirOpen|TestRWFileHandleReadAt|TestReadFileHandleReadAt)$|^TestFileSetModTime$/^cache=full,open=true,write=false$'" - Finished OK in 3.608926503s (try 2/5)