"./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestDirOpen|TestRWFileHandleSizeCreateExisting|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSOpenFile)$'" - Starting (try 2/5) 2025/03/13 06:28:42 DEBUG : Creating backend with remote "TestHiDrive:rclone-test-nuzupoq8laqi" 2025/03/13 06:28:42 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/13 06:28:42 DEBUG : Creating backend with remote "/tmp/rclone1196388606" === RUN TestDirOpen run.go:180: Remote "HiDrive root 'rclone-test-nuzupoq8laqi'", Local "Local file system at /tmp/rclone1196388606", Modify Window "1s" 2025/03/13 06:28:42 INFO : HiDrive root 'rclone-test-nuzupoq8laqi': poll-interval is not supported by this remote 2025/03/13 06:28:42 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:42 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 2025/03/13 06:28:43 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:43 ERROR : dir/: Can only open directories read only 2025/03/13 06:28:43 DEBUG : WaitForWriters: timeout=30s 2025/03/13 06:28:43 DEBUG : dir: Looking for writers 2025/03/13 06:28:43 DEBUG : : Looking for writers 2025/03/13 06:28:43 DEBUG : dir: reading active writers 2025/03/13 06:28:43 DEBUG : >WaitForWriters: 2025/03/13 06:28:43 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:43 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 --- PASS: TestDirOpen (0.68s) === RUN TestReadFileHandleSeek run.go:180: Remote "HiDrive root 'rclone-test-nuzupoq8laqi'", Local "Local file system at /tmp/rclone1196388606", Modify Window "1s" 2025/03/13 06:28:43 INFO : HiDrive root 'rclone-test-nuzupoq8laqi': poll-interval is not supported by this remote 2025/03/13 06:28:43 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:43 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 2025/03/13 06:28:43 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/03/13 06:28:43 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:43 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 2025/03/13 06:28:43 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/03/13 06:28:43 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/03/13 06:28:43 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/03/13 06:28:43 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/03/13 06:28:43 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2025/03/13 06:28:43 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2025/03/13 06:28:43 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2025/03/13 06:28:43 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2025/03/13 06:28:43 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2025/03/13 06:28:43 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2025/03/13 06:28:43 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2025/03/13 06:28:43 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/03/13 06:28:43 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2025/03/13 06:28:43 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2025/03/13 06:28:43 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2025/03/13 06:28:43 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2025/03/13 06:28:43 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2025/03/13 06:28:43 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2025/03/13 06:28:43 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2025/03/13 06:28:43 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2025/03/13 06:28:44 DEBUG : WaitForWriters: timeout=30s 2025/03/13 06:28:44 DEBUG : dir: Looking for writers 2025/03/13 06:28:44 DEBUG : file1: reading active writers 2025/03/13 06:28:44 DEBUG : : Looking for writers 2025/03/13 06:28:44 DEBUG : dir: reading active writers 2025/03/13 06:28:44 DEBUG : >WaitForWriters: 2025/03/13 06:28:44 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:44 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 --- PASS: TestReadFileHandleSeek (1.14s) === RUN TestReadFileHandleRelease run.go:180: Remote "HiDrive root 'rclone-test-nuzupoq8laqi'", Local "Local file system at /tmp/rclone1196388606", Modify Window "1s" 2025/03/13 06:28:44 INFO : HiDrive root 'rclone-test-nuzupoq8laqi': poll-interval is not supported by this remote 2025/03/13 06:28:44 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:44 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 2025/03/13 06:28:44 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/03/13 06:28:44 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:44 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 2025/03/13 06:28:44 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/03/13 06:28:44 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2025/03/13 06:28:44 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2025/03/13 06:28:44 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/03/13 06:28:44 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2025/03/13 06:28:44 DEBUG : dir/file1: ReadFileHandle.Release closing 2025/03/13 06:28:44 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2025/03/13 06:28:44 DEBUG : WaitForWriters: timeout=30s 2025/03/13 06:28:44 DEBUG : dir: Looking for writers 2025/03/13 06:28:44 DEBUG : file1: reading active writers 2025/03/13 06:28:44 DEBUG : : Looking for writers 2025/03/13 06:28:44 DEBUG : dir: reading active writers 2025/03/13 06:28:44 DEBUG : >WaitForWriters: 2025/03/13 06:28:44 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:45 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 --- PASS: TestReadFileHandleRelease (0.81s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "HiDrive root 'rclone-test-nuzupoq8laqi'", Local "Local file system at /tmp/rclone1196388606", Modify Window "1s" 2025/03/13 06:28:45 INFO : HiDrive root 'rclone-test-nuzupoq8laqi': poll-interval is not supported by this remote 2025/03/13 06:28:45 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/13 06:28:45 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-nuzupoq8laqi" 2025/03/13 06:28:45 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-nuzupoq8laqi" 2025/03/13 06:28:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-nuzupoq8laqi" 2025/03/13 06:28:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 06:28:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-nuzupoq8laqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-nuzupoq8laqi" 2025/03/13 06:28:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-nuzupoq8laqi" 2025/03/13 06:28:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/13 06:28:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-nuzupoq8laqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-nuzupoq8laqi" 2025/03/13 06:28:45 INFO : HiDrive root 'rclone-test-nuzupoq8laqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/13 06:28:45 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:45 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 2025/03/13 06:28:45 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 06:28:45 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:45 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 2025/03/13 06:28:45 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2025/03/13 06:28:45 DEBUG : dir/file1: newRWFileHandle: 2025/03/13 06:28:45 DEBUG : dir/file1: >newRWFileHandle: err= 2025/03/13 06:28:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/03/13 06:28:45 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/03/13 06:28:45 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/03/13 06:28:45 DEBUG : dir/file1(0xc00058d280): _writeAt: size=5, off=0 2025/03/13 06:28:45 DEBUG : dir/file1(0xc00058d280): openPending: 2025/03/13 06:28:45 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,141e0c73643da72b75cfff6ef650d74d15bd9119" against cached fingerprint "" 2025/03/13 06:28:45 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/03/13 06:28:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/03/13 06:28:45 DEBUG : dir/file1(0xc00058d280): >openPending: err= 2025/03/13 06:28:45 DEBUG : dir/file1(0xc00058d280): >_writeAt: n=5, err= 2025/03/13 06:28:45 DEBUG : dir/file1(0xc00058d280): _writeAt: size=15, off=5 2025/03/13 06:28:45 DEBUG : dir/file1(0xc00058d280): >_writeAt: n=15, err= 2025/03/13 06:28:45 DEBUG : dir/file1(0xc00058d280): close: 2025/03/13 06:28:45 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2025/03/13 06:28:45 DEBUG : dir/file1: vfs cache: setting modification time to 2025-03-13 06:28:45.645700476 +0000 UTC m=+3.300589127 2025/03/13 06:28:45 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/03/13 06:28:45 DEBUG : dir/file1(0xc00058d280): >close: err= 2025/03/13 06:28:45 DEBUG : WaitForWriters: timeout=30s 2025/03/13 06:28:45 DEBUG : dir: Looking for writers 2025/03/13 06:28:45 DEBUG : file1: reading active writers 2025/03/13 06:28:45 DEBUG : : Looking for writers 2025/03/13 06:28:45 DEBUG : dir: reading active writers 2025/03/13 06:28:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/03/13 06:28:45 DEBUG : dir: Looking for writers 2025/03/13 06:28:45 DEBUG : file1: reading active writers 2025/03/13 06:28:45 DEBUG : : Looking for writers 2025/03/13 06:28:45 DEBUG : dir: reading active writers 2025/03/13 06:28:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/03/13 06:28:45 DEBUG : dir: Looking for writers 2025/03/13 06:28:45 DEBUG : file1: reading active writers 2025/03/13 06:28:45 DEBUG : : Looking for writers 2025/03/13 06:28:45 DEBUG : dir: reading active writers 2025/03/13 06:28:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/03/13 06:28:45 DEBUG : dir: Looking for writers 2025/03/13 06:28:45 DEBUG : file1: reading active writers 2025/03/13 06:28:45 DEBUG : : Looking for writers 2025/03/13 06:28:45 DEBUG : dir: reading active writers 2025/03/13 06:28:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/03/13 06:28:45 DEBUG : dir/file1: vfs cache: starting upload 2025/03/13 06:28:45 DEBUG : dir: Looking for writers 2025/03/13 06:28:45 DEBUG : file1: reading active writers 2025/03/13 06:28:45 DEBUG : : Looking for writers 2025/03/13 06:28:45 DEBUG : dir: reading active writers 2025/03/13 06:28:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/03/13 06:28:45 DEBUG : dir/file1: hidrive = afc3682ccc8b262b792eccb34bea54d31543bf1f OK 2025/03/13 06:28:45 INFO : dir/file1: Copied (replaced existing) 2025/03/13 06:28:45 DEBUG : dir/file1: vfs cache: fingerprint now "20,2025-03-13 06:28:45 +0000 UTC,afc3682ccc8b262b792eccb34bea54d31543bf1f" 2025/03/13 06:28:45 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/03/13 06:28:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/03/13 06:28:45 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/03/13 06:28:45 DEBUG : dir: Looking for writers 2025/03/13 06:28:45 DEBUG : file1: reading active writers 2025/03/13 06:28:45 DEBUG : : Looking for writers 2025/03/13 06:28:45 DEBUG : dir: reading active writers 2025/03/13 06:28:45 DEBUG : >WaitForWriters: 2025/03/13 06:28:45 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': vfs cache: cleaner exiting 2025/03/13 06:28:45 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:46 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 --- PASS: TestRWFileHandleSizeCreateExisting (1.06s) === RUN TestVFSOpenFile run.go:180: Remote "HiDrive root 'rclone-test-nuzupoq8laqi'", Local "Local file system at /tmp/rclone1196388606", Modify Window "1s" 2025/03/13 06:28:46 INFO : HiDrive root 'rclone-test-nuzupoq8laqi': poll-interval is not supported by this remote 2025/03/13 06:28:46 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:46 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 2025/03/13 06:28:46 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file2 2025/03/13 06:28:46 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/03/13 06:28:46 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:46 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 2025/03/13 06:28:46 DEBUG : file1: Open: flags=O_RDONLY 2025/03/13 06:28:46 DEBUG : file1: >Open: fd=file1 (r), err= 2025/03/13 06:28:46 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2025/03/13 06:28:46 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/03/13 06:28:46 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2025/03/13 06:28:46 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/03/13 06:28:46 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file2 2025/03/13 06:28:46 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/03/13 06:28:46 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 06:28:46 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2025/03/13 06:28:46 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/03/13 06:28:46 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2025/03/13 06:28:46 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2025/03/13 06:28:46 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/03/13 06:28:46 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': File to upload is small (0 bytes), uploading instead of streaming 2025/03/13 06:28:47 DEBUG : dir/new_file.txt: hidrive = 0000000000000000000000000000000000000000 OK 2025/03/13 06:28:47 DEBUG : dir/new_file.txt: Size and hidrive of src and dst objects identical 2025/03/13 06:28:47 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2025/03/13 06:28:47 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/13 06:28:47 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2025/03/13 06:28:47 DEBUG : WaitForWriters: timeout=30s 2025/03/13 06:28:47 DEBUG : dir: Looking for writers 2025/03/13 06:28:47 DEBUG : file2: reading active writers 2025/03/13 06:28:47 DEBUG : new_file.txt: reading active writers 2025/03/13 06:28:47 DEBUG : : Looking for writers 2025/03/13 06:28:47 DEBUG : dir: reading active writers 2025/03/13 06:28:47 DEBUG : file1: reading active writers 2025/03/13 06:28:47 DEBUG : >WaitForWriters: 2025/03/13 06:28:47 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name dir 2025/03/13 06:28:47 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file1 2025/03/13 06:28:47 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name file2 2025/03/13 06:28:47 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': found directory-element with name new_file.txt --- PASS: TestVFSOpenFile (1.05s) PASS 2025/03/13 06:28:47 DEBUG : HiDrive root 'rclone-test-nuzupoq8laqi': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestDirOpen|TestRWFileHandleSizeCreateExisting|TestReadFileHandleRelease|TestReadFileHandleSeek|TestVFSOpenFile)$'" - Finished OK in 5.106570321s (try 2/5)