"./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 5/5) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false 2020/07/24 11:07:46 INFO : mega root 'rclone-test-qacetoc9datudam3dazutig4': poll-interval is not supported by this remote 2020/07/24 11:07:51 INFO : dir/file1: Moved (server side) 2020/07/24 11:07:51 DEBUG : newLeaf: Updating file with newLeaf 0xc001748180 2020/07/24 11:07:51 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 11:07:51 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:07:58 INFO : newLeaf: Moved (server side) 2020/07/24 11:07:58 DEBUG : dir/file1: Updating file with dir/file1 0xc001748180 2020/07/24 11:07:58 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2020/07/24 11:07:58 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:08:05 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/07/24 11:08:05 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2020/07/24 11:08:05 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:08:05 DEBUG : dir/file1: File is currently open, delaying rename 0xc001748180 2020/07/24 11:08:05 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 11:08:05 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:08:05 DEBUG : mega root 'rclone-test-qacetoc9datudam3dazutig4': File to upload is small (25 bytes), uploading instead of streaming 2020/07/24 11:08:07 INFO : dir/file1: Copied (new) 2020/07/24 11:08:07 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:08:07 DEBUG : newLeaf: Running delayed rename now 2020/07/24 11:08:07 INFO : newLeaf: Deleted 2020/07/24 11:08:09 INFO : dir/file1: Moved (server side) 2020/07/24 11:08:09 DEBUG : newLeaf: Updating file with newLeaf 0xc001748180 2020/07/24 11:08:09 DEBUG : WaitForWriters: timeout=10s 2020/07/24 11:08:09 DEBUG : dir: Looking for writers 2020/07/24 11:08:09 DEBUG : : Looking for writers 2020/07/24 11:08:09 DEBUG : dir: reading active writers 2020/07/24 11:08:09 DEBUG : newLeaf: reading active writers 2020/07/24 11:08:09 DEBUG : >WaitForWriters: 2020/07/24 11:08:09 DEBUG : WaitForWriters: timeout=10s 2020/07/24 11:08:09 DEBUG : dir: Looking for writers 2020/07/24 11:08:09 DEBUG : : Looking for writers 2020/07/24 11:08:09 DEBUG : newLeaf: reading active writers 2020/07/24 11:08:09 DEBUG : dir: reading active writers 2020/07/24 11:08:09 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false 2020/07/24 11:08:09 INFO : mega root 'rclone-test-qacetoc9datudam3dazutig4': poll-interval is not supported by this remote 2020/07/24 11:08:09 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-qacetoc9datudam3dazutig4" 2020/07/24 11:08:09 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-qacetoc9datudam3dazutig4" 2020/07/24 11:08:09 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2020/07/24 11:08:14 INFO : dir/file1: Moved (server side) 2020/07/24 11:08:14 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 11:08:14 DEBUG : newLeaf: Updating file with newLeaf 0xc0002ae0c0 2020/07/24 11:08:14 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 11:08:14 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:08:21 INFO : newLeaf: Moved (server side) 2020/07/24 11:08:21 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2020/07/24 11:08:21 DEBUG : dir/file1: Updating file with dir/file1 0xc0002ae0c0 2020/07/24 11:08:21 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2020/07/24 11:08:21 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:08:28 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/07/24 11:08:28 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2020/07/24 11:08:28 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:08:28 DEBUG : dir/file1: File is currently open, delaying rename 0xc0002ae0c0 2020/07/24 11:08:28 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 11:08:28 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:08:28 DEBUG : mega root 'rclone-test-qacetoc9datudam3dazutig4': File to upload is small (25 bytes), uploading instead of streaming 2020/07/24 11:08:28 INFO : dir/file1: Copied (new) 2020/07/24 11:08:28 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:08:28 DEBUG : newLeaf: Running delayed rename now 2020/07/24 11:08:28 INFO : newLeaf: Deleted 2020/07/24 11:08:28 INFO : dir/file1: Moved (server side) 2020/07/24 11:08:28 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 11:08:28 DEBUG : newLeaf: Updating file with newLeaf 0xc0002ae0c0 2020/07/24 11:08:28 DEBUG : WaitForWriters: timeout=10s 2020/07/24 11:08:28 DEBUG : dir: Looking for writers 2020/07/24 11:08:28 DEBUG : : Looking for writers 2020/07/24 11:08:28 DEBUG : dir: reading active writers 2020/07/24 11:08:28 DEBUG : newLeaf: reading active writers 2020/07/24 11:08:28 DEBUG : >WaitForWriters: 2020/07/24 11:08:28 DEBUG : WaitForWriters: timeout=10s 2020/07/24 11:08:28 DEBUG : dir: Looking for writers 2020/07/24 11:08:28 DEBUG : : Looking for writers 2020/07/24 11:08:28 DEBUG : dir: reading active writers 2020/07/24 11:08:28 DEBUG : newLeaf: reading active writers 2020/07/24 11:08:28 DEBUG : >WaitForWriters: 2020/07/24 11:08:28 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true 2020/07/24 11:08:29 INFO : mega root 'rclone-test-qacetoc9datudam3dazutig4': poll-interval is not supported by this remote 2020/07/24 11:08:29 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-qacetoc9datudam3dazutig4" 2020/07/24 11:08:29 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-qacetoc9datudam3dazutig4" 2020/07/24 11:08:29 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2020/07/24 11:08:29 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2020/07/24 11:08:29 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 11:08:29 DEBUG : dir/file1(0xc0004471c0): openPending: 2020/07/24 11:08:29 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2020/07/24 11:08:29 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 11:08:29 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:08:29 DEBUG : dir/file1(0xc0004471c0): >openPending: err= 2020/07/24 11:08:29 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/07/24 11:08:29 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 11:08:29 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:08:29 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 11:08:29 DEBUG : dir/file1(0xc0004471c0): _writeAt: size=14, off=0 2020/07/24 11:08:29 DEBUG : dir/file1(0xc0004471c0): >_writeAt: n=14, err= 2020/07/24 11:08:29 DEBUG : dir/file1(0xc0004471c0): close: 2020/07/24 11:08:29 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 11:08:29 DEBUG : dir/file1: vfs cache: setting modification time to 2020-07-24 11:08:29.448238944 +0000 UTC m=+48.066118057 2020/07/24 11:08:29 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/07/24 11:08:29 DEBUG : dir/file1(0xc0004471c0): >close: err= 2020/07/24 11:08:29 DEBUG : dir/file1: Open: flags=O_RDONLY 2020/07/24 11:08:29 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 11:08:29 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 11:08:29 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 11:08:29 DEBUG : dir/file1(0xc000447480): _readAt: size=512, off=0 2020/07/24 11:08:29 DEBUG : dir/file1(0xc000447480): openPending: 2020/07/24 11:08:29 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2020/07/24 11:08:29 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 11:08:29 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:08:29 DEBUG : dir/file1(0xc000447480): >openPending: err= 2020/07/24 11:08:29 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 11:08:29 DEBUG : dir/file1(0xc000447480): >_readAt: n=14, err=EOF 2020/07/24 11:08:29 DEBUG : dir/file1(0xc000447480): close: 2020/07/24 11:08:29 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 11:08:29 DEBUG : dir/file1: vfs cache: setting modification time to 2020-07-24 11:08:29.448238944 +0000 UTC m=+48.066118057 2020/07/24 11:08:29 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/07/24 11:08:29 DEBUG : dir/file1(0xc000447480): >close: err= 2020/07/24 11:08:29 DEBUG : dir/file1: vfs cache: starting upload 2020/07/24 11:08:29 INFO : dir/file1: Moved (server side) 2020/07/24 11:08:29 DEBUG : dir/file1: vfs cache: cancelling upload 2020/07/24 11:08:31 INFO : dir/file1: Copied (replaced existing) 2020/07/24 11:08:31 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/07/24 11:08:31 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:08:31 INFO : dir/file1: vfs cache: upload succeeded try #1 2020/07/24 11:08:31 DEBUG : dir/file1: vfs cache: cancelled upload 2020/07/24 11:08:31 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 11:08:31 DEBUG : newLeaf: Updating file with newLeaf 0xc0002ae840 2020/07/24 11:08:31 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 11:08:31 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:08:31 DEBUG : newLeaf: vfs cache: starting upload 2020/07/24 11:08:33 INFO : newLeaf: Copied (replaced existing) 2020/07/24 11:08:33 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/07/24 11:08:33 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:08:33 INFO : newLeaf: vfs cache: upload succeeded try #2 2020/07/24 11:08:38 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2020/07/24 11:08:38 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:08:45 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/07/24 11:08:45 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2020/07/24 11:08:45 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:08:45 DEBUG : dir/file1: File is currently open, delaying rename 0xc0002ae840 2020/07/24 11:08:45 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 11:08:45 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:08:45 DEBUG : mega root 'rclone-test-qacetoc9datudam3dazutig4': File to upload is small (25 bytes), uploading instead of streaming 2020/07/24 11:08:48 INFO : dir/file1: Copied (new) 2020/07/24 11:08:48 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:08:48 DEBUG : newLeaf: Running delayed rename now 2020/07/24 11:08:48 INFO : newLeaf: Deleted 2020/07/24 11:08:48 INFO : dir/file1: Moved (server side) 2020/07/24 11:08:48 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 11:08:48 DEBUG : newLeaf: Updating file with newLeaf 0xc0002ae840 2020/07/24 11:08:48 DEBUG : WaitForWriters: timeout=10s 2020/07/24 11:08:48 DEBUG : dir: Looking for writers 2020/07/24 11:08:48 DEBUG : : Looking for writers 2020/07/24 11:08:48 DEBUG : dir: reading active writers 2020/07/24 11:08:48 DEBUG : newLeaf: reading active writers 2020/07/24 11:08:48 DEBUG : >WaitForWriters: 2020/07/24 11:08:48 DEBUG : WaitForWriters: timeout=10s 2020/07/24 11:08:48 DEBUG : dir: Looking for writers 2020/07/24 11:08:48 DEBUG : : Looking for writers 2020/07/24 11:08:48 DEBUG : dir: reading active writers 2020/07/24 11:08:48 DEBUG : newLeaf: reading active writers 2020/07/24 11:08:48 DEBUG : >WaitForWriters: 2020/07/24 11:08:48 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false 2020/07/24 11:08:48 INFO : mega root 'rclone-test-qacetoc9datudam3dazutig4': poll-interval is not supported by this remote 2020/07/24 11:08:48 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-qacetoc9datudam3dazutig4" 2020/07/24 11:08:48 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-qacetoc9datudam3dazutig4" 2020/07/24 11:08:48 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2020/07/24 11:08:50 INFO : dir/file1: Moved (server side) 2020/07/24 11:08:50 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 11:08:50 DEBUG : newLeaf: Updating file with newLeaf 0xc001748840 2020/07/24 11:08:50 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 11:08:50 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:08:58 INFO : newLeaf: Moved (server side) 2020/07/24 11:08:58 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2020/07/24 11:08:58 DEBUG : dir/file1: Updating file with dir/file1 0xc001748840 2020/07/24 11:08:58 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2020/07/24 11:08:58 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:09:05 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/07/24 11:09:05 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 11:09:05 DEBUG : dir/file1(0xc0008a0400): openPending: 2020/07/24 11:09:05 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2020/07/24 11:09:05 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 11:09:05 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:09:05 DEBUG : dir/file1(0xc0008a0400): >openPending: err= 2020/07/24 11:09:05 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/07/24 11:09:05 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 11:09:05 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 11:09:05 DEBUG : dir/file1(0xc0008a0400): _writeAt: size=25, off=0 2020/07/24 11:09:05 DEBUG : dir/file1(0xc0008a0400): >_writeAt: n=25, err= 2020/07/24 11:09:05 INFO : newLeaf: Deleted 2020/07/24 11:09:07 INFO : dir/file1: Moved (server side) 2020/07/24 11:09:07 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 11:09:07 DEBUG : newLeaf: Updating file with newLeaf 0xc001748840 2020/07/24 11:09:07 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 11:09:07 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:09:07 DEBUG : newLeaf(0xc0008a0400): close: 2020/07/24 11:09:07 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2020/07/24 11:09:07 DEBUG : newLeaf: vfs cache: setting modification time to 2020-07-24 11:09:05.540208246 +0000 UTC m=+84.158087350 2020/07/24 11:09:07 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2020/07/24 11:09:07 DEBUG : newLeaf(0xc0008a0400): >close: err= 2020/07/24 11:09:07 DEBUG : WaitForWriters: timeout=10s 2020/07/24 11:09:07 DEBUG : dir: Looking for writers 2020/07/24 11:09:07 DEBUG : : Looking for writers 2020/07/24 11:09:07 DEBUG : dir: reading active writers 2020/07/24 11:09:07 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2020/07/24 11:09:07 DEBUG : dir: Looking for writers 2020/07/24 11:09:07 DEBUG : : Looking for writers 2020/07/24 11:09:07 DEBUG : dir: reading active writers 2020/07/24 11:09:07 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2020/07/24 11:09:07 DEBUG : dir: Looking for writers 2020/07/24 11:09:07 DEBUG : : Looking for writers 2020/07/24 11:09:07 DEBUG : dir: reading active writers 2020/07/24 11:09:07 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2020/07/24 11:09:07 DEBUG : dir: Looking for writers 2020/07/24 11:09:07 DEBUG : : Looking for writers 2020/07/24 11:09:07 DEBUG : dir: reading active writers 2020/07/24 11:09:07 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2020/07/24 11:09:07 DEBUG : newLeaf: vfs cache: starting upload 2020/07/24 11:09:07 DEBUG : dir: Looking for writers 2020/07/24 11:09:07 DEBUG : : Looking for writers 2020/07/24 11:09:07 DEBUG : dir: reading active writers 2020/07/24 11:09:07 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2020/07/24 11:09:08 DEBUG : dir: Looking for writers 2020/07/24 11:09:08 DEBUG : : Looking for writers 2020/07/24 11:09:08 DEBUG : dir: reading active writers 2020/07/24 11:09:08 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2020/07/24 11:09:08 DEBUG : dir: Looking for writers 2020/07/24 11:09:08 DEBUG : : Looking for writers 2020/07/24 11:09:08 DEBUG : dir: reading active writers 2020/07/24 11:09:08 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2020/07/24 11:09:09 DEBUG : dir: Looking for writers 2020/07/24 11:09:09 DEBUG : : Looking for writers 2020/07/24 11:09:09 DEBUG : dir: reading active writers 2020/07/24 11:09:09 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2020/07/24 11:09:10 INFO : newLeaf: Copied (replaced existing) 2020/07/24 11:09:10 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2020/07/24 11:09:10 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/07/24 11:09:10 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:09:10 INFO : newLeaf: vfs cache: upload succeeded try #1 2020/07/24 11:09:10 DEBUG : dir: Looking for writers 2020/07/24 11:09:10 DEBUG : : Looking for writers 2020/07/24 11:09:10 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:10 DEBUG : dir: reading active writers 2020/07/24 11:09:10 DEBUG : >WaitForWriters: 2020/07/24 11:09:17 DEBUG : WaitForWriters: timeout=10s 2020/07/24 11:09:17 DEBUG : dir: Looking for writers 2020/07/24 11:09:17 DEBUG : : Looking for writers 2020/07/24 11:09:17 DEBUG : dir: reading active writers 2020/07/24 11:09:17 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:17 DEBUG : >WaitForWriters: 2020/07/24 11:09:17 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true 2020/07/24 11:09:17 INFO : mega root 'rclone-test-qacetoc9datudam3dazutig4': poll-interval is not supported by this remote 2020/07/24 11:09:17 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-qacetoc9datudam3dazutig4" 2020/07/24 11:09:17 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-qacetoc9datudam3dazutig4" 2020/07/24 11:09:17 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2020/07/24 11:09:17 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2020/07/24 11:09:17 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 11:09:17 DEBUG : dir/file1(0xc0017c55c0): openPending: 2020/07/24 11:09:17 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2020/07/24 11:09:17 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 11:09:17 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:09:17 DEBUG : dir/file1(0xc0017c55c0): >openPending: err= 2020/07/24 11:09:17 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/07/24 11:09:17 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 11:09:17 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:09:17 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 11:09:17 DEBUG : dir/file1(0xc0017c55c0): _writeAt: size=14, off=0 2020/07/24 11:09:17 DEBUG : dir/file1(0xc0017c55c0): >_writeAt: n=14, err= 2020/07/24 11:09:17 DEBUG : dir/file1(0xc0017c55c0): close: 2020/07/24 11:09:17 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 11:09:17 DEBUG : dir/file1: vfs cache: setting modification time to 2020-07-24 11:09:17.898591544 +0000 UTC m=+96.516470660 2020/07/24 11:09:17 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/07/24 11:09:17 DEBUG : dir/file1(0xc0017c55c0): >close: err= 2020/07/24 11:09:17 DEBUG : dir/file1: Open: flags=O_RDONLY 2020/07/24 11:09:17 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 11:09:17 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 11:09:17 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 11:09:17 DEBUG : dir/file1(0xc0017c5880): _readAt: size=512, off=0 2020/07/24 11:09:17 DEBUG : dir/file1(0xc0017c5880): openPending: 2020/07/24 11:09:17 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2020/07/24 11:09:17 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 11:09:17 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:09:17 DEBUG : dir/file1(0xc0017c5880): >openPending: err= 2020/07/24 11:09:17 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 11:09:17 DEBUG : dir/file1(0xc0017c5880): >_readAt: n=14, err=EOF 2020/07/24 11:09:17 DEBUG : dir/file1(0xc0017c5880): close: 2020/07/24 11:09:17 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 11:09:17 DEBUG : dir/file1: vfs cache: setting modification time to 2020-07-24 11:09:17.898591544 +0000 UTC m=+96.516470660 2020/07/24 11:09:17 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/07/24 11:09:17 DEBUG : dir/file1(0xc0017c5880): >close: err= 2020/07/24 11:09:17 DEBUG : dir/file1: vfs cache: starting upload 2020/07/24 11:09:18 INFO : dir/file1: Moved (server side) 2020/07/24 11:09:18 DEBUG : dir/file1: vfs cache: cancelling upload 2020/07/24 11:09:18 INFO : dir/file1: Copied (replaced existing) 2020/07/24 11:09:18 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/07/24 11:09:18 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:09:18 INFO : dir/file1: vfs cache: upload succeeded try #1 2020/07/24 11:09:18 DEBUG : dir/file1: vfs cache: cancelled upload 2020/07/24 11:09:18 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 11:09:18 DEBUG : newLeaf: Updating file with newLeaf 0xc000238780 2020/07/24 11:09:18 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 11:09:18 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:09:19 DEBUG : newLeaf: vfs cache: starting upload 2020/07/24 11:09:22 INFO : newLeaf: Copied (replaced existing) 2020/07/24 11:09:22 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/07/24 11:09:22 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:09:22 INFO : newLeaf: vfs cache: upload succeeded try #2 2020/07/24 11:09:26 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2020/07/24 11:09:26 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:09:33 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/07/24 11:09:33 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 11:09:33 DEBUG : dir/file1(0xc00064bec0): openPending: 2020/07/24 11:09:33 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2020/07/24 11:09:33 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 11:09:33 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:09:33 DEBUG : dir/file1(0xc00064bec0): >openPending: err= 2020/07/24 11:09:33 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/07/24 11:09:33 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 11:09:33 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 11:09:33 DEBUG : dir/file1(0xc00064bec0): _writeAt: size=25, off=0 2020/07/24 11:09:33 DEBUG : dir/file1(0xc00064bec0): >_writeAt: n=25, err= 2020/07/24 11:09:34 INFO : newLeaf: Deleted 2020/07/24 11:09:34 INFO : dir/file1: Moved (server side) 2020/07/24 11:09:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 11:09:34 DEBUG : newLeaf: Updating file with newLeaf 0xc000238780 2020/07/24 11:09:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 11:09:34 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:09:34 DEBUG : newLeaf(0xc00064bec0): close: 2020/07/24 11:09:34 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2020/07/24 11:09:34 DEBUG : newLeaf: vfs cache: setting modification time to 2020-07-24 11:09:33.990513524 +0000 UTC m=+112.608392634 2020/07/24 11:09:34 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2020/07/24 11:09:34 DEBUG : newLeaf(0xc00064bec0): >close: err= 2020/07/24 11:09:34 DEBUG : WaitForWriters: timeout=10s 2020/07/24 11:09:34 DEBUG : dir: Looking for writers 2020/07/24 11:09:34 DEBUG : : Looking for writers 2020/07/24 11:09:34 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:34 DEBUG : dir: reading active writers 2020/07/24 11:09:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2020/07/24 11:09:34 DEBUG : dir: Looking for writers 2020/07/24 11:09:34 DEBUG : : Looking for writers 2020/07/24 11:09:34 DEBUG : dir: reading active writers 2020/07/24 11:09:34 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2020/07/24 11:09:34 DEBUG : dir: Looking for writers 2020/07/24 11:09:34 DEBUG : : Looking for writers 2020/07/24 11:09:34 DEBUG : dir: reading active writers 2020/07/24 11:09:34 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2020/07/24 11:09:34 DEBUG : dir: Looking for writers 2020/07/24 11:09:34 DEBUG : : Looking for writers 2020/07/24 11:09:34 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:34 DEBUG : dir: reading active writers 2020/07/24 11:09:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2020/07/24 11:09:34 DEBUG : newLeaf: vfs cache: starting upload 2020/07/24 11:09:34 DEBUG : dir: Looking for writers 2020/07/24 11:09:34 DEBUG : : Looking for writers 2020/07/24 11:09:34 DEBUG : dir: reading active writers 2020/07/24 11:09:34 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2020/07/24 11:09:34 DEBUG : dir: Looking for writers 2020/07/24 11:09:34 DEBUG : : Looking for writers 2020/07/24 11:09:34 DEBUG : dir: reading active writers 2020/07/24 11:09:34 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2020/07/24 11:09:34 DEBUG : dir: Looking for writers 2020/07/24 11:09:34 DEBUG : : Looking for writers 2020/07/24 11:09:34 DEBUG : dir: reading active writers 2020/07/24 11:09:34 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2020/07/24 11:09:35 DEBUG : dir: Looking for writers 2020/07/24 11:09:35 DEBUG : : Looking for writers 2020/07/24 11:09:35 DEBUG : dir: reading active writers 2020/07/24 11:09:35 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2020/07/24 11:09:36 DEBUG : dir: Looking for writers 2020/07/24 11:09:36 DEBUG : : Looking for writers 2020/07/24 11:09:36 DEBUG : dir: reading active writers 2020/07/24 11:09:36 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2020/07/24 11:09:36 INFO : newLeaf: Copied (replaced existing) 2020/07/24 11:09:36 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2020/07/24 11:09:36 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/07/24 11:09:36 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:09:36 INFO : newLeaf: vfs cache: upload succeeded try #1 2020/07/24 11:09:37 DEBUG : dir: Looking for writers 2020/07/24 11:09:37 DEBUG : : Looking for writers 2020/07/24 11:09:37 DEBUG : dir: reading active writers 2020/07/24 11:09:37 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:37 DEBUG : >WaitForWriters: 2020/07/24 11:09:37 DEBUG : WaitForWriters: timeout=10s 2020/07/24 11:09:37 DEBUG : dir: Looking for writers 2020/07/24 11:09:37 DEBUG : : Looking for writers 2020/07/24 11:09:37 DEBUG : dir: reading active writers 2020/07/24 11:09:37 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:37 DEBUG : >WaitForWriters: 2020/07/24 11:09:37 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false 2020/07/24 11:09:37 INFO : mega root 'rclone-test-qacetoc9datudam3dazutig4': poll-interval is not supported by this remote 2020/07/24 11:09:37 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-qacetoc9datudam3dazutig4" 2020/07/24 11:09:37 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-qacetoc9datudam3dazutig4" 2020/07/24 11:09:37 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2020/07/24 11:09:39 DEBUG : dir/file1: Open: flags=O_RDONLY 2020/07/24 11:09:39 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 11:09:39 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 11:09:39 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 11:09:39 DEBUG : dir/file1(0xc000ad8ac0): _readAt: size=512, off=0 2020/07/24 11:09:39 DEBUG : dir/file1(0xc000ad8ac0): openPending: 2020/07/24 11:09:39 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "" 2020/07/24 11:09:39 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 11:09:39 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:09:39 DEBUG : dir/file1(0xc000ad8ac0): >openPending: err= 2020/07/24 11:09:39 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2020/07/24 11:09:39 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2020/07/24 11:09:39 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2020/07/24 11:09:39 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2020/07/24 11:09:40 DEBUG : dir/file1(0xc000ad8ac0): >_readAt: n=14, err=EOF 2020/07/24 11:09:40 DEBUG : dir/file1(0xc000ad8ac0): close: 2020/07/24 11:09:40 DEBUG : dir/file1: vfs cache: setting modification time to 2020-07-24 11:09:37 +0000 UTC 2020/07/24 11:09:40 DEBUG : dir/file1(0xc000ad8ac0): >close: err= 2020/07/24 11:09:42 INFO : dir/file1: Moved (server side) 2020/07/24 11:09:42 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 11:09:42 DEBUG : newLeaf: Updating file with newLeaf 0xc000238d80 2020/07/24 11:09:42 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 11:09:42 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:09:44 INFO : newLeaf: Moved (server side) 2020/07/24 11:09:44 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2020/07/24 11:09:44 DEBUG : dir/file1: Updating file with dir/file1 0xc000238d80 2020/07/24 11:09:44 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2020/07/24 11:09:44 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:09:51 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/07/24 11:09:51 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 11:09:51 DEBUG : dir/file1(0xc000db8080): openPending: 2020/07/24 11:09:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14" against cached fingerprint "14" 2020/07/24 11:09:51 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 11:09:51 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 11:09:51 DEBUG : dir/file1(0xc000db8080): >openPending: err= 2020/07/24 11:09:51 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/07/24 11:09:51 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 11:09:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 11:09:51 DEBUG : dir/file1(0xc000db8080): _writeAt: size=25, off=0 2020/07/24 11:09:51 DEBUG : dir/file1(0xc000db8080): >_writeAt: n=25, err= 2020/07/24 11:09:51 INFO : dir/file1: Moved (server side) 2020/07/24 11:09:51 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 11:09:51 DEBUG : newLeaf: Updating file with newLeaf 0xc000238d80 2020/07/24 11:09:51 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 11:09:51 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:09:51 DEBUG : newLeaf(0xc000db8080): close: 2020/07/24 11:09:51 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2020/07/24 11:09:51 DEBUG : newLeaf: vfs cache: setting modification time to 2020-07-24 11:09:51.250259796 +0000 UTC m=+129.868138908 2020/07/24 11:09:51 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2020/07/24 11:09:51 DEBUG : newLeaf(0xc000db8080): >close: err= 2020/07/24 11:09:51 DEBUG : WaitForWriters: timeout=10s 2020/07/24 11:09:51 DEBUG : dir: Looking for writers 2020/07/24 11:09:51 DEBUG : : Looking for writers 2020/07/24 11:09:51 DEBUG : dir: reading active writers 2020/07/24 11:09:51 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2020/07/24 11:09:51 DEBUG : dir: Looking for writers 2020/07/24 11:09:51 DEBUG : : Looking for writers 2020/07/24 11:09:51 DEBUG : dir: reading active writers 2020/07/24 11:09:51 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2020/07/24 11:09:51 DEBUG : dir: Looking for writers 2020/07/24 11:09:51 DEBUG : : Looking for writers 2020/07/24 11:09:51 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:51 DEBUG : dir: reading active writers 2020/07/24 11:09:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2020/07/24 11:09:51 DEBUG : dir: Looking for writers 2020/07/24 11:09:51 DEBUG : : Looking for writers 2020/07/24 11:09:51 DEBUG : dir: reading active writers 2020/07/24 11:09:51 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2020/07/24 11:09:51 DEBUG : newLeaf: vfs cache: starting upload 2020/07/24 11:09:51 DEBUG : dir: Looking for writers 2020/07/24 11:09:51 DEBUG : : Looking for writers 2020/07/24 11:09:51 DEBUG : dir: reading active writers 2020/07/24 11:09:51 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2020/07/24 11:09:51 INFO : newLeaf: Copied (replaced existing) 2020/07/24 11:09:51 DEBUG : newLeaf: vfs cache: fingerprint now "25" 2020/07/24 11:09:51 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/07/24 11:09:51 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 11:09:51 INFO : newLeaf: vfs cache: upload succeeded try #1 2020/07/24 11:09:51 DEBUG : dir: Looking for writers 2020/07/24 11:09:51 DEBUG : : Looking for writers 2020/07/24 11:09:51 DEBUG : dir: reading active writers 2020/07/24 11:09:51 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:51 DEBUG : >WaitForWriters: 2020/07/24 11:09:58 DEBUG : WaitForWriters: timeout=10s 2020/07/24 11:09:58 DEBUG : dir: Looking for writers 2020/07/24 11:09:58 DEBUG : : Looking for writers 2020/07/24 11:09:58 DEBUG : dir: reading active writers 2020/07/24 11:09:58 DEBUG : newLeaf: reading active writers 2020/07/24 11:09:58 DEBUG : >WaitForWriters: 2020/07/24 11:09:58 DEBUG : vfs cache: cleaner exiting --- FAIL: TestFileRename (132.49s) --- FAIL: TestFileRename/off,forceCache=false (23.25s) run.go:176: Remote "mega root 'rclone-test-qacetoc9datudam3dazutig4'", Local "Local file system at /tmp/rclone482171599", Modify Window "876000h0m0s" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:302: Error Trace: fstest.go:302 fstest.go:335 fstest.go:347 file_test.go:289 file_test.go:357 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:289 file_test.go:357 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "file1" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:302: Error Trace: fstest.go:302 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 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:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/file1" --- FAIL: TestFileRename/minimal,forceCache=false (19.25s) run.go:176: Remote "mega root 'rclone-test-qacetoc9datudam3dazutig4'", Local "Local file system at /tmp/rclone482171599", Modify Window "876000h0m0s" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:302: Error Trace: fstest.go:302 fstest.go:335 fstest.go:347 file_test.go:289 file_test.go:357 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:289 file_test.go:357 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "file1" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:302: Error Trace: fstest.go:302 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 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:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/file1" --- FAIL: TestFileRename/minimal,forceCache=true (19.39s) run.go:176: Remote "mega root 'rclone-test-qacetoc9datudam3dazutig4'", Local "Local file system at /tmp/rclone482171599", Modify Window "876000h0m0s" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:302: Error Trace: fstest.go:302 fstest.go:335 fstest.go:347 file_test.go:289 file_test.go:357 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want newLeaf (14) got dir/file1 (14), newLeaf (14) fstest.go:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:289 file_test.go:357 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/file1" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:302: Error Trace: fstest.go:302 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (14) fstest.go:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "newLeaf" file_test.go:309: Error Trace: file_test.go:309 file_test.go:357 Error: Should be true Test: TestFileRename/minimal,forceCache=true --- FAIL: TestFileRename/writes,forceCache=false (29.07s) run.go:176: Remote "mega root 'rclone-test-qacetoc9datudam3dazutig4'", Local "Local file system at /tmp/rclone482171599", Modify Window "876000h0m0s" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:302: Error Trace: fstest.go:302 fstest.go:335 fstest.go:347 file_test.go:289 file_test.go:357 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:289 file_test.go:357 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "file1" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:302: Error Trace: fstest.go:302 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 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:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "newLeaf" fstest.go:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/file1" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure --- FAIL: TestFileRename/writes,forceCache=true (20.06s) run.go:176: Remote "mega root 'rclone-test-qacetoc9datudam3dazutig4'", Local "Local file system at /tmp/rclone482171599", Modify Window "876000h0m0s" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:302: Error Trace: fstest.go:302 fstest.go:335 fstest.go:347 file_test.go:289 file_test.go:357 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want newLeaf (14) got dir/file1 (14), newLeaf (14) fstest.go:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:289 file_test.go:357 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "dir/file1" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:302: Error Trace: fstest.go:302 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (14) fstest.go:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" file_test.go:309: Error Trace: file_test.go:309 file_test.go:357 Error: Should be true Test: TestFileRename/writes,forceCache=true --- FAIL: TestFileRename/full,forceCache=false (21.46s) run.go:176: Remote "mega root 'rclone-test-qacetoc9datudam3dazutig4'", Local "Local file system at /tmp/rclone482171599", Modify Window "876000h0m0s" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:298: Flushing the directory cache fstest.go:295: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:298: Flushing the directory cache fstest.go:302: Error Trace: fstest.go:302 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 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:188: Error Trace: fstest.go:188 fstest.go:305 fstest.go:335 fstest.go:347 file_test.go:305 file_test.go:357 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/file1" fstest.go:295: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:298: Flushing the directory cache fstest.go:289: Sleeping for 6s just to make sure FAIL 2020/07/24 11:09:59 DEBUG : mega root 'rclone-test-qacetoc9datudam3dazutig4': 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 2m17.963816102s (try 5/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]