"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirRemove|TestFileRename|TestVFSRename)$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 2/5) 2022/03/15 05:19:57 DEBUG : Creating backend with remote "TestMega:rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:19:57 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2022/03/15 05:20:06 DEBUG : Creating backend with remote "/tmp/rclone2978905387" === RUN TestDirRemove run.go:181: Remote "mega root 'rclone-test-sigedoy7yociwin5xiwomek8'", Local "Local file system at /tmp/rclone2978905387", Modify Window "876000h0m0s" 2022/03/15 05:20:06 INFO : mega root 'rclone-test-sigedoy7yociwin5xiwomek8': poll-interval is not supported by this remote 2022/03/15 05:20:06 NOTICE: mega root 'rclone-test-sigedoy7yociwin5xiwomek8': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/03/15 05:20:07 ERROR : dir/: Dir.Remove not empty 2022/03/15 05:20:07 DEBUG : dir/file1: Remove: 2022/03/15 05:20:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:20:07 DEBUG : dir/file1: >Remove: err= 2022/03/15 05:20:08 DEBUG : : Added virtual directory entry vDel: "dir" 2022/03/15 05:20:08 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:20:08 DEBUG : : Looking for writers 2022/03/15 05:20:08 DEBUG : >WaitForWriters: --- PASS: TestDirRemove (1.52s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:181: Remote "mega root 'rclone-test-sigedoy7yociwin5xiwomek8'", Local "Local file system at /tmp/rclone2978905387", Modify Window "876000h0m0s" 2022/03/15 05:20:08 INFO : mega root 'rclone-test-sigedoy7yociwin5xiwomek8': poll-interval is not supported by this remote 2022/03/15 05:20:08 NOTICE: mega root 'rclone-test-sigedoy7yociwin5xiwomek8': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/03/15 05:20:08 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:20:08 DEBUG : dir: Looking for writers 2022/03/15 05:20:08 DEBUG : file1: reading active writers 2022/03/15 05:20:08 DEBUG : : Looking for writers 2022/03/15 05:20:08 DEBUG : dir: reading active writers 2022/03/15 05:20:08 DEBUG : >WaitForWriters: 2022/03/15 05:20:09 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/03/15 05:20:09 DEBUG : newLeaf: Updating file with newLeaf 0xc0001fd980 2022/03/15 05:20:09 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:20:09 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2022/03/15 05:20:17 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/03/15 05:20:17 DEBUG : dir/file1: Updating file with dir/file1 0xc0001fd980 2022/03/15 05:20:17 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/03/15 05:20:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/file1" 2022/03/15 05:20:24 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/03/15 05:20:24 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2022/03/15 05:20:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:20:24 DEBUG : dir/file1: File is currently open, delaying rename 0xc0001fd980 2022/03/15 05:20:24 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:20:24 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:20:24 DEBUG : mega root 'rclone-test-sigedoy7yociwin5xiwomek8': File to upload is small (25 bytes), uploading instead of streaming 2022/03/15 05:20:27 INFO : dir/file1: Copied (new) 2022/03/15 05:20:27 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:20:27 DEBUG : newLeaf: Running delayed rename now 2022/03/15 05:20:27 INFO : newLeaf: Deleted 2022/03/15 05:20:28 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/03/15 05:20:28 DEBUG : newLeaf: Updating file with newLeaf 0xc0001fd980 2022/03/15 05:20:28 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:20:28 DEBUG : dir: Looking for writers 2022/03/15 05:20:28 DEBUG : : Looking for writers 2022/03/15 05:20:28 DEBUG : dir: reading active writers 2022/03/15 05:20:28 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:28 DEBUG : >WaitForWriters: 2022/03/15 05:20:28 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:20:28 DEBUG : dir: Looking for writers 2022/03/15 05:20:28 DEBUG : : Looking for writers 2022/03/15 05:20:28 DEBUG : dir: reading active writers 2022/03/15 05:20:28 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:28 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:181: Remote "mega root 'rclone-test-sigedoy7yociwin5xiwomek8'", Local "Local file system at /tmp/rclone2978905387", Modify Window "876000h0m0s" 2022/03/15 05:20:28 INFO : mega root 'rclone-test-sigedoy7yociwin5xiwomek8': poll-interval is not supported by this remote 2022/03/15 05:20:28 NOTICE: mega root 'rclone-test-sigedoy7yociwin5xiwomek8': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/03/15 05:20:28 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/03/15 05:20:28 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:20:28 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:20:28 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:20:28 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:20:28 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/03/15 05:20:29 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:20:29 DEBUG : dir: Looking for writers 2022/03/15 05:20:29 DEBUG : file1: reading active writers 2022/03/15 05:20:29 DEBUG : : Looking for writers 2022/03/15 05:20:29 DEBUG : dir: reading active writers 2022/03/15 05:20:29 DEBUG : >WaitForWriters: 2022/03/15 05:20:31 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/03/15 05:20:31 DEBUG : newLeaf: Updating file with newLeaf 0xc0019e9500 2022/03/15 05:20:31 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:20:31 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2022/03/15 05:20:39 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/03/15 05:20:39 DEBUG : dir/file1: Updating file with dir/file1 0xc0019e9500 2022/03/15 05:20:39 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/03/15 05:20:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/file1" 2022/03/15 05:20:46 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/03/15 05:20:46 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2022/03/15 05:20:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:20:46 DEBUG : dir/file1: File is currently open, delaying rename 0xc0019e9500 2022/03/15 05:20:46 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:20:46 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:20:46 DEBUG : mega root 'rclone-test-sigedoy7yociwin5xiwomek8': File to upload is small (25 bytes), uploading instead of streaming 2022/03/15 05:20:46 INFO : dir/file1: Copied (new) 2022/03/15 05:20:46 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:20:46 DEBUG : newLeaf: Running delayed rename now 2022/03/15 05:20:46 INFO : newLeaf: Deleted 2022/03/15 05:20:47 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/03/15 05:20:47 DEBUG : newLeaf: Updating file with newLeaf 0xc0019e9500 2022/03/15 05:20:47 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:20:47 DEBUG : dir: Looking for writers 2022/03/15 05:20:47 DEBUG : : Looking for writers 2022/03/15 05:20:47 DEBUG : dir: reading active writers 2022/03/15 05:20:47 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:47 DEBUG : >WaitForWriters: 2022/03/15 05:20:47 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:20:47 DEBUG : dir: Looking for writers 2022/03/15 05:20:47 DEBUG : : Looking for writers 2022/03/15 05:20:47 DEBUG : dir: reading active writers 2022/03/15 05:20:47 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:47 DEBUG : >WaitForWriters: 2022/03/15 05:20:47 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:181: Remote "mega root 'rclone-test-sigedoy7yociwin5xiwomek8'", Local "Local file system at /tmp/rclone2978905387", Modify Window "876000h0m0s" 2022/03/15 05:20:48 INFO : mega root 'rclone-test-sigedoy7yociwin5xiwomek8': poll-interval is not supported by this remote 2022/03/15 05:20:48 NOTICE: mega root 'rclone-test-sigedoy7yociwin5xiwomek8': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/03/15 05:20:48 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/03/15 05:20:48 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:20:48 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:20:48 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:20:48 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:20:48 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/03/15 05:20:48 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2022/03/15 05:20:48 DEBUG : dir/file1: newRWFileHandle: 2022/03/15 05:20:48 DEBUG : dir/file1(0xc0025a4bc0): openPending: 2022/03/15 05:20:48 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/03/15 05:20:48 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/03/15 05:20:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:20:48 DEBUG : dir/file1(0xc0025a4bc0): >openPending: err= 2022/03/15 05:20:48 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/03/15 05:20:48 DEBUG : dir/file1: >newRWFileHandle: err= 2022/03/15 05:20:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:20:48 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/03/15 05:20:48 DEBUG : dir/file1(0xc0025a4bc0): _writeAt: size=14, off=0 2022/03/15 05:20:48 DEBUG : dir/file1(0xc0025a4bc0): >_writeAt: n=14, err= 2022/03/15 05:20:48 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/03/15 05:20:48 DEBUG : dir/file1(0xc0025a4bc0): close: 2022/03/15 05:20:48 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/03/15 05:20:48 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/03/15 05:20:48 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/03/15 05:20:48 DEBUG : dir/file1(0xc0025a4bc0): >close: err= 2022/03/15 05:20:48 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:20:48 DEBUG : dir: Looking for writers 2022/03/15 05:20:48 DEBUG : file1: reading active writers 2022/03/15 05:20:48 DEBUG : : Looking for writers 2022/03/15 05:20:48 DEBUG : dir: reading active writers 2022/03/15 05:20:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/03/15 05:20:48 DEBUG : dir: Looking for writers 2022/03/15 05:20:48 DEBUG : file1: reading active writers 2022/03/15 05:20:48 DEBUG : : Looking for writers 2022/03/15 05:20:48 DEBUG : dir: reading active writers 2022/03/15 05:20:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/03/15 05:20:48 DEBUG : dir: Looking for writers 2022/03/15 05:20:48 DEBUG : file1: reading active writers 2022/03/15 05:20:48 DEBUG : : Looking for writers 2022/03/15 05:20:48 DEBUG : dir: reading active writers 2022/03/15 05:20:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/03/15 05:20:48 DEBUG : dir: Looking for writers 2022/03/15 05:20:48 DEBUG : file1: reading active writers 2022/03/15 05:20:48 DEBUG : : Looking for writers 2022/03/15 05:20:48 DEBUG : dir: reading active writers 2022/03/15 05:20:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/03/15 05:20:48 DEBUG : dir/file1: vfs cache: starting upload 2022/03/15 05:20:48 DEBUG : dir: Looking for writers 2022/03/15 05:20:48 DEBUG : file1: reading active writers 2022/03/15 05:20:48 DEBUG : : Looking for writers 2022/03/15 05:20:48 DEBUG : dir: reading active writers 2022/03/15 05:20:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/03/15 05:20:49 DEBUG : dir: Looking for writers 2022/03/15 05:20:49 DEBUG : file1: reading active writers 2022/03/15 05:20:49 DEBUG : : Looking for writers 2022/03/15 05:20:49 DEBUG : dir: reading active writers 2022/03/15 05:20:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/03/15 05:20:49 INFO : dir/file1: Copied (replaced existing) 2022/03/15 05:20:49 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/03/15 05:20:49 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2022/03/15 05:20:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:20:49 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/03/15 05:20:49 DEBUG : dir: Looking for writers 2022/03/15 05:20:49 DEBUG : file1: reading active writers 2022/03/15 05:20:49 DEBUG : : Looking for writers 2022/03/15 05:20:49 DEBUG : dir: reading active writers 2022/03/15 05:20:49 DEBUG : >WaitForWriters: 2022/03/15 05:20:49 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/03/15 05:20:49 DEBUG : dir/file1: newRWFileHandle: 2022/03/15 05:20:49 DEBUG : dir/file1: >newRWFileHandle: err= 2022/03/15 05:20:49 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/03/15 05:20:49 DEBUG : dir/file1(0xc0025a4f80): _readAt: size=512, off=0 2022/03/15 05:20:49 DEBUG : dir/file1(0xc0025a4f80): openPending: 2022/03/15 05:20:49 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/03/15 05:20:49 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/03/15 05:20:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:20:49 DEBUG : dir/file1(0xc0025a4f80): >openPending: err= 2022/03/15 05:20:49 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/03/15 05:20:49 DEBUG : dir/file1(0xc0025a4f80): >_readAt: n=14, err=EOF 2022/03/15 05:20:49 DEBUG : dir/file1(0xc0025a4f80): close: 2022/03/15 05:20:49 DEBUG : dir/file1: vfs cache: setting modification time to 2022-03-15 05:20:49 +0000 UTC 2022/03/15 05:20:49 DEBUG : dir/file1(0xc0025a4f80): >close: err= 2022/03/15 05:20:50 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/03/15 05:20:50 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/03/15 05:20:50 DEBUG : newLeaf: Updating file with newLeaf 0xc0025e0240 2022/03/15 05:20:50 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:20:50 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:20:50 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/03/15 05:20:50 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/03/15 05:20:50 DEBUG : dir/file1: Updating file with dir/file1 0xc0025e0240 2022/03/15 05:20:50 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/03/15 05:20:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/file1" 2022/03/15 05:20:57 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/03/15 05:20:57 DEBUG : dir/file1: newRWFileHandle: 2022/03/15 05:20:57 DEBUG : dir/file1(0xc002898640): openPending: 2022/03/15 05:20:57 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/03/15 05:20:57 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/03/15 05:20:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:20:57 DEBUG : dir/file1(0xc002898640): >openPending: err= 2022/03/15 05:20:57 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/03/15 05:20:57 DEBUG : dir/file1: >newRWFileHandle: err= 2022/03/15 05:20:57 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/03/15 05:20:57 DEBUG : dir/file1(0xc002898640): _writeAt: size=25, off=0 2022/03/15 05:20:57 DEBUG : dir/file1(0xc002898640): >_writeAt: n=25, err= 2022/03/15 05:20:57 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/03/15 05:20:57 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/03/15 05:20:57 DEBUG : newLeaf: Updating file with newLeaf 0xc0025e0240 2022/03/15 05:20:57 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:20:57 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:20:57 DEBUG : newLeaf(0xc002898640): close: 2022/03/15 05:20:57 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/03/15 05:20:57 DEBUG : newLeaf: vfs cache: setting modification time to 2022-03-15 05:20:57.460588404 +0000 UTC m=+59.546627601 2022/03/15 05:20:57 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/03/15 05:20:57 DEBUG : newLeaf(0xc002898640): >close: err= 2022/03/15 05:20:57 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:20:57 DEBUG : dir: Looking for writers 2022/03/15 05:20:57 DEBUG : : Looking for writers 2022/03/15 05:20:57 DEBUG : dir: reading active writers 2022/03/15 05:20:57 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/03/15 05:20:57 DEBUG : dir: Looking for writers 2022/03/15 05:20:57 DEBUG : : Looking for writers 2022/03/15 05:20:57 DEBUG : dir: reading active writers 2022/03/15 05:20:57 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/03/15 05:20:57 DEBUG : dir: Looking for writers 2022/03/15 05:20:57 DEBUG : : Looking for writers 2022/03/15 05:20:57 DEBUG : dir: reading active writers 2022/03/15 05:20:57 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/03/15 05:20:58 DEBUG : dir: Looking for writers 2022/03/15 05:20:58 DEBUG : : Looking for writers 2022/03/15 05:20:58 DEBUG : dir: reading active writers 2022/03/15 05:20:58 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/03/15 05:20:58 DEBUG : newLeaf: vfs cache: starting upload 2022/03/15 05:20:58 DEBUG : dir: Looking for writers 2022/03/15 05:20:58 DEBUG : : Looking for writers 2022/03/15 05:20:58 DEBUG : dir: reading active writers 2022/03/15 05:20:58 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/03/15 05:20:58 DEBUG : dir: Looking for writers 2022/03/15 05:20:58 DEBUG : : Looking for writers 2022/03/15 05:20:58 DEBUG : dir: reading active writers 2022/03/15 05:20:58 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/03/15 05:20:58 DEBUG : dir: Looking for writers 2022/03/15 05:20:58 DEBUG : : Looking for writers 2022/03/15 05:20:58 DEBUG : dir: reading active writers 2022/03/15 05:20:58 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/03/15 05:20:58 INFO : newLeaf: Copied (replaced existing) 2022/03/15 05:20:58 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/03/15 05:20:58 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/03/15 05:20:58 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:20:58 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/03/15 05:20:59 DEBUG : dir: Looking for writers 2022/03/15 05:20:59 DEBUG : : Looking for writers 2022/03/15 05:20:59 DEBUG : dir: reading active writers 2022/03/15 05:20:59 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:59 DEBUG : >WaitForWriters: 2022/03/15 05:20:59 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:20:59 DEBUG : dir: Looking for writers 2022/03/15 05:20:59 DEBUG : : Looking for writers 2022/03/15 05:20:59 DEBUG : dir: reading active writers 2022/03/15 05:20:59 DEBUG : newLeaf: reading active writers 2022/03/15 05:20:59 DEBUG : >WaitForWriters: 2022/03/15 05:20:59 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:181: Remote "mega root 'rclone-test-sigedoy7yociwin5xiwomek8'", Local "Local file system at /tmp/rclone2978905387", Modify Window "876000h0m0s" 2022/03/15 05:21:00 INFO : mega root 'rclone-test-sigedoy7yociwin5xiwomek8': poll-interval is not supported by this remote 2022/03/15 05:21:00 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/03/15 05:21:00 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:21:00 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:21:00 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:21:00 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:21:00 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/03/15 05:21:02 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:21:02 DEBUG : dir: Looking for writers 2022/03/15 05:21:02 DEBUG : file1: reading active writers 2022/03/15 05:21:02 DEBUG : : Looking for writers 2022/03/15 05:21:02 DEBUG : dir: reading active writers 2022/03/15 05:21:02 DEBUG : >WaitForWriters: 2022/03/15 05:21:03 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/03/15 05:21:03 DEBUG : newLeaf: Updating file with newLeaf 0xc0019e9c80 2022/03/15 05:21:03 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:21:03 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" 2022/03/15 05:21:15 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/03/15 05:21:15 DEBUG : dir/file1: Updating file with dir/file1 0xc0019e9c80 2022/03/15 05:21:15 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/03/15 05:21:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/file1" 2022/03/15 05:21:22 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/03/15 05:21:22 DEBUG : dir/file1: newRWFileHandle: 2022/03/15 05:21:22 DEBUG : dir/file1(0xc002a37480): openPending: 2022/03/15 05:21:22 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/03/15 05:21:22 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/03/15 05:21:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:21:22 DEBUG : dir/file1(0xc002a37480): >openPending: err= 2022/03/15 05:21:22 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/03/15 05:21:22 DEBUG : dir/file1: >newRWFileHandle: err= 2022/03/15 05:21:22 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/03/15 05:21:22 DEBUG : dir/file1(0xc002a37480): _writeAt: size=25, off=0 2022/03/15 05:21:22 DEBUG : dir/file1(0xc002a37480): >_writeAt: n=25, err= 2022/03/15 05:21:22 INFO : newLeaf: Deleted 2022/03/15 05:21:22 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/03/15 05:21:22 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/03/15 05:21:22 DEBUG : newLeaf: Updating file with newLeaf 0xc0019e9c80 2022/03/15 05:21:22 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:21:22 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:21:22 DEBUG : newLeaf(0xc002a37480): close: 2022/03/15 05:21:22 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/03/15 05:21:22 DEBUG : newLeaf: vfs cache: setting modification time to 2022-03-15 05:21:22.06466453 +0000 UTC m=+84.150703707 2022/03/15 05:21:22 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/03/15 05:21:22 DEBUG : newLeaf(0xc002a37480): >close: err= 2022/03/15 05:21:22 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:21:22 DEBUG : dir: Looking for writers 2022/03/15 05:21:22 DEBUG : : Looking for writers 2022/03/15 05:21:22 DEBUG : dir: reading active writers 2022/03/15 05:21:22 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/03/15 05:21:22 DEBUG : dir: Looking for writers 2022/03/15 05:21:22 DEBUG : : Looking for writers 2022/03/15 05:21:22 DEBUG : dir: reading active writers 2022/03/15 05:21:22 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/03/15 05:21:22 DEBUG : dir: Looking for writers 2022/03/15 05:21:22 DEBUG : : Looking for writers 2022/03/15 05:21:22 DEBUG : dir: reading active writers 2022/03/15 05:21:22 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/03/15 05:21:22 DEBUG : dir: Looking for writers 2022/03/15 05:21:22 DEBUG : : Looking for writers 2022/03/15 05:21:22 DEBUG : dir: reading active writers 2022/03/15 05:21:22 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/03/15 05:21:22 DEBUG : newLeaf: vfs cache: starting upload 2022/03/15 05:21:22 DEBUG : dir: Looking for writers 2022/03/15 05:21:22 DEBUG : : Looking for writers 2022/03/15 05:21:22 DEBUG : dir: reading active writers 2022/03/15 05:21:22 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/03/15 05:21:22 DEBUG : dir: Looking for writers 2022/03/15 05:21:22 DEBUG : : Looking for writers 2022/03/15 05:21:22 DEBUG : dir: reading active writers 2022/03/15 05:21:22 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/03/15 05:21:23 DEBUG : dir: Looking for writers 2022/03/15 05:21:23 DEBUG : : Looking for writers 2022/03/15 05:21:23 DEBUG : dir: reading active writers 2022/03/15 05:21:23 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/03/15 05:21:23 INFO : newLeaf: Copied (replaced existing) 2022/03/15 05:21:23 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/03/15 05:21:23 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/03/15 05:21:23 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:21:23 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/03/15 05:21:23 DEBUG : dir: Looking for writers 2022/03/15 05:21:23 DEBUG : : Looking for writers 2022/03/15 05:21:23 DEBUG : dir: reading active writers 2022/03/15 05:21:23 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:23 DEBUG : >WaitForWriters: 2022/03/15 05:21:23 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:21:23 DEBUG : dir: Looking for writers 2022/03/15 05:21:23 DEBUG : : Looking for writers 2022/03/15 05:21:23 DEBUG : dir: reading active writers 2022/03/15 05:21:23 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:23 DEBUG : >WaitForWriters: 2022/03/15 05:21:23 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:181: Remote "mega root 'rclone-test-sigedoy7yociwin5xiwomek8'", Local "Local file system at /tmp/rclone2978905387", Modify Window "876000h0m0s" 2022/03/15 05:21:24 INFO : mega root 'rclone-test-sigedoy7yociwin5xiwomek8': poll-interval is not supported by this remote 2022/03/15 05:21:24 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/03/15 05:21:24 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:21:24 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:21:24 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:21:24 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:21:24 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/03/15 05:21:24 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2022/03/15 05:21:24 DEBUG : dir/file1: newRWFileHandle: 2022/03/15 05:21:24 DEBUG : dir/file1(0xc002c24540): openPending: 2022/03/15 05:21:24 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/03/15 05:21:24 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/03/15 05:21:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:21:24 DEBUG : dir/file1(0xc002c24540): >openPending: err= 2022/03/15 05:21:24 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/03/15 05:21:24 DEBUG : dir/file1: >newRWFileHandle: err= 2022/03/15 05:21:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:21:24 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/03/15 05:21:24 DEBUG : dir/file1(0xc002c24540): _writeAt: size=14, off=0 2022/03/15 05:21:24 DEBUG : dir/file1(0xc002c24540): >_writeAt: n=14, err= 2022/03/15 05:21:24 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/03/15 05:21:24 DEBUG : dir/file1(0xc002c24540): close: 2022/03/15 05:21:24 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/03/15 05:21:24 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/03/15 05:21:24 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/03/15 05:21:24 DEBUG : dir/file1(0xc002c24540): >close: err= 2022/03/15 05:21:24 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:21:24 DEBUG : dir: Looking for writers 2022/03/15 05:21:24 DEBUG : file1: reading active writers 2022/03/15 05:21:24 DEBUG : : Looking for writers 2022/03/15 05:21:24 DEBUG : dir: reading active writers 2022/03/15 05:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/03/15 05:21:24 DEBUG : dir: Looking for writers 2022/03/15 05:21:24 DEBUG : file1: reading active writers 2022/03/15 05:21:24 DEBUG : : Looking for writers 2022/03/15 05:21:24 DEBUG : dir: reading active writers 2022/03/15 05:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/03/15 05:21:24 DEBUG : dir: Looking for writers 2022/03/15 05:21:24 DEBUG : file1: reading active writers 2022/03/15 05:21:24 DEBUG : : Looking for writers 2022/03/15 05:21:24 DEBUG : dir: reading active writers 2022/03/15 05:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/03/15 05:21:24 DEBUG : dir: Looking for writers 2022/03/15 05:21:24 DEBUG : file1: reading active writers 2022/03/15 05:21:24 DEBUG : : Looking for writers 2022/03/15 05:21:24 DEBUG : dir: reading active writers 2022/03/15 05:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/03/15 05:21:24 DEBUG : dir/file1: vfs cache: starting upload 2022/03/15 05:21:24 DEBUG : dir: Looking for writers 2022/03/15 05:21:24 DEBUG : file1: reading active writers 2022/03/15 05:21:24 DEBUG : : Looking for writers 2022/03/15 05:21:24 DEBUG : dir: reading active writers 2022/03/15 05:21:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/03/15 05:21:25 DEBUG : dir: Looking for writers 2022/03/15 05:21:25 DEBUG : file1: reading active writers 2022/03/15 05:21:25 DEBUG : : Looking for writers 2022/03/15 05:21:25 DEBUG : dir: reading active writers 2022/03/15 05:21:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/03/15 05:21:25 DEBUG : dir: Looking for writers 2022/03/15 05:21:25 DEBUG : file1: reading active writers 2022/03/15 05:21:25 DEBUG : : Looking for writers 2022/03/15 05:21:25 DEBUG : dir: reading active writers 2022/03/15 05:21:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/03/15 05:21:25 INFO : dir/file1: Copied (replaced existing) 2022/03/15 05:21:25 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/03/15 05:21:25 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2022/03/15 05:21:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:21:25 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/03/15 05:21:26 DEBUG : dir: Looking for writers 2022/03/15 05:21:26 DEBUG : file1: reading active writers 2022/03/15 05:21:26 DEBUG : : Looking for writers 2022/03/15 05:21:26 DEBUG : dir: reading active writers 2022/03/15 05:21:26 DEBUG : >WaitForWriters: 2022/03/15 05:21:26 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/03/15 05:21:26 DEBUG : dir/file1: newRWFileHandle: 2022/03/15 05:21:26 DEBUG : dir/file1: >newRWFileHandle: err= 2022/03/15 05:21:26 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/03/15 05:21:26 DEBUG : dir/file1(0xc002c24c80): _readAt: size=512, off=0 2022/03/15 05:21:26 DEBUG : dir/file1(0xc002c24c80): openPending: 2022/03/15 05:21:26 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/03/15 05:21:26 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/03/15 05:21:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:21:26 DEBUG : dir/file1(0xc002c24c80): >openPending: err= 2022/03/15 05:21:26 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/03/15 05:21:26 DEBUG : dir/file1(0xc002c24c80): >_readAt: n=14, err=EOF 2022/03/15 05:21:26 DEBUG : dir/file1(0xc002c24c80): close: 2022/03/15 05:21:26 DEBUG : dir/file1: vfs cache: setting modification time to 2022-03-15 05:21:25 +0000 UTC 2022/03/15 05:21:26 DEBUG : dir/file1(0xc002c24c80): >close: err= 2022/03/15 05:21:26 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/03/15 05:21:26 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/03/15 05:21:26 DEBUG : newLeaf: Updating file with newLeaf 0xc002a6c540 2022/03/15 05:21:26 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:21:26 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:21:27 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/03/15 05:21:27 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/03/15 05:21:27 DEBUG : dir/file1: Updating file with dir/file1 0xc002a6c540 2022/03/15 05:21:27 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/03/15 05:21:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "dir/file1" 2022/03/15 05:21:34 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/03/15 05:21:34 DEBUG : dir/file1: newRWFileHandle: 2022/03/15 05:21:34 DEBUG : dir/file1(0xc002bbfbc0): openPending: 2022/03/15 05:21:34 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/03/15 05:21:34 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/03/15 05:21:34 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:21:34 DEBUG : dir/file1(0xc002bbfbc0): >openPending: err= 2022/03/15 05:21:34 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/03/15 05:21:34 DEBUG : dir/file1: >newRWFileHandle: err= 2022/03/15 05:21:34 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/03/15 05:21:34 DEBUG : dir/file1(0xc002bbfbc0): _writeAt: size=25, off=0 2022/03/15 05:21:34 DEBUG : dir/file1(0xc002bbfbc0): >_writeAt: n=25, err= 2022/03/15 05:21:36 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/03/15 05:21:36 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/03/15 05:21:36 DEBUG : newLeaf: Updating file with newLeaf 0xc002a6c540 2022/03/15 05:21:36 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:21:36 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:21:36 DEBUG : newLeaf(0xc002bbfbc0): close: 2022/03/15 05:21:36 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/03/15 05:21:36 DEBUG : newLeaf: vfs cache: setting modification time to 2022-03-15 05:21:34.027792087 +0000 UTC m=+96.113831244 2022/03/15 05:21:36 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/03/15 05:21:36 DEBUG : newLeaf(0xc002bbfbc0): >close: err= 2022/03/15 05:21:36 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:21:36 DEBUG : dir: Looking for writers 2022/03/15 05:21:36 DEBUG : : Looking for writers 2022/03/15 05:21:36 DEBUG : dir: reading active writers 2022/03/15 05:21:36 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/03/15 05:21:36 DEBUG : dir: Looking for writers 2022/03/15 05:21:36 DEBUG : : Looking for writers 2022/03/15 05:21:36 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:36 DEBUG : dir: reading active writers 2022/03/15 05:21:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/03/15 05:21:36 DEBUG : dir: Looking for writers 2022/03/15 05:21:36 DEBUG : : Looking for writers 2022/03/15 05:21:36 DEBUG : dir: reading active writers 2022/03/15 05:21:36 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/03/15 05:21:36 DEBUG : dir: Looking for writers 2022/03/15 05:21:36 DEBUG : : Looking for writers 2022/03/15 05:21:36 DEBUG : dir: reading active writers 2022/03/15 05:21:36 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/03/15 05:21:36 DEBUG : newLeaf: vfs cache: starting upload 2022/03/15 05:21:36 DEBUG : dir: Looking for writers 2022/03/15 05:21:36 DEBUG : : Looking for writers 2022/03/15 05:21:36 DEBUG : dir: reading active writers 2022/03/15 05:21:36 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/03/15 05:21:36 DEBUG : dir: Looking for writers 2022/03/15 05:21:36 DEBUG : : Looking for writers 2022/03/15 05:21:36 DEBUG : dir: reading active writers 2022/03/15 05:21:36 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/03/15 05:21:36 DEBUG : dir: Looking for writers 2022/03/15 05:21:36 DEBUG : : Looking for writers 2022/03/15 05:21:36 DEBUG : dir: reading active writers 2022/03/15 05:21:36 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/03/15 05:21:37 INFO : newLeaf: Copied (replaced existing) 2022/03/15 05:21:37 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/03/15 05:21:37 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/03/15 05:21:37 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:21:37 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/03/15 05:21:37 DEBUG : dir: Looking for writers 2022/03/15 05:21:37 DEBUG : : Looking for writers 2022/03/15 05:21:37 DEBUG : dir: reading active writers 2022/03/15 05:21:37 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:37 DEBUG : >WaitForWriters: 2022/03/15 05:21:37 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:21:37 DEBUG : dir: Looking for writers 2022/03/15 05:21:37 DEBUG : : Looking for writers 2022/03/15 05:21:37 DEBUG : dir: reading active writers 2022/03/15 05:21:37 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:37 DEBUG : >WaitForWriters: 2022/03/15 05:21:37 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:181: Remote "mega root 'rclone-test-sigedoy7yociwin5xiwomek8'", Local "Local file system at /tmp/rclone2978905387", Modify Window "876000h0m0s" 2022/03/15 05:21:38 INFO : mega root 'rclone-test-sigedoy7yociwin5xiwomek8': poll-interval is not supported by this remote 2022/03/15 05:21:38 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/03/15 05:21:38 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:21:38 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:21:38 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:21:38 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestMega/rclone-test-sigedoy7yociwin5xiwomek8" 2022/03/15 05:21:38 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/03/15 05:21:38 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:21:38 DEBUG : dir: Looking for writers 2022/03/15 05:21:38 DEBUG : file1: reading active writers 2022/03/15 05:21:38 DEBUG : : Looking for writers 2022/03/15 05:21:38 DEBUG : dir: reading active writers 2022/03/15 05:21:38 DEBUG : >WaitForWriters: 2022/03/15 05:21:38 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/03/15 05:21:38 DEBUG : dir/file1: newRWFileHandle: 2022/03/15 05:21:38 DEBUG : dir/file1: >newRWFileHandle: err= 2022/03/15 05:21:38 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/03/15 05:21:38 DEBUG : dir/file1(0xc002ee8380): _readAt: size=512, off=0 2022/03/15 05:21:38 DEBUG : dir/file1(0xc002ee8380): openPending: 2022/03/15 05:21:38 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2022/03/15 05:21:38 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/03/15 05:21:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:21:38 DEBUG : dir/file1(0xc002ee8380): >openPending: err= 2022/03/15 05:21:38 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2022/03/15 05:21:38 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/03/15 05:21:38 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/03/15 05:21:38 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/03/15 05:21:39 DEBUG : dir/file1(0xc002ee8380): >_readAt: n=14, err=EOF 2022/03/15 05:21:39 DEBUG : dir/file1(0xc002ee8380): close: 2022/03/15 05:21:39 DEBUG : dir/file1: vfs cache: setting modification time to 2022-03-15 05:21:38 +0000 UTC 2022/03/15 05:21:39 DEBUG : dir/file1(0xc002ee8380): >close: err= 2022/03/15 05:21:39 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/03/15 05:21:39 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/03/15 05:21:39 DEBUG : newLeaf: Updating file with newLeaf 0xc002ef6180 2022/03/15 05:21:39 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:21:39 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:21:40 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/03/15 05:21:40 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/03/15 05:21:40 DEBUG : dir/file1: Updating file with dir/file1 0xc002ef6180 2022/03/15 05:21:40 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/03/15 05:21:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:366 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" 2022/03/15 05:21:47 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/03/15 05:21:47 DEBUG : dir/file1: newRWFileHandle: 2022/03/15 05:21:47 DEBUG : dir/file1(0xc002f2c280): openPending: 2022/03/15 05:21:47 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2022/03/15 05:21:47 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/03/15 05:21:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:21:47 DEBUG : dir/file1(0xc002f2c280): >openPending: err= 2022/03/15 05:21:47 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/03/15 05:21:47 DEBUG : dir/file1: >newRWFileHandle: err= 2022/03/15 05:21:47 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/03/15 05:21:47 DEBUG : dir/file1(0xc002f2c280): _writeAt: size=25, off=0 2022/03/15 05:21:47 DEBUG : dir/file1(0xc002f2c280): >_writeAt: n=25, err= 2022/03/15 05:21:47 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/03/15 05:21:47 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/03/15 05:21:47 DEBUG : newLeaf: Updating file with newLeaf 0xc002ef6180 2022/03/15 05:21:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:21:47 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:21:47 DEBUG : newLeaf(0xc002f2c280): close: 2022/03/15 05:21:47 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/03/15 05:21:47 DEBUG : newLeaf: vfs cache: setting modification time to 2022-03-15 05:21:47.530065965 +0000 UTC m=+109.616105163 2022/03/15 05:21:47 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/03/15 05:21:47 DEBUG : newLeaf(0xc002f2c280): >close: err= 2022/03/15 05:21:47 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:21:47 DEBUG : dir: Looking for writers 2022/03/15 05:21:47 DEBUG : : Looking for writers 2022/03/15 05:21:47 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:47 DEBUG : dir: reading active writers 2022/03/15 05:21:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/03/15 05:21:47 DEBUG : dir: Looking for writers 2022/03/15 05:21:47 DEBUG : : Looking for writers 2022/03/15 05:21:47 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:47 DEBUG : dir: reading active writers 2022/03/15 05:21:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/03/15 05:21:48 DEBUG : dir: Looking for writers 2022/03/15 05:21:48 DEBUG : : Looking for writers 2022/03/15 05:21:48 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:48 DEBUG : dir: reading active writers 2022/03/15 05:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/03/15 05:21:48 DEBUG : dir: Looking for writers 2022/03/15 05:21:48 DEBUG : : Looking for writers 2022/03/15 05:21:48 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:48 DEBUG : dir: reading active writers 2022/03/15 05:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/03/15 05:21:48 DEBUG : newLeaf: vfs cache: starting upload 2022/03/15 05:21:48 DEBUG : dir: Looking for writers 2022/03/15 05:21:48 DEBUG : : Looking for writers 2022/03/15 05:21:48 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:48 DEBUG : dir: reading active writers 2022/03/15 05:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/03/15 05:21:48 DEBUG : dir: Looking for writers 2022/03/15 05:21:48 DEBUG : : Looking for writers 2022/03/15 05:21:48 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:48 DEBUG : dir: reading active writers 2022/03/15 05:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/03/15 05:21:48 DEBUG : dir: Looking for writers 2022/03/15 05:21:48 DEBUG : : Looking for writers 2022/03/15 05:21:48 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:48 DEBUG : dir: reading active writers 2022/03/15 05:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/03/15 05:21:49 DEBUG : dir: Looking for writers 2022/03/15 05:21:49 DEBUG : : Looking for writers 2022/03/15 05:21:49 DEBUG : dir: reading active writers 2022/03/15 05:21:49 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/03/15 05:21:50 INFO : newLeaf: Copied (replaced existing) 2022/03/15 05:21:50 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2022/03/15 05:21:50 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/03/15 05:21:50 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/03/15 05:21:50 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/03/15 05:21:50 DEBUG : dir: Looking for writers 2022/03/15 05:21:50 DEBUG : : Looking for writers 2022/03/15 05:21:50 DEBUG : dir: reading active writers 2022/03/15 05:21:50 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:50 DEBUG : >WaitForWriters: 2022/03/15 05:21:50 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:21:50 DEBUG : dir: Looking for writers 2022/03/15 05:21:50 DEBUG : : Looking for writers 2022/03/15 05:21:50 DEBUG : dir: reading active writers 2022/03/15 05:21:50 DEBUG : newLeaf: reading active writers 2022/03/15 05:21:50 DEBUG : >WaitForWriters: 2022/03/15 05:21:50 DEBUG : vfs cache: cleaner exiting --- FAIL: TestFileRename (102.77s) --- FAIL: TestFileRename/off,forceCache=false (20.85s) --- FAIL: TestFileRename/minimal,forceCache=false (19.16s) --- FAIL: TestFileRename/minimal,forceCache=true (12.11s) --- FAIL: TestFileRename/writes,forceCache=false (24.21s) --- FAIL: TestFileRename/writes,forceCache=true (13.89s) --- FAIL: TestFileRename/full,forceCache=false (12.54s) === RUN TestVFSRename run.go:181: Remote "mega root 'rclone-test-sigedoy7yociwin5xiwomek8'", Local "Local file system at /tmp/rclone2978905387", Modify Window "876000h0m0s" 2022/03/15 05:21:50 INFO : mega root 'rclone-test-sigedoy7yociwin5xiwomek8': poll-interval is not supported by this remote 2022/03/15 05:21:50 NOTICE: mega root 'rclone-test-sigedoy7yociwin5xiwomek8': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/03/15 05:21:51 INFO : dir/file2: Moved (server-side) to: dir/file1 2022/03/15 05:21:51 DEBUG : dir/file1: Updating file with dir/file1 0xc002ef6780 2022/03/15 05:21:51 DEBUG : dir: Added virtual directory entry vDel: "file2" 2022/03/15 05:21:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/03/15 05:21:52 INFO : dir/file1: Moved (server-side) to: file0 2022/03/15 05:21:52 DEBUG : file0: Updating file with file0 0xc002ef6780 2022/03/15 05:21:52 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/03/15 05:21:52 DEBUG : : Added virtual directory entry vAddFile: "file0" 2022/03/15 05:21:52 DEBUG : WaitForWriters: timeout=30s 2022/03/15 05:21:52 DEBUG : dir: Looking for writers 2022/03/15 05:21:52 DEBUG : : Looking for writers 2022/03/15 05:21:52 DEBUG : dir: reading active writers 2022/03/15 05:21:52 DEBUG : file0: reading active writers 2022/03/15 05:21:52 DEBUG : >WaitForWriters: --- PASS: TestVFSRename (2.02s) FAIL 2022/03/15 05:21:52 DEBUG : mega root 'rclone-test-sigedoy7yociwin5xiwomek8': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^(TestDirRemove|TestFileRename|TestVFSRename)$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 1m55.268503693s (try 2/5): exit status 1: Failed [TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false]