"./vfs.test -test.v -test.timeout 1h0m0s -remote TestYandex: -verbose -test.run '^(TestDirRename|TestVFSOpenFile|TestVFSStatParent)$|^TestFileRename$/^(writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 2/5) 2024/10/20 01:16:24 DEBUG : Creating backend with remote "TestYandex:rclone-test-luzujiv0tebu" 2024/10/20 01:16:24 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/10/20 01:16:25 DEBUG : Creating backend with remote "/tmp/rclone1275714392" === RUN TestDirRename run.go:180: Remote "Yandex rclone-test-luzujiv0tebu", Local "Local file system at /tmp/rclone1275714392", Modify Window "1ns" 2024/10/20 01:16:25 INFO : Yandex rclone-test-luzujiv0tebu: poll-interval is not supported by this remote 2024/10/20 01:16:35 ERROR : dir/not found: Dir.Rename error: file does not exist 2024/10/20 01:16:38 DEBUG : dir: Updating dir with dir2 0xc0003aeb60 2024/10/20 01:16:38 DEBUG : dir: forgetting directory cache 2024/10/20 01:16:38 DEBUG : : Added virtual directory entry vDel: "dir" 2024/10/20 01:16:38 DEBUG : : Added virtual directory entry vAddDir: "dir2" 2024/10/20 01:16:41 INFO : dir2/file1: Moved (server-side) to: file2 2024/10/20 01:16:41 DEBUG : file2: Updating file with file2 0xc00023ee40 2024/10/20 01:16:41 DEBUG : dir2: Added virtual directory entry vDel: "file1" 2024/10/20 01:16:41 DEBUG : : Added virtual directory entry vAddFile: "file2" 2024/10/20 01:16:44 INFO : dir2/file3: Deleted 2024/10/20 01:16:46 INFO : file2: Moved (server-side) to: dir2/file3 2024/10/20 01:16:46 DEBUG : dir2/file3: Updating file with dir2/file3 0xc00023ee40 2024/10/20 01:16:46 DEBUG : : Added virtual directory entry vDel: "file2" 2024/10/20 01:16:46 DEBUG : dir2: Added virtual directory entry vAddFile: "file3" 2024/10/20 01:16:47 DEBUG : : Added virtual directory entry vAddDir: "empty directory" 2024/10/20 01:16:49 DEBUG : empty directory: Updating dir with renamed empty directory 0xc0006b2d00 2024/10/20 01:16:49 DEBUG : empty directory: forgetting directory cache 2024/10/20 01:16:49 DEBUG : : Added virtual directory entry vDel: "empty directory" 2024/10/20 01:16:49 DEBUG : : Added virtual directory entry vAddDir: "renamed empty directory" 2024/10/20 01:16:49 DEBUG : dir2: Renaming to "dir3" 2024/10/20 01:16:49 DEBUG : WaitForWriters: timeout=30s 2024/10/20 01:16:49 DEBUG : dir3: Looking for writers 2024/10/20 01:16:49 DEBUG : file3: reading active writers 2024/10/20 01:16:49 DEBUG : renamed empty directory: Looking for writers 2024/10/20 01:16:49 DEBUG : : Looking for writers 2024/10/20 01:16:49 DEBUG : dir3: reading active writers 2024/10/20 01:16:49 DEBUG : renamed empty directory: reading active writers 2024/10/20 01:16:49 DEBUG : >WaitForWriters: --- PASS: TestDirRename (34.42s) === RUN TestFileRename === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "Yandex rclone-test-luzujiv0tebu", Local "Local file system at /tmp/rclone1275714392", Modify Window "1ns" 2024/10/20 01:16:59 INFO : Yandex rclone-test-luzujiv0tebu: poll-interval is not supported by this remote 2024/10/20 01:16:59 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/20 01:16:59 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestYandex/rclone-test-luzujiv0tebu" 2024/10/20 01:16:59 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestYandex/rclone-test-luzujiv0tebu" 2024/10/20 01:16:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestYandex/rclone-test-luzujiv0tebu" 2024/10/20 01:16:59 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/20 01:16:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestYandex/rclone-test-luzujiv0tebu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestYandex/rclone-test-luzujiv0tebu" 2024/10/20 01:16:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestYandex/rclone-test-luzujiv0tebu" 2024/10/20 01:16:59 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/20 01:16:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestYandex/rclone-test-luzujiv0tebu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestYandex/rclone-test-luzujiv0tebu" 2024/10/20 01:16:59 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/20 01:17:05 DEBUG : WaitForWriters: timeout=30s 2024/10/20 01:17:05 DEBUG : dir: Looking for writers 2024/10/20 01:17:05 DEBUG : file1: reading active writers 2024/10/20 01:17:05 DEBUG : : Looking for writers 2024/10/20 01:17:05 DEBUG : dir: reading active writers 2024/10/20 01:17:05 DEBUG : >WaitForWriters: 2024/10/20 01:17:07 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/20 01:17:07 DEBUG : newLeaf: Updating file with newLeaf 0xc00023ec00 2024/10/20 01:17:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/20 01:17:07 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/20 01:17:11 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/20 01:17:11 DEBUG : dir/file1: Updating file with dir/file1 0xc00023ec00 2024/10/20 01:17:11 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/20 01:17:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/20 01:17:12 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/20 01:17:12 DEBUG : dir/file1: newRWFileHandle: 2024/10/20 01:17:12 DEBUG : dir/file1(0xc00089bd00): openPending: 2024/10/20 01:17:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2024/10/20 01:17:12 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/20 01:17:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/20 01:17:12 DEBUG : dir/file1(0xc00089bd00): >openPending: err= 2024/10/20 01:17:12 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/20 01:17:12 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/20 01:17:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/20 01:17:12 DEBUG : dir/file1(0xc00089bd00): _writeAt: size=25, off=0 2024/10/20 01:17:12 DEBUG : dir/file1(0xc00089bd00): >_writeAt: n=25, err= 2024/10/20 01:17:14 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/20 01:17:14 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/20 01:17:14 DEBUG : newLeaf: Updating file with newLeaf 0xc00023ec00 2024/10/20 01:17:14 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/20 01:17:14 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/20 01:17:14 DEBUG : newLeaf(0xc00089bd00): close: 2024/10/20 01:17:14 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/20 01:17:14 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-20 01:17:12.102191607 +0000 UTC m=+47.390576058 2024/10/20 01:17:14 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/20 01:17:14 DEBUG : newLeaf(0xc00089bd00): >close: err= 2024/10/20 01:17:14 DEBUG : WaitForWriters: timeout=30s 2024/10/20 01:17:14 DEBUG : dir: Looking for writers 2024/10/20 01:17:14 DEBUG : : Looking for writers 2024/10/20 01:17:14 DEBUG : dir: reading active writers 2024/10/20 01:17:14 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/20 01:17:14 DEBUG : dir: Looking for writers 2024/10/20 01:17:14 DEBUG : : Looking for writers 2024/10/20 01:17:14 DEBUG : dir: reading active writers 2024/10/20 01:17:14 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/20 01:17:14 DEBUG : dir: Looking for writers 2024/10/20 01:17:14 DEBUG : : Looking for writers 2024/10/20 01:17:14 DEBUG : dir: reading active writers 2024/10/20 01:17:14 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/20 01:17:14 DEBUG : dir: Looking for writers 2024/10/20 01:17:14 DEBUG : : Looking for writers 2024/10/20 01:17:14 DEBUG : dir: reading active writers 2024/10/20 01:17:14 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/20 01:17:14 DEBUG : newLeaf: vfs cache: starting upload 2024/10/20 01:17:14 DEBUG : dir: Looking for writers 2024/10/20 01:17:14 DEBUG : : Looking for writers 2024/10/20 01:17:14 DEBUG : dir: reading active writers 2024/10/20 01:17:14 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/20 01:17:14 DEBUG : dir: Looking for writers 2024/10/20 01:17:14 DEBUG : : Looking for writers 2024/10/20 01:17:14 DEBUG : dir: reading active writers 2024/10/20 01:17:14 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/20 01:17:15 DEBUG : dir: Looking for writers 2024/10/20 01:17:15 DEBUG : : Looking for writers 2024/10/20 01:17:15 DEBUG : dir: reading active writers 2024/10/20 01:17:15 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/20 01:17:15 DEBUG : dir: Looking for writers 2024/10/20 01:17:15 DEBUG : : Looking for writers 2024/10/20 01:17:15 DEBUG : dir: reading active writers 2024/10/20 01:17:15 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/20 01:17:16 DEBUG : dir: Looking for writers 2024/10/20 01:17:16 DEBUG : : Looking for writers 2024/10/20 01:17:16 DEBUG : dir: reading active writers 2024/10/20 01:17:16 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/20 01:17:16 DEBUG : newLeaf: Dst hash empty - aborting Src hash check 2024/10/20 01:17:16 INFO : newLeaf: Copied (replaced existing) 2024/10/20 01:17:16 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-10-20 01:17:12.102191607 +0000 UTC," 2024/10/20 01:17:16 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/10/20 01:17:16 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/20 01:17:16 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/10/20 01:17:17 DEBUG : dir: Looking for writers 2024/10/20 01:17:17 DEBUG : : Looking for writers 2024/10/20 01:17:17 DEBUG : dir: reading active writers 2024/10/20 01:17:17 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:17 DEBUG : >WaitForWriters: 2024/10/20 01:17:18 DEBUG : WaitForWriters: timeout=30s 2024/10/20 01:17:18 DEBUG : dir: Looking for writers 2024/10/20 01:17:18 DEBUG : : Looking for writers 2024/10/20 01:17:18 DEBUG : dir: reading active writers 2024/10/20 01:17:18 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:18 DEBUG : >WaitForWriters: 2024/10/20 01:17:18 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "Yandex rclone-test-luzujiv0tebu", Local "Local file system at /tmp/rclone1275714392", Modify Window "1ns" 2024/10/20 01:17:23 INFO : Yandex rclone-test-luzujiv0tebu: poll-interval is not supported by this remote 2024/10/20 01:17:23 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/20 01:17:23 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestYandex/rclone-test-luzujiv0tebu" 2024/10/20 01:17:23 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestYandex/rclone-test-luzujiv0tebu" 2024/10/20 01:17:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestYandex/rclone-test-luzujiv0tebu" 2024/10/20 01:17:23 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/20 01:17:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestYandex/rclone-test-luzujiv0tebu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestYandex/rclone-test-luzujiv0tebu" 2024/10/20 01:17:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestYandex/rclone-test-luzujiv0tebu" 2024/10/20 01:17:23 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/20 01:17:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestYandex/rclone-test-luzujiv0tebu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestYandex/rclone-test-luzujiv0tebu" 2024/10/20 01:17:23 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/20 01:17:27 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/10/20 01:17:27 DEBUG : dir/file1: newRWFileHandle: 2024/10/20 01:17:27 DEBUG : dir/file1(0xc00097f240): openPending: 2024/10/20 01:17:27 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2024/10/20 01:17:27 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/20 01:17:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/20 01:17:27 DEBUG : dir/file1(0xc00097f240): >openPending: err= 2024/10/20 01:17:27 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/20 01:17:27 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/20 01:17:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/20 01:17:27 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/20 01:17:27 DEBUG : dir/file1(0xc00097f240): _writeAt: size=14, off=0 2024/10/20 01:17:27 DEBUG : dir/file1(0xc00097f240): >_writeAt: n=14, err= 2024/10/20 01:17:27 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/20 01:17:27 DEBUG : dir/file1(0xc00097f240): close: 2024/10/20 01:17:27 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/20 01:17:27 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/20 01:17:27 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/20 01:17:27 DEBUG : dir/file1(0xc00097f240): >close: err= 2024/10/20 01:17:27 DEBUG : WaitForWriters: timeout=30s 2024/10/20 01:17:27 DEBUG : dir: Looking for writers 2024/10/20 01:17:27 DEBUG : file1: reading active writers 2024/10/20 01:17:27 DEBUG : : Looking for writers 2024/10/20 01:17:27 DEBUG : dir: reading active writers 2024/10/20 01:17:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/20 01:17:27 DEBUG : dir: Looking for writers 2024/10/20 01:17:27 DEBUG : file1: reading active writers 2024/10/20 01:17:27 DEBUG : : Looking for writers 2024/10/20 01:17:27 DEBUG : dir: reading active writers 2024/10/20 01:17:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/20 01:17:27 DEBUG : dir: Looking for writers 2024/10/20 01:17:27 DEBUG : file1: reading active writers 2024/10/20 01:17:27 DEBUG : : Looking for writers 2024/10/20 01:17:27 DEBUG : dir: reading active writers 2024/10/20 01:17:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/20 01:17:27 DEBUG : dir: Looking for writers 2024/10/20 01:17:27 DEBUG : file1: reading active writers 2024/10/20 01:17:27 DEBUG : : Looking for writers 2024/10/20 01:17:27 DEBUG : dir: reading active writers 2024/10/20 01:17:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/20 01:17:27 DEBUG : dir/file1: vfs cache: starting upload 2024/10/20 01:17:27 DEBUG : dir: Looking for writers 2024/10/20 01:17:27 DEBUG : file1: reading active writers 2024/10/20 01:17:27 DEBUG : : Looking for writers 2024/10/20 01:17:27 DEBUG : dir: reading active writers 2024/10/20 01:17:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/20 01:17:27 DEBUG : dir: Looking for writers 2024/10/20 01:17:27 DEBUG : file1: reading active writers 2024/10/20 01:17:27 DEBUG : : Looking for writers 2024/10/20 01:17:27 DEBUG : dir: reading active writers 2024/10/20 01:17:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/20 01:17:28 DEBUG : dir: Looking for writers 2024/10/20 01:17:28 DEBUG : file1: reading active writers 2024/10/20 01:17:28 DEBUG : : Looking for writers 2024/10/20 01:17:28 DEBUG : dir: reading active writers 2024/10/20 01:17:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/20 01:17:28 DEBUG : dir: Looking for writers 2024/10/20 01:17:28 DEBUG : file1: reading active writers 2024/10/20 01:17:28 DEBUG : : Looking for writers 2024/10/20 01:17:28 DEBUG : dir: reading active writers 2024/10/20 01:17:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/20 01:17:29 DEBUG : dir: Looking for writers 2024/10/20 01:17:29 DEBUG : file1: reading active writers 2024/10/20 01:17:29 DEBUG : : Looking for writers 2024/10/20 01:17:29 DEBUG : dir: reading active writers 2024/10/20 01:17:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/20 01:17:30 DEBUG : dir/file1: Dst hash empty - aborting Src hash check 2024/10/20 01:17:30 INFO : dir/file1: Copied (replaced existing) 2024/10/20 01:17:30 DEBUG : dir/file1: vfs cache: fingerprint now "14,2001-02-03 04:05:06.499999999 +0000 UTC," 2024/10/20 01:17:30 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/10/20 01:17:30 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/10/20 01:17:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/20 01:17:30 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/10/20 01:17:30 DEBUG : dir: Looking for writers 2024/10/20 01:17:30 DEBUG : file1: reading active writers 2024/10/20 01:17:30 DEBUG : : Looking for writers 2024/10/20 01:17:30 DEBUG : dir: reading active writers 2024/10/20 01:17:30 DEBUG : >WaitForWriters: 2024/10/20 01:17:30 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/20 01:17:30 DEBUG : dir/file1: newRWFileHandle: 2024/10/20 01:17:30 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/20 01:17:30 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/20 01:17:30 DEBUG : dir/file1(0xc000797600): _readAt: size=512, off=0 2024/10/20 01:17:30 DEBUG : dir/file1(0xc000797600): openPending: 2024/10/20 01:17:30 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC," 2024/10/20 01:17:30 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/10/20 01:17:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/20 01:17:30 DEBUG : dir/file1(0xc000797600): >openPending: err= 2024/10/20 01:17:30 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/20 01:17:30 DEBUG : dir/file1(0xc000797600): >_readAt: n=14, err=EOF 2024/10/20 01:17:30 DEBUG : dir/file1(0xc000797600): close: 2024/10/20 01:17:30 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/20 01:17:30 DEBUG : dir/file1(0xc000797600): >close: err= 2024/10/20 01:17:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/20 01:17:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/20 01:17:34 DEBUG : newLeaf: Updating file with newLeaf 0xc000602480 2024/10/20 01:17:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/20 01:17:34 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/20 01:17:37 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/20 01:17:37 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/10/20 01:17:37 DEBUG : dir/file1: Updating file with dir/file1 0xc000602480 2024/10/20 01:17:37 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/20 01:17:37 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/20 01:17:37 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/20 01:17:37 DEBUG : dir/file1: newRWFileHandle: 2024/10/20 01:17:37 DEBUG : dir/file1(0xc00097e580): openPending: 2024/10/20 01:17:37 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC," 2024/10/20 01:17:37 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" != cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,") 2024/10/20 01:17:37 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2024/10/20 01:17:37 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/20 01:17:37 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/20 01:17:37 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/20 01:17:37 DEBUG : dir/file1(0xc00097e580): >openPending: err= 2024/10/20 01:17:37 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/20 01:17:37 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/20 01:17:37 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/20 01:17:37 DEBUG : dir/file1(0xc00097e580): _writeAt: size=25, off=0 2024/10/20 01:17:37 DEBUG : dir/file1(0xc00097e580): >_writeAt: n=25, err= 2024/10/20 01:17:39 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/20 01:17:39 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/20 01:17:39 DEBUG : newLeaf: Updating file with newLeaf 0xc000602480 2024/10/20 01:17:39 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/20 01:17:39 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/20 01:17:39 DEBUG : newLeaf(0xc00097e580): close: 2024/10/20 01:17:39 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/20 01:17:39 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-20 01:17:37.93641214 +0000 UTC m=+73.224796571 2024/10/20 01:17:39 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/20 01:17:39 DEBUG : newLeaf(0xc00097e580): >close: err= 2024/10/20 01:17:39 DEBUG : WaitForWriters: timeout=30s 2024/10/20 01:17:39 DEBUG : dir: Looking for writers 2024/10/20 01:17:39 DEBUG : : Looking for writers 2024/10/20 01:17:39 DEBUG : dir: reading active writers 2024/10/20 01:17:39 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/20 01:17:39 DEBUG : dir: Looking for writers 2024/10/20 01:17:39 DEBUG : : Looking for writers 2024/10/20 01:17:39 DEBUG : dir: reading active writers 2024/10/20 01:17:39 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/20 01:17:39 DEBUG : dir: Looking for writers 2024/10/20 01:17:39 DEBUG : : Looking for writers 2024/10/20 01:17:39 DEBUG : dir: reading active writers 2024/10/20 01:17:39 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/20 01:17:39 DEBUG : dir: Looking for writers 2024/10/20 01:17:39 DEBUG : : Looking for writers 2024/10/20 01:17:39 DEBUG : dir: reading active writers 2024/10/20 01:17:39 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/20 01:17:39 DEBUG : newLeaf: vfs cache: starting upload 2024/10/20 01:17:39 DEBUG : dir: Looking for writers 2024/10/20 01:17:39 DEBUG : : Looking for writers 2024/10/20 01:17:39 DEBUG : dir: reading active writers 2024/10/20 01:17:39 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/20 01:17:39 DEBUG : dir: Looking for writers 2024/10/20 01:17:39 DEBUG : : Looking for writers 2024/10/20 01:17:39 DEBUG : dir: reading active writers 2024/10/20 01:17:39 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/20 01:17:40 DEBUG : dir: Looking for writers 2024/10/20 01:17:40 DEBUG : : Looking for writers 2024/10/20 01:17:40 DEBUG : dir: reading active writers 2024/10/20 01:17:40 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/20 01:17:40 DEBUG : dir: Looking for writers 2024/10/20 01:17:40 DEBUG : : Looking for writers 2024/10/20 01:17:40 DEBUG : dir: reading active writers 2024/10/20 01:17:40 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/20 01:17:41 DEBUG : dir: Looking for writers 2024/10/20 01:17:41 DEBUG : : Looking for writers 2024/10/20 01:17:41 DEBUG : dir: reading active writers 2024/10/20 01:17:41 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/20 01:17:41 DEBUG : newLeaf: Dst hash empty - aborting Src hash check 2024/10/20 01:17:41 INFO : newLeaf: Copied (replaced existing) 2024/10/20 01:17:41 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-10-20 01:17:37.93641214 +0000 UTC," 2024/10/20 01:17:41 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/10/20 01:17:41 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/20 01:17:41 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/10/20 01:17:42 DEBUG : dir: Looking for writers 2024/10/20 01:17:42 DEBUG : : Looking for writers 2024/10/20 01:17:42 DEBUG : dir: reading active writers 2024/10/20 01:17:42 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:42 DEBUG : >WaitForWriters: 2024/10/20 01:17:43 DEBUG : WaitForWriters: timeout=30s 2024/10/20 01:17:43 DEBUG : dir: Looking for writers 2024/10/20 01:17:43 DEBUG : : Looking for writers 2024/10/20 01:17:43 DEBUG : dir: reading active writers 2024/10/20 01:17:43 DEBUG : newLeaf: reading active writers 2024/10/20 01:17:43 DEBUG : >WaitForWriters: 2024/10/20 01:17:43 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileRename (48.50s) --- PASS: TestFileRename/writes,forceCache=false (23.62s) --- PASS: TestFileRename/writes,forceCache=true (24.88s) === RUN TestVFSStatParent run.go:180: Remote "Yandex rclone-test-luzujiv0tebu", Local "Local file system at /tmp/rclone1275714392", Modify Window "1ns" 2024/10/20 01:17:48 INFO : Yandex rclone-test-luzujiv0tebu: poll-interval is not supported by this remote 2024/10/20 01:17:53 DEBUG : WaitForWriters: timeout=30s 2024/10/20 01:17:53 DEBUG : dir: Looking for writers 2024/10/20 01:17:53 DEBUG : : Looking for writers 2024/10/20 01:17:53 DEBUG : dir: reading active writers 2024/10/20 01:17:53 DEBUG : file1: reading active writers 2024/10/20 01:17:53 DEBUG : >WaitForWriters: 2024/10/20 01:18:01 ERROR : dir: error listing: directory not found fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:286: Sleeping for 6s just to make sure --- PASS: TestVFSStatParent (20.89s) === RUN TestVFSOpenFile run.go:180: Remote "Yandex rclone-test-luzujiv0tebu", Local "Local file system at /tmp/rclone1275714392", Modify Window "1ns" 2024/10/20 01:18:08 INFO : Yandex rclone-test-luzujiv0tebu: poll-interval is not supported by this remote 2024/10/20 01:18:14 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/20 01:18:14 DEBUG : file1: Open: flags=O_RDONLY 2024/10/20 01:18:14 DEBUG : file1: >Open: fd=file1 (r), err= 2024/10/20 01:18:14 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2024/10/20 01:18:14 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/20 01:18:14 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2024/10/20 01:18:14 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/20 01:18:15 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2024/10/20 01:18:15 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/20 01:18:15 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2024/10/20 01:18:15 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2024/10/20 01:18:15 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2024/10/20 01:18:15 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2024/10/20 01:18:15 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2024/10/20 01:18:15 DEBUG : Yandex rclone-test-luzujiv0tebu: File to upload is small (0 bytes), uploading instead of streaming 2024/10/20 01:18:18 DEBUG : dir/new_file.txt: md5 = d41d8cd98f00b204e9800998ecf8427e OK 2024/10/20 01:18:18 DEBUG : dir/new_file.txt: Size and md5 of src and dst objects identical 2024/10/20 01:18:18 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2024/10/20 01:18:18 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/20 01:18:18 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2024/10/20 01:18:18 DEBUG : WaitForWriters: timeout=30s 2024/10/20 01:18:18 DEBUG : dir: Looking for writers 2024/10/20 01:18:18 DEBUG : file2: reading active writers 2024/10/20 01:18:18 DEBUG : new_file.txt: reading active writers 2024/10/20 01:18:18 DEBUG : : Looking for writers 2024/10/20 01:18:18 DEBUG : dir: reading active writers 2024/10/20 01:18:18 DEBUG : file1: reading active writers 2024/10/20 01:18:18 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (17.88s) PASS 2024/10/20 01:18:26 DEBUG : Yandex rclone-test-luzujiv0tebu: Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestYandex: -verbose -test.run '^(TestDirRename|TestVFSOpenFile|TestVFSStatParent)$|^TestFileRename$/^(writes,forceCache=false|writes,forceCache=true)$'" - Finished OK in 2m3.602845613s (try 2/5)