"./vfs.test -test.v -test.timeout 1h0m0s -remote TestFilesCom: -verbose -test.run '^(TestDirMkdirSub|TestDirOpen)$|^TestFileRename$/^writes,forceCache=true$'" - Starting (try 2/5) 2024/11/06 04:42:26 DEBUG : Creating backend with remote "TestFilesCom:rclone-test-cakudir4jitu" 2024/11/06 04:42:26 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/06 04:42:26 DEBUG : Creating backend with remote "/tmp/rclone1975434808" === RUN TestDirOpen run.go:180: Remote "files root 'rclone-test-cakudir4jitu'", Local "Local file system at /tmp/rclone1975434808", Modify Window "1s" 2024/11/06 04:42:26 INFO : files root 'rclone-test-cakudir4jitu': poll-interval is not supported by this remote 2024/11/06 04:42:29 ERROR : dir/: Can only open directories read only 2024/11/06 04:42:29 DEBUG : WaitForWriters: timeout=30s 2024/11/06 04:42:29 DEBUG : dir: Looking for writers 2024/11/06 04:42:29 DEBUG : : Looking for writers 2024/11/06 04:42:29 DEBUG : dir: reading active writers 2024/11/06 04:42:29 DEBUG : >WaitForWriters: --- PASS: TestDirOpen (3.15s) === RUN TestDirMkdirSub run.go:180: Remote "files root 'rclone-test-cakudir4jitu'", Local "Local file system at /tmp/rclone1975434808", Modify Window "1s" 2024/11/06 04:42:29 INFO : files root 'rclone-test-cakudir4jitu': poll-interval is not supported by this remote 2024/11/06 04:42:31 DEBUG : dir: Added virtual directory entry vAddDir: "sub" 2024/11/06 04:42:31 DEBUG : dir/sub: Added virtual directory entry vAddDir: "subsub" 2024/11/06 04:42:32 DEBUG : WaitForWriters: timeout=30s 2024/11/06 04:42:32 DEBUG : dir/sub/subsub: Looking for writers 2024/11/06 04:42:32 DEBUG : dir/sub: Looking for writers 2024/11/06 04:42:32 DEBUG : subsub: reading active writers 2024/11/06 04:42:32 DEBUG : dir: Looking for writers 2024/11/06 04:42:32 DEBUG : file1: reading active writers 2024/11/06 04:42:32 DEBUG : sub: reading active writers 2024/11/06 04:42:32 DEBUG : : Looking for writers 2024/11/06 04:42:32 DEBUG : dir: reading active writers 2024/11/06 04:42:32 DEBUG : >WaitForWriters: 2024/11/06 04:42:33 DEBUG : pacer: low level retry 1/10 (error Folder Not Empty - `Folder rclone-test-cakudir4jitu/dir/sub not empty`) 2024/11/06 04:42:33 DEBUG : pacer: Rate limited, increasing sleep to 20ms 2024/11/06 04:42:33 DEBUG : pacer: Reducing sleep to 15ms 2024/11/06 04:42:33 DEBUG : pacer: Reducing sleep to 11.25ms 2024/11/06 04:42:33 DEBUG : pacer: Reducing sleep to 10ms --- PASS: TestDirMkdirSub (3.82s) === RUN TestFileRename === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "files root 'rclone-test-cakudir4jitu'", Local "Local file system at /tmp/rclone1975434808", Modify Window "1s" 2024/11/06 04:42:33 INFO : files root 'rclone-test-cakudir4jitu': poll-interval is not supported by this remote 2024/11/06 04:42:33 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/06 04:42:33 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-cakudir4jitu" 2024/11/06 04:42:33 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-cakudir4jitu" 2024/11/06 04:42:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-cakudir4jitu" 2024/11/06 04:42:33 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/06 04:42:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-cakudir4jitu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestFilesCom/rclone-test-cakudir4jitu" 2024/11/06 04:42:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-cakudir4jitu" 2024/11/06 04:42:33 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/06 04:42:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-cakudir4jitu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestFilesCom/rclone-test-cakudir4jitu" 2024/11/06 04:42:33 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/06 04:42:35 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/11/06 04:42:35 DEBUG : dir/file1: newRWFileHandle: 2024/11/06 04:42:35 DEBUG : dir/file1(0xc0005a1540): openPending: 2024/11/06 04:42:35 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC," against cached fingerprint "" 2024/11/06 04:42:35 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/11/06 04:42:35 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/06 04:42:35 DEBUG : dir/file1(0xc0005a1540): >openPending: err= 2024/11/06 04:42:35 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/06 04:42:35 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/06 04:42:35 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/06 04:42:35 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/06 04:42:35 DEBUG : dir/file1(0xc0005a1540): _writeAt: size=14, off=0 2024/11/06 04:42:35 DEBUG : dir/file1(0xc0005a1540): >_writeAt: n=14, err= 2024/11/06 04:42:35 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/11/06 04:42:35 DEBUG : dir/file1(0xc0005a1540): close: 2024/11/06 04:42:35 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/11/06 04:42:35 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/11/06 04:42:35 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/11/06 04:42:35 DEBUG : dir/file1(0xc0005a1540): >close: err= 2024/11/06 04:42:35 DEBUG : WaitForWriters: timeout=30s 2024/11/06 04:42:35 DEBUG : dir: Looking for writers 2024/11/06 04:42:35 DEBUG : file1: reading active writers 2024/11/06 04:42:35 DEBUG : : Looking for writers 2024/11/06 04:42:35 DEBUG : dir: reading active writers 2024/11/06 04:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/06 04:42:35 DEBUG : dir: Looking for writers 2024/11/06 04:42:35 DEBUG : file1: reading active writers 2024/11/06 04:42:35 DEBUG : : Looking for writers 2024/11/06 04:42:35 DEBUG : dir: reading active writers 2024/11/06 04:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/06 04:42:35 DEBUG : dir: Looking for writers 2024/11/06 04:42:35 DEBUG : file1: reading active writers 2024/11/06 04:42:35 DEBUG : : Looking for writers 2024/11/06 04:42:35 DEBUG : dir: reading active writers 2024/11/06 04:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/06 04:42:35 DEBUG : dir: Looking for writers 2024/11/06 04:42:35 DEBUG : file1: reading active writers 2024/11/06 04:42:35 DEBUG : : Looking for writers 2024/11/06 04:42:35 DEBUG : dir: reading active writers 2024/11/06 04:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/06 04:42:35 DEBUG : dir/file1: vfs cache: starting upload 2024/11/06 04:42:35 DEBUG : dir: Looking for writers 2024/11/06 04:42:35 DEBUG : file1: reading active writers 2024/11/06 04:42:35 DEBUG : : Looking for writers 2024/11/06 04:42:35 DEBUG : dir: reading active writers 2024/11/06 04:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/06 04:42:35 DEBUG : dir: Looking for writers 2024/11/06 04:42:35 DEBUG : file1: reading active writers 2024/11/06 04:42:35 DEBUG : : Looking for writers 2024/11/06 04:42:35 DEBUG : dir: reading active writers 2024/11/06 04:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/06 04:42:35 DEBUG : dir: Looking for writers 2024/11/06 04:42:35 DEBUG : file1: reading active writers 2024/11/06 04:42:35 DEBUG : : Looking for writers 2024/11/06 04:42:35 DEBUG : dir: reading active writers 2024/11/06 04:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/06 04:42:36 DEBUG : dir/file1: Dst hash empty - aborting Src hash check 2024/11/06 04:42:36 INFO : dir/file1: Copied (replaced existing) 2024/11/06 04:42:36 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/11/06 04:42:36 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/11/06 04:42:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/06 04:42:36 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/11/06 04:42:36 DEBUG : dir: Looking for writers 2024/11/06 04:42:36 DEBUG : file1: reading active writers 2024/11/06 04:42:36 DEBUG : : Looking for writers 2024/11/06 04:42:36 DEBUG : dir: reading active writers 2024/11/06 04:42:36 DEBUG : >WaitForWriters: 2024/11/06 04:42:36 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/11/06 04:42:36 DEBUG : dir/file1: newRWFileHandle: 2024/11/06 04:42:36 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/06 04:42:36 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/06 04:42:36 DEBUG : dir/file1(0xc0005a1880): _readAt: size=512, off=0 2024/11/06 04:42:36 DEBUG : dir/file1(0xc0005a1880): openPending: 2024/11/06 04:42:36 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/11/06 04:42:36 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/11/06 04:42:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/06 04:42:36 DEBUG : dir/file1(0xc0005a1880): >openPending: err= 2024/11/06 04:42:36 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/11/06 04:42:36 DEBUG : dir/file1(0xc0005a1880): >_readAt: n=14, err=EOF 2024/11/06 04:42:36 DEBUG : dir/file1(0xc0005a1880): close: 2024/11/06 04:42:36 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2024/11/06 04:42:36 DEBUG : dir/file1(0xc0005a1880): >close: err= 2024/11/06 04:42:37 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/06 04:42:37 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/11/06 04:42:37 DEBUG : newLeaf: Updating file with newLeaf 0xc0002deb40 2024/11/06 04:42:37 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/06 04:42:37 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/06 04:42:38 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/11/06 04:42:38 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/11/06 04:42:38 DEBUG : dir/file1: Updating file with dir/file1 0xc0002deb40 2024/11/06 04:42:38 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/11/06 04:42:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/06 04:42:38 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/06 04:42:38 DEBUG : dir/file1: newRWFileHandle: 2024/11/06 04:42:38 DEBUG : dir/file1(0xc00099f500): openPending: 2024/11/06 04:42:38 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/11/06 04:42:38 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/11/06 04:42:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/06 04:42:38 DEBUG : dir/file1(0xc00099f500): >openPending: err= 2024/11/06 04:42:38 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/11/06 04:42:38 DEBUG : dir/file1: >newRWFileHandle: err= 2024/11/06 04:42:38 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/11/06 04:42:38 DEBUG : dir/file1(0xc00099f500): _writeAt: size=25, off=0 2024/11/06 04:42:38 DEBUG : dir/file1(0xc00099f500): >_writeAt: n=25, err= 2024/11/06 04:42:39 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/06 04:42:39 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/11/06 04:42:39 DEBUG : newLeaf: Updating file with newLeaf 0xc0002deb40 2024/11/06 04:42:39 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/06 04:42:39 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/06 04:42:39 DEBUG : newLeaf(0xc00099f500): close: 2024/11/06 04:42:39 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/11/06 04:42:39 DEBUG : newLeaf: vfs cache: setting modification time to 2024-11-06 04:42:38.498467714 +0000 UTC m=+12.444199353 2024/11/06 04:42:39 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/11/06 04:42:39 DEBUG : newLeaf(0xc00099f500): >close: err= 2024/11/06 04:42:39 DEBUG : WaitForWriters: timeout=30s 2024/11/06 04:42:39 DEBUG : dir: Looking for writers 2024/11/06 04:42:39 DEBUG : : Looking for writers 2024/11/06 04:42:39 DEBUG : dir: reading active writers 2024/11/06 04:42:39 DEBUG : newLeaf: reading active writers 2024/11/06 04:42:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/11/06 04:42:39 DEBUG : dir: Looking for writers 2024/11/06 04:42:39 DEBUG : : Looking for writers 2024/11/06 04:42:39 DEBUG : dir: reading active writers 2024/11/06 04:42:39 DEBUG : newLeaf: reading active writers 2024/11/06 04:42:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/11/06 04:42:39 DEBUG : dir: Looking for writers 2024/11/06 04:42:39 DEBUG : : Looking for writers 2024/11/06 04:42:39 DEBUG : newLeaf: reading active writers 2024/11/06 04:42:39 DEBUG : dir: reading active writers 2024/11/06 04:42:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/11/06 04:42:39 DEBUG : dir: Looking for writers 2024/11/06 04:42:39 DEBUG : : Looking for writers 2024/11/06 04:42:39 DEBUG : dir: reading active writers 2024/11/06 04:42:39 DEBUG : newLeaf: reading active writers 2024/11/06 04:42:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/11/06 04:42:39 DEBUG : newLeaf: vfs cache: starting upload 2024/11/06 04:42:39 DEBUG : dir: Looking for writers 2024/11/06 04:42:39 DEBUG : : Looking for writers 2024/11/06 04:42:39 DEBUG : dir: reading active writers 2024/11/06 04:42:39 DEBUG : newLeaf: reading active writers 2024/11/06 04:42:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/11/06 04:42:39 DEBUG : dir: Looking for writers 2024/11/06 04:42:39 DEBUG : : Looking for writers 2024/11/06 04:42:39 DEBUG : dir: reading active writers 2024/11/06 04:42:39 DEBUG : newLeaf: reading active writers 2024/11/06 04:42:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/11/06 04:42:39 DEBUG : dir: Looking for writers 2024/11/06 04:42:39 DEBUG : : Looking for writers 2024/11/06 04:42:39 DEBUG : newLeaf: reading active writers 2024/11/06 04:42:39 DEBUG : dir: reading active writers 2024/11/06 04:42:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/11/06 04:42:39 DEBUG : newLeaf: Dst hash empty - aborting Src hash check 2024/11/06 04:42:39 INFO : newLeaf: Copied (replaced existing) 2024/11/06 04:42:39 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-11-06 04:42:38 +0000 UTC," 2024/11/06 04:42:39 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/11/06 04:42:39 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/06 04:42:39 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/11/06 04:42:40 DEBUG : dir: Looking for writers 2024/11/06 04:42:40 DEBUG : : Looking for writers 2024/11/06 04:42:40 DEBUG : dir: reading active writers 2024/11/06 04:42:40 DEBUG : newLeaf: reading active writers 2024/11/06 04:42:40 DEBUG : >WaitForWriters: 2024/11/06 04:42:40 DEBUG : WaitForWriters: timeout=30s 2024/11/06 04:42:40 DEBUG : dir: Looking for writers 2024/11/06 04:42:40 DEBUG : : Looking for writers 2024/11/06 04:42:40 DEBUG : dir: reading active writers 2024/11/06 04:42:40 DEBUG : newLeaf: reading active writers 2024/11/06 04:42:40 DEBUG : >WaitForWriters: 2024/11/06 04:42:40 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileRename (7.54s) --- PASS: TestFileRename/writes,forceCache=true (7.54s) PASS 2024/11/06 04:42:41 DEBUG : files root 'rclone-test-cakudir4jitu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestFilesCom: -verbose -test.run '^(TestDirMkdirSub|TestDirOpen)$|^TestFileRename$/^writes,forceCache=true$'" - Finished OK in 15.440627175s (try 2/5)