"./vfs.test -test.v -test.timeout 1h0m0s -remote TestFilesCom: -verbose -test.run '^(TestDirForgetPath|TestFileRemoveAll)$|^TestFileRename$/^minimal,forceCache=true$'" - Starting (try 2/5) 2024/10/12 04:24:01 DEBUG : Creating backend with remote "TestFilesCom:rclone-test-vesosuq1dugu" 2024/10/12 04:24:01 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/10/12 04:24:02 DEBUG : Creating backend with remote "/tmp/rclone3429646930" === RUN TestDirForgetPath run.go:180: Remote "files root 'rclone-test-vesosuq1dugu'", Local "Local file system at /tmp/rclone3429646930", Modify Window "1s" 2024/10/12 04:24:02 INFO : files root 'rclone-test-vesosuq1dugu': poll-interval is not supported by this remote 2024/10/12 04:24:04 DEBUG : : ForgetPath: relativePath="dir/notfound", type=1 2024/10/12 04:24:04 DEBUG : dir: invalidating directory cache 2024/10/12 04:24:04 DEBUG : : >ForgetPath: 2024/10/12 04:24:04 DEBUG : : ForgetPath: relativePath="dir", type=0 2024/10/12 04:24:04 DEBUG : : invalidating directory cache 2024/10/12 04:24:04 DEBUG : dir: forgetting directory cache 2024/10/12 04:24:04 DEBUG : : >ForgetPath: 2024/10/12 04:24:04 DEBUG : : ForgetPath: relativePath="not/in/cache", type=0 2024/10/12 04:24:04 DEBUG : : >ForgetPath: 2024/10/12 04:24:04 DEBUG : WaitForWriters: timeout=30s 2024/10/12 04:24:04 DEBUG : dir: Looking for writers 2024/10/12 04:24:04 DEBUG : : Looking for writers 2024/10/12 04:24:04 DEBUG : dir: reading active writers 2024/10/12 04:24:04 DEBUG : >WaitForWriters: --- PASS: TestDirForgetPath (2.98s) === RUN TestFileRemoveAll run.go:180: Remote "files root 'rclone-test-vesosuq1dugu'", Local "Local file system at /tmp/rclone3429646930", Modify Window "1s" 2024/10/12 04:24:05 INFO : files root 'rclone-test-vesosuq1dugu': poll-interval is not supported by this remote 2024/10/12 04:24:06 DEBUG : dir/file1: Remove: 2024/10/12 04:24:06 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/12 04:24:06 DEBUG : dir/file1: >Remove: err= 2024/10/12 04:24:07 DEBUG : dir/file1: Remove: 2024/10/12 04:24:07 DEBUG : dir/file1: >Remove: err=Read only file system 2024/10/12 04:24:07 DEBUG : WaitForWriters: timeout=30s 2024/10/12 04:24:07 DEBUG : dir: Looking for writers 2024/10/12 04:24:07 DEBUG : : Looking for writers 2024/10/12 04:24:07 DEBUG : dir: reading active writers 2024/10/12 04:24:07 DEBUG : >WaitForWriters: --- PASS: TestFileRemoveAll (2.27s) === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "files root 'rclone-test-vesosuq1dugu'", Local "Local file system at /tmp/rclone3429646930", Modify Window "1s" 2024/10/12 04:24:07 INFO : files root 'rclone-test-vesosuq1dugu': poll-interval is not supported by this remote 2024/10/12 04:24:07 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/12 04:24:07 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-vesosuq1dugu" 2024/10/12 04:24:07 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-vesosuq1dugu" 2024/10/12 04:24:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-vesosuq1dugu" 2024/10/12 04:24:07 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/12 04:24:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-vesosuq1dugu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-vesosuq1dugu" 2024/10/12 04:24:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-vesosuq1dugu" 2024/10/12 04:24:07 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/12 04:24:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-vesosuq1dugu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-vesosuq1dugu" 2024/10/12 04:24:07 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/12 04:24:08 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/10/12 04:24:08 DEBUG : dir/file1: newRWFileHandle: 2024/10/12 04:24:08 DEBUG : dir/file1(0xc000985240): openPending: 2024/10/12 04:24:08 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2024/10/12 04:24:08 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/12 04:24:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/12 04:24:08 DEBUG : dir/file1(0xc000985240): >openPending: err= 2024/10/12 04:24:08 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/12 04:24:08 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/12 04:24:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/12 04:24:08 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/12 04:24:08 DEBUG : dir/file1(0xc000985240): _writeAt: size=14, off=0 2024/10/12 04:24:08 DEBUG : dir/file1(0xc000985240): >_writeAt: n=14, err= 2024/10/12 04:24:08 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/12 04:24:08 DEBUG : dir/file1(0xc000985240): close: 2024/10/12 04:24:08 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/12 04:24:08 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/12 04:24:08 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/12 04:24:08 DEBUG : dir/file1(0xc000985240): >close: err= 2024/10/12 04:24:08 DEBUG : WaitForWriters: timeout=30s 2024/10/12 04:24:08 DEBUG : dir: Looking for writers 2024/10/12 04:24:08 DEBUG : file1: reading active writers 2024/10/12 04:24:08 DEBUG : : Looking for writers 2024/10/12 04:24:08 DEBUG : dir: reading active writers 2024/10/12 04:24:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/12 04:24:08 DEBUG : dir: Looking for writers 2024/10/12 04:24:08 DEBUG : file1: reading active writers 2024/10/12 04:24:08 DEBUG : : Looking for writers 2024/10/12 04:24:08 DEBUG : dir: reading active writers 2024/10/12 04:24:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/12 04:24:09 DEBUG : dir: Looking for writers 2024/10/12 04:24:09 DEBUG : file1: reading active writers 2024/10/12 04:24:09 DEBUG : : Looking for writers 2024/10/12 04:24:09 DEBUG : dir: reading active writers 2024/10/12 04:24:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/12 04:24:09 DEBUG : dir: Looking for writers 2024/10/12 04:24:09 DEBUG : file1: reading active writers 2024/10/12 04:24:09 DEBUG : : Looking for writers 2024/10/12 04:24:09 DEBUG : dir: reading active writers 2024/10/12 04:24:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/12 04:24:09 DEBUG : dir/file1: vfs cache: starting upload 2024/10/12 04:24:09 DEBUG : dir: Looking for writers 2024/10/12 04:24:09 DEBUG : file1: reading active writers 2024/10/12 04:24:09 DEBUG : : Looking for writers 2024/10/12 04:24:09 DEBUG : dir: reading active writers 2024/10/12 04:24:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/12 04:24:09 DEBUG : dir: Looking for writers 2024/10/12 04:24:09 DEBUG : file1: reading active writers 2024/10/12 04:24:09 DEBUG : : Looking for writers 2024/10/12 04:24:09 DEBUG : dir: reading active writers 2024/10/12 04:24:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/12 04:24:09 DEBUG : dir: Looking for writers 2024/10/12 04:24:09 DEBUG : file1: reading active writers 2024/10/12 04:24:09 DEBUG : : Looking for writers 2024/10/12 04:24:09 DEBUG : dir: reading active writers 2024/10/12 04:24:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/12 04:24:09 DEBUG : dir/file1: Dst hash empty - aborting Src hash check 2024/10/12 04:24:09 INFO : dir/file1: Copied (replaced existing) 2024/10/12 04:24:09 DEBUG : dir/file1: vfs cache: fingerprint now "14,2001-02-03 04:05:06 +0000 UTC," 2024/10/12 04:24:09 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/10/12 04:24:09 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/10/12 04:24:09 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/12 04:24:09 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/10/12 04:24:10 DEBUG : dir: Looking for writers 2024/10/12 04:24:10 DEBUG : file1: reading active writers 2024/10/12 04:24:10 DEBUG : : Looking for writers 2024/10/12 04:24:10 DEBUG : dir: reading active writers 2024/10/12 04:24:10 DEBUG : >WaitForWriters: 2024/10/12 04:24:10 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/12 04:24:10 DEBUG : dir/file1: newRWFileHandle: 2024/10/12 04:24:10 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/12 04:24:10 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/12 04:24:10 DEBUG : dir/file1(0xc0001a30c0): _readAt: size=512, off=0 2024/10/12 04:24:10 DEBUG : dir/file1(0xc0001a30c0): openPending: 2024/10/12 04:24: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/10/12 04:24:10 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/10/12 04:24:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/12 04:24:10 DEBUG : dir/file1(0xc0001a30c0): >openPending: err= 2024/10/12 04:24:10 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/12 04:24:10 DEBUG : dir/file1(0xc0001a30c0): >_readAt: n=14, err=EOF 2024/10/12 04:24:10 DEBUG : dir/file1(0xc0001a30c0): close: 2024/10/12 04:24:10 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/10/12 04:24:10 DEBUG : dir/file1(0xc0001a30c0): >close: err= 2024/10/12 04:24:11 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/12 04:24:11 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/12 04:24:11 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c0840 2024/10/12 04:24:11 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/12 04:24:11 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/12 04:24:11 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/12 04:24:11 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/10/12 04:24:11 DEBUG : dir/file1: Updating file with dir/file1 0xc0002c0840 2024/10/12 04:24:11 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/12 04:24:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/12 04:24:12 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/12 04:24:12 DEBUG : dir/file1: newRWFileHandle: 2024/10/12 04:24:12 DEBUG : dir/file1(0xc000985740): openPending: 2024/10/12 04:24:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC," 2024/10/12 04:24:12 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" != cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,") 2024/10/12 04:24:12 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2024/10/12 04:24:12 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/12 04:24:12 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/12 04:24:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/12 04:24:12 DEBUG : dir/file1(0xc000985740): >openPending: err= 2024/10/12 04:24:12 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/12 04:24:12 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/12 04:24:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/12 04:24:12 DEBUG : dir/file1(0xc000985740): _writeAt: size=25, off=0 2024/10/12 04:24:12 DEBUG : dir/file1(0xc000985740): >_writeAt: n=25, err= 2024/10/12 04:24:12 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/12 04:24:12 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/12 04:24:12 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c0840 2024/10/12 04:24:12 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/12 04:24:12 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/12 04:24:12 DEBUG : newLeaf(0xc000985740): close: 2024/10/12 04:24:12 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/12 04:24:12 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-12 04:24:12.258574749 +0000 UTC m=+10.520772070 2024/10/12 04:24:12 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/12 04:24:12 DEBUG : newLeaf(0xc000985740): >close: err= 2024/10/12 04:24:12 DEBUG : WaitForWriters: timeout=30s 2024/10/12 04:24:12 DEBUG : dir: Looking for writers 2024/10/12 04:24:12 DEBUG : : Looking for writers 2024/10/12 04:24:12 DEBUG : newLeaf: reading active writers 2024/10/12 04:24:12 DEBUG : dir: reading active writers 2024/10/12 04:24:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/12 04:24:12 DEBUG : dir: Looking for writers 2024/10/12 04:24:12 DEBUG : : Looking for writers 2024/10/12 04:24:12 DEBUG : dir: reading active writers 2024/10/12 04:24:12 DEBUG : newLeaf: reading active writers 2024/10/12 04:24:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/12 04:24:12 DEBUG : dir: Looking for writers 2024/10/12 04:24:12 DEBUG : : Looking for writers 2024/10/12 04:24:12 DEBUG : dir: reading active writers 2024/10/12 04:24:12 DEBUG : newLeaf: reading active writers 2024/10/12 04:24:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/12 04:24:12 DEBUG : dir: Looking for writers 2024/10/12 04:24:12 DEBUG : : Looking for writers 2024/10/12 04:24:12 DEBUG : dir: reading active writers 2024/10/12 04:24:12 DEBUG : newLeaf: reading active writers 2024/10/12 04:24:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/12 04:24:12 DEBUG : newLeaf: vfs cache: starting upload 2024/10/12 04:24:12 DEBUG : dir: Looking for writers 2024/10/12 04:24:12 DEBUG : : Looking for writers 2024/10/12 04:24:12 DEBUG : dir: reading active writers 2024/10/12 04:24:12 DEBUG : newLeaf: reading active writers 2024/10/12 04:24:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/12 04:24:13 DEBUG : dir: Looking for writers 2024/10/12 04:24:13 DEBUG : : Looking for writers 2024/10/12 04:24:13 DEBUG : dir: reading active writers 2024/10/12 04:24:13 DEBUG : newLeaf: reading active writers 2024/10/12 04:24:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/12 04:24:13 DEBUG : dir: Looking for writers 2024/10/12 04:24:13 DEBUG : : Looking for writers 2024/10/12 04:24:13 DEBUG : dir: reading active writers 2024/10/12 04:24:13 DEBUG : newLeaf: reading active writers 2024/10/12 04:24:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/12 04:24:13 DEBUG : newLeaf: Dst hash empty - aborting Src hash check 2024/10/12 04:24:13 INFO : newLeaf: Copied (replaced existing) 2024/10/12 04:24:13 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-10-12 04:24:12 +0000 UTC," 2024/10/12 04:24:13 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/10/12 04:24:13 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/12 04:24:13 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/10/12 04:24:14 DEBUG : dir: Looking for writers 2024/10/12 04:24:14 DEBUG : : Looking for writers 2024/10/12 04:24:14 DEBUG : dir: reading active writers 2024/10/12 04:24:14 DEBUG : newLeaf: reading active writers 2024/10/12 04:24:14 DEBUG : >WaitForWriters: 2024/10/12 04:24:14 DEBUG : WaitForWriters: timeout=30s 2024/10/12 04:24:14 DEBUG : dir: Looking for writers 2024/10/12 04:24:14 DEBUG : : Looking for writers 2024/10/12 04:24:14 DEBUG : dir: reading active writers 2024/10/12 04:24:14 DEBUG : newLeaf: reading active writers 2024/10/12 04:24:14 DEBUG : >WaitForWriters: 2024/10/12 04:24:14 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileRename (7.32s) --- PASS: TestFileRename/minimal,forceCache=true (7.32s) PASS 2024/10/12 04:24:15 DEBUG : files root 'rclone-test-vesosuq1dugu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestFilesCom: -verbose -test.run '^(TestDirForgetPath|TestFileRemoveAll)$|^TestFileRename$/^minimal,forceCache=true$'" - Finished OK in 13.494484824s (try 2/5)