"./vfs.test -test.v -test.timeout 1h0m0s -remote TestFilesCom: -verbose -test.run '^(TestDirCreate|TestDirHandleReaddirnames|TestDirRemove|TestRWFileHandleFlushRead|TestRWFileHandleSeek|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleSeek)$|^TestDirReadDirAll$/^Virtual$|^TestFileRename$/^(full,forceCache=false|writes,forceCache=true)$'" - Starting (try 2/5) 2024/12/25 01:47:50 DEBUG : Creating backend with remote "TestFilesCom:rclone-test-pinozuc5sovo" 2024/12/25 01:47:50 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/12/25 01:47:51 DEBUG : Creating backend with remote "/tmp/rclone3470905589" === RUN TestDirHandleReaddirnames run.go:180: Remote "files root 'rclone-test-pinozuc5sovo'", Local "Local file system at /tmp/rclone3470905589", Modify Window "1s" 2024/12/25 01:47:51 INFO : files root 'rclone-test-pinozuc5sovo': poll-interval is not supported by this remote 2024/12/25 01:47:53 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:47:53 DEBUG : dir: Looking for writers 2024/12/25 01:47:53 DEBUG : file1: reading active writers 2024/12/25 01:47:53 DEBUG : : Looking for writers 2024/12/25 01:47:53 DEBUG : dir: reading active writers 2024/12/25 01:47:53 DEBUG : >WaitForWriters: --- PASS: TestDirHandleReaddirnames (2.93s) === RUN TestDirReadDirAll run.go:180: Remote "files root 'rclone-test-pinozuc5sovo'", Local "Local file system at /tmp/rclone3470905589", Modify Window "1s" 2024/12/25 01:47:54 INFO : files root 'rclone-test-pinozuc5sovo': poll-interval is not supported by this remote === RUN TestDirReadDirAll/Virtual 2024/12/25 01:47:57 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2024/12/25 01:47:57 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2024/12/25 01:47:57 DEBUG : dir: Added virtual directory entry vDel: "file2" 2024/12/25 01:47:57 DEBUG : dir: Added virtual directory entry vDel: "subdir" 2024/12/25 01:47:59 DEBUG : dir: invalidating directory cache 2024/12/25 01:47:59 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2024/12/25 01:47:59 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2024/12/25 01:47:59 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2024/12/25 01:47:59 DEBUG : dir/file1: Reset virtual modtime 2024/12/25 01:47:59 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2024/12/25 01:47:59 DEBUG : dir/virtualFile: Reset virtual modtime 2024/12/25 01:47:59 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2024/12/25 01:47:59 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2024/12/25 01:47:59 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/12/25 01:47:59 DEBUG : dir: invalidating directory cache 2024/12/25 01:47:59 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2024/12/25 01:47:59 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2024/12/25 01:47:59 DEBUG : dir/virtualFile: Reset virtual modtime 2024/12/25 01:47:59 DEBUG : : forgetting directory cache 2024/12/25 01:47:59 DEBUG : dir: forgetting directory cache 2024/12/25 01:47:59 DEBUG : dir/virtualDir: forgetting directory cache 2024/12/25 01:47:59 DEBUG : dir/file1: Reset virtual modtime 2024/12/25 01:47:59 DEBUG : dir/virtualFile: Reset virtual modtime 2024/12/25 01:47:59 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:47:59 DEBUG : dir/virtualDir: Looking for writers 2024/12/25 01:47:59 DEBUG : dir: Looking for writers 2024/12/25 01:47:59 DEBUG : file1: reading active writers 2024/12/25 01:47:59 DEBUG : virtualFile2: reading active writers 2024/12/25 01:47:59 DEBUG : virtualFile: reading active writers 2024/12/25 01:47:59 DEBUG : virtualDir: reading active writers 2024/12/25 01:47:59 DEBUG : : Looking for writers 2024/12/25 01:47:59 DEBUG : dir: reading active writers 2024/12/25 01:47:59 DEBUG : >WaitForWriters: --- PASS: TestDirReadDirAll (6.59s) --- PASS: TestDirReadDirAll/Virtual (2.23s) === RUN TestDirCreate run.go:180: Remote "files root 'rclone-test-pinozuc5sovo'", Local "Local file system at /tmp/rclone3470905589", Modify Window "1s" 2024/12/25 01:48:00 INFO : files root 'rclone-test-pinozuc5sovo': poll-interval is not supported by this remote 2024/12/25 01:48:02 DEBUG : dir/potato: Open: flags=O_WRONLY|O_CREATE 2024/12/25 01:48:02 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2024/12/25 01:48:02 DEBUG : dir/potato: >Open: fd=dir/potato (w), err= 2024/12/25 01:48:02 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2024/12/25 01:48:02 DEBUG : files root 'rclone-test-pinozuc5sovo': File to upload is small (5 bytes), uploading instead of streaming 2024/12/25 01:48:03 DEBUG : dir/potato: Dst hash empty - aborting Src hash check 2024/12/25 01:48:03 DEBUG : dir/potato: Size of src and dst objects identical 2024/12/25 01:48:03 DEBUG : dir: Added virtual directory entry vAddFile: "potato" 2024/12/25 01:48:03 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:03 DEBUG : dir: Looking for writers 2024/12/25 01:48:03 DEBUG : file1: reading active writers 2024/12/25 01:48:03 DEBUG : potato: reading active writers 2024/12/25 01:48:03 DEBUG : : Looking for writers 2024/12/25 01:48:03 DEBUG : dir: reading active writers 2024/12/25 01:48:03 DEBUG : >WaitForWriters: --- PASS: TestDirCreate (3.03s) === RUN TestDirRemove run.go:180: Remote "files root 'rclone-test-pinozuc5sovo'", Local "Local file system at /tmp/rclone3470905589", Modify Window "1s" 2024/12/25 01:48:04 INFO : files root 'rclone-test-pinozuc5sovo': poll-interval is not supported by this remote 2024/12/25 01:48:05 ERROR : dir/: Dir.Remove not empty 2024/12/25 01:48:05 DEBUG : dir/file1: Remove: 2024/12/25 01:48:05 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/12/25 01:48:05 DEBUG : dir/file1: >Remove: err= 2024/12/25 01:48:05 DEBUG : : Added virtual directory entry vDel: "dir" 2024/12/25 01:48:05 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:05 DEBUG : : Looking for writers 2024/12/25 01:48:05 DEBUG : >WaitForWriters: --- PASS: TestDirRemove (2.02s) === RUN TestFileRename === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "files root 'rclone-test-pinozuc5sovo'", Local "Local file system at /tmp/rclone3470905589", Modify Window "1s" 2024/12/25 01:48:06 INFO : files root 'rclone-test-pinozuc5sovo': poll-interval is not supported by this remote 2024/12/25 01:48:06 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/12/25 01:48:06 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:06 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:06 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/12/25 01:48:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:06 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/12/25 01:48:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:06 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/12/25 01:48:07 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/12/25 01:48:07 DEBUG : dir/file1: newRWFileHandle: 2024/12/25 01:48:07 DEBUG : dir/file1(0xc0006a3600): openPending: 2024/12/25 01:48:07 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "" 2024/12/25 01:48:07 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/12/25 01:48:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/25 01:48:07 DEBUG : dir/file1(0xc0006a3600): >openPending: err= 2024/12/25 01:48:07 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/12/25 01:48:07 DEBUG : dir/file1: >newRWFileHandle: err= 2024/12/25 01:48:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/25 01:48:07 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/12/25 01:48:07 DEBUG : dir/file1(0xc0006a3600): _writeAt: size=14, off=0 2024/12/25 01:48:07 DEBUG : dir/file1(0xc0006a3600): >_writeAt: n=14, err= 2024/12/25 01:48:07 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/12/25 01:48:07 DEBUG : dir/file1(0xc0006a3600): close: 2024/12/25 01:48:07 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/12/25 01:48:07 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/12/25 01:48:07 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/12/25 01:48:07 DEBUG : dir/file1(0xc0006a3600): >close: err= 2024/12/25 01:48:07 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:07 DEBUG : dir: Looking for writers 2024/12/25 01:48:07 DEBUG : file1: reading active writers 2024/12/25 01:48:07 DEBUG : : Looking for writers 2024/12/25 01:48:07 DEBUG : dir: reading active writers 2024/12/25 01:48:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/12/25 01:48:07 DEBUG : dir: Looking for writers 2024/12/25 01:48:07 DEBUG : file1: reading active writers 2024/12/25 01:48:07 DEBUG : : Looking for writers 2024/12/25 01:48:07 DEBUG : dir: reading active writers 2024/12/25 01:48:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/12/25 01:48:07 DEBUG : dir: Looking for writers 2024/12/25 01:48:07 DEBUG : file1: reading active writers 2024/12/25 01:48:07 DEBUG : : Looking for writers 2024/12/25 01:48:07 DEBUG : dir: reading active writers 2024/12/25 01:48:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/12/25 01:48:07 DEBUG : dir: Looking for writers 2024/12/25 01:48:07 DEBUG : file1: reading active writers 2024/12/25 01:48:07 DEBUG : : Looking for writers 2024/12/25 01:48:07 DEBUG : dir: reading active writers 2024/12/25 01:48:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/12/25 01:48:07 DEBUG : dir/file1: vfs cache: starting upload 2024/12/25 01:48:07 DEBUG : dir: Looking for writers 2024/12/25 01:48:07 DEBUG : file1: reading active writers 2024/12/25 01:48:07 DEBUG : : Looking for writers 2024/12/25 01:48:07 DEBUG : dir: reading active writers 2024/12/25 01:48:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/12/25 01:48:07 DEBUG : dir: Looking for writers 2024/12/25 01:48:07 DEBUG : file1: reading active writers 2024/12/25 01:48:07 DEBUG : : Looking for writers 2024/12/25 01:48:07 DEBUG : dir: reading active writers 2024/12/25 01:48:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/12/25 01:48:07 DEBUG : dir: Looking for writers 2024/12/25 01:48:07 DEBUG : file1: reading active writers 2024/12/25 01:48:07 DEBUG : : Looking for writers 2024/12/25 01:48:07 DEBUG : dir: reading active writers 2024/12/25 01:48:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/12/25 01:48:08 DEBUG : dir/file1: Dst hash empty - aborting Src hash check 2024/12/25 01:48:08 INFO : dir/file1: Copied (replaced existing) 2024/12/25 01:48:08 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/12/25 01:48:08 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/12/25 01:48:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/25 01:48:08 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/12/25 01:48:08 DEBUG : dir: Looking for writers 2024/12/25 01:48:08 DEBUG : file1: reading active writers 2024/12/25 01:48:08 DEBUG : : Looking for writers 2024/12/25 01:48:08 DEBUG : dir: reading active writers 2024/12/25 01:48:08 DEBUG : >WaitForWriters: 2024/12/25 01:48:08 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/12/25 01:48:08 DEBUG : dir/file1: newRWFileHandle: 2024/12/25 01:48:08 DEBUG : dir/file1: >newRWFileHandle: err= 2024/12/25 01:48:08 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/12/25 01:48:08 DEBUG : dir/file1(0xc00041c9c0): _readAt: size=512, off=0 2024/12/25 01:48:08 DEBUG : dir/file1(0xc00041c9c0): openPending: 2024/12/25 01:48:08 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC," 2024/12/25 01:48:08 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/12/25 01:48:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/25 01:48:08 DEBUG : dir/file1(0xc00041c9c0): >openPending: err= 2024/12/25 01:48:08 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/12/25 01:48:08 DEBUG : dir/file1(0xc00041c9c0): >_readAt: n=14, err=EOF 2024/12/25 01:48:08 DEBUG : dir/file1(0xc00041c9c0): close: 2024/12/25 01:48:08 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/12/25 01:48:08 DEBUG : dir/file1(0xc00041c9c0): >close: err= 2024/12/25 01:48:09 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/12/25 01:48:09 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/12/25 01:48:09 DEBUG : newLeaf: Updating file with newLeaf 0xc000782300 2024/12/25 01:48:09 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/12/25 01:48:09 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/12/25 01:48:10 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/12/25 01:48:10 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/12/25 01:48:10 DEBUG : dir/file1: Updating file with dir/file1 0xc000782300 2024/12/25 01:48:10 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/12/25 01:48:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/25 01:48:10 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/12/25 01:48:10 DEBUG : dir/file1: newRWFileHandle: 2024/12/25 01:48:10 DEBUG : dir/file1(0xc00041cd80): openPending: 2024/12/25 01:48:10 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC," 2024/12/25 01:48:10 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/12/25 01:48:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/25 01:48:10 DEBUG : dir/file1(0xc00041cd80): >openPending: err= 2024/12/25 01:48:10 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/12/25 01:48:10 DEBUG : dir/file1: >newRWFileHandle: err= 2024/12/25 01:48:10 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/12/25 01:48:10 DEBUG : dir/file1(0xc00041cd80): _writeAt: size=25, off=0 2024/12/25 01:48:10 DEBUG : dir/file1(0xc00041cd80): >_writeAt: n=25, err= 2024/12/25 01:48:11 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/12/25 01:48:11 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/12/25 01:48:11 DEBUG : newLeaf: Updating file with newLeaf 0xc000782300 2024/12/25 01:48:11 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/12/25 01:48:11 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/12/25 01:48:11 DEBUG : newLeaf(0xc00041cd80): close: 2024/12/25 01:48:11 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/12/25 01:48:11 DEBUG : newLeaf: vfs cache: setting modification time to 2024-12-25 01:48:10.635915804 +0000 UTC m=+20.108831904 2024/12/25 01:48:11 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/12/25 01:48:11 DEBUG : newLeaf(0xc00041cd80): >close: err= 2024/12/25 01:48:11 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:11 DEBUG : dir: Looking for writers 2024/12/25 01:48:11 DEBUG : : Looking for writers 2024/12/25 01:48:11 DEBUG : dir: reading active writers 2024/12/25 01:48:11 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/12/25 01:48:11 DEBUG : dir: Looking for writers 2024/12/25 01:48:11 DEBUG : : Looking for writers 2024/12/25 01:48:11 DEBUG : dir: reading active writers 2024/12/25 01:48:11 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/12/25 01:48:11 DEBUG : dir: Looking for writers 2024/12/25 01:48:11 DEBUG : : Looking for writers 2024/12/25 01:48:11 DEBUG : dir: reading active writers 2024/12/25 01:48:11 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/12/25 01:48:11 DEBUG : dir: Looking for writers 2024/12/25 01:48:11 DEBUG : : Looking for writers 2024/12/25 01:48:11 DEBUG : dir: reading active writers 2024/12/25 01:48:11 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/12/25 01:48:11 DEBUG : newLeaf: vfs cache: starting upload 2024/12/25 01:48:11 DEBUG : dir: Looking for writers 2024/12/25 01:48:11 DEBUG : : Looking for writers 2024/12/25 01:48:11 DEBUG : dir: reading active writers 2024/12/25 01:48:11 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/12/25 01:48:11 DEBUG : dir: Looking for writers 2024/12/25 01:48:11 DEBUG : : Looking for writers 2024/12/25 01:48:11 DEBUG : dir: reading active writers 2024/12/25 01:48:11 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/12/25 01:48:11 DEBUG : dir: Looking for writers 2024/12/25 01:48:11 DEBUG : : Looking for writers 2024/12/25 01:48:11 DEBUG : dir: reading active writers 2024/12/25 01:48:11 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/12/25 01:48:12 DEBUG : newLeaf: Dst hash empty - aborting Src hash check 2024/12/25 01:48:12 INFO : newLeaf: Copied (replaced existing) 2024/12/25 01:48:12 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-12-25 01:48:10 +0000 UTC," 2024/12/25 01:48:12 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/12/25 01:48:12 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/12/25 01:48:12 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/12/25 01:48:12 DEBUG : dir: Looking for writers 2024/12/25 01:48:12 DEBUG : : Looking for writers 2024/12/25 01:48:12 DEBUG : dir: reading active writers 2024/12/25 01:48:12 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:12 DEBUG : >WaitForWriters: 2024/12/25 01:48:12 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:12 DEBUG : dir: Looking for writers 2024/12/25 01:48:12 DEBUG : : Looking for writers 2024/12/25 01:48:12 DEBUG : dir: reading active writers 2024/12/25 01:48:12 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:12 DEBUG : >WaitForWriters: 2024/12/25 01:48:12 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "files root 'rclone-test-pinozuc5sovo'", Local "Local file system at /tmp/rclone3470905589", Modify Window "1s" 2024/12/25 01:48:13 INFO : files root 'rclone-test-pinozuc5sovo': poll-interval is not supported by this remote 2024/12/25 01:48:13 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/12/25 01:48:13 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:13 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:13 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/12/25 01:48:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:13 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/12/25 01:48:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:13 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/12/25 01:48:14 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:14 DEBUG : dir: Looking for writers 2024/12/25 01:48:14 DEBUG : file1: reading active writers 2024/12/25 01:48:14 DEBUG : : Looking for writers 2024/12/25 01:48:14 DEBUG : dir: reading active writers 2024/12/25 01:48:14 DEBUG : >WaitForWriters: 2024/12/25 01:48:14 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/12/25 01:48:14 DEBUG : dir/file1: newRWFileHandle: 2024/12/25 01:48:14 DEBUG : dir/file1: >newRWFileHandle: err= 2024/12/25 01:48:14 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/12/25 01:48:14 DEBUG : dir/file1(0xc0006a3e00): _readAt: size=512, off=0 2024/12/25 01:48:14 DEBUG : dir/file1(0xc0006a3e00): openPending: 2024/12/25 01:48:14 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "" 2024/12/25 01:48:14 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/12/25 01:48:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/25 01:48:14 DEBUG : dir/file1(0xc0006a3e00): >openPending: err= 2024/12/25 01:48:14 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2024/12/25 01:48:14 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/12/25 01:48:14 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/12/25 01:48:14 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/12/25 01:48:14 DEBUG : dir/file1(0xc0006a3e00): >_readAt: n=14, err=EOF 2024/12/25 01:48:14 DEBUG : dir/file1(0xc0006a3e00): close: 2024/12/25 01:48:14 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/12/25 01:48:14 DEBUG : dir/file1(0xc0006a3e00): >close: err= 2024/12/25 01:48:15 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/12/25 01:48:15 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/12/25 01:48:15 DEBUG : newLeaf: Updating file with newLeaf 0xc000782480 2024/12/25 01:48:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/12/25 01:48:15 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/12/25 01:48:16 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/12/25 01:48:16 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/12/25 01:48:16 DEBUG : dir/file1: Updating file with dir/file1 0xc000782480 2024/12/25 01:48:16 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/12/25 01:48:16 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/25 01:48:17 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/12/25 01:48:17 DEBUG : dir/file1: newRWFileHandle: 2024/12/25 01:48:17 DEBUG : dir/file1(0xc000606dc0): openPending: 2024/12/25 01:48:17 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC," 2024/12/25 01:48:17 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/12/25 01:48:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/25 01:48:17 DEBUG : dir/file1(0xc000606dc0): >openPending: err= 2024/12/25 01:48:17 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/12/25 01:48:17 DEBUG : dir/file1: >newRWFileHandle: err= 2024/12/25 01:48:17 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/12/25 01:48:17 DEBUG : dir/file1(0xc000606dc0): _writeAt: size=25, off=0 2024/12/25 01:48:17 DEBUG : dir/file1(0xc000606dc0): >_writeAt: n=25, err= 2024/12/25 01:48:17 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/12/25 01:48:17 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/12/25 01:48:17 DEBUG : newLeaf: Updating file with newLeaf 0xc000782480 2024/12/25 01:48:17 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/12/25 01:48:17 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/12/25 01:48:17 DEBUG : newLeaf(0xc000606dc0): close: 2024/12/25 01:48:17 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/12/25 01:48:17 DEBUG : newLeaf: vfs cache: setting modification time to 2024-12-25 01:48:17.012868255 +0000 UTC m=+26.485784365 2024/12/25 01:48:17 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/12/25 01:48:17 DEBUG : newLeaf(0xc000606dc0): >close: err= 2024/12/25 01:48:17 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:17 DEBUG : dir: Looking for writers 2024/12/25 01:48:17 DEBUG : : Looking for writers 2024/12/25 01:48:17 DEBUG : dir: reading active writers 2024/12/25 01:48:17 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/12/25 01:48:17 DEBUG : dir: Looking for writers 2024/12/25 01:48:17 DEBUG : : Looking for writers 2024/12/25 01:48:17 DEBUG : dir: reading active writers 2024/12/25 01:48:17 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/12/25 01:48:17 DEBUG : dir: Looking for writers 2024/12/25 01:48:17 DEBUG : : Looking for writers 2024/12/25 01:48:17 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:17 DEBUG : dir: reading active writers 2024/12/25 01:48:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/12/25 01:48:17 DEBUG : dir: Looking for writers 2024/12/25 01:48:17 DEBUG : : Looking for writers 2024/12/25 01:48:17 DEBUG : dir: reading active writers 2024/12/25 01:48:17 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/12/25 01:48:17 DEBUG : newLeaf: vfs cache: starting upload 2024/12/25 01:48:17 DEBUG : dir: Looking for writers 2024/12/25 01:48:17 DEBUG : : Looking for writers 2024/12/25 01:48:17 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:17 DEBUG : dir: reading active writers 2024/12/25 01:48:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/12/25 01:48:17 DEBUG : dir: Looking for writers 2024/12/25 01:48:17 DEBUG : : Looking for writers 2024/12/25 01:48:17 DEBUG : dir: reading active writers 2024/12/25 01:48:17 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/12/25 01:48:18 DEBUG : dir: Looking for writers 2024/12/25 01:48:18 DEBUG : : Looking for writers 2024/12/25 01:48:18 DEBUG : dir: reading active writers 2024/12/25 01:48:18 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/12/25 01:48:18 DEBUG : newLeaf: Dst hash empty - aborting Src hash check 2024/12/25 01:48:18 INFO : newLeaf: Copied (replaced existing) 2024/12/25 01:48:18 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-12-25 01:48:17 +0000 UTC," 2024/12/25 01:48:18 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/12/25 01:48:18 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/12/25 01:48:18 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/12/25 01:48:18 DEBUG : dir: Looking for writers 2024/12/25 01:48:18 DEBUG : : Looking for writers 2024/12/25 01:48:18 DEBUG : dir: reading active writers 2024/12/25 01:48:18 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:18 DEBUG : >WaitForWriters: 2024/12/25 01:48:19 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:19 DEBUG : dir: Looking for writers 2024/12/25 01:48:19 DEBUG : : Looking for writers 2024/12/25 01:48:19 DEBUG : dir: reading active writers 2024/12/25 01:48:19 DEBUG : newLeaf: reading active writers 2024/12/25 01:48:19 DEBUG : >WaitForWriters: 2024/12/25 01:48:19 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileRename (13.78s) --- PASS: TestFileRename/writes,forceCache=true (7.41s) --- PASS: TestFileRename/full,forceCache=false (6.37s) === RUN TestReadFileHandleMethods run.go:180: Remote "files root 'rclone-test-pinozuc5sovo'", Local "Local file system at /tmp/rclone3470905589", Modify Window "1s" 2024/12/25 01:48:19 INFO : files root 'rclone-test-pinozuc5sovo': poll-interval is not supported by this remote 2024/12/25 01:48:20 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/12/25 01:48:21 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/12/25 01:48:21 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/12/25 01:48:21 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/12/25 01:48:21 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/12/25 01:48:21 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/12/25 01:48:21 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2024/12/25 01:48:21 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:21 DEBUG : dir: Looking for writers 2024/12/25 01:48:21 DEBUG : file1: reading active writers 2024/12/25 01:48:21 DEBUG : : Looking for writers 2024/12/25 01:48:21 DEBUG : dir: reading active writers 2024/12/25 01:48:21 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (2.35s) === RUN TestReadFileHandleSeek run.go:180: Remote "files root 'rclone-test-pinozuc5sovo'", Local "Local file system at /tmp/rclone3470905589", Modify Window "1s" 2024/12/25 01:48:22 INFO : files root 'rclone-test-pinozuc5sovo': poll-interval is not supported by this remote 2024/12/25 01:48:26 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/12/25 01:48:26 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/12/25 01:48:26 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/12/25 01:48:26 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/12/25 01:48:26 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/12/25 01:48:27 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/12/25 01:48:27 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2024/12/25 01:48:27 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2024/12/25 01:48:27 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2024/12/25 01:48:27 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2024/12/25 01:48:27 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2024/12/25 01:48:27 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2024/12/25 01:48:27 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2024/12/25 01:48:27 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2024/12/25 01:48:27 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2024/12/25 01:48:27 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2024/12/25 01:48:27 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2024/12/25 01:48:28 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2024/12/25 01:48:28 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2024/12/25 01:48:28 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2024/12/25 01:48:28 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2024/12/25 01:48:28 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:28 DEBUG : dir: Looking for writers 2024/12/25 01:48:28 DEBUG : file1: reading active writers 2024/12/25 01:48:28 DEBUG : : Looking for writers 2024/12/25 01:48:28 DEBUG : dir: reading active writers 2024/12/25 01:48:28 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (7.18s) === RUN TestReadFileHandleReadAt run.go:180: Remote "files root 'rclone-test-pinozuc5sovo'", Local "Local file system at /tmp/rclone3470905589", Modify Window "1s" 2024/12/25 01:48:29 INFO : files root 'rclone-test-pinozuc5sovo': poll-interval is not supported by this remote 2024/12/25 01:48:30 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/12/25 01:48:30 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/12/25 01:48:30 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/12/25 01:48:30 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/12/25 01:48:30 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/12/25 01:48:31 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/12/25 01:48:31 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2024/12/25 01:48:31 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2024/12/25 01:48:31 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2024/12/25 01:48:31 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2024/12/25 01:48:31 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2024/12/25 01:48:31 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2024/12/25 01:48:31 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2024/12/25 01:48:31 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2024/12/25 01:48:31 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2024/12/25 01:48:31 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2024/12/25 01:48:31 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2024/12/25 01:48:32 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2024/12/25 01:48:32 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2024/12/25 01:48:32 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2024/12/25 01:48:32 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2024/12/25 01:48:32 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2024/12/25 01:48:32 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2024/12/25 01:48:32 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/12/25 01:48:32 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2024/12/25 01:48:32 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2024/12/25 01:48:32 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2024/12/25 01:48:32 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/12/25 01:48:32 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/12/25 01:48:32 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/12/25 01:48:32 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/12/25 01:48:32 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2024/12/25 01:48:32 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/12/25 01:48:32 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/12/25 01:48:32 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/12/25 01:48:32 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2024/12/25 01:48:32 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:32 DEBUG : dir: Looking for writers 2024/12/25 01:48:32 DEBUG : file1: reading active writers 2024/12/25 01:48:32 DEBUG : : Looking for writers 2024/12/25 01:48:32 DEBUG : dir: reading active writers 2024/12/25 01:48:32 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (4.22s) === RUN TestReadFileHandleFlush run.go:180: Remote "files root 'rclone-test-pinozuc5sovo'", Local "Local file system at /tmp/rclone3470905589", Modify Window "1s" 2024/12/25 01:48:33 INFO : files root 'rclone-test-pinozuc5sovo': poll-interval is not supported by this remote 2024/12/25 01:48:34 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/12/25 01:48:34 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/12/25 01:48:34 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/12/25 01:48:34 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/12/25 01:48:34 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/12/25 01:48:35 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2024/12/25 01:48:35 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:35 DEBUG : dir: Looking for writers 2024/12/25 01:48:35 DEBUG : file1: reading active writers 2024/12/25 01:48:35 DEBUG : : Looking for writers 2024/12/25 01:48:35 DEBUG : dir: reading active writers 2024/12/25 01:48:35 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (2.22s) === RUN TestRWFileHandleSeek run.go:180: Remote "files root 'rclone-test-pinozuc5sovo'", Local "Local file system at /tmp/rclone3470905589", Modify Window "1s" 2024/12/25 01:48:35 INFO : files root 'rclone-test-pinozuc5sovo': poll-interval is not supported by this remote 2024/12/25 01:48:35 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/12/25 01:48:35 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:35 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:35 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/12/25 01:48:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:35 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/12/25 01:48:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:35 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/12/25 01:48:36 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/12/25 01:48:37 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/12/25 01:48:37 DEBUG : dir/file1: newRWFileHandle: 2024/12/25 01:48:37 DEBUG : dir/file1: >newRWFileHandle: err= 2024/12/25 01:48:37 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/12/25 01:48:37 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): _readAt: size=1, off=0 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): openPending: 2024/12/25 01:48:37 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "" 2024/12/25 01:48:37 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/12/25 01:48:37 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): >openPending: err= 2024/12/25 01:48:37 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/12/25 01:48:37 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/12/25 01:48:37 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/12/25 01:48:37 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): >_readAt: n=1, err= 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): _readAt: size=1, off=5 2024/12/25 01:48:37 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): >_readAt: n=1, err= 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): _readAt: size=1, off=3 2024/12/25 01:48:37 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): >_readAt: n=1, err= 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): _readAt: size=1, off=13 2024/12/25 01:48:37 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): >_readAt: n=1, err= 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): _readAt: size=16, off=100 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): >_readAt: n=0, err=EOF 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): close: 2024/12/25 01:48:37 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/12/25 01:48:37 DEBUG : dir/file1(0xc000ecc2c0): >close: err= 2024/12/25 01:48:37 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:37 DEBUG : dir: Looking for writers 2024/12/25 01:48:37 DEBUG : file1: reading active writers 2024/12/25 01:48:37 DEBUG : : Looking for writers 2024/12/25 01:48:37 DEBUG : dir: reading active writers 2024/12/25 01:48:37 DEBUG : >WaitForWriters: 2024/12/25 01:48:37 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (2.34s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "files root 'rclone-test-pinozuc5sovo'", Local "Local file system at /tmp/rclone3470905589", Modify Window "1s" 2024/12/25 01:48:38 INFO : files root 'rclone-test-pinozuc5sovo': poll-interval is not supported by this remote 2024/12/25 01:48:38 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/12/25 01:48:38 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:38 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:38 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/12/25 01:48:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:38 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/12/25 01:48:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-pinozuc5sovo" 2024/12/25 01:48:38 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/12/25 01:48:39 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/12/25 01:48:39 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/12/25 01:48:39 DEBUG : dir/file1: newRWFileHandle: 2024/12/25 01:48:39 DEBUG : dir/file1: >newRWFileHandle: err= 2024/12/25 01:48:39 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/12/25 01:48:39 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/12/25 01:48:39 DEBUG : dir/file1(0xc000c881c0): RWFileHandle.Flush 2024/12/25 01:48:39 DEBUG : dir/file1(0xc000c881c0): _readAt: size=256, off=0 2024/12/25 01:48:39 DEBUG : dir/file1(0xc000c881c0): openPending: 2024/12/25 01:48:39 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "" 2024/12/25 01:48:39 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/12/25 01:48:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/25 01:48:39 DEBUG : dir/file1(0xc000c881c0): >openPending: err= 2024/12/25 01:48:39 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2024/12/25 01:48:39 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/12/25 01:48:39 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/12/25 01:48:39 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/12/25 01:48:39 DEBUG : dir/file1(0xc000c881c0): >_readAt: n=16, err=EOF 2024/12/25 01:48:39 DEBUG : dir/file1(0xc000c881c0): RWFileHandle.Flush 2024/12/25 01:48:39 DEBUG : dir/file1(0xc000c881c0): RWFileHandle.Flush 2024/12/25 01:48:39 DEBUG : dir/file1(0xc000c881c0): close: 2024/12/25 01:48:39 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/12/25 01:48:39 DEBUG : dir/file1(0xc000c881c0): >close: err= 2024/12/25 01:48:39 DEBUG : WaitForWriters: timeout=30s 2024/12/25 01:48:39 DEBUG : dir: Looking for writers 2024/12/25 01:48:39 DEBUG : file1: reading active writers 2024/12/25 01:48:39 DEBUG : : Looking for writers 2024/12/25 01:48:39 DEBUG : dir: reading active writers 2024/12/25 01:48:39 DEBUG : >WaitForWriters: 2024/12/25 01:48:39 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (2.29s) PASS 2024/12/25 01:48:40 DEBUG : files root 'rclone-test-pinozuc5sovo': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestFilesCom: -verbose -test.run '^(TestDirCreate|TestDirHandleReaddirnames|TestDirRemove|TestRWFileHandleFlushRead|TestRWFileHandleSeek|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleSeek)$|^TestDirReadDirAll$/^Virtual$|^TestFileRename$/^(full,forceCache=false|writes,forceCache=true)$'" - Finished OK in 50.06758194s (try 2/5)