"./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestDirHandleReaddir|TestFileOpen|TestRWFileHandleReadAt|TestReadFileHandleSeek)$|^TestFileRename$/^off,forceCache=false$'" - Starting (try 2/5) 2025/01/20 01:58:43 DEBUG : Creating backend with remote "TestHiDrive:rclone-test-bepotes6niwu" 2025/01/20 01:58:43 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/20 01:58:43 DEBUG : Creating backend with remote "/tmp/rclone4229457767" === RUN TestDirHandleReaddir run.go:180: Remote "HiDrive root 'rclone-test-bepotes6niwu'", Local "Local file system at /tmp/rclone4229457767", Modify Window "1s" 2025/01/20 01:58:43 INFO : HiDrive root 'rclone-test-bepotes6niwu': poll-interval is not supported by this remote 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file2 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name subdir 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file3 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file2 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name subdir 2025/01/20 01:58:44 DEBUG : WaitForWriters: timeout=30s 2025/01/20 01:58:44 DEBUG : dir/subdir: Looking for writers 2025/01/20 01:58:44 DEBUG : dir: Looking for writers 2025/01/20 01:58:44 DEBUG : subdir: reading active writers 2025/01/20 01:58:44 DEBUG : file1: reading active writers 2025/01/20 01:58:44 DEBUG : file2: reading active writers 2025/01/20 01:58:44 DEBUG : : Looking for writers 2025/01/20 01:58:44 DEBUG : dir: reading active writers 2025/01/20 01:58:44 DEBUG : >WaitForWriters: 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file2 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name subdir 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file3 --- PASS: TestDirHandleReaddir (1.27s) === RUN TestFileOpen run.go:180: Remote "HiDrive root 'rclone-test-bepotes6niwu'", Local "Local file system at /tmp/rclone4229457767", Modify Window "1s" 2025/01/20 01:58:44 INFO : HiDrive root 'rclone-test-bepotes6niwu': poll-interval is not supported by this remote 2025/01/20 01:58:44 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:45 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/01/20 01:58:45 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/01/20 01:58:45 DEBUG : dir/file1: Open: flags=O_WRONLY 2025/01/20 01:58:45 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/01/20 01:58:45 DEBUG : dir/file1: Open: flags=O_RDWR 2025/01/20 01:58:45 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/01/20 01:58:45 DEBUG : dir/file1: Open: flags=0x3 2025/01/20 01:58:45 DEBUG : dir/file1: Can't figure out how to open with flags: 0x3 2025/01/20 01:58:45 DEBUG : dir/file1: >Open: fd=, err=permission denied 2025/01/20 01:58:45 DEBUG : WaitForWriters: timeout=30s 2025/01/20 01:58:45 DEBUG : dir: Looking for writers 2025/01/20 01:58:45 DEBUG : file1: reading active writers 2025/01/20 01:58:45 DEBUG : : Looking for writers 2025/01/20 01:58:45 DEBUG : dir: reading active writers 2025/01/20 01:58:45 DEBUG : >WaitForWriters: 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 --- PASS: TestFileOpen (0.67s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "HiDrive root 'rclone-test-bepotes6niwu'", Local "Local file system at /tmp/rclone4229457767", Modify Window "1s" 2025/01/20 01:58:45 INFO : HiDrive root 'rclone-test-bepotes6niwu': poll-interval is not supported by this remote 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:45 DEBUG : WaitForWriters: timeout=30s 2025/01/20 01:58:45 DEBUG : dir: Looking for writers 2025/01/20 01:58:45 DEBUG : file1: reading active writers 2025/01/20 01:58:45 DEBUG : : Looking for writers 2025/01/20 01:58:45 DEBUG : dir: reading active writers 2025/01/20 01:58:45 DEBUG : >WaitForWriters: 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:45 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/01/20 01:58:45 DEBUG : newLeaf: Updating file with newLeaf 0xc000000fc0 2025/01/20 01:58:45 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/01/20 01:58:45 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:45 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name newLeaf 2025/01/20 01:58:46 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/01/20 01:58:46 DEBUG : dir/file1: Updating file with dir/file1 0xc000000fc0 2025/01/20 01:58:46 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/01/20 01:58:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/20 01:58:46 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:46 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:46 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/01/20 01:58:46 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/01/20 01:58:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/20 01:58:46 DEBUG : dir/file1: File is currently open, delaying rename 0xc000000fc0 2025/01/20 01:58:46 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/01/20 01:58:46 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/01/20 01:58:46 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': File to upload is small (25 bytes), uploading instead of streaming 2025/01/20 01:58:46 DEBUG : dir/file1: hidrive = 7f49c652efc45c47736396dbbe65b7ebf1af01c0 OK 2025/01/20 01:58:46 DEBUG : dir/file1: Size and hidrive of src and dst objects identical 2025/01/20 01:58:46 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/01/20 01:58:46 DEBUG : newLeaf: Running delayed rename now 2025/01/20 01:58:46 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/01/20 01:58:46 DEBUG : newLeaf: Updating file with newLeaf 0xc000000fc0 2025/01/20 01:58:46 DEBUG : WaitForWriters: timeout=30s 2025/01/20 01:58:46 DEBUG : dir: Looking for writers 2025/01/20 01:58:46 DEBUG : : Looking for writers 2025/01/20 01:58:46 DEBUG : dir: reading active writers 2025/01/20 01:58:46 DEBUG : newLeaf: reading active writers 2025/01/20 01:58:46 DEBUG : >WaitForWriters: 2025/01/20 01:58:46 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:46 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name newLeaf 2025/01/20 01:58:46 DEBUG : WaitForWriters: timeout=30s 2025/01/20 01:58:46 DEBUG : dir: Looking for writers 2025/01/20 01:58:46 DEBUG : : Looking for writers 2025/01/20 01:58:46 DEBUG : dir: reading active writers 2025/01/20 01:58:46 DEBUG : newLeaf: reading active writers 2025/01/20 01:58:46 DEBUG : >WaitForWriters: 2025/01/20 01:58:46 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:46 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name newLeaf --- PASS: TestFileRename (1.37s) --- PASS: TestFileRename/off,forceCache=false (1.37s) === RUN TestReadFileHandleSeek run.go:180: Remote "HiDrive root 'rclone-test-bepotes6niwu'", Local "Local file system at /tmp/rclone4229457767", Modify Window "1s" 2025/01/20 01:58:46 INFO : HiDrive root 'rclone-test-bepotes6niwu': poll-interval is not supported by this remote 2025/01/20 01:58:46 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:46 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:46 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/01/20 01:58:46 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:47 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:47 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/01/20 01:58:47 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/01/20 01:58:47 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/01/20 01:58:47 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/01/20 01:58:47 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/01/20 01:58:47 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/01/20 01:58:47 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/01/20 01:58:47 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/01/20 01:58:47 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/01/20 01:58:47 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/01/20 01:58:47 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/01/20 01:58:47 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/01/20 01:58:47 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/01/20 01:58:47 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/01/20 01:58:47 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/01/20 01:58:47 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/01/20 01:58:47 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/01/20 01:58:47 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/01/20 01:58:47 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/01/20 01:58:47 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/01/20 01:58:47 DEBUG : WaitForWriters: timeout=30s 2025/01/20 01:58:47 DEBUG : dir: Looking for writers 2025/01/20 01:58:47 DEBUG : file1: reading active writers 2025/01/20 01:58:47 DEBUG : : Looking for writers 2025/01/20 01:58:47 DEBUG : dir: reading active writers 2025/01/20 01:58:47 DEBUG : >WaitForWriters: 2025/01/20 01:58:47 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:47 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 --- PASS: TestReadFileHandleSeek (1.00s) === RUN TestRWFileHandleReadAt run.go:180: Remote "HiDrive root 'rclone-test-bepotes6niwu'", Local "Local file system at /tmp/rclone4229457767", Modify Window "1s" 2025/01/20 01:58:47 INFO : HiDrive root 'rclone-test-bepotes6niwu': poll-interval is not supported by this remote 2025/01/20 01:58:47 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/01/20 01:58:47 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-bepotes6niwu" 2025/01/20 01:58:47 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-bepotes6niwu" 2025/01/20 01:58:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-bepotes6niwu" 2025/01/20 01:58:47 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/20 01:58:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-bepotes6niwu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-bepotes6niwu" 2025/01/20 01:58:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-bepotes6niwu" 2025/01/20 01:58:47 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/20 01:58:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-bepotes6niwu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-bepotes6niwu" 2025/01/20 01:58:47 INFO : HiDrive root 'rclone-test-bepotes6niwu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/01/20 01:58:47 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:47 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:47 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/01/20 01:58:47 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:48 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 2025/01/20 01:58:48 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/01/20 01:58:48 DEBUG : dir/file1: newRWFileHandle: 2025/01/20 01:58:48 DEBUG : dir/file1: >newRWFileHandle: err= 2025/01/20 01:58:48 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/01/20 01:58:48 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): _readAt: size=1, off=0 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): openPending: 2025/01/20 01:58:48 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,141e0c73643da72b75cfff6ef650d74d15bd9119" against cached fingerprint "" 2025/01/20 01:58:48 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/01/20 01:58:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): >openPending: err= 2025/01/20 01:58:48 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/01/20 01:58:48 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/01/20 01:58:48 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/01/20 01:58:48 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): >_readAt: n=1, err= 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): _readAt: size=1, off=5 2025/01/20 01:58:48 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): >_readAt: n=1, err= 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): _readAt: size=1, off=1 2025/01/20 01:58:48 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): >_readAt: n=1, err= 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): _readAt: size=6, off=10 2025/01/20 01:58:48 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): >_readAt: n=6, err= 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): _readAt: size=256, off=10 2025/01/20 01:58:48 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): >_readAt: n=6, err=EOF 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): _readAt: size=256, off=100 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): >_readAt: n=0, err=EOF 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): close: 2025/01/20 01:58:48 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): >close: err= 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): _readAt: size=256, off=100 2025/01/20 01:58:48 DEBUG : dir/file1(0xc000470700): >_readAt: n=0, err=file already closed 2025/01/20 01:58:48 DEBUG : WaitForWriters: timeout=30s 2025/01/20 01:58:48 DEBUG : dir: Looking for writers 2025/01/20 01:58:48 DEBUG : file1: reading active writers 2025/01/20 01:58:48 DEBUG : : Looking for writers 2025/01/20 01:58:48 DEBUG : dir: reading active writers 2025/01/20 01:58:48 DEBUG : >WaitForWriters: 2025/01/20 01:58:48 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': vfs cache: cleaner exiting 2025/01/20 01:58:48 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name dir 2025/01/20 01:58:48 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': found directory-element with name file1 --- PASS: TestRWFileHandleReadAt (0.60s) PASS 2025/01/20 01:58:48 DEBUG : HiDrive root 'rclone-test-bepotes6niwu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestDirHandleReaddir|TestFileOpen|TestRWFileHandleReadAt|TestReadFileHandleSeek)$|^TestFileRename$/^off,forceCache=false$'" - Finished OK in 5.217354676s (try 2/5)