"./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestDirHandleReaddir|TestRWFileHandleSeek)$|^TestFileSetModTime$/^(cache=full,open=true,write=true|cache=off,open=true,write=false)$'" - Starting (try 2/5) 2025/01/14 01:18:00 DEBUG : Creating backend with remote "TestHiDrive:rclone-test-teqenek3nupa" 2025/01/14 01:18:00 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/14 01:18:00 DEBUG : Creating backend with remote "/tmp/rclone2167168942" === RUN TestDirHandleReaddir run.go:180: Remote "HiDrive root 'rclone-test-teqenek3nupa'", Local "Local file system at /tmp/rclone2167168942", Modify Window "1s" 2025/01/14 01:18:00 INFO : HiDrive root 'rclone-test-teqenek3nupa': poll-interval is not supported by this remote 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file2 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name subdir 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file3 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file2 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name subdir 2025/01/14 01:18:01 DEBUG : WaitForWriters: timeout=30s 2025/01/14 01:18:01 DEBUG : dir/subdir: Looking for writers 2025/01/14 01:18:01 DEBUG : dir: Looking for writers 2025/01/14 01:18:01 DEBUG : file1: reading active writers 2025/01/14 01:18:01 DEBUG : file2: reading active writers 2025/01/14 01:18:01 DEBUG : subdir: reading active writers 2025/01/14 01:18:01 DEBUG : : Looking for writers 2025/01/14 01:18:01 DEBUG : dir: reading active writers 2025/01/14 01:18:01 DEBUG : >WaitForWriters: 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file2 2025/01/14 01:18:01 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name subdir 2025/01/14 01:18:02 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file3 --- PASS: TestDirHandleReaddir (1.28s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "HiDrive root 'rclone-test-teqenek3nupa'", Local "Local file system at /tmp/rclone2167168942", Modify Window "1s" 2025/01/14 01:18:02 INFO : HiDrive root 'rclone-test-teqenek3nupa': poll-interval is not supported by this remote 2025/01/14 01:18:02 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:02 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 2025/01/14 01:18:02 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:02 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 2025/01/14 01:18:02 DEBUG : Can set mod time: true 2025/01/14 01:18:02 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/01/14 01:18:02 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/01/14 01:18:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/14 01:18:02 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': File to upload is small (0 bytes), uploading instead of streaming 2025/01/14 01:18:03 DEBUG : dir/file1: hidrive = 0000000000000000000000000000000000000000 OK 2025/01/14 01:18:03 DEBUG : dir/file1: Size and hidrive of src and dst objects identical 2025/01/14 01:18:03 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2025/01/14 01:18:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/14 01:18:03 DEBUG : WaitForWriters: timeout=30s 2025/01/14 01:18:03 DEBUG : dir: Looking for writers 2025/01/14 01:18:03 DEBUG : file1: reading active writers 2025/01/14 01:18:03 DEBUG : : Looking for writers 2025/01/14 01:18:03 DEBUG : dir: reading active writers 2025/01/14 01:18:03 DEBUG : >WaitForWriters: 2025/01/14 01:18:03 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:03 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 2025/01/14 01:18:03 DEBUG : WaitForWriters: timeout=30s 2025/01/14 01:18:03 DEBUG : dir: Looking for writers 2025/01/14 01:18:03 DEBUG : file1: reading active writers 2025/01/14 01:18:03 DEBUG : : Looking for writers 2025/01/14 01:18:03 DEBUG : dir: reading active writers 2025/01/14 01:18:03 DEBUG : >WaitForWriters: 2025/01/14 01:18:03 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:03 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "HiDrive root 'rclone-test-teqenek3nupa'", Local "Local file system at /tmp/rclone2167168942", Modify Window "1s" 2025/01/14 01:18:03 INFO : HiDrive root 'rclone-test-teqenek3nupa': poll-interval is not supported by this remote 2025/01/14 01:18:03 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': vfs cache: root is "/home/rclone/.cache/rclone" 2025/01/14 01:18:03 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-teqenek3nupa" 2025/01/14 01:18:03 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-teqenek3nupa" 2025/01/14 01:18:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-teqenek3nupa" 2025/01/14 01:18:03 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/14 01:18:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-teqenek3nupa" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-teqenek3nupa" 2025/01/14 01:18:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-teqenek3nupa" 2025/01/14 01:18:03 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/14 01:18:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-teqenek3nupa" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-teqenek3nupa" 2025/01/14 01:18:03 INFO : HiDrive root 'rclone-test-teqenek3nupa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/01/14 01:18:03 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:03 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 2025/01/14 01:18:03 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:03 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 2025/01/14 01:18:03 DEBUG : dir/file1: Open: flags=O_WRONLY 2025/01/14 01:18:03 DEBUG : dir/file1: newRWFileHandle: 2025/01/14 01:18:03 DEBUG : dir/file1: >newRWFileHandle: err= 2025/01/14 01:18:03 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/01/14 01:18:03 DEBUG : dir/file1(0xc00068c800): _writeAt: size=5, off=0 2025/01/14 01:18:03 DEBUG : dir/file1(0xc00068c800): openPending: 2025/01/14 01:18:03 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,aaeba82ca64452b89313b42f6621fe418e9847cc" against cached fingerprint "" 2025/01/14 01:18:03 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/01/14 01:18:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/14 01:18:03 DEBUG : dir/file1(0xc00068c800): >openPending: err= 2025/01/14 01:18:03 DEBUG : dir/file1(0xc00068c800): >_writeAt: n=5, err= 2025/01/14 01:18:03 DEBUG : dir/file1: vfs cache: setting modification time to 2011-12-25 12:59:59.123456789 +0000 UTC 2025/01/14 01:18:03 DEBUG : dir/file1(0xc00068c800): close: 2025/01/14 01:18:03 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:5}] - present false 2025/01/14 01:18:03 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 5 length -1 2025/01/14 01:18:03 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 5 chunkSize 134217728 2025/01/14 01:18:03 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2025/01/14 01:18:03 DEBUG : dir/file1: vfs cache: setting modification time to 2011-12-25 12:59:59.123456789 +0000 UTC 2025/01/14 01:18:03 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/01/14 01:18:03 DEBUG : dir/file1(0xc00068c800): >close: err= 2025/01/14 01:18:03 DEBUG : WaitForWriters: timeout=30s 2025/01/14 01:18:03 DEBUG : dir: Looking for writers 2025/01/14 01:18:03 DEBUG : file1: reading active writers 2025/01/14 01:18:03 DEBUG : : Looking for writers 2025/01/14 01:18:03 DEBUG : dir: reading active writers 2025/01/14 01:18:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/01/14 01:18:04 DEBUG : dir: Looking for writers 2025/01/14 01:18:04 DEBUG : file1: reading active writers 2025/01/14 01:18:04 DEBUG : : Looking for writers 2025/01/14 01:18:04 DEBUG : dir: reading active writers 2025/01/14 01:18:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/01/14 01:18:04 DEBUG : dir: Looking for writers 2025/01/14 01:18:04 DEBUG : file1: reading active writers 2025/01/14 01:18:04 DEBUG : : Looking for writers 2025/01/14 01:18:04 DEBUG : dir: reading active writers 2025/01/14 01:18:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/01/14 01:18:04 DEBUG : dir: Looking for writers 2025/01/14 01:18:04 DEBUG : file1: reading active writers 2025/01/14 01:18:04 DEBUG : : Looking for writers 2025/01/14 01:18:04 DEBUG : dir: reading active writers 2025/01/14 01:18:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/01/14 01:18:04 DEBUG : dir/file1: vfs cache: starting upload 2025/01/14 01:18:04 DEBUG : dir: Looking for writers 2025/01/14 01:18:04 DEBUG : file1: reading active writers 2025/01/14 01:18:04 DEBUG : : Looking for writers 2025/01/14 01:18:04 DEBUG : dir: reading active writers 2025/01/14 01:18:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/01/14 01:18:04 DEBUG : dir/file1: hidrive = 716656f500ecbc3c226f10d17c5bfd8877d475f2 OK 2025/01/14 01:18:04 INFO : dir/file1: Copied (replaced existing) 2025/01/14 01:18:04 DEBUG : dir/file1: vfs cache: fingerprint now "14,2011-12-25 12:59:59 +0000 UTC,716656f500ecbc3c226f10d17c5bfd8877d475f2" 2025/01/14 01:18:04 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/01/14 01:18:04 DEBUG : dir/file1: Not setting pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC as it is already set 2025/01/14 01:18:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/14 01:18:04 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/01/14 01:18:04 DEBUG : dir: Looking for writers 2025/01/14 01:18:04 DEBUG : file1: reading active writers 2025/01/14 01:18:04 DEBUG : : Looking for writers 2025/01/14 01:18:04 DEBUG : dir: reading active writers 2025/01/14 01:18:04 DEBUG : >WaitForWriters: 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 2025/01/14 01:18:04 DEBUG : WaitForWriters: timeout=30s 2025/01/14 01:18:04 DEBUG : dir: Looking for writers 2025/01/14 01:18:04 DEBUG : file1: reading active writers 2025/01/14 01:18:04 DEBUG : : Looking for writers 2025/01/14 01:18:04 DEBUG : dir: reading active writers 2025/01/14 01:18:04 DEBUG : >WaitForWriters: 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': vfs cache: cleaner exiting 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 --- PASS: TestFileSetModTime (2.34s) --- PASS: TestFileSetModTime/cache=off,open=true,write=false (1.30s) --- PASS: TestFileSetModTime/cache=full,open=true,write=true (1.05s) === RUN TestRWFileHandleSeek run.go:180: Remote "HiDrive root 'rclone-test-teqenek3nupa'", Local "Local file system at /tmp/rclone2167168942", Modify Window "1s" 2025/01/14 01:18:04 INFO : HiDrive root 'rclone-test-teqenek3nupa': poll-interval is not supported by this remote 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': vfs cache: root is "/home/rclone/.cache/rclone" 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-teqenek3nupa" 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-teqenek3nupa" 2025/01/14 01:18:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-teqenek3nupa" 2025/01/14 01:18:04 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/14 01:18:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-teqenek3nupa" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestHiDrive/rclone-test-teqenek3nupa" 2025/01/14 01:18:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-teqenek3nupa" 2025/01/14 01:18:04 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/14 01:18:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-teqenek3nupa" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestHiDrive/rclone-test-teqenek3nupa" 2025/01/14 01:18:04 INFO : HiDrive root 'rclone-test-teqenek3nupa': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 2025/01/14 01:18:04 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 2025/01/14 01:18:04 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/01/14 01:18:04 DEBUG : dir/file1: newRWFileHandle: 2025/01/14 01:18:04 DEBUG : dir/file1: >newRWFileHandle: err= 2025/01/14 01:18:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/01/14 01:18:04 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): _readAt: size=1, off=0 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): openPending: 2025/01/14 01:18:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,141e0c73643da72b75cfff6ef650d74d15bd9119" against cached fingerprint "" 2025/01/14 01:18:04 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/01/14 01:18:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): >openPending: err= 2025/01/14 01:18:04 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2025/01/14 01:18:04 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2025/01/14 01:18:04 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2025/01/14 01:18:04 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): >_readAt: n=1, err= 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): _readAt: size=1, off=5 2025/01/14 01:18:04 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): >_readAt: n=1, err= 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): _readAt: size=1, off=3 2025/01/14 01:18:04 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): >_readAt: n=1, err= 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): _readAt: size=1, off=13 2025/01/14 01:18:04 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): >_readAt: n=1, err= 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): _readAt: size=16, off=100 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): >_readAt: n=0, err=EOF 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): close: 2025/01/14 01:18:04 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/01/14 01:18:04 DEBUG : dir/file1(0xc00068c080): >close: err= 2025/01/14 01:18:04 DEBUG : WaitForWriters: timeout=30s 2025/01/14 01:18:04 DEBUG : dir: Looking for writers 2025/01/14 01:18:04 DEBUG : file1: reading active writers 2025/01/14 01:18:04 DEBUG : : Looking for writers 2025/01/14 01:18:04 DEBUG : dir: reading active writers 2025/01/14 01:18:04 DEBUG : >WaitForWriters: 2025/01/14 01:18:04 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': vfs cache: cleaner exiting 2025/01/14 01:18:05 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name dir 2025/01/14 01:18:05 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': found directory-element with name file1 --- PASS: TestRWFileHandleSeek (0.61s) PASS 2025/01/14 01:18:05 DEBUG : HiDrive root 'rclone-test-teqenek3nupa': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestHiDrive: -verbose -test.run '^(TestDirHandleReaddir|TestRWFileHandleSeek)$|^TestFileSetModTime$/^(cache=full,open=true,write=true|cache=off,open=true,write=false)$'" - Finished OK in 4.49646565s (try 2/5)