"./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 3/5) 2021/02/08 05:15:59 DEBUG : Creating backend with remote "TestMega:rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:16:13 DEBUG : Creating backend with remote "/tmp/rclone492375555" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:176: Remote "mega root 'rclone-test-sapigeq5kotadef3tihomew4'", Local "Local file system at /tmp/rclone492375555", Modify Window "876000h0m0s" 2021/02/08 05:16:13 INFO : mega root 'rclone-test-sapigeq5kotadef3tihomew4': poll-interval is not supported by this remote 2021/02/08 05:16:13 NOTICE: mega root 'rclone-test-sapigeq5kotadef3tihomew4': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2021/02/08 05:16:17 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:16:17 DEBUG : dir: Looking for writers 2021/02/08 05:16:17 DEBUG : file1: reading active writers 2021/02/08 05:16:17 DEBUG : : Looking for writers 2021/02/08 05:16:17 DEBUG : dir: reading active writers 2021/02/08 05:16:17 DEBUG : >WaitForWriters: 2021/02/08 05:16:17 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/02/08 05:16:17 DEBUG : newLeaf: Updating file with newLeaf 0xc000111380 2021/02/08 05:16:17 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/02/08 05:16:17 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:297: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:300: Flushing the directory cache fstest.go:304: Error Trace: fstest.go:304 fstest.go:337 fstest.go:349 file_test.go:292 file_test.go:360 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 fstest.go:349 file_test.go:292 file_test.go:360 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" 2021/02/08 05:16:29 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/02/08 05:16:29 DEBUG : dir/file1: Updating file with dir/file1 0xc000111380 2021/02/08 05:16:29 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/02/08 05:16:29 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:297: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:300: Flushing the directory cache fstest.go:304: Error Trace: fstest.go:304 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 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:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/file1" 2021/02/08 05:16:37 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/02/08 05:16:37 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2021/02/08 05:16:37 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:16:37 DEBUG : dir/file1: File is currently open, delaying rename 0xc000111380 2021/02/08 05:16:37 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/02/08 05:16:37 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:16:37 DEBUG : mega root 'rclone-test-sapigeq5kotadef3tihomew4': File to upload is small (25 bytes), uploading instead of streaming 2021/02/08 05:16:42 INFO : dir/file1: Copied (new) 2021/02/08 05:16:42 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:16:42 DEBUG : newLeaf: Running delayed rename now 2021/02/08 05:16:42 INFO : newLeaf: Deleted 2021/02/08 05:16:42 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/02/08 05:16:42 DEBUG : newLeaf: Updating file with newLeaf 0xc000111380 2021/02/08 05:16:42 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:16:42 DEBUG : dir: Looking for writers 2021/02/08 05:16:42 DEBUG : : Looking for writers 2021/02/08 05:16:42 DEBUG : dir: reading active writers 2021/02/08 05:16:42 DEBUG : newLeaf: reading active writers 2021/02/08 05:16:42 DEBUG : >WaitForWriters: 2021/02/08 05:16:42 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:16:42 DEBUG : dir: Looking for writers 2021/02/08 05:16:42 DEBUG : : Looking for writers 2021/02/08 05:16:42 DEBUG : dir: reading active writers 2021/02/08 05:16:42 DEBUG : newLeaf: reading active writers 2021/02/08 05:16:42 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:176: Remote "mega root 'rclone-test-sapigeq5kotadef3tihomew4'", Local "Local file system at /tmp/rclone492375555", Modify Window "876000h0m0s" 2021/02/08 05:16:44 INFO : mega root 'rclone-test-sapigeq5kotadef3tihomew4': poll-interval is not supported by this remote 2021/02/08 05:16:44 NOTICE: mega root 'rclone-test-sapigeq5kotadef3tihomew4': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2021/02/08 05:16:44 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:16:44 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:16:44 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:16:44 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/02/08 05:16:47 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:16:47 DEBUG : dir: Looking for writers 2021/02/08 05:16:47 DEBUG : file1: reading active writers 2021/02/08 05:16:47 DEBUG : : Looking for writers 2021/02/08 05:16:47 DEBUG : dir: reading active writers 2021/02/08 05:16:47 DEBUG : >WaitForWriters: 2021/02/08 05:16:50 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/02/08 05:16:50 DEBUG : newLeaf: Updating file with newLeaf 0xc00054ed80 2021/02/08 05:16:50 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/02/08 05:16:50 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:297: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:300: Flushing the directory cache fstest.go:304: Error Trace: fstest.go:304 fstest.go:337 fstest.go:349 file_test.go:292 file_test.go:360 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 fstest.go:349 file_test.go:292 file_test.go:360 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" 2021/02/08 05:17:01 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/02/08 05:17:01 DEBUG : dir/file1: Updating file with dir/file1 0xc00054ed80 2021/02/08 05:17:01 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/02/08 05:17:01 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:297: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:300: Flushing the directory cache fstest.go:304: Error Trace: fstest.go:304 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 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:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/file1" 2021/02/08 05:17:08 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/02/08 05:17:08 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2021/02/08 05:17:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:17:08 DEBUG : dir/file1: File is currently open, delaying rename 0xc00054ed80 2021/02/08 05:17:08 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/02/08 05:17:08 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:17:08 DEBUG : mega root 'rclone-test-sapigeq5kotadef3tihomew4': File to upload is small (25 bytes), uploading instead of streaming 2021/02/08 05:17:18 ERROR : dir/file1: Failed to copy: upload file failed to create session: Try again 2021/02/08 05:17:18 ERROR : dir/file1: WriteFileHandle.New Rcat failed: upload file failed to create session: Try again 2021/02/08 05:17:18 DEBUG : newLeaf: Running delayed rename now 2021/02/08 05:17:18 INFO : newLeaf: Deleted 2021/02/08 05:17:18 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/02/08 05:17:18 DEBUG : newLeaf: Updating file with newLeaf 0xc00054ed80 file_test.go:338: Error Trace: file_test.go:338 file_test.go:360 Error: Received unexpected error: upload file failed to create session: Try again Test: TestFileRename/minimal,forceCache=false 2021/02/08 05:17:18 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:17:18 DEBUG : dir: Looking for writers 2021/02/08 05:17:18 DEBUG : : Looking for writers 2021/02/08 05:17:18 DEBUG : dir: reading active writers 2021/02/08 05:17:18 DEBUG : newLeaf: reading active writers 2021/02/08 05:17:18 DEBUG : >WaitForWriters: 2021/02/08 05:17:18 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:176: Remote "mega root 'rclone-test-sapigeq5kotadef3tihomew4'", Local "Local file system at /tmp/rclone492375555", Modify Window "876000h0m0s" 2021/02/08 05:17:20 INFO : mega root 'rclone-test-sapigeq5kotadef3tihomew4': poll-interval is not supported by this remote 2021/02/08 05:17:20 NOTICE: mega root 'rclone-test-sapigeq5kotadef3tihomew4': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2021/02/08 05:17:20 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:17:20 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:17:20 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:17:20 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/02/08 05:17:21 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2021/02/08 05:17:21 DEBUG : dir/file1: newRWFileHandle: 2021/02/08 05:17:21 DEBUG : dir/file1(0xc0014ed2c0): openPending: 2021/02/08 05:17:21 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2021/02/08 05:17:21 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/02/08 05:17:21 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:17:21 DEBUG : dir/file1(0xc0014ed2c0): >openPending: err= 2021/02/08 05:17:21 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/02/08 05:17:21 DEBUG : dir/file1: >newRWFileHandle: err= 2021/02/08 05:17:21 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:17:21 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/02/08 05:17:21 DEBUG : dir/file1(0xc0014ed2c0): _writeAt: size=14, off=0 2021/02/08 05:17:21 DEBUG : dir/file1(0xc0014ed2c0): >_writeAt: n=14, err= 2021/02/08 05:17:21 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/02/08 05:17:21 DEBUG : dir/file1(0xc0014ed2c0): close: 2021/02/08 05:17:21 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2021/02/08 05:17:21 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/02/08 05:17:21 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2021/02/08 05:17:21 DEBUG : dir/file1(0xc0014ed2c0): >close: err= 2021/02/08 05:17:21 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:17:21 DEBUG : dir: Looking for writers 2021/02/08 05:17:21 DEBUG : file1: reading active writers 2021/02/08 05:17:21 DEBUG : : Looking for writers 2021/02/08 05:17:21 DEBUG : dir: reading active writers 2021/02/08 05:17:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/02/08 05:17:21 DEBUG : dir: Looking for writers 2021/02/08 05:17:21 DEBUG : file1: reading active writers 2021/02/08 05:17:21 DEBUG : : Looking for writers 2021/02/08 05:17:21 DEBUG : dir: reading active writers 2021/02/08 05:17:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/02/08 05:17:21 DEBUG : dir: Looking for writers 2021/02/08 05:17:21 DEBUG : file1: reading active writers 2021/02/08 05:17:21 DEBUG : : Looking for writers 2021/02/08 05:17:21 DEBUG : dir: reading active writers 2021/02/08 05:17:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/02/08 05:17:21 DEBUG : dir: Looking for writers 2021/02/08 05:17:21 DEBUG : file1: reading active writers 2021/02/08 05:17:21 DEBUG : : Looking for writers 2021/02/08 05:17:21 DEBUG : dir: reading active writers 2021/02/08 05:17:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/02/08 05:17:21 DEBUG : dir/file1: vfs cache: starting upload 2021/02/08 05:17:21 DEBUG : dir: Looking for writers 2021/02/08 05:17:21 DEBUG : file1: reading active writers 2021/02/08 05:17:21 DEBUG : : Looking for writers 2021/02/08 05:17:21 DEBUG : dir: reading active writers 2021/02/08 05:17:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/02/08 05:17:21 DEBUG : dir: Looking for writers 2021/02/08 05:17:21 DEBUG : file1: reading active writers 2021/02/08 05:17:21 DEBUG : : Looking for writers 2021/02/08 05:17:21 DEBUG : dir: reading active writers 2021/02/08 05:17:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2021/02/08 05:17:21 DEBUG : dir: Looking for writers 2021/02/08 05:17:21 DEBUG : file1: reading active writers 2021/02/08 05:17:21 DEBUG : : Looking for writers 2021/02/08 05:17:21 DEBUG : dir: reading active writers 2021/02/08 05:17:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2021/02/08 05:17:22 DEBUG : dir: Looking for writers 2021/02/08 05:17:22 DEBUG : file1: reading active writers 2021/02/08 05:17:22 DEBUG : : Looking for writers 2021/02/08 05:17:22 DEBUG : dir: reading active writers 2021/02/08 05:17:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/02/08 05:17:23 INFO : dir/file1: Copied (replaced existing) 2021/02/08 05:17:23 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2021/02/08 05:17:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:17:23 INFO : dir/file1: vfs cache: upload succeeded try #1 2021/02/08 05:17:23 DEBUG : dir: Looking for writers 2021/02/08 05:17:23 DEBUG : file1: reading active writers 2021/02/08 05:17:23 DEBUG : : Looking for writers 2021/02/08 05:17:23 DEBUG : dir: reading active writers 2021/02/08 05:17:23 DEBUG : >WaitForWriters: 2021/02/08 05:17:23 DEBUG : dir/file1: Open: flags=O_RDONLY 2021/02/08 05:17:23 DEBUG : dir/file1: newRWFileHandle: 2021/02/08 05:17:23 DEBUG : dir/file1: >newRWFileHandle: err= 2021/02/08 05:17:23 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/02/08 05:17:23 DEBUG : dir/file1(0xc0014ed640): _readAt: size=512, off=0 2021/02/08 05:17:23 DEBUG : dir/file1(0xc0014ed640): openPending: 2021/02/08 05:17:23 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2021/02/08 05:17:23 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/02/08 05:17:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:17:23 DEBUG : dir/file1(0xc0014ed640): >openPending: err= 2021/02/08 05:17:23 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2021/02/08 05:17:23 DEBUG : dir/file1(0xc0014ed640): >_readAt: n=14, err=EOF 2021/02/08 05:17:23 DEBUG : dir/file1(0xc0014ed640): close: 2021/02/08 05:17:23 DEBUG : dir/file1: vfs cache: setting modification time to 2021-02-08 05:17:21 +0000 UTC 2021/02/08 05:17:23 DEBUG : dir/file1(0xc0014ed640): >close: err= 2021/02/08 05:17:25 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/02/08 05:17:25 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/02/08 05:17:25 DEBUG : newLeaf: Updating file with newLeaf 0xc0015c0480 2021/02/08 05:17:25 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/02/08 05:17:25 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:17:25 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/02/08 05:17:25 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2021/02/08 05:17:25 DEBUG : dir/file1: Updating file with dir/file1 0xc0015c0480 2021/02/08 05:17:25 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/02/08 05:17:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:297: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:300: Flushing the directory cache fstest.go:304: Error Trace: fstest.go:304 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 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:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/file1" 2021/02/08 05:17:32 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/02/08 05:17:32 DEBUG : dir/file1: newRWFileHandle: 2021/02/08 05:17:32 DEBUG : dir/file1(0xc001578980): openPending: 2021/02/08 05:17:32 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2021/02/08 05:17:32 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/02/08 05:17:32 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:17:32 DEBUG : dir/file1(0xc001578980): >openPending: err= 2021/02/08 05:17:32 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/02/08 05:17:32 DEBUG : dir/file1: >newRWFileHandle: err= 2021/02/08 05:17:32 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/02/08 05:17:32 DEBUG : dir/file1(0xc001578980): _writeAt: size=25, off=0 2021/02/08 05:17:32 DEBUG : dir/file1(0xc001578980): >_writeAt: n=25, err= 2021/02/08 05:17:32 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/02/08 05:17:32 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/02/08 05:17:32 DEBUG : newLeaf: Updating file with newLeaf 0xc0015c0480 2021/02/08 05:17:32 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/02/08 05:17:32 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:17:32 DEBUG : newLeaf(0xc001578980): close: 2021/02/08 05:17:32 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2021/02/08 05:17:32 DEBUG : newLeaf: vfs cache: setting modification time to 2021-02-08 05:17:32.72268663 +0000 UTC m=+93.392878292 2021/02/08 05:17:32 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2021/02/08 05:17:32 DEBUG : newLeaf(0xc001578980): >close: err= 2021/02/08 05:17:32 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:17:32 DEBUG : dir: Looking for writers 2021/02/08 05:17:32 DEBUG : : Looking for writers 2021/02/08 05:17:32 DEBUG : dir: reading active writers 2021/02/08 05:17:32 DEBUG : newLeaf: reading active writers 2021/02/08 05:17:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/02/08 05:17:32 DEBUG : dir: Looking for writers 2021/02/08 05:17:32 DEBUG : : Looking for writers 2021/02/08 05:17:32 DEBUG : dir: reading active writers 2021/02/08 05:17:32 DEBUG : newLeaf: reading active writers 2021/02/08 05:17:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/02/08 05:17:33 DEBUG : dir: Looking for writers 2021/02/08 05:17:33 DEBUG : : Looking for writers 2021/02/08 05:17:33 DEBUG : dir: reading active writers 2021/02/08 05:17:33 DEBUG : newLeaf: reading active writers 2021/02/08 05:17:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/02/08 05:17:33 DEBUG : dir: Looking for writers 2021/02/08 05:17:33 DEBUG : : Looking for writers 2021/02/08 05:17:33 DEBUG : dir: reading active writers 2021/02/08 05:17:33 DEBUG : newLeaf: reading active writers 2021/02/08 05:17:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/02/08 05:17:33 DEBUG : newLeaf: vfs cache: starting upload 2021/02/08 05:17:33 DEBUG : dir: Looking for writers 2021/02/08 05:17:33 DEBUG : : Looking for writers 2021/02/08 05:17:33 DEBUG : dir: reading active writers 2021/02/08 05:17:33 DEBUG : newLeaf: reading active writers 2021/02/08 05:17:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/02/08 05:17:33 DEBUG : dir: Looking for writers 2021/02/08 05:17:33 DEBUG : : Looking for writers 2021/02/08 05:17:33 DEBUG : dir: reading active writers 2021/02/08 05:17:33 DEBUG : newLeaf: reading active writers 2021/02/08 05:17:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2021/02/08 05:17:33 DEBUG : dir: Looking for writers 2021/02/08 05:17:33 DEBUG : : Looking for writers 2021/02/08 05:17:33 DEBUG : dir: reading active writers 2021/02/08 05:17:33 DEBUG : newLeaf: reading active writers 2021/02/08 05:17:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2021/02/08 05:17:34 DEBUG : dir: Looking for writers 2021/02/08 05:17:34 DEBUG : : Looking for writers 2021/02/08 05:17:34 DEBUG : dir: reading active writers 2021/02/08 05:17:34 DEBUG : newLeaf: reading active writers 2021/02/08 05:17:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/02/08 05:17:34 INFO : newLeaf: Copied (replaced existing) 2021/02/08 05:17:34 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2021/02/08 05:17:34 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2021/02/08 05:17:34 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:17:34 INFO : newLeaf: vfs cache: upload succeeded try #1 2021/02/08 05:17:35 DEBUG : dir: Looking for writers 2021/02/08 05:17:35 DEBUG : : Looking for writers 2021/02/08 05:17:35 DEBUG : dir: reading active writers 2021/02/08 05:17:35 DEBUG : newLeaf: reading active writers 2021/02/08 05:17:35 DEBUG : >WaitForWriters: 2021/02/08 05:17:35 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:17:35 DEBUG : dir: Looking for writers 2021/02/08 05:17:35 DEBUG : : Looking for writers 2021/02/08 05:17:35 DEBUG : dir: reading active writers 2021/02/08 05:17:35 DEBUG : newLeaf: reading active writers 2021/02/08 05:17:35 DEBUG : >WaitForWriters: 2021/02/08 05:17:35 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:176: Remote "mega root 'rclone-test-sapigeq5kotadef3tihomew4'", Local "Local file system at /tmp/rclone492375555", Modify Window "876000h0m0s" 2021/02/08 05:17:37 INFO : mega root 'rclone-test-sapigeq5kotadef3tihomew4': poll-interval is not supported by this remote 2021/02/08 05:17:37 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:17:37 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:17:37 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:17:37 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/02/08 05:17:37 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:17:37 DEBUG : dir: Looking for writers 2021/02/08 05:17:37 DEBUG : file1: reading active writers 2021/02/08 05:17:37 DEBUG : : Looking for writers 2021/02/08 05:17:37 DEBUG : dir: reading active writers 2021/02/08 05:17:37 DEBUG : >WaitForWriters: 2021/02/08 05:17:37 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/02/08 05:17:37 DEBUG : newLeaf: Updating file with newLeaf 0xc0015c0840 2021/02/08 05:17:37 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/02/08 05:17:37 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:297: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:300: Flushing the directory cache fstest.go:304: Error Trace: fstest.go:304 fstest.go:337 fstest.go:349 file_test.go:292 file_test.go:360 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 fstest.go:349 file_test.go:292 file_test.go:360 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" 2021/02/08 05:17:55 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/02/08 05:17:55 DEBUG : dir/file1: Updating file with dir/file1 0xc0015c0840 2021/02/08 05:17:55 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/02/08 05:17:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:297: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:300: Flushing the directory cache fstest.go:304: Error Trace: fstest.go:304 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 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:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/file1" 2021/02/08 05:18:02 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/02/08 05:18:02 DEBUG : dir/file1: newRWFileHandle: 2021/02/08 05:18:02 DEBUG : dir/file1(0xc001afd740): openPending: 2021/02/08 05:18:02 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2021/02/08 05:18:02 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/02/08 05:18:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:18:02 DEBUG : dir/file1(0xc001afd740): >openPending: err= 2021/02/08 05:18:02 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/02/08 05:18:02 DEBUG : dir/file1: >newRWFileHandle: err= 2021/02/08 05:18:02 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/02/08 05:18:02 DEBUG : dir/file1(0xc001afd740): _writeAt: size=25, off=0 2021/02/08 05:18:02 DEBUG : dir/file1(0xc001afd740): >_writeAt: n=25, err= 2021/02/08 05:18:02 INFO : newLeaf: Deleted 2021/02/08 05:18:02 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/02/08 05:18:02 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/02/08 05:18:02 DEBUG : newLeaf: Updating file with newLeaf 0xc0015c0840 2021/02/08 05:18:02 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/02/08 05:18:02 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:18:02 DEBUG : newLeaf(0xc001afd740): close: 2021/02/08 05:18:02 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2021/02/08 05:18:02 DEBUG : newLeaf: vfs cache: setting modification time to 2021-02-08 05:18:02.286892272 +0000 UTC m=+122.957083943 2021/02/08 05:18:02 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2021/02/08 05:18:02 DEBUG : newLeaf(0xc001afd740): >close: err= 2021/02/08 05:18:02 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:18:02 DEBUG : dir: Looking for writers 2021/02/08 05:18:02 DEBUG : : Looking for writers 2021/02/08 05:18:02 DEBUG : dir: reading active writers 2021/02/08 05:18:02 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/02/08 05:18:02 DEBUG : dir: Looking for writers 2021/02/08 05:18:02 DEBUG : : Looking for writers 2021/02/08 05:18:02 DEBUG : dir: reading active writers 2021/02/08 05:18:02 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/02/08 05:18:02 DEBUG : dir: Looking for writers 2021/02/08 05:18:02 DEBUG : : Looking for writers 2021/02/08 05:18:02 DEBUG : dir: reading active writers 2021/02/08 05:18:02 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/02/08 05:18:03 DEBUG : dir: Looking for writers 2021/02/08 05:18:03 DEBUG : : Looking for writers 2021/02/08 05:18:03 DEBUG : dir: reading active writers 2021/02/08 05:18:03 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/02/08 05:18:03 DEBUG : newLeaf: vfs cache: starting upload 2021/02/08 05:18:03 DEBUG : dir: Looking for writers 2021/02/08 05:18:03 DEBUG : : Looking for writers 2021/02/08 05:18:03 DEBUG : dir: reading active writers 2021/02/08 05:18:03 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/02/08 05:18:03 DEBUG : dir: Looking for writers 2021/02/08 05:18:03 DEBUG : : Looking for writers 2021/02/08 05:18:03 DEBUG : dir: reading active writers 2021/02/08 05:18:03 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2021/02/08 05:18:03 INFO : newLeaf: Copied (replaced existing) 2021/02/08 05:18:03 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2021/02/08 05:18:03 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2021/02/08 05:18:03 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:18:03 INFO : newLeaf: vfs cache: upload succeeded try #1 2021/02/08 05:18:03 DEBUG : dir: Looking for writers 2021/02/08 05:18:03 DEBUG : : Looking for writers 2021/02/08 05:18:03 DEBUG : dir: reading active writers 2021/02/08 05:18:03 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:03 DEBUG : >WaitForWriters: 2021/02/08 05:18:03 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:18:03 DEBUG : dir: Looking for writers 2021/02/08 05:18:03 DEBUG : : Looking for writers 2021/02/08 05:18:03 DEBUG : dir: reading active writers 2021/02/08 05:18:03 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:03 DEBUG : >WaitForWriters: 2021/02/08 05:18:03 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:176: Remote "mega root 'rclone-test-sapigeq5kotadef3tihomew4'", Local "Local file system at /tmp/rclone492375555", Modify Window "876000h0m0s" 2021/02/08 05:18:05 INFO : mega root 'rclone-test-sapigeq5kotadef3tihomew4': poll-interval is not supported by this remote 2021/02/08 05:18:05 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:18:05 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:18:05 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:18:05 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/02/08 05:18:05 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2021/02/08 05:18:05 DEBUG : dir/file1: newRWFileHandle: 2021/02/08 05:18:05 DEBUG : dir/file1(0xc001bcb200): openPending: 2021/02/08 05:18:05 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2021/02/08 05:18:05 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/02/08 05:18:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:18:05 DEBUG : dir/file1(0xc001bcb200): >openPending: err= 2021/02/08 05:18:05 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/02/08 05:18:05 DEBUG : dir/file1: >newRWFileHandle: err= 2021/02/08 05:18:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:18:05 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/02/08 05:18:05 DEBUG : dir/file1(0xc001bcb200): _writeAt: size=14, off=0 2021/02/08 05:18:05 DEBUG : dir/file1(0xc001bcb200): >_writeAt: n=14, err= 2021/02/08 05:18:05 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/02/08 05:18:05 DEBUG : dir/file1(0xc001bcb200): close: 2021/02/08 05:18:05 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2021/02/08 05:18:05 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/02/08 05:18:05 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2021/02/08 05:18:05 DEBUG : dir/file1(0xc001bcb200): >close: err= 2021/02/08 05:18:05 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:18:05 DEBUG : dir: Looking for writers 2021/02/08 05:18:05 DEBUG : file1: reading active writers 2021/02/08 05:18:05 DEBUG : : Looking for writers 2021/02/08 05:18:05 DEBUG : dir: reading active writers 2021/02/08 05:18:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/02/08 05:18:06 DEBUG : dir: Looking for writers 2021/02/08 05:18:06 DEBUG : file1: reading active writers 2021/02/08 05:18:06 DEBUG : : Looking for writers 2021/02/08 05:18:06 DEBUG : dir: reading active writers 2021/02/08 05:18:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/02/08 05:18:06 DEBUG : dir: Looking for writers 2021/02/08 05:18:06 DEBUG : file1: reading active writers 2021/02/08 05:18:06 DEBUG : : Looking for writers 2021/02/08 05:18:06 DEBUG : dir: reading active writers 2021/02/08 05:18:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/02/08 05:18:06 DEBUG : dir: Looking for writers 2021/02/08 05:18:06 DEBUG : file1: reading active writers 2021/02/08 05:18:06 DEBUG : : Looking for writers 2021/02/08 05:18:06 DEBUG : dir: reading active writers 2021/02/08 05:18:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/02/08 05:18:06 DEBUG : dir/file1: vfs cache: starting upload 2021/02/08 05:18:06 DEBUG : dir: Looking for writers 2021/02/08 05:18:06 DEBUG : file1: reading active writers 2021/02/08 05:18:06 DEBUG : : Looking for writers 2021/02/08 05:18:06 DEBUG : dir: reading active writers 2021/02/08 05:18:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/02/08 05:18:06 INFO : dir/file1: Copied (replaced existing) 2021/02/08 05:18:06 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2021/02/08 05:18:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:18:06 INFO : dir/file1: vfs cache: upload succeeded try #1 2021/02/08 05:18:06 DEBUG : dir: Looking for writers 2021/02/08 05:18:06 DEBUG : file1: reading active writers 2021/02/08 05:18:06 DEBUG : : Looking for writers 2021/02/08 05:18:06 DEBUG : dir: reading active writers 2021/02/08 05:18:06 DEBUG : >WaitForWriters: 2021/02/08 05:18:06 DEBUG : dir/file1: Open: flags=O_RDONLY 2021/02/08 05:18:06 DEBUG : dir/file1: newRWFileHandle: 2021/02/08 05:18:06 DEBUG : dir/file1: >newRWFileHandle: err= 2021/02/08 05:18:06 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/02/08 05:18:06 DEBUG : dir/file1(0xc002052f80): _readAt: size=512, off=0 2021/02/08 05:18:06 DEBUG : dir/file1(0xc002052f80): openPending: 2021/02/08 05:18:06 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2021/02/08 05:18:06 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/02/08 05:18:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:18:06 DEBUG : dir/file1(0xc002052f80): >openPending: err= 2021/02/08 05:18:06 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2021/02/08 05:18:06 DEBUG : dir/file1(0xc002052f80): >_readAt: n=14, err=EOF 2021/02/08 05:18:06 DEBUG : dir/file1(0xc002052f80): close: 2021/02/08 05:18:06 DEBUG : dir/file1: vfs cache: setting modification time to 2021-02-08 05:18:06 +0000 UTC 2021/02/08 05:18:06 DEBUG : dir/file1(0xc002052f80): >close: err= 2021/02/08 05:18:06 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/02/08 05:18:06 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/02/08 05:18:06 DEBUG : newLeaf: Updating file with newLeaf 0xc0015c12c0 2021/02/08 05:18:06 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/02/08 05:18:06 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:18:06 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/02/08 05:18:06 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2021/02/08 05:18:06 DEBUG : dir/file1: Updating file with dir/file1 0xc0015c12c0 2021/02/08 05:18:06 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/02/08 05:18:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:297: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:300: Flushing the directory cache fstest.go:304: Error Trace: fstest.go:304 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 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:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "dir/file1" 2021/02/08 05:18:13 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/02/08 05:18:13 DEBUG : dir/file1: newRWFileHandle: 2021/02/08 05:18:13 DEBUG : dir/file1(0xc002053b80): openPending: 2021/02/08 05:18:13 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2021/02/08 05:18:13 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/02/08 05:18:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:18:13 DEBUG : dir/file1(0xc002053b80): >openPending: err= 2021/02/08 05:18:13 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/02/08 05:18:13 DEBUG : dir/file1: >newRWFileHandle: err= 2021/02/08 05:18:13 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/02/08 05:18:13 DEBUG : dir/file1(0xc002053b80): _writeAt: size=25, off=0 2021/02/08 05:18:13 DEBUG : dir/file1(0xc002053b80): >_writeAt: n=25, err= 2021/02/08 05:18:21 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/02/08 05:18:21 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/02/08 05:18:21 DEBUG : newLeaf: Updating file with newLeaf 0xc0015c12c0 2021/02/08 05:18:21 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/02/08 05:18:21 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:18:21 DEBUG : newLeaf(0xc002053b80): close: 2021/02/08 05:18:21 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2021/02/08 05:18:21 DEBUG : newLeaf: vfs cache: setting modification time to 2021-02-08 05:18:13.80506641 +0000 UTC m=+134.475258075 2021/02/08 05:18:21 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2021/02/08 05:18:21 DEBUG : newLeaf(0xc002053b80): >close: err= 2021/02/08 05:18:21 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:18:21 DEBUG : dir: Looking for writers 2021/02/08 05:18:21 DEBUG : : Looking for writers 2021/02/08 05:18:21 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:21 DEBUG : dir: reading active writers 2021/02/08 05:18:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/02/08 05:18:21 DEBUG : dir: Looking for writers 2021/02/08 05:18:21 DEBUG : : Looking for writers 2021/02/08 05:18:21 DEBUG : dir: reading active writers 2021/02/08 05:18:21 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/02/08 05:18:21 DEBUG : dir: Looking for writers 2021/02/08 05:18:21 DEBUG : : Looking for writers 2021/02/08 05:18:21 DEBUG : dir: reading active writers 2021/02/08 05:18:21 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/02/08 05:18:21 DEBUG : dir: Looking for writers 2021/02/08 05:18:21 DEBUG : : Looking for writers 2021/02/08 05:18:21 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:21 DEBUG : dir: reading active writers 2021/02/08 05:18:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/02/08 05:18:21 DEBUG : newLeaf: vfs cache: starting upload 2021/02/08 05:18:21 DEBUG : dir: Looking for writers 2021/02/08 05:18:21 DEBUG : : Looking for writers 2021/02/08 05:18:21 DEBUG : dir: reading active writers 2021/02/08 05:18:21 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/02/08 05:18:21 DEBUG : dir: Looking for writers 2021/02/08 05:18:21 DEBUG : : Looking for writers 2021/02/08 05:18:21 DEBUG : dir: reading active writers 2021/02/08 05:18:21 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2021/02/08 05:18:21 DEBUG : dir: Looking for writers 2021/02/08 05:18:21 DEBUG : : Looking for writers 2021/02/08 05:18:21 DEBUG : dir: reading active writers 2021/02/08 05:18:21 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2021/02/08 05:18:22 DEBUG : dir: Looking for writers 2021/02/08 05:18:22 DEBUG : : Looking for writers 2021/02/08 05:18:22 DEBUG : dir: reading active writers 2021/02/08 05:18:22 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/02/08 05:18:23 INFO : newLeaf: Copied (replaced existing) 2021/02/08 05:18:23 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2021/02/08 05:18:23 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2021/02/08 05:18:23 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:18:23 INFO : newLeaf: vfs cache: upload succeeded try #1 2021/02/08 05:18:23 DEBUG : dir: Looking for writers 2021/02/08 05:18:23 DEBUG : : Looking for writers 2021/02/08 05:18:23 DEBUG : dir: reading active writers 2021/02/08 05:18:23 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:23 DEBUG : >WaitForWriters: 2021/02/08 05:18:23 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:18:23 DEBUG : dir: Looking for writers 2021/02/08 05:18:23 DEBUG : : Looking for writers 2021/02/08 05:18:23 DEBUG : dir: reading active writers 2021/02/08 05:18:23 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:23 DEBUG : >WaitForWriters: 2021/02/08 05:18:23 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:176: Remote "mega root 'rclone-test-sapigeq5kotadef3tihomew4'", Local "Local file system at /tmp/rclone492375555", Modify Window "876000h0m0s" 2021/02/08 05:18:23 INFO : mega root 'rclone-test-sapigeq5kotadef3tihomew4': poll-interval is not supported by this remote 2021/02/08 05:18:23 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:18:23 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:18:23 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-sapigeq5kotadef3tihomew4" 2021/02/08 05:18:23 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/02/08 05:18:28 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:18:28 DEBUG : dir: Looking for writers 2021/02/08 05:18:28 DEBUG : file1: reading active writers 2021/02/08 05:18:28 DEBUG : : Looking for writers 2021/02/08 05:18:28 DEBUG : dir: reading active writers 2021/02/08 05:18:28 DEBUG : >WaitForWriters: 2021/02/08 05:18:28 DEBUG : dir/file1: Open: flags=O_RDONLY 2021/02/08 05:18:28 DEBUG : dir/file1: newRWFileHandle: 2021/02/08 05:18:28 DEBUG : dir/file1: >newRWFileHandle: err= 2021/02/08 05:18:28 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/02/08 05:18:28 DEBUG : dir/file1(0xc000c08000): _readAt: size=512, off=0 2021/02/08 05:18:28 DEBUG : dir/file1(0xc000c08000): openPending: 2021/02/08 05:18:28 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2021/02/08 05:18:28 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/02/08 05:18:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:18:28 DEBUG : dir/file1(0xc000c08000): >openPending: err= 2021/02/08 05:18:28 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2021/02/08 05:18:28 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2021/02/08 05:18:28 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2021/02/08 05:18:28 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2021/02/08 05:18:29 DEBUG : dir/file1(0xc000c08000): >_readAt: n=14, err=EOF 2021/02/08 05:18:29 DEBUG : dir/file1(0xc000c08000): close: 2021/02/08 05:18:29 DEBUG : dir/file1: vfs cache: setting modification time to 2021-02-08 05:18:26 +0000 UTC 2021/02/08 05:18:29 DEBUG : dir/file1(0xc000c08000): >close: err= 2021/02/08 05:18:33 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/02/08 05:18:33 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/02/08 05:18:33 DEBUG : newLeaf: Updating file with newLeaf 0xc0015c0a80 2021/02/08 05:18:33 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/02/08 05:18:33 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:18:33 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/02/08 05:18:33 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2021/02/08 05:18:33 DEBUG : dir/file1: Updating file with dir/file1 0xc0015c0a80 2021/02/08 05:18:33 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/02/08 05:18:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:297: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:300: Flushing the directory cache fstest.go:297: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:300: Flushing the directory cache fstest.go:304: Error Trace: fstest.go:304 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 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:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 fstest.go:349 file_test.go:308 file_test.go:360 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" 2021/02/08 05:18:40 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/02/08 05:18:40 DEBUG : dir/file1: newRWFileHandle: 2021/02/08 05:18:40 DEBUG : dir/file1(0xc0012c8dc0): openPending: 2021/02/08 05:18:40 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2021/02/08 05:18:40 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/02/08 05:18:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/02/08 05:18:40 DEBUG : dir/file1(0xc0012c8dc0): >openPending: err= 2021/02/08 05:18:40 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/02/08 05:18:40 DEBUG : dir/file1: >newRWFileHandle: err= 2021/02/08 05:18:40 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/02/08 05:18:40 DEBUG : dir/file1(0xc0012c8dc0): _writeAt: size=25, off=0 2021/02/08 05:18:40 DEBUG : dir/file1(0xc0012c8dc0): >_writeAt: n=25, err= 2021/02/08 05:18:40 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/02/08 05:18:40 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/02/08 05:18:40 DEBUG : newLeaf: Updating file with newLeaf 0xc0015c0a80 2021/02/08 05:18:40 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/02/08 05:18:40 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:18:40 DEBUG : newLeaf(0xc0012c8dc0): close: 2021/02/08 05:18:40 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2021/02/08 05:18:40 DEBUG : newLeaf: vfs cache: setting modification time to 2021-02-08 05:18:40.75134859 +0000 UTC m=+161.421540296 2021/02/08 05:18:40 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2021/02/08 05:18:40 DEBUG : newLeaf(0xc0012c8dc0): >close: err= 2021/02/08 05:18:40 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:18:40 DEBUG : dir: Looking for writers 2021/02/08 05:18:40 DEBUG : : Looking for writers 2021/02/08 05:18:40 DEBUG : dir: reading active writers 2021/02/08 05:18:40 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/02/08 05:18:40 DEBUG : dir: Looking for writers 2021/02/08 05:18:40 DEBUG : : Looking for writers 2021/02/08 05:18:40 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:40 DEBUG : dir: reading active writers 2021/02/08 05:18:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/02/08 05:18:41 DEBUG : dir: Looking for writers 2021/02/08 05:18:41 DEBUG : : Looking for writers 2021/02/08 05:18:41 DEBUG : dir: reading active writers 2021/02/08 05:18:41 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/02/08 05:18:41 DEBUG : dir: Looking for writers 2021/02/08 05:18:41 DEBUG : : Looking for writers 2021/02/08 05:18:41 DEBUG : dir: reading active writers 2021/02/08 05:18:41 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/02/08 05:18:41 DEBUG : newLeaf: vfs cache: starting upload 2021/02/08 05:18:41 DEBUG : dir: Looking for writers 2021/02/08 05:18:41 DEBUG : : Looking for writers 2021/02/08 05:18:41 DEBUG : dir: reading active writers 2021/02/08 05:18:41 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/02/08 05:18:41 DEBUG : dir: Looking for writers 2021/02/08 05:18:41 DEBUG : : Looking for writers 2021/02/08 05:18:41 DEBUG : dir: reading active writers 2021/02/08 05:18:41 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2021/02/08 05:18:41 DEBUG : dir: Looking for writers 2021/02/08 05:18:41 DEBUG : : Looking for writers 2021/02/08 05:18:41 DEBUG : dir: reading active writers 2021/02/08 05:18:41 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2021/02/08 05:18:42 DEBUG : dir: Looking for writers 2021/02/08 05:18:42 DEBUG : : Looking for writers 2021/02/08 05:18:42 DEBUG : dir: reading active writers 2021/02/08 05:18:42 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/02/08 05:18:43 DEBUG : dir: Looking for writers 2021/02/08 05:18:43 DEBUG : : Looking for writers 2021/02/08 05:18:43 DEBUG : dir: reading active writers 2021/02/08 05:18:43 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/02/08 05:18:44 DEBUG : dir: Looking for writers 2021/02/08 05:18:44 DEBUG : : Looking for writers 2021/02/08 05:18:44 DEBUG : dir: reading active writers 2021/02/08 05:18:44 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/02/08 05:18:45 DEBUG : dir: Looking for writers 2021/02/08 05:18:45 DEBUG : : Looking for writers 2021/02/08 05:18:45 DEBUG : dir: reading active writers 2021/02/08 05:18:45 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/02/08 05:18:46 DEBUG : dir: Looking for writers 2021/02/08 05:18:46 DEBUG : : Looking for writers 2021/02/08 05:18:46 DEBUG : dir: reading active writers 2021/02/08 05:18:46 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/02/08 05:18:47 DEBUG : dir: Looking for writers 2021/02/08 05:18:47 DEBUG : : Looking for writers 2021/02/08 05:18:47 DEBUG : dir: reading active writers 2021/02/08 05:18:47 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/02/08 05:18:48 DEBUG : dir: Looking for writers 2021/02/08 05:18:48 DEBUG : : Looking for writers 2021/02/08 05:18:48 DEBUG : dir: reading active writers 2021/02/08 05:18:48 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/02/08 05:18:49 DEBUG : dir: Looking for writers 2021/02/08 05:18:49 DEBUG : : Looking for writers 2021/02/08 05:18:49 DEBUG : dir: reading active writers 2021/02/08 05:18:49 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/02/08 05:18:50 DEBUG : dir: Looking for writers 2021/02/08 05:18:50 DEBUG : : Looking for writers 2021/02/08 05:18:50 DEBUG : dir: reading active writers 2021/02/08 05:18:50 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/02/08 05:18:50 ERROR : Exiting even though 0 writers active and 1 cache items in use after 10s Cache{ "newLeaf": &{c:0xc0015c0600 mu:{state:0 sema:0} cond:0xc000aa7fc0 name:newLeaf opens:0 downloaders: o:0xc0002c6a00 fd: metaDirty:false modified:false info:{ModTime:{wall:13835146343381248878 ext:161421540296 loc:0x29b26a0} ATime:{wall:13835146343607696370 ext:161647987729 loc:0x29b26a0} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14 Dirty:true} writeBackID:1 pendingAccesses:0 beingReset:false}, } 2021/02/08 05:18:50 DEBUG : >WaitForWriters: fstest.go:297: Sleeping for 1s for list eventual consistency: 1/3 2021/02/08 05:18:51 ERROR : newLeaf: Failed to copy: upload file failed to create session: Try again 2021/02/08 05:18:51 ERROR : newLeaf: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: upload file failed to create session: Try again 2021/02/08 05:18:51 DEBUG : newLeaf: vfs cache: starting upload 2021/02/08 05:18:51 INFO : newLeaf: Copied (replaced existing) 2021/02/08 05:18:51 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2021/02/08 05:18:51 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2021/02/08 05:18:51 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/02/08 05:18:51 INFO : newLeaf: vfs cache: upload succeeded try #2 fstest.go:300: Flushing the directory cache fstest.go:291: Sleeping for 6s just to make sure 2021/02/08 05:18:57 DEBUG : WaitForWriters: timeout=10s 2021/02/08 05:18:57 DEBUG : dir: Looking for writers 2021/02/08 05:18:57 DEBUG : : Looking for writers 2021/02/08 05:18:57 DEBUG : dir: reading active writers 2021/02/08 05:18:57 DEBUG : newLeaf: reading active writers 2021/02/08 05:18:57 DEBUG : >WaitForWriters: 2021/02/08 05:18:57 DEBUG : vfs cache: cleaner exiting run.go:121: removing file "newLeaf" failed - try 1/3: Remove object failed: Try again --- FAIL: TestFileRename (181.68s) --- FAIL: TestFileRename/off,forceCache=false (31.78s) --- FAIL: TestFileRename/minimal,forceCache=false (35.90s) --- FAIL: TestFileRename/minimal,forceCache=true (16.28s) --- FAIL: TestFileRename/writes,forceCache=false (28.67s) --- FAIL: TestFileRename/writes,forceCache=true (18.06s) --- FAIL: TestFileRename/full,forceCache=false (50.99s) FAIL 2021/02/08 05:19:14 DEBUG : mega root 'rclone-test-sapigeq5kotadef3tihomew4': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestMega: -verbose -test.run '^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 3m15.727589459s (try 3/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]