"./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 4/5) 2021/03/04 06:00:10 DEBUG : Creating backend with remote "TestMega:rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:04:35 DEBUG : Creating backend with remote "/tmp/rclone324961929" === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:176: Remote "mega root 'rclone-test-neroler2vibivog8pelazep8'", Local "Local file system at /tmp/rclone324961929", Modify Window "876000h0m0s" 2021/03/04 06:04:35 INFO : mega root 'rclone-test-neroler2vibivog8pelazep8': poll-interval is not supported by this remote 2021/03/04 06:04:35 NOTICE: mega root 'rclone-test-neroler2vibivog8pelazep8': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2021/03/04 06:04:36 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:04:36 DEBUG : dir: Looking for writers 2021/03/04 06:04:36 DEBUG : file1: reading active writers 2021/03/04 06:04:36 DEBUG : : Looking for writers 2021/03/04 06:04:36 DEBUG : dir: reading active writers 2021/03/04 06:04:36 DEBUG : >WaitForWriters: 2021/03/04 06:04:38 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/04 06:04:38 DEBUG : newLeaf: Updating file with newLeaf 0xc0000e4600 2021/03/04 06:04:38 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/04 06:04:38 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/03/04 06:04:45 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/03/04 06:04:45 DEBUG : dir/file1: Updating file with dir/file1 0xc0000e4600 2021/03/04 06:04:45 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/03/04 06:04:45 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/03/04 06:04:52 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/03/04 06:04:52 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2021/03/04 06:04:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:04:52 DEBUG : dir/file1: File is currently open, delaying rename 0xc0000e4600 2021/03/04 06:04:52 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/04 06:04:52 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:04:52 DEBUG : mega root 'rclone-test-neroler2vibivog8pelazep8': File to upload is small (25 bytes), uploading instead of streaming 2021/03/04 06:04:52 INFO : dir/file1: Copied (new) 2021/03/04 06:04:52 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:04:52 DEBUG : newLeaf: Running delayed rename now 2021/03/04 06:04:52 INFO : newLeaf: Deleted 2021/03/04 06:04:52 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/04 06:04:52 DEBUG : newLeaf: Updating file with newLeaf 0xc0000e4600 2021/03/04 06:04:52 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:04:52 DEBUG : dir: Looking for writers 2021/03/04 06:04:52 DEBUG : : Looking for writers 2021/03/04 06:04:52 DEBUG : newLeaf: reading active writers 2021/03/04 06:04:52 DEBUG : dir: reading active writers 2021/03/04 06:04:52 DEBUG : >WaitForWriters: 2021/03/04 06:04:52 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:04:52 DEBUG : dir: Looking for writers 2021/03/04 06:04:52 DEBUG : : Looking for writers 2021/03/04 06:04:52 DEBUG : dir: reading active writers 2021/03/04 06:04:52 DEBUG : newLeaf: reading active writers 2021/03/04 06:04:52 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:176: Remote "mega root 'rclone-test-neroler2vibivog8pelazep8'", Local "Local file system at /tmp/rclone324961929", Modify Window "876000h0m0s" 2021/03/04 06:04:53 INFO : mega root 'rclone-test-neroler2vibivog8pelazep8': poll-interval is not supported by this remote 2021/03/04 06:04:53 NOTICE: mega root 'rclone-test-neroler2vibivog8pelazep8': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2021/03/04 06:04:53 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:04:53 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:04:53 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:04:53 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/03/04 06:04:57 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:04:57 DEBUG : dir: Looking for writers 2021/03/04 06:04:57 DEBUG : file1: reading active writers 2021/03/04 06:04:57 DEBUG : : Looking for writers 2021/03/04 06:04:57 DEBUG : dir: reading active writers 2021/03/04 06:04:57 DEBUG : >WaitForWriters: 2021/03/04 06:04:57 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/04 06:04:57 DEBUG : newLeaf: Updating file with newLeaf 0xc0001a1980 2021/03/04 06:04:57 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/04 06:04:57 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/03/04 06:05:04 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/03/04 06:05:04 DEBUG : dir/file1: Updating file with dir/file1 0xc0001a1980 2021/03/04 06:05:04 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/03/04 06:05:04 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/03/04 06:05:11 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/03/04 06:05:11 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2021/03/04 06:05:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:05:11 DEBUG : dir/file1: File is currently open, delaying rename 0xc0001a1980 2021/03/04 06:05:11 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/04 06:05:11 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:05:11 DEBUG : mega root 'rclone-test-neroler2vibivog8pelazep8': File to upload is small (25 bytes), uploading instead of streaming 2021/03/04 06:05:11 INFO : dir/file1: Copied (new) 2021/03/04 06:05:11 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:05:11 DEBUG : newLeaf: Running delayed rename now 2021/03/04 06:05:11 INFO : newLeaf: Deleted 2021/03/04 06:05:12 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/04 06:05:12 DEBUG : newLeaf: Updating file with newLeaf 0xc0001a1980 2021/03/04 06:05:12 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:05:12 DEBUG : dir: Looking for writers 2021/03/04 06:05:12 DEBUG : : Looking for writers 2021/03/04 06:05:12 DEBUG : dir: reading active writers 2021/03/04 06:05:12 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:12 DEBUG : >WaitForWriters: 2021/03/04 06:05:12 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:05:12 DEBUG : dir: Looking for writers 2021/03/04 06:05:12 DEBUG : : Looking for writers 2021/03/04 06:05:12 DEBUG : dir: reading active writers 2021/03/04 06:05:12 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:12 DEBUG : >WaitForWriters: 2021/03/04 06:05:12 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:176: Remote "mega root 'rclone-test-neroler2vibivog8pelazep8'", Local "Local file system at /tmp/rclone324961929", Modify Window "876000h0m0s" 2021/03/04 06:05:12 INFO : mega root 'rclone-test-neroler2vibivog8pelazep8': poll-interval is not supported by this remote 2021/03/04 06:05:12 NOTICE: mega root 'rclone-test-neroler2vibivog8pelazep8': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2021/03/04 06:05:12 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:05:12 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:05:12 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:05:12 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/03/04 06:05:14 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2021/03/04 06:05:14 DEBUG : dir/file1: newRWFileHandle: 2021/03/04 06:05:14 DEBUG : dir/file1(0xc000cae6c0): openPending: 2021/03/04 06:05:14 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2021/03/04 06:05:14 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/03/04 06:05:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:05:14 DEBUG : dir/file1(0xc000cae6c0): >openPending: err= 2021/03/04 06:05:14 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/03/04 06:05:14 DEBUG : dir/file1: >newRWFileHandle: err= 2021/03/04 06:05:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:05:14 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/03/04 06:05:14 DEBUG : dir/file1(0xc000cae6c0): _writeAt: size=14, off=0 2021/03/04 06:05:14 DEBUG : dir/file1(0xc000cae6c0): >_writeAt: n=14, err= 2021/03/04 06:05:14 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/03/04 06:05:14 DEBUG : dir/file1(0xc000cae6c0): close: 2021/03/04 06:05:14 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2021/03/04 06:05:14 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/03/04 06:05:14 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2021/03/04 06:05:14 DEBUG : dir/file1(0xc000cae6c0): >close: err= 2021/03/04 06:05:14 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:05:14 DEBUG : dir: Looking for writers 2021/03/04 06:05:14 DEBUG : file1: reading active writers 2021/03/04 06:05:14 DEBUG : : Looking for writers 2021/03/04 06:05:14 DEBUG : dir: reading active writers 2021/03/04 06:05:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/03/04 06:05:14 DEBUG : dir: Looking for writers 2021/03/04 06:05:14 DEBUG : file1: reading active writers 2021/03/04 06:05:14 DEBUG : : Looking for writers 2021/03/04 06:05:14 DEBUG : dir: reading active writers 2021/03/04 06:05:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/03/04 06:05:14 DEBUG : dir: Looking for writers 2021/03/04 06:05:14 DEBUG : file1: reading active writers 2021/03/04 06:05:14 DEBUG : : Looking for writers 2021/03/04 06:05:14 DEBUG : dir: reading active writers 2021/03/04 06:05:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/03/04 06:05:14 DEBUG : dir: Looking for writers 2021/03/04 06:05:14 DEBUG : file1: reading active writers 2021/03/04 06:05:14 DEBUG : : Looking for writers 2021/03/04 06:05:14 DEBUG : dir: reading active writers 2021/03/04 06:05:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/03/04 06:05:14 DEBUG : dir/file1: vfs cache: starting upload 2021/03/04 06:05:14 DEBUG : dir: Looking for writers 2021/03/04 06:05:14 DEBUG : file1: reading active writers 2021/03/04 06:05:14 DEBUG : : Looking for writers 2021/03/04 06:05:14 DEBUG : dir: reading active writers 2021/03/04 06:05:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/03/04 06:05:14 INFO : dir/file1: Copied (replaced existing) 2021/03/04 06:05:14 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2021/03/04 06:05:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:05:14 INFO : dir/file1: vfs cache: upload succeeded try #1 2021/03/04 06:05:14 DEBUG : dir: Looking for writers 2021/03/04 06:05:14 DEBUG : file1: reading active writers 2021/03/04 06:05:14 DEBUG : : Looking for writers 2021/03/04 06:05:14 DEBUG : dir: reading active writers 2021/03/04 06:05:14 DEBUG : >WaitForWriters: 2021/03/04 06:05:14 DEBUG : dir/file1: Open: flags=O_RDONLY 2021/03/04 06:05:14 DEBUG : dir/file1: newRWFileHandle: 2021/03/04 06:05:14 DEBUG : dir/file1: >newRWFileHandle: err= 2021/03/04 06:05:14 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/03/04 06:05:14 DEBUG : dir/file1(0xc000caeac0): _readAt: size=512, off=0 2021/03/04 06:05:14 DEBUG : dir/file1(0xc000caeac0): openPending: 2021/03/04 06:05:14 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2021/03/04 06:05:14 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/03/04 06:05:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:05:14 DEBUG : dir/file1(0xc000caeac0): >openPending: err= 2021/03/04 06:05:14 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2021/03/04 06:05:14 DEBUG : dir/file1(0xc000caeac0): >_readAt: n=14, err=EOF 2021/03/04 06:05:14 DEBUG : dir/file1(0xc000caeac0): close: 2021/03/04 06:05:14 DEBUG : dir/file1: vfs cache: setting modification time to 2021-03-04 06:05:14 +0000 UTC 2021/03/04 06:05:14 DEBUG : dir/file1(0xc000caeac0): >close: err= 2021/03/04 06:05:14 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/04 06:05:14 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/03/04 06:05:14 DEBUG : newLeaf: Updating file with newLeaf 0xc000ca4540 2021/03/04 06:05:14 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/04 06:05:14 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:05:17 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/03/04 06:05:17 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2021/03/04 06:05:17 DEBUG : dir/file1: Updating file with dir/file1 0xc000ca4540 2021/03/04 06:05:17 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/03/04 06:05:17 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/03/04 06:05:24 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/03/04 06:05:24 DEBUG : dir/file1: newRWFileHandle: 2021/03/04 06:05:24 DEBUG : dir/file1(0xc000caf3c0): openPending: 2021/03/04 06:05:24 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2021/03/04 06:05:24 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/03/04 06:05:24 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:05:24 DEBUG : dir/file1(0xc000caf3c0): >openPending: err= 2021/03/04 06:05:24 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/03/04 06:05:24 DEBUG : dir/file1: >newRWFileHandle: err= 2021/03/04 06:05:24 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/03/04 06:05:24 DEBUG : dir/file1(0xc000caf3c0): _writeAt: size=25, off=0 2021/03/04 06:05:24 DEBUG : dir/file1(0xc000caf3c0): >_writeAt: n=25, err= 2021/03/04 06:05:24 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/04 06:05:24 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/03/04 06:05:24 DEBUG : newLeaf: Updating file with newLeaf 0xc000ca4540 2021/03/04 06:05:24 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/04 06:05:24 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:05:24 DEBUG : newLeaf(0xc000caf3c0): close: 2021/03/04 06:05:24 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2021/03/04 06:05:24 DEBUG : newLeaf: vfs cache: setting modification time to 2021-03-04 06:05:24.127363788 +0000 UTC m=+313.991637971 2021/03/04 06:05:24 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2021/03/04 06:05:24 DEBUG : newLeaf(0xc000caf3c0): >close: err= 2021/03/04 06:05:24 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:05:24 DEBUG : dir: Looking for writers 2021/03/04 06:05:24 DEBUG : : Looking for writers 2021/03/04 06:05:24 DEBUG : dir: reading active writers 2021/03/04 06:05:24 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/03/04 06:05:24 DEBUG : dir: Looking for writers 2021/03/04 06:05:24 DEBUG : : Looking for writers 2021/03/04 06:05:24 DEBUG : dir: reading active writers 2021/03/04 06:05:24 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/03/04 06:05:24 DEBUG : dir: Looking for writers 2021/03/04 06:05:24 DEBUG : : Looking for writers 2021/03/04 06:05:24 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:24 DEBUG : dir: reading active writers 2021/03/04 06:05:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/03/04 06:05:24 DEBUG : dir: Looking for writers 2021/03/04 06:05:24 DEBUG : : Looking for writers 2021/03/04 06:05:24 DEBUG : dir: reading active writers 2021/03/04 06:05:24 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/03/04 06:05:24 DEBUG : newLeaf: vfs cache: starting upload 2021/03/04 06:05:24 DEBUG : dir: Looking for writers 2021/03/04 06:05:24 DEBUG : : Looking for writers 2021/03/04 06:05:24 DEBUG : dir: reading active writers 2021/03/04 06:05:24 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/03/04 06:05:24 INFO : newLeaf: Copied (replaced existing) 2021/03/04 06:05:24 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2021/03/04 06:05:24 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2021/03/04 06:05:24 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:05:24 INFO : newLeaf: vfs cache: upload succeeded try #1 2021/03/04 06:05:24 DEBUG : dir: Looking for writers 2021/03/04 06:05:24 DEBUG : : Looking for writers 2021/03/04 06:05:24 DEBUG : dir: reading active writers 2021/03/04 06:05:24 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:24 DEBUG : >WaitForWriters: fstest.go:297: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:300: Flushing the directory cache fstest.go:291: Sleeping for 6s just to make sure 2021/03/04 06:05:31 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:05:31 DEBUG : dir: Looking for writers 2021/03/04 06:05:31 DEBUG : : Looking for writers 2021/03/04 06:05:31 DEBUG : dir: reading active writers 2021/03/04 06:05:31 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:31 DEBUG : >WaitForWriters: 2021/03/04 06:05:31 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:176: Remote "mega root 'rclone-test-neroler2vibivog8pelazep8'", Local "Local file system at /tmp/rclone324961929", Modify Window "876000h0m0s" 2021/03/04 06:05:31 INFO : mega root 'rclone-test-neroler2vibivog8pelazep8': poll-interval is not supported by this remote 2021/03/04 06:05:31 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:05:31 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:05:31 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:05:31 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/03/04 06:05:35 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:05:35 DEBUG : dir: Looking for writers 2021/03/04 06:05:35 DEBUG : file1: reading active writers 2021/03/04 06:05:35 DEBUG : : Looking for writers 2021/03/04 06:05:35 DEBUG : dir: reading active writers 2021/03/04 06:05:35 DEBUG : >WaitForWriters: 2021/03/04 06:05:36 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/04 06:05:36 DEBUG : newLeaf: Updating file with newLeaf 0xc000ca4e40 2021/03/04 06:05:36 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/04 06:05:36 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/03/04 06:05:43 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/03/04 06:05:43 DEBUG : dir/file1: Updating file with dir/file1 0xc000ca4e40 2021/03/04 06:05:43 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/03/04 06:05:43 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/03/04 06:05:50 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/03/04 06:05:50 DEBUG : dir/file1: newRWFileHandle: 2021/03/04 06:05:50 DEBUG : dir/file1(0xc0010262c0): openPending: 2021/03/04 06:05:50 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2021/03/04 06:05:50 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/03/04 06:05:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:05:50 DEBUG : dir/file1(0xc0010262c0): >openPending: err= 2021/03/04 06:05:50 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/03/04 06:05:50 DEBUG : dir/file1: >newRWFileHandle: err= 2021/03/04 06:05:50 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/03/04 06:05:50 DEBUG : dir/file1(0xc0010262c0): _writeAt: size=25, off=0 2021/03/04 06:05:50 DEBUG : dir/file1(0xc0010262c0): >_writeAt: n=25, err= 2021/03/04 06:05:50 INFO : newLeaf: Deleted 2021/03/04 06:05:50 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/04 06:05:50 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/03/04 06:05:50 DEBUG : newLeaf: Updating file with newLeaf 0xc000ca4e40 2021/03/04 06:05:50 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/04 06:05:50 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:05:50 DEBUG : newLeaf(0xc0010262c0): close: 2021/03/04 06:05:50 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2021/03/04 06:05:50 DEBUG : newLeaf: vfs cache: setting modification time to 2021-03-04 06:05:50.260449205 +0000 UTC m=+340.124723367 2021/03/04 06:05:50 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2021/03/04 06:05:50 DEBUG : newLeaf(0xc0010262c0): >close: err= 2021/03/04 06:05:50 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:05:50 DEBUG : dir: Looking for writers 2021/03/04 06:05:50 DEBUG : : Looking for writers 2021/03/04 06:05:50 DEBUG : dir: reading active writers 2021/03/04 06:05:50 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/03/04 06:05:50 DEBUG : dir: Looking for writers 2021/03/04 06:05:50 DEBUG : : Looking for writers 2021/03/04 06:05:50 DEBUG : dir: reading active writers 2021/03/04 06:05:50 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/03/04 06:05:50 DEBUG : dir: Looking for writers 2021/03/04 06:05:50 DEBUG : : Looking for writers 2021/03/04 06:05:50 DEBUG : dir: reading active writers 2021/03/04 06:05:50 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/03/04 06:05:50 DEBUG : dir: Looking for writers 2021/03/04 06:05:50 DEBUG : : Looking for writers 2021/03/04 06:05:50 DEBUG : dir: reading active writers 2021/03/04 06:05:50 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/03/04 06:05:50 DEBUG : newLeaf: vfs cache: starting upload 2021/03/04 06:05:50 DEBUG : dir: Looking for writers 2021/03/04 06:05:50 DEBUG : : Looking for writers 2021/03/04 06:05:50 DEBUG : dir: reading active writers 2021/03/04 06:05:50 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/03/04 06:05:50 DEBUG : dir: Looking for writers 2021/03/04 06:05:50 DEBUG : : Looking for writers 2021/03/04 06:05:50 DEBUG : dir: reading active writers 2021/03/04 06:05:50 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2021/03/04 06:05:50 INFO : newLeaf: Copied (replaced existing) 2021/03/04 06:05:50 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2021/03/04 06:05:50 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2021/03/04 06:05:50 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:05:50 INFO : newLeaf: vfs cache: upload succeeded try #1 2021/03/04 06:05:51 DEBUG : dir: Looking for writers 2021/03/04 06:05:51 DEBUG : : Looking for writers 2021/03/04 06:05:51 DEBUG : dir: reading active writers 2021/03/04 06:05:51 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:51 DEBUG : >WaitForWriters: 2021/03/04 06:05:51 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:05:51 DEBUG : dir: Looking for writers 2021/03/04 06:05:51 DEBUG : : Looking for writers 2021/03/04 06:05:51 DEBUG : dir: reading active writers 2021/03/04 06:05:51 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:51 DEBUG : >WaitForWriters: 2021/03/04 06:05:51 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:176: Remote "mega root 'rclone-test-neroler2vibivog8pelazep8'", Local "Local file system at /tmp/rclone324961929", Modify Window "876000h0m0s" 2021/03/04 06:05:51 INFO : mega root 'rclone-test-neroler2vibivog8pelazep8': poll-interval is not supported by this remote 2021/03/04 06:05:51 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:05:51 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:05:51 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:05:51 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/03/04 06:05:51 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2021/03/04 06:05:51 DEBUG : dir/file1: newRWFileHandle: 2021/03/04 06:05:51 DEBUG : dir/file1(0xc000fbe280): openPending: 2021/03/04 06:05:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2021/03/04 06:05:51 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/03/04 06:05:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:05:51 DEBUG : dir/file1(0xc000fbe280): >openPending: err= 2021/03/04 06:05:51 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/03/04 06:05:51 DEBUG : dir/file1: >newRWFileHandle: err= 2021/03/04 06:05:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:05:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/03/04 06:05:51 DEBUG : dir/file1(0xc000fbe280): _writeAt: size=14, off=0 2021/03/04 06:05:51 DEBUG : dir/file1(0xc000fbe280): >_writeAt: n=14, err= 2021/03/04 06:05:51 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/03/04 06:05:51 DEBUG : dir/file1(0xc000fbe280): close: 2021/03/04 06:05:51 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2021/03/04 06:05:51 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/03/04 06:05:51 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2021/03/04 06:05:51 DEBUG : dir/file1(0xc000fbe280): >close: err= 2021/03/04 06:05:51 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:05:51 DEBUG : dir: Looking for writers 2021/03/04 06:05:51 DEBUG : file1: reading active writers 2021/03/04 06:05:51 DEBUG : : Looking for writers 2021/03/04 06:05:51 DEBUG : dir: reading active writers 2021/03/04 06:05:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/03/04 06:05:51 DEBUG : dir: Looking for writers 2021/03/04 06:05:51 DEBUG : file1: reading active writers 2021/03/04 06:05:51 DEBUG : : Looking for writers 2021/03/04 06:05:51 DEBUG : dir: reading active writers 2021/03/04 06:05:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/03/04 06:05:51 DEBUG : dir: Looking for writers 2021/03/04 06:05:51 DEBUG : file1: reading active writers 2021/03/04 06:05:51 DEBUG : : Looking for writers 2021/03/04 06:05:51 DEBUG : dir: reading active writers 2021/03/04 06:05:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/03/04 06:05:51 DEBUG : dir: Looking for writers 2021/03/04 06:05:51 DEBUG : file1: reading active writers 2021/03/04 06:05:51 DEBUG : : Looking for writers 2021/03/04 06:05:51 DEBUG : dir: reading active writers 2021/03/04 06:05:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/03/04 06:05:51 DEBUG : dir/file1: vfs cache: starting upload 2021/03/04 06:05:51 DEBUG : dir: Looking for writers 2021/03/04 06:05:51 DEBUG : file1: reading active writers 2021/03/04 06:05:51 DEBUG : : Looking for writers 2021/03/04 06:05:51 DEBUG : dir: reading active writers 2021/03/04 06:05:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/03/04 06:05:51 INFO : dir/file1: Copied (replaced existing) 2021/03/04 06:05:51 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2021/03/04 06:05:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:05:51 INFO : dir/file1: vfs cache: upload succeeded try #1 2021/03/04 06:05:51 DEBUG : dir: Looking for writers 2021/03/04 06:05:51 DEBUG : file1: reading active writers 2021/03/04 06:05:51 DEBUG : : Looking for writers 2021/03/04 06:05:51 DEBUG : dir: reading active writers 2021/03/04 06:05:51 DEBUG : >WaitForWriters: 2021/03/04 06:05:51 DEBUG : dir/file1: Open: flags=O_RDONLY 2021/03/04 06:05:51 DEBUG : dir/file1: newRWFileHandle: 2021/03/04 06:05:51 DEBUG : dir/file1: >newRWFileHandle: err= 2021/03/04 06:05:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/03/04 06:05:51 DEBUG : dir/file1(0xc0010279c0): _readAt: size=512, off=0 2021/03/04 06:05:51 DEBUG : dir/file1(0xc0010279c0): openPending: 2021/03/04 06:05:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2021/03/04 06:05:51 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/03/04 06:05:51 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:05:51 DEBUG : dir/file1(0xc0010279c0): >openPending: err= 2021/03/04 06:05:51 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2021/03/04 06:05:51 DEBUG : dir/file1(0xc0010279c0): >_readAt: n=14, err=EOF 2021/03/04 06:05:51 DEBUG : dir/file1(0xc0010279c0): close: 2021/03/04 06:05:51 DEBUG : dir/file1: vfs cache: setting modification time to 2021-03-04 06:05:51 +0000 UTC 2021/03/04 06:05:51 DEBUG : dir/file1(0xc0010279c0): >close: err= 2021/03/04 06:05:52 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/04 06:05:52 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/03/04 06:05:52 DEBUG : newLeaf: Updating file with newLeaf 0xc000ca5440 2021/03/04 06:05:52 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/04 06:05:52 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:05:52 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/03/04 06:05:52 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2021/03/04 06:05:52 DEBUG : dir/file1: Updating file with dir/file1 0xc000ca5440 2021/03/04 06:05:52 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/03/04 06:05:52 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/03/04 06:05:59 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/03/04 06:05:59 DEBUG : dir/file1: newRWFileHandle: 2021/03/04 06:05:59 DEBUG : dir/file1(0xc000fbf080): openPending: 2021/03/04 06:05:59 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2021/03/04 06:05:59 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/03/04 06:05:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:05:59 DEBUG : dir/file1(0xc000fbf080): >openPending: err= 2021/03/04 06:05:59 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/03/04 06:05:59 DEBUG : dir/file1: >newRWFileHandle: err= 2021/03/04 06:05:59 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/03/04 06:05:59 DEBUG : dir/file1(0xc000fbf080): _writeAt: size=25, off=0 2021/03/04 06:05:59 DEBUG : dir/file1(0xc000fbf080): >_writeAt: n=25, err= 2021/03/04 06:05:59 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/04 06:05:59 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/03/04 06:05:59 DEBUG : newLeaf: Updating file with newLeaf 0xc000ca5440 2021/03/04 06:05:59 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/04 06:05:59 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:05:59 DEBUG : newLeaf(0xc000fbf080): close: 2021/03/04 06:05:59 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2021/03/04 06:05:59 DEBUG : newLeaf: vfs cache: setting modification time to 2021-03-04 06:05:59.314523062 +0000 UTC m=+349.178797230 2021/03/04 06:05:59 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2021/03/04 06:05:59 DEBUG : newLeaf(0xc000fbf080): >close: err= 2021/03/04 06:05:59 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:05:59 DEBUG : dir: Looking for writers 2021/03/04 06:05:59 DEBUG : : Looking for writers 2021/03/04 06:05:59 DEBUG : dir: reading active writers 2021/03/04 06:05:59 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/03/04 06:05:59 DEBUG : dir: Looking for writers 2021/03/04 06:05:59 DEBUG : : Looking for writers 2021/03/04 06:05:59 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:59 DEBUG : dir: reading active writers 2021/03/04 06:05:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/03/04 06:05:59 DEBUG : dir: Looking for writers 2021/03/04 06:05:59 DEBUG : : Looking for writers 2021/03/04 06:05:59 DEBUG : dir: reading active writers 2021/03/04 06:05:59 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/03/04 06:05:59 DEBUG : dir: Looking for writers 2021/03/04 06:05:59 DEBUG : : Looking for writers 2021/03/04 06:05:59 DEBUG : dir: reading active writers 2021/03/04 06:05:59 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/03/04 06:05:59 DEBUG : newLeaf: vfs cache: starting upload 2021/03/04 06:05:59 DEBUG : dir: Looking for writers 2021/03/04 06:05:59 DEBUG : : Looking for writers 2021/03/04 06:05:59 DEBUG : dir: reading active writers 2021/03/04 06:05:59 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/03/04 06:05:59 DEBUG : dir: Looking for writers 2021/03/04 06:05:59 DEBUG : : Looking for writers 2021/03/04 06:05:59 DEBUG : newLeaf: reading active writers 2021/03/04 06:05:59 DEBUG : dir: reading active writers 2021/03/04 06:05:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2021/03/04 06:06:00 DEBUG : dir: Looking for writers 2021/03/04 06:06:00 DEBUG : : Looking for writers 2021/03/04 06:06:00 DEBUG : newLeaf: reading active writers 2021/03/04 06:06:00 DEBUG : dir: reading active writers 2021/03/04 06:06:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2021/03/04 06:06:00 DEBUG : dir: Looking for writers 2021/03/04 06:06:00 DEBUG : : Looking for writers 2021/03/04 06:06:00 DEBUG : dir: reading active writers 2021/03/04 06:06:00 DEBUG : newLeaf: reading active writers 2021/03/04 06:06:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2021/03/04 06:06:01 INFO : newLeaf: Copied (replaced existing) 2021/03/04 06:06:01 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2021/03/04 06:06:01 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2021/03/04 06:06:01 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:06:01 INFO : newLeaf: vfs cache: upload succeeded try #1 2021/03/04 06:06:01 DEBUG : dir: Looking for writers 2021/03/04 06:06:01 DEBUG : : Looking for writers 2021/03/04 06:06:01 DEBUG : dir: reading active writers 2021/03/04 06:06:01 DEBUG : newLeaf: reading active writers 2021/03/04 06:06:01 DEBUG : >WaitForWriters: 2021/03/04 06:06:01 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:06:01 DEBUG : dir: Looking for writers 2021/03/04 06:06:01 DEBUG : : Looking for writers 2021/03/04 06:06:01 DEBUG : dir: reading active writers 2021/03/04 06:06:01 DEBUG : newLeaf: reading active writers 2021/03/04 06:06:01 DEBUG : >WaitForWriters: 2021/03/04 06:06:01 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:176: Remote "mega root 'rclone-test-neroler2vibivog8pelazep8'", Local "Local file system at /tmp/rclone324961929", Modify Window "876000h0m0s" 2021/03/04 06:06:01 INFO : mega root 'rclone-test-neroler2vibivog8pelazep8': poll-interval is not supported by this remote 2021/03/04 06:06:01 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:06:01 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:06:01 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-neroler2vibivog8pelazep8" 2021/03/04 06:06:01 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/03/04 06:06:02 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:06:02 DEBUG : dir: Looking for writers 2021/03/04 06:06:02 DEBUG : file1: reading active writers 2021/03/04 06:06:02 DEBUG : : Looking for writers 2021/03/04 06:06:02 DEBUG : dir: reading active writers 2021/03/04 06:06:02 DEBUG : >WaitForWriters: 2021/03/04 06:06:02 DEBUG : dir/file1: Open: flags=O_RDONLY 2021/03/04 06:06:02 DEBUG : dir/file1: newRWFileHandle: 2021/03/04 06:06:02 DEBUG : dir/file1: >newRWFileHandle: err= 2021/03/04 06:06:02 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/03/04 06:06:02 DEBUG : dir/file1(0xc0013a4280): _readAt: size=512, off=0 2021/03/04 06:06:02 DEBUG : dir/file1(0xc0013a4280): openPending: 2021/03/04 06:06:02 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2021/03/04 06:06:02 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/03/04 06:06:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:06:02 DEBUG : dir/file1(0xc0013a4280): >openPending: err= 2021/03/04 06:06:02 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2021/03/04 06:06:02 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2021/03/04 06:06:02 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2021/03/04 06:06:02 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2021/03/04 06:06:03 DEBUG : dir/file1(0xc0013a4280): >_readAt: n=14, err=EOF 2021/03/04 06:06:03 DEBUG : dir/file1(0xc0013a4280): close: 2021/03/04 06:06:03 DEBUG : dir/file1: vfs cache: setting modification time to 2021-03-04 06:06:02 +0000 UTC 2021/03/04 06:06:03 DEBUG : dir/file1(0xc0013a4280): >close: err= 2021/03/04 06:06:03 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/04 06:06:03 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/03/04 06:06:03 DEBUG : newLeaf: Updating file with newLeaf 0xc000ca5bc0 2021/03/04 06:06:03 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/04 06:06:03 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/04 06:06:05 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/03/04 06:06:05 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2021/03/04 06:06:05 DEBUG : dir/file1: Updating file with dir/file1 0xc000ca5bc0 2021/03/04 06:06:05 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/03/04 06:06:05 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/03/04 06:06:12 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/03/04 06:06:12 DEBUG : dir/file1: newRWFileHandle: 2021/03/04 06:06:12 DEBUG : dir/file1(0xc0011f38c0): openPending: 2021/03/04 06:06:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2021/03/04 06:06:12 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/03/04 06:06:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/04 06:06:12 DEBUG : dir/file1(0xc0011f38c0): >openPending: err= 2021/03/04 06:06:12 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/03/04 06:06:12 DEBUG : dir/file1: >newRWFileHandle: err= 2021/03/04 06:06:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/03/04 06:06:12 DEBUG : dir/file1(0xc0011f38c0): _writeAt: size=25, off=0 2021/03/04 06:06:12 DEBUG : dir/file1(0xc0011f38c0): >_writeAt: n=25, err= 2021/03/04 06:06:22 ERROR : dir/file1: Couldn't move: server-side move failed: Try again 2021/03/04 06:06:22 ERROR : newLeaf: File.Rename error: server-side move failed: Try again 2021/03/04 06:06:22 ERROR : dir/file1: Dir.Rename error: server-side move failed: Try again file_test.go:325: Error Trace: file_test.go:325 file_test.go:360 Error: Received unexpected error: server-side move failed: Try again Test: TestFileRename/full,forceCache=false 2021/03/04 06:06:22 DEBUG : WaitForWriters: timeout=10s 2021/03/04 06:06:22 DEBUG : dir: Looking for writers 2021/03/04 06:06:22 DEBUG : file1: reading active writers 2021/03/04 06:06:22 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:22 DEBUG : : Looking for writers 2021/03/04 06:06:22 DEBUG : dir: reading active writers 2021/03/04 06:06:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2021/03/04 06:06:22 DEBUG : dir: Looking for writers 2021/03/04 06:06:22 DEBUG : file1: reading active writers 2021/03/04 06:06:22 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:22 DEBUG : : Looking for writers 2021/03/04 06:06:22 DEBUG : dir: reading active writers 2021/03/04 06:06:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2021/03/04 06:06:22 DEBUG : dir: Looking for writers 2021/03/04 06:06:22 DEBUG : file1: reading active writers 2021/03/04 06:06:22 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:22 DEBUG : : Looking for writers 2021/03/04 06:06:22 DEBUG : dir: reading active writers 2021/03/04 06:06:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2021/03/04 06:06:22 DEBUG : dir: Looking for writers 2021/03/04 06:06:22 DEBUG : file1: reading active writers 2021/03/04 06:06:22 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:22 DEBUG : : Looking for writers 2021/03/04 06:06:22 DEBUG : dir: reading active writers 2021/03/04 06:06:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2021/03/04 06:06:22 DEBUG : dir: Looking for writers 2021/03/04 06:06:22 DEBUG : file1: reading active writers 2021/03/04 06:06:22 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:22 DEBUG : : Looking for writers 2021/03/04 06:06:22 DEBUG : dir: reading active writers 2021/03/04 06:06:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2021/03/04 06:06:23 DEBUG : dir: Looking for writers 2021/03/04 06:06:23 DEBUG : file1: reading active writers 2021/03/04 06:06:23 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:23 DEBUG : : Looking for writers 2021/03/04 06:06:23 DEBUG : dir: reading active writers 2021/03/04 06:06:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2021/03/04 06:06:23 DEBUG : dir: Looking for writers 2021/03/04 06:06:23 DEBUG : file1: reading active writers 2021/03/04 06:06:23 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:23 DEBUG : : Looking for writers 2021/03/04 06:06:23 DEBUG : dir: reading active writers 2021/03/04 06:06:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2021/03/04 06:06:24 DEBUG : dir: Looking for writers 2021/03/04 06:06:24 DEBUG : file1: reading active writers 2021/03/04 06:06:24 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:24 DEBUG : : Looking for writers 2021/03/04 06:06:24 DEBUG : dir: reading active writers 2021/03/04 06:06:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2021/03/04 06:06:25 DEBUG : dir: Looking for writers 2021/03/04 06:06:25 DEBUG : file1: reading active writers 2021/03/04 06:06:25 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:25 DEBUG : : Looking for writers 2021/03/04 06:06:25 DEBUG : dir: reading active writers 2021/03/04 06:06:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2021/03/04 06:06:26 DEBUG : dir: Looking for writers 2021/03/04 06:06:26 DEBUG : file1: reading active writers 2021/03/04 06:06:26 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:26 DEBUG : : Looking for writers 2021/03/04 06:06:26 DEBUG : dir: reading active writers 2021/03/04 06:06:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2021/03/04 06:06:27 DEBUG : dir: Looking for writers 2021/03/04 06:06:27 DEBUG : file1: reading active writers 2021/03/04 06:06:27 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:27 DEBUG : : Looking for writers 2021/03/04 06:06:27 DEBUG : dir: reading active writers 2021/03/04 06:06:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2021/03/04 06:06:28 DEBUG : dir: Looking for writers 2021/03/04 06:06:28 DEBUG : file1: reading active writers 2021/03/04 06:06:28 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:28 DEBUG : : Looking for writers 2021/03/04 06:06:28 DEBUG : dir: reading active writers 2021/03/04 06:06:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2021/03/04 06:06:29 DEBUG : dir: Looking for writers 2021/03/04 06:06:29 DEBUG : file1: reading active writers 2021/03/04 06:06:29 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:29 DEBUG : : Looking for writers 2021/03/04 06:06:29 DEBUG : dir: reading active writers 2021/03/04 06:06:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2021/03/04 06:06:30 DEBUG : dir: Looking for writers 2021/03/04 06:06:30 DEBUG : file1: reading active writers 2021/03/04 06:06:30 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:30 DEBUG : : Looking for writers 2021/03/04 06:06:30 DEBUG : dir: reading active writers 2021/03/04 06:06:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2021/03/04 06:06:31 DEBUG : dir: Looking for writers 2021/03/04 06:06:31 DEBUG : file1: reading active writers 2021/03/04 06:06:31 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:31 DEBUG : : Looking for writers 2021/03/04 06:06:31 DEBUG : dir: reading active writers 2021/03/04 06:06:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2021/03/04 06:06:32 DEBUG : dir: Looking for writers 2021/03/04 06:06:32 DEBUG : file1: reading active writers 2021/03/04 06:06:32 DEBUG : newLeaf: active writers 1 2021/03/04 06:06:32 DEBUG : : Looking for writers 2021/03/04 06:06:32 DEBUG : dir: reading active writers 2021/03/04 06:06:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2021/03/04 06:06:32 ERROR : Exiting even though 1 writers active and 1 cache items in use after 10s Cache{ "dir/file1": &{c:0xc0011b4300 mu:{state:0 sema:0} cond:0xc0013a4240 name:dir/file1 opens:1 downloaders:0xc001341e40 o:0xc000616f80 fd:0xc000dac900 metaDirty:true modified:true info:{ModTime:{wall:13837375916442125080 ext:362318570531 loc:0x2a06ba0} ATime:{wall:13837375916442125080 ext:362318570531 loc:0x2a06ba0} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14 Dirty:true} writeBackID:0 pendingAccesses:0 beingReset:false}, } 2021/03/04 06:06:32 DEBUG : >WaitForWriters: 2021/03/04 06:06:32 DEBUG : vfs cache: cleaner exiting run.go:121: removing file "dir/file1" failed - try 1/3: Remove object failed: Try again run.go:121: removing file "dir/file1" failed - try 2/3: Remove object failed: Try again run.go:121: removing file "dir/file1" failed - try 3/3: Remove object failed: Try again run.go:124: removing file "dir/file1" failed: Remove object failed: Try again run.go:121: removing file "dir/file1" failed - try 1/3: Remove object failed: Try again run.go:121: removing file "dir/file1" failed - try 2/3: Remove object failed: Try again run.go:121: removing file "dir/file1" failed - try 3/3: Remove object failed: Try again run.go:124: removing file "dir/file1" failed: Remove object failed: Try again run.go:121: removing dir "dir" failed - try 1/3: directory not empty run.go:121: removing dir "dir" failed - try 2/3: directory not empty run.go:121: removing dir "dir" failed - try 3/3: directory not empty run.go:124: removing dir "dir" failed: directory not empty 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 run.go:169 run.go:339 vfs_test.go:54 panic.go:617 testing.go:732 file_test.go:325 file_test.go:360 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want got dir/file1 (14), dir/file1 (14) fstest.go:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 run.go:169 run.go:339 vfs_test.go:54 panic.go:617 testing.go:732 file_test.go:325 file_test.go:360 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" fstest.go:190: Error Trace: fstest.go:190 fstest.go:307 fstest.go:337 run.go:169 run.go:339 vfs_test.go:54 panic.go:617 testing.go:732 file_test.go:325 file_test.go:360 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" fstest.go:326: Error Trace: fstest.go:326 fstest.go:337 run.go:169 run.go:339 vfs_test.go:54 panic.go:617 testing.go:732 file_test.go:325 file_test.go:360 Error: Not equal: expected: []string{} actual : []string{"dir"} Diff: --- Expected +++ Actual @@ -1,2 +1,3 @@ -([]string) { +([]string) (len=1) { + (string) (len=3) "dir" } Test: TestFileRename/full,forceCache=false Messages: directories --- FAIL: TestFileRename (195.02s) --- FAIL: TestFileRename/off,forceCache=false (17.27s) --- FAIL: TestFileRename/minimal,forceCache=false (19.19s) --- FAIL: TestFileRename/minimal,forceCache=true (19.62s) --- FAIL: TestFileRename/writes,forceCache=false (19.49s) --- FAIL: TestFileRename/writes,forceCache=true (10.61s) --- FAIL: TestFileRename/full,forceCache=false (108.84s) FAIL 2021/03/04 06:07:50 DEBUG : mega root 'rclone-test-neroler2vibivog8pelazep8': Purge remote 2021/03/04 06:08:01 purge failed: delete directory node failed: Try again "./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 7m51.049493352s (try 4/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]