"./vfs.test -test.v -test.timeout 1h0m0s -remote TestFilesCom: -verbose -test.run '^(TestDirForgetAll|TestDirSetModTime|TestRWFileHandleSizeCreateExisting)$|^TestDirReadDirAll$/^Virtual$|^TestFileRename$/^writes,forceCache=true$'" - Starting (try 2/5) 2025/10/10 01:24:42 DEBUG : Creating backend with remote "TestFilesCom:rclone-test-qirefar3faxi" 2025/10/10 01:24:42 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/10 01:24:43 DEBUG : Creating backend with remote "/tmp/rclone3597276611" === RUN TestDirForgetAll run.go:180: Remote "files root 'rclone-test-qirefar3faxi'", Local "Local file system at /tmp/rclone3597276611", Modify Window "1s" 2025/10/10 01:24:43 INFO : files root 'rclone-test-qirefar3faxi': poll-interval is not supported by this remote 2025/10/10 01:24:46 DEBUG : dir: forgetting directory cache 2025/10/10 01:24:46 DEBUG : forgetting directory cache 2025/10/10 01:24:46 DEBUG : dir: forgetting directory cache 2025/10/10 01:24:46 DEBUG : WaitForWriters: timeout=30s 2025/10/10 01:24:46 DEBUG : Looking for writers 2025/10/10 01:24:46 DEBUG : >WaitForWriters: --- PASS: TestDirForgetAll (3.70s) === RUN TestDirSetModTime run.go:180: Remote "files root 'rclone-test-qirefar3faxi'", Local "Local file system at /tmp/rclone3597276611", Modify Window "1s" 2025/10/10 01:24:46 INFO : files root 'rclone-test-qirefar3faxi': poll-interval is not supported by this remote 2025/10/10 01:24:48 DEBUG : WaitForWriters: timeout=30s 2025/10/10 01:24:48 DEBUG : dir: Looking for writers 2025/10/10 01:24:48 DEBUG : Looking for writers 2025/10/10 01:24:48 DEBUG : dir: reading active writers 2025/10/10 01:24:48 DEBUG : >WaitForWriters: --- PASS: TestDirSetModTime (2.20s) === RUN TestDirReadDirAll run.go:180: Remote "files root 'rclone-test-qirefar3faxi'", Local "Local file system at /tmp/rclone3597276611", Modify Window "1s" 2025/10/10 01:24:49 INFO : files root 'rclone-test-qirefar3faxi': poll-interval is not supported by this remote fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:259 Error: Should be true Test: TestDirReadDirAll Messages: listing wrong, want dir/file1 (14), dir/file2 (15), dir/subdir/file3 (16) got dir/file2 (15), dir/subdir/file3 (16) fstest.go:203: Not found "dir/file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:350 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:259 /usr/local/go/src/runtime/asm_amd64.s:1700 Error: Not equal: expected: 0 actual : 1 Test: TestDirReadDirAll Messages: 1 objects not found dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:265 Error: Not equal: expected: []string{"file1,14,false", "file2,15,false", "subdir,0,true"} actual : []string{"file2,15,false", "subdir,0,true"} Diff: --- Expected +++ Actual @@ -1,3 +1,2 @@ -([]string) (len=3) { - (string) (len=14) "file1,14,false", +([]string) (len=2) { (string) (len=14) "file2,15,false", Test: TestDirReadDirAll === RUN TestDirReadDirAll/Virtual 2025/10/10 01:25:00 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile" 2025/10/10 01:25:00 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir" 2025/10/10 01:25:00 DEBUG : dir: Added virtual directory entry vDel: "file2" 2025/10/10 01:25:00 DEBUG : dir: Added virtual directory entry vDel: "subdir" dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:287 Error: Not equal: expected: []string{"file1,14,false", "virtualDir,0,true", "virtualFile,17,false"} actual : []string{"virtualDir,0,true", "virtualFile,17,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,2 @@ -([]string) (len=3) { - (string) (len=14) "file1,14,false", +([]string) (len=2) { (string) (len=17) "virtualDir,0,true", Test: TestDirReadDirAll/Virtual 2025/10/10 01:25:04 DEBUG : dir: invalidating directory cache 2025/10/10 01:25:04 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir" 2025/10/10 01:25:04 DEBUG : dir: Removed virtual directory entry vDel: "file2" 2025/10/10 01:25:04 DEBUG : dir: Removed virtual directory entry vDel: "subdir" 2025/10/10 01:25:04 DEBUG : dir: Removed virtual directory entry vAddFile: "virtualFile" 2025/10/10 01:25:04 DEBUG : dir/virtualFile: Reset virtual modtime dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:300 Error: Not equal: expected: []string{"file1,14,false", "virtualDir,0,true", "virtualFile,20,false"} actual : []string{"virtualDir,0,true", "virtualFile,20,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,2 @@ -([]string) (len=3) { - (string) (len=14) "file1,14,false", +([]string) (len=2) { (string) (len=17) "virtualDir,0,true", Test: TestDirReadDirAll/Virtual 2025/10/10 01:25:04 DEBUG : dir: Added virtual directory entry vAddFile: "virtualFile2" 2025/10/10 01:25:04 DEBUG : dir: Added virtual directory entry vAddDir: "virtualDir2" 2025/10/10 01:25:04 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/10 01:25:04 DEBUG : dir: invalidating directory cache 2025/10/10 01:25:04 DEBUG : dir: Removed virtual directory entry vAddDir: "virtualDir2" 2025/10/10 01:25:04 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2025/10/10 01:25:04 DEBUG : dir/virtualFile: Reset virtual modtime dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:324 Error: Not equal: expected: []string{"file1,14,false", "virtualDir,0,true", "virtualFile,20,false", "virtualFile2,100,false"} actual : []string{"virtualDir,0,true", "virtualFile,20,false", "virtualFile2,100,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,2 @@ -([]string) (len=4) { - (string) (len=14) "file1,14,false", +([]string) (len=3) { (string) (len=17) "virtualDir,0,true", Test: TestDirReadDirAll/Virtual 2025/10/10 01:25:04 DEBUG : forgetting directory cache 2025/10/10 01:25:04 DEBUG : dir: forgetting directory cache 2025/10/10 01:25:04 DEBUG : dir/virtualDir: forgetting directory cache dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:329 Error: Not equal: expected: []string{"file1,14,false", "virtualDir,0,true", "virtualFile,20,false", "virtualFile2,100,false"} actual : []string{"virtualDir,0,true", "virtualFile,20,false", "virtualFile2,100,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,2 @@ -([]string) (len=4) { - (string) (len=14) "file1,14,false", +([]string) (len=3) { (string) (len=17) "virtualDir,0,true", Test: TestDirReadDirAll/Virtual 2025/10/10 01:25:04 DEBUG : WaitForWriters: timeout=30s 2025/10/10 01:25:04 DEBUG : dir/virtualDir: Looking for writers 2025/10/10 01:25:04 DEBUG : dir: Looking for writers 2025/10/10 01:25:04 DEBUG : virtualDir: reading active writers 2025/10/10 01:25:04 DEBUG : virtualFile2: reading active writers 2025/10/10 01:25:04 DEBUG : virtualFile: reading active writers 2025/10/10 01:25:04 DEBUG : Looking for writers 2025/10/10 01:25:04 DEBUG : dir: reading active writers 2025/10/10 01:25:04 DEBUG : >WaitForWriters: 2025/10/10 01:25:05 DEBUG : pacer: low level retry 1/10 (error Folder Not Empty - `Folder rclone-test-qirefar3faxi/dir not empty`) 2025/10/10 01:25:05 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2025/10/10 01:25:05 DEBUG : pacer: low level retry 2/10 (error Folder Not Empty - `Folder rclone-test-qirefar3faxi/dir not empty`) 2025/10/10 01:25:05 DEBUG : pacer: Rate limited, increasing sleep to 40ms 2025/10/10 01:25:05 DEBUG : pacer: Reducing sleep to 30ms 2025/10/10 01:25:05 DEBUG : pacer: Reducing sleep to 22.5ms --- FAIL: TestDirReadDirAll (16.98s) --- FAIL: TestDirReadDirAll/Virtual (3.97s) === RUN TestFileRename === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "files root 'rclone-test-qirefar3faxi'", Local "Local file system at /tmp/rclone3597276611", Modify Window "1s" 2025/10/10 01:25:06 INFO : files root 'rclone-test-qirefar3faxi': poll-interval is not supported by this remote 2025/10/10 01:25:06 DEBUG : files root 'rclone-test-qirefar3faxi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/10 01:25:06 DEBUG : files root 'rclone-test-qirefar3faxi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-qirefar3faxi" 2025/10/10 01:25:06 DEBUG : files root 'rclone-test-qirefar3faxi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-qirefar3faxi" 2025/10/10 01:25:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-qirefar3faxi" 2025/10/10 01:25:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/10 01:25:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-qirefar3faxi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-qirefar3faxi" 2025/10/10 01:25:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-qirefar3faxi" 2025/10/10 01:25:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/10 01:25:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-qirefar3faxi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-qirefar3faxi" 2025/10/10 01:25:06 INFO : files root 'rclone-test-qirefar3faxi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/10 01:25:06 DEBUG : pacer: Reducing sleep to 16.875ms 2025/10/10 01:25:06 DEBUG : pacer: Reducing sleep to 12.65625ms 2025/10/10 01:25:06 DEBUG : pacer: Reducing sleep to 10ms 2025/10/10 01:25:07 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2025/10/10 01:25:07 DEBUG : dir/file1: newRWFileHandle: 2025/10/10 01:25:07 DEBUG : dir/file1(0xc000551f00): openPending: 2025/10/10 01:25:07 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2025/10/10 01:25:07 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/10/10 01:25:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/10 01:25:07 DEBUG : dir/file1(0xc000551f00): >openPending: err= 2025/10/10 01:25:07 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/10/10 01:25:07 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/10 01:25:07 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/10 01:25:07 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/10 01:25:07 DEBUG : dir/file1(0xc000551f00): _writeAt: size=14, off=0 2025/10/10 01:25:07 DEBUG : dir/file1(0xc000551f00): >_writeAt: n=14, err= 2025/10/10 01:25:07 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/10/10 01:25:07 DEBUG : dir/file1(0xc000551f00): close: 2025/10/10 01:25:07 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/10/10 01:25:07 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2025/10/10 01:25:07 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/10/10 01:25:07 DEBUG : dir/file1(0xc000551f00): >close: err= 2025/10/10 01:25:07 DEBUG : WaitForWriters: timeout=30s 2025/10/10 01:25:07 DEBUG : dir: Looking for writers 2025/10/10 01:25:07 DEBUG : file1: reading active writers 2025/10/10 01:25:07 DEBUG : Looking for writers 2025/10/10 01:25:07 DEBUG : dir: reading active writers 2025/10/10 01:25:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/10 01:25:07 DEBUG : dir: Looking for writers 2025/10/10 01:25:07 DEBUG : file1: reading active writers 2025/10/10 01:25:07 DEBUG : Looking for writers 2025/10/10 01:25:07 DEBUG : dir: reading active writers 2025/10/10 01:25:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/10 01:25:07 DEBUG : dir: Looking for writers 2025/10/10 01:25:07 DEBUG : file1: reading active writers 2025/10/10 01:25:07 DEBUG : Looking for writers 2025/10/10 01:25:07 DEBUG : dir: reading active writers 2025/10/10 01:25:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/10 01:25:07 DEBUG : dir: Looking for writers 2025/10/10 01:25:07 DEBUG : file1: reading active writers 2025/10/10 01:25:07 DEBUG : Looking for writers 2025/10/10 01:25:07 DEBUG : dir: reading active writers 2025/10/10 01:25:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/10 01:25:07 DEBUG : dir/file1: vfs cache: starting upload 2025/10/10 01:25:07 DEBUG : dir: Looking for writers 2025/10/10 01:25:07 DEBUG : file1: reading active writers 2025/10/10 01:25:07 DEBUG : Looking for writers 2025/10/10 01:25:07 DEBUG : dir: reading active writers 2025/10/10 01:25:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/10 01:25:07 DEBUG : dir: Looking for writers 2025/10/10 01:25:07 DEBUG : file1: reading active writers 2025/10/10 01:25:07 DEBUG : Looking for writers 2025/10/10 01:25:07 DEBUG : dir: reading active writers 2025/10/10 01:25:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/10 01:25:08 DEBUG : dir: Looking for writers 2025/10/10 01:25:08 DEBUG : file1: reading active writers 2025/10/10 01:25:08 DEBUG : Looking for writers 2025/10/10 01:25:08 DEBUG : dir: reading active writers 2025/10/10 01:25:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/10 01:25:08 DEBUG : dir/file1: Dst hash empty - aborting Src hash check 2025/10/10 01:25:08 INFO : dir/file1: Copied (replaced existing) 2025/10/10 01:25:08 DEBUG : dir/file1: vfs cache: fingerprint now "14,2001-02-03 04:05:06 +0000 UTC," 2025/10/10 01:25:08 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/10/10 01:25:08 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2025/10/10 01:25:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/10 01:25:08 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/10/10 01:25:08 DEBUG : dir: Looking for writers 2025/10/10 01:25:08 DEBUG : file1: reading active writers 2025/10/10 01:25:08 DEBUG : Looking for writers 2025/10/10 01:25:08 DEBUG : dir: reading active writers 2025/10/10 01:25:08 DEBUG : >WaitForWriters: 2025/10/10 01:25:08 DEBUG : dir/file1: Open: flags=O_RDONLY 2025/10/10 01:25:08 DEBUG : dir/file1: newRWFileHandle: 2025/10/10 01:25:08 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/10 01:25:08 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/10 01:25:08 DEBUG : dir/file1(0xc0009ef040): _readAt: size=512, off=0 2025/10/10 01:25:08 DEBUG : dir/file1(0xc0009ef040): openPending: 2025/10/10 01:25: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," 2025/10/10 01:25:08 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2025/10/10 01:25:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/10 01:25:08 DEBUG : dir/file1(0xc0009ef040): >openPending: err= 2025/10/10 01:25:08 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2025/10/10 01:25:08 DEBUG : dir/file1(0xc0009ef040): >_readAt: n=14, err=EOF 2025/10/10 01:25:08 DEBUG : dir/file1(0xc0009ef040): close: 2025/10/10 01:25:08 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2025/10/10 01:25:08 DEBUG : dir/file1(0xc0009ef040): >close: err= 2025/10/10 01:25:09 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/10 01:25:09 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/10/10 01:25:09 DEBUG : newLeaf: Updating file with newLeaf 0xc00012bc80 2025/10/10 01:25:09 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/10 01:25:09 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/10 01:25:10 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/10/10 01:25:10 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2025/10/10 01:25:10 DEBUG : dir/file1: Updating file with dir/file1 0xc00012bc80 2025/10/10 01:25:10 DEBUG : Added virtual directory entry vDel: "newLeaf" 2025/10/10 01:25:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/10 01:25:10 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/10/10 01:25:10 DEBUG : dir/file1: newRWFileHandle: 2025/10/10 01:25:10 DEBUG : dir/file1(0xc000505a00): openPending: 2025/10/10 01:25:10 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," 2025/10/10 01:25:10 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,") 2025/10/10 01:25:10 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2025/10/10 01:25:10 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2025/10/10 01:25:10 DEBUG : dir/file1: vfs cache: truncate to size=14 2025/10/10 01:25:10 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/10 01:25:10 DEBUG : dir/file1(0xc000505a00): >openPending: err= 2025/10/10 01:25:10 DEBUG : dir/file1: vfs cache: truncate to size=0 2025/10/10 01:25:10 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/10 01:25:10 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/10 01:25:10 DEBUG : dir/file1(0xc000505a00): _writeAt: size=25, off=0 2025/10/10 01:25:10 DEBUG : dir/file1(0xc000505a00): >_writeAt: n=25, err= 2025/10/10 01:25:11 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/10/10 01:25:11 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2025/10/10 01:25:11 DEBUG : newLeaf: Updating file with newLeaf 0xc00012bc80 2025/10/10 01:25:11 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/10/10 01:25:11 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/10 01:25:11 DEBUG : newLeaf(0xc000505a00): close: 2025/10/10 01:25:11 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2025/10/10 01:25:11 DEBUG : newLeaf: vfs cache: setting modification time to 2025-10-10 01:25:10.731074064 +0000 UTC m=+28.679875604 2025/10/10 01:25:11 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2025/10/10 01:25:11 DEBUG : newLeaf(0xc000505a00): >close: err= 2025/10/10 01:25:11 DEBUG : WaitForWriters: timeout=30s 2025/10/10 01:25:11 DEBUG : dir: Looking for writers 2025/10/10 01:25:11 DEBUG : Looking for writers 2025/10/10 01:25:11 DEBUG : newLeaf: reading active writers 2025/10/10 01:25:11 DEBUG : dir: reading active writers 2025/10/10 01:25:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/10 01:25:11 DEBUG : dir: Looking for writers 2025/10/10 01:25:11 DEBUG : Looking for writers 2025/10/10 01:25:11 DEBUG : dir: reading active writers 2025/10/10 01:25:11 DEBUG : newLeaf: reading active writers 2025/10/10 01:25:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/10 01:25:11 DEBUG : dir: Looking for writers 2025/10/10 01:25:11 DEBUG : Looking for writers 2025/10/10 01:25:11 DEBUG : dir: reading active writers 2025/10/10 01:25:11 DEBUG : newLeaf: reading active writers 2025/10/10 01:25:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/10 01:25:11 DEBUG : dir: Looking for writers 2025/10/10 01:25:11 DEBUG : Looking for writers 2025/10/10 01:25:11 DEBUG : dir: reading active writers 2025/10/10 01:25:11 DEBUG : newLeaf: reading active writers 2025/10/10 01:25:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/10 01:25:11 DEBUG : newLeaf: vfs cache: starting upload 2025/10/10 01:25:11 DEBUG : dir: Looking for writers 2025/10/10 01:25:11 DEBUG : Looking for writers 2025/10/10 01:25:11 DEBUG : dir: reading active writers 2025/10/10 01:25:11 DEBUG : newLeaf: reading active writers 2025/10/10 01:25:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/10 01:25:11 DEBUG : dir: Looking for writers 2025/10/10 01:25:11 DEBUG : Looking for writers 2025/10/10 01:25:11 DEBUG : dir: reading active writers 2025/10/10 01:25:11 DEBUG : newLeaf: reading active writers 2025/10/10 01:25:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/10 01:25:11 DEBUG : dir: Looking for writers 2025/10/10 01:25:11 DEBUG : Looking for writers 2025/10/10 01:25:11 DEBUG : newLeaf: reading active writers 2025/10/10 01:25:11 DEBUG : dir: reading active writers 2025/10/10 01:25:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/10 01:25:12 DEBUG : newLeaf: Dst hash empty - aborting Src hash check 2025/10/10 01:25:12 INFO : newLeaf: Copied (replaced existing) 2025/10/10 01:25:12 DEBUG : newLeaf: vfs cache: fingerprint now "25,2025-10-10 01:25:10 +0000 UTC," 2025/10/10 01:25:12 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2025/10/10 01:25:12 DEBUG : Added virtual directory entry vAddFile: "newLeaf" 2025/10/10 01:25:12 INFO : newLeaf: vfs cache: upload succeeded try #1 2025/10/10 01:25:12 DEBUG : dir: Looking for writers 2025/10/10 01:25:12 DEBUG : Looking for writers 2025/10/10 01:25:12 DEBUG : dir: reading active writers 2025/10/10 01:25:12 DEBUG : newLeaf: reading active writers 2025/10/10 01:25:12 DEBUG : >WaitForWriters: 2025/10/10 01:25:12 DEBUG : WaitForWriters: timeout=30s 2025/10/10 01:25:12 DEBUG : dir: Looking for writers 2025/10/10 01:25:12 DEBUG : Looking for writers 2025/10/10 01:25:12 DEBUG : newLeaf: reading active writers 2025/10/10 01:25:12 DEBUG : dir: reading active writers 2025/10/10 01:25:12 DEBUG : >WaitForWriters: 2025/10/10 01:25:12 DEBUG : files root 'rclone-test-qirefar3faxi': vfs cache: cleaner exiting --- PASS: TestFileRename (7.53s) --- PASS: TestFileRename/writes,forceCache=true (7.53s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "files root 'rclone-test-qirefar3faxi'", Local "Local file system at /tmp/rclone3597276611", Modify Window "1s" 2025/10/10 01:25:13 INFO : files root 'rclone-test-qirefar3faxi': poll-interval is not supported by this remote 2025/10/10 01:25:13 DEBUG : files root 'rclone-test-qirefar3faxi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/10 01:25:13 DEBUG : files root 'rclone-test-qirefar3faxi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-qirefar3faxi" 2025/10/10 01:25:13 DEBUG : files root 'rclone-test-qirefar3faxi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-qirefar3faxi" 2025/10/10 01:25:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-qirefar3faxi" 2025/10/10 01:25:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/10 01:25:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-qirefar3faxi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-qirefar3faxi" 2025/10/10 01:25:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-qirefar3faxi" 2025/10/10 01:25:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/10 01:25:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-qirefar3faxi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-qirefar3faxi" 2025/10/10 01:25:13 INFO : files root 'rclone-test-qirefar3faxi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/10 01:25:14 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/10 01:25:14 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2025/10/10 01:25:14 DEBUG : dir/file1: newRWFileHandle: 2025/10/10 01:25:14 DEBUG : dir/file1: >newRWFileHandle: err= 2025/10/10 01:25:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/10 01:25:14 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/10/10 01:25:14 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2025/10/10 01:25:14 DEBUG : dir/file1(0xc000d18b40): _writeAt: size=5, off=0 2025/10/10 01:25:14 DEBUG : dir/file1(0xc000d18b40): openPending: 2025/10/10 01:25:14 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,4032af8d61035123906e58e067140cc5" against cached fingerprint "" 2025/10/10 01:25:14 DEBUG : dir/file1: vfs cache: truncate to size=16 2025/10/10 01:25:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/10 01:25:14 DEBUG : dir/file1(0xc000d18b40): >openPending: err= 2025/10/10 01:25:14 DEBUG : dir/file1(0xc000d18b40): >_writeAt: n=5, err= 2025/10/10 01:25:14 DEBUG : dir/file1(0xc000d18b40): _writeAt: size=15, off=5 2025/10/10 01:25:14 DEBUG : dir/file1(0xc000d18b40): >_writeAt: n=15, err= 2025/10/10 01:25:14 DEBUG : dir/file1(0xc000d18b40): close: 2025/10/10 01:25:14 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2025/10/10 01:25:14 DEBUG : dir/file1: vfs cache: setting modification time to 2025-10-10 01:25:14.991276773 +0000 UTC m=+32.940078324 2025/10/10 01:25:14 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2025/10/10 01:25:14 DEBUG : dir/file1(0xc000d18b40): >close: err= 2025/10/10 01:25:14 DEBUG : WaitForWriters: timeout=30s 2025/10/10 01:25:14 DEBUG : dir: Looking for writers 2025/10/10 01:25:14 DEBUG : file1: reading active writers 2025/10/10 01:25:14 DEBUG : Looking for writers 2025/10/10 01:25:14 DEBUG : dir: reading active writers 2025/10/10 01:25:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/10 01:25:15 DEBUG : dir: Looking for writers 2025/10/10 01:25:15 DEBUG : file1: reading active writers 2025/10/10 01:25:15 DEBUG : Looking for writers 2025/10/10 01:25:15 DEBUG : dir: reading active writers 2025/10/10 01:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/10 01:25:15 DEBUG : dir: Looking for writers 2025/10/10 01:25:15 DEBUG : file1: reading active writers 2025/10/10 01:25:15 DEBUG : Looking for writers 2025/10/10 01:25:15 DEBUG : dir: reading active writers 2025/10/10 01:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/10 01:25:15 DEBUG : dir: Looking for writers 2025/10/10 01:25:15 DEBUG : file1: reading active writers 2025/10/10 01:25:15 DEBUG : Looking for writers 2025/10/10 01:25:15 DEBUG : dir: reading active writers 2025/10/10 01:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/10 01:25:15 DEBUG : dir/file1: vfs cache: starting upload 2025/10/10 01:25:15 DEBUG : dir: Looking for writers 2025/10/10 01:25:15 DEBUG : file1: reading active writers 2025/10/10 01:25:15 DEBUG : Looking for writers 2025/10/10 01:25:15 DEBUG : dir: reading active writers 2025/10/10 01:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/10 01:25:15 DEBUG : dir: Looking for writers 2025/10/10 01:25:15 DEBUG : file1: reading active writers 2025/10/10 01:25:15 DEBUG : Looking for writers 2025/10/10 01:25:15 DEBUG : dir: reading active writers 2025/10/10 01:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/10 01:25:15 DEBUG : dir: Looking for writers 2025/10/10 01:25:15 DEBUG : file1: reading active writers 2025/10/10 01:25:15 DEBUG : Looking for writers 2025/10/10 01:25:15 DEBUG : dir: reading active writers 2025/10/10 01:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/10 01:25:15 DEBUG : dir/file1: Dst hash empty - aborting Src hash check 2025/10/10 01:25:15 INFO : dir/file1: Copied (replaced existing) 2025/10/10 01:25:15 DEBUG : dir/file1: vfs cache: fingerprint now "20,2025-10-10 01:25:14 +0000 UTC," 2025/10/10 01:25:15 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2025/10/10 01:25:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/10/10 01:25:15 INFO : dir/file1: vfs cache: upload succeeded try #1 2025/10/10 01:25:16 DEBUG : dir: Looking for writers 2025/10/10 01:25:16 DEBUG : file1: reading active writers 2025/10/10 01:25:16 DEBUG : Looking for writers 2025/10/10 01:25:16 DEBUG : dir: reading active writers 2025/10/10 01:25:16 DEBUG : >WaitForWriters: 2025/10/10 01:25:16 DEBUG : files root 'rclone-test-qirefar3faxi': vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (3.45s) FAIL 2025/10/10 01:25:17 DEBUG : files root 'rclone-test-qirefar3faxi': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestFilesCom: -verbose -test.run '^(TestDirForgetAll|TestDirSetModTime|TestRWFileHandleSizeCreateExisting)$|^TestDirReadDirAll$/^Virtual$|^TestFileRename$/^writes,forceCache=true$'" - Finished ERROR in 35.163948649s (try 2/5): exit status 1: Failed [TestDirReadDirAll/Virtual]