"./vfs.test -test.v -test.timeout 1h0m0s -remote TestSugarSync:Test -verbose -test.run '^TestFileRename$/^minimal,forceCache=true$'" - Starting (try 2/5) 2024/12/29 03:37:09 DEBUG : Creating backend with remote "TestSugarSync:Test/rclone-test-daxegej5zozi" 2024/12/29 03:37:09 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/12/29 03:37:12 DEBUG : Creating backend with remote "/tmp/rclone215332312" 2024/12/29 03:37:12 DEBUG : Config file has changed externally - reloading === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "sugarsync root 'Test/rclone-test-daxegej5zozi'", Local "Local file system at /tmp/rclone215332312", Modify Window "876000h0m0s" 2024/12/29 03:37:12 INFO : sugarsync root 'Test/rclone-test-daxegej5zozi': poll-interval is not supported by this remote 2024/12/29 03:37:12 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/12/29 03:37:12 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-daxegej5zozi" 2024/12/29 03:37:12 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-daxegej5zozi" 2024/12/29 03:37:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-daxegej5zozi" 2024/12/29 03:37:12 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/12/29 03:37:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-daxegej5zozi" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestSugarSync/Test/rclone-test-daxegej5zozi" 2024/12/29 03:37:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-daxegej5zozi" 2024/12/29 03:37:12 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/12/29 03:37:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-daxegej5zozi" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestSugarSync/Test/rclone-test-daxegej5zozi" 2024/12/29 03:37:12 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/12/29 03:37:20 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/12/29 03:37:20 DEBUG : dir/file1: newRWFileHandle: 2024/12/29 03:37:20 DEBUG : dir/file1(0xc0006e9900): openPending: 2024/12/29 03:37:20 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2024/12/29 03:37:20 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/12/29 03:37:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/29 03:37:20 DEBUG : dir/file1(0xc0006e9900): >openPending: err= 2024/12/29 03:37:20 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/12/29 03:37:20 DEBUG : dir/file1: >newRWFileHandle: err= 2024/12/29 03:37:20 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/29 03:37:20 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/12/29 03:37:20 DEBUG : dir/file1(0xc0006e9900): _writeAt: size=14, off=0 2024/12/29 03:37:20 DEBUG : dir/file1(0xc0006e9900): >_writeAt: n=14, err= 2024/12/29 03:37:20 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/12/29 03:37:20 DEBUG : dir/file1(0xc0006e9900): close: 2024/12/29 03:37:20 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/12/29 03:37:20 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/12/29 03:37:20 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/12/29 03:37:20 DEBUG : dir/file1(0xc0006e9900): >close: err= 2024/12/29 03:37:20 DEBUG : WaitForWriters: timeout=30s 2024/12/29 03:37:20 DEBUG : dir: Looking for writers 2024/12/29 03:37:20 DEBUG : file1: reading active writers 2024/12/29 03:37:20 DEBUG : : Looking for writers 2024/12/29 03:37:20 DEBUG : dir: reading active writers 2024/12/29 03:37:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/12/29 03:37:20 DEBUG : dir: Looking for writers 2024/12/29 03:37:20 DEBUG : file1: reading active writers 2024/12/29 03:37:20 DEBUG : : Looking for writers 2024/12/29 03:37:20 DEBUG : dir: reading active writers 2024/12/29 03:37:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/12/29 03:37:20 DEBUG : dir: Looking for writers 2024/12/29 03:37:20 DEBUG : file1: reading active writers 2024/12/29 03:37:20 DEBUG : : Looking for writers 2024/12/29 03:37:20 DEBUG : dir: reading active writers 2024/12/29 03:37:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/12/29 03:37:20 DEBUG : dir: Looking for writers 2024/12/29 03:37:20 DEBUG : file1: reading active writers 2024/12/29 03:37:20 DEBUG : : Looking for writers 2024/12/29 03:37:20 DEBUG : dir: reading active writers 2024/12/29 03:37:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/12/29 03:37:20 DEBUG : dir/file1: vfs cache: starting upload 2024/12/29 03:37:20 DEBUG : dir: Looking for writers 2024/12/29 03:37:20 DEBUG : file1: reading active writers 2024/12/29 03:37:20 DEBUG : : Looking for writers 2024/12/29 03:37:20 DEBUG : dir: reading active writers 2024/12/29 03:37:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/12/29 03:37:20 DEBUG : dir: Looking for writers 2024/12/29 03:37:20 DEBUG : file1: reading active writers 2024/12/29 03:37:20 DEBUG : : Looking for writers 2024/12/29 03:37:20 DEBUG : dir: reading active writers 2024/12/29 03:37:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/12/29 03:37:21 DEBUG : dir: Looking for writers 2024/12/29 03:37:21 DEBUG : file1: reading active writers 2024/12/29 03:37:21 DEBUG : : Looking for writers 2024/12/29 03:37:21 DEBUG : dir: reading active writers 2024/12/29 03:37:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/12/29 03:37:21 DEBUG : dir: Looking for writers 2024/12/29 03:37:21 DEBUG : file1: reading active writers 2024/12/29 03:37:21 DEBUG : : Looking for writers 2024/12/29 03:37:21 DEBUG : dir: reading active writers 2024/12/29 03:37:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/12/29 03:37:21 INFO : dir/file1: Copied (replaced existing) 2024/12/29 03:37:21 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/12/29 03:37:21 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/12/29 03:37:21 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/29 03:37:21 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/12/29 03:37:22 DEBUG : dir: Looking for writers 2024/12/29 03:37:22 DEBUG : file1: reading active writers 2024/12/29 03:37:22 DEBUG : : Looking for writers 2024/12/29 03:37:22 DEBUG : dir: reading active writers 2024/12/29 03:37:22 DEBUG : >WaitForWriters: 2024/12/29 03:37:22 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/12/29 03:37:22 DEBUG : dir/file1: newRWFileHandle: 2024/12/29 03:37:22 DEBUG : dir/file1: >newRWFileHandle: err= 2024/12/29 03:37:22 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/12/29 03:37:22 DEBUG : dir/file1(0xc00052cfc0): _readAt: size=512, off=0 2024/12/29 03:37:22 DEBUG : dir/file1(0xc00052cfc0): openPending: 2024/12/29 03:37:22 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2024/12/29 03:37:22 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/12/29 03:37:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/29 03:37:22 DEBUG : dir/file1(0xc00052cfc0): >openPending: err= 2024/12/29 03:37:22 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/12/29 03:37:22 DEBUG : dir/file1(0xc00052cfc0): >_readAt: n=14, err=EOF 2024/12/29 03:37:22 DEBUG : dir/file1(0xc00052cfc0): close: 2024/12/29 03:37:22 DEBUG : dir/file1: vfs cache: setting modification time to 2024-12-28 19:37:21 -0800 -0800 2024/12/29 03:37:22 DEBUG : dir/file1(0xc00052cfc0): >close: err= 2024/12/29 03:37:25 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/12/29 03:37:25 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/12/29 03:37:25 DEBUG : newLeaf: Updating file with newLeaf 0xc0008fa180 2024/12/29 03:37:25 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/12/29 03:37:25 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/12/29 03:37:28 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/12/29 03:37:28 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/12/29 03:37:28 DEBUG : dir/file1: Updating file with dir/file1 0xc0008fa180 2024/12/29 03:37:28 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/12/29 03:37:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/29 03:37:30 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/12/29 03:37:30 DEBUG : dir/file1: newRWFileHandle: 2024/12/29 03:37:30 DEBUG : dir/file1(0xc000757200): openPending: 2024/12/29 03:37:30 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2024/12/29 03:37:30 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/12/29 03:37:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/12/29 03:37:30 DEBUG : dir/file1(0xc000757200): >openPending: err= 2024/12/29 03:37:30 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/12/29 03:37:30 DEBUG : dir/file1: >newRWFileHandle: err= 2024/12/29 03:37:30 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/12/29 03:37:30 DEBUG : dir/file1(0xc000757200): _writeAt: size=25, off=0 2024/12/29 03:37:30 DEBUG : dir/file1(0xc000757200): >_writeAt: n=25, err= 2024/12/29 03:37:31 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/12/29 03:37:31 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/12/29 03:37:31 DEBUG : newLeaf: Updating file with newLeaf 0xc0008fa180 2024/12/29 03:37:31 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/12/29 03:37:31 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/12/29 03:37:31 DEBUG : newLeaf(0xc000757200): close: 2024/12/29 03:37:31 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/12/29 03:37:31 DEBUG : newLeaf: vfs cache: setting modification time to 2024-12-29 03:37:30.194556611 +0000 UTC m=+20.674094489 2024/12/29 03:37:31 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/12/29 03:37:31 DEBUG : newLeaf(0xc000757200): >close: err= 2024/12/29 03:37:31 DEBUG : WaitForWriters: timeout=30s 2024/12/29 03:37:31 DEBUG : dir: Looking for writers 2024/12/29 03:37:31 DEBUG : : Looking for writers 2024/12/29 03:37:31 DEBUG : dir: reading active writers 2024/12/29 03:37:31 DEBUG : newLeaf: reading active writers 2024/12/29 03:37:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/12/29 03:37:31 DEBUG : dir: Looking for writers 2024/12/29 03:37:31 DEBUG : : Looking for writers 2024/12/29 03:37:31 DEBUG : dir: reading active writers 2024/12/29 03:37:31 DEBUG : newLeaf: reading active writers 2024/12/29 03:37:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/12/29 03:37:31 DEBUG : dir: Looking for writers 2024/12/29 03:37:31 DEBUG : : Looking for writers 2024/12/29 03:37:31 DEBUG : dir: reading active writers 2024/12/29 03:37:31 DEBUG : newLeaf: reading active writers 2024/12/29 03:37:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/12/29 03:37:31 DEBUG : dir: Looking for writers 2024/12/29 03:37:31 DEBUG : : Looking for writers 2024/12/29 03:37:31 DEBUG : dir: reading active writers 2024/12/29 03:37:31 DEBUG : newLeaf: reading active writers 2024/12/29 03:37:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/12/29 03:37:31 DEBUG : newLeaf: vfs cache: starting upload 2024/12/29 03:37:31 DEBUG : dir: Looking for writers 2024/12/29 03:37:31 DEBUG : : Looking for writers 2024/12/29 03:37:31 DEBUG : dir: reading active writers 2024/12/29 03:37:31 DEBUG : newLeaf: reading active writers 2024/12/29 03:37:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/12/29 03:37:32 DEBUG : dir: Looking for writers 2024/12/29 03:37:32 DEBUG : : Looking for writers 2024/12/29 03:37:32 DEBUG : newLeaf: reading active writers 2024/12/29 03:37:32 DEBUG : dir: reading active writers 2024/12/29 03:37:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/12/29 03:37:32 DEBUG : dir: Looking for writers 2024/12/29 03:37:32 DEBUG : : Looking for writers 2024/12/29 03:37:32 DEBUG : dir: reading active writers 2024/12/29 03:37:32 DEBUG : newLeaf: reading active writers 2024/12/29 03:37:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/12/29 03:37:33 DEBUG : dir: Looking for writers 2024/12/29 03:37:33 DEBUG : : Looking for writers 2024/12/29 03:37:33 DEBUG : dir: reading active writers 2024/12/29 03:37:33 DEBUG : newLeaf: reading active writers 2024/12/29 03:37:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/12/29 03:37:33 INFO : newLeaf: Copied (replaced existing) 2024/12/29 03:37:33 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2024/12/29 03:37:33 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/12/29 03:37:33 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/12/29 03:37:33 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/12/29 03:37:34 DEBUG : dir: Looking for writers 2024/12/29 03:37:34 DEBUG : : Looking for writers 2024/12/29 03:37:34 DEBUG : dir: reading active writers 2024/12/29 03:37:34 DEBUG : newLeaf: reading active writers 2024/12/29 03:37:34 DEBUG : >WaitForWriters: 2024/12/29 03:37:35 DEBUG : WaitForWriters: timeout=30s 2024/12/29 03:37:35 DEBUG : dir: Looking for writers 2024/12/29 03:37:35 DEBUG : : Looking for writers 2024/12/29 03:37:35 DEBUG : dir: reading active writers 2024/12/29 03:37:35 DEBUG : newLeaf: reading active writers 2024/12/29 03:37:35 DEBUG : >WaitForWriters: 2024/12/29 03:37:35 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileRename (26.52s) --- PASS: TestFileRename/minimal,forceCache=true (26.52s) PASS 2024/12/29 03:37:39 DEBUG : sugarsync root 'Test/rclone-test-daxegej5zozi': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestSugarSync:Test -verbose -test.run '^TestFileRename$/^minimal,forceCache=true$'" - Finished OK in 30.714958015s (try 2/5)