"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestFileRename$/^minimal,forceCache=true$'" - Starting (try 2/5) 2021/03/23 06:13:35 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-bisinid1cacociv9geretux7" 2021/03/23 06:13:36 DEBUG : Creating backend with remote "/tmp/rclone137453225" === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=true run.go:176: Remote "One drive root 'rclone-test-bisinid1cacociv9geretux7'", Local "Local file system at /tmp/rclone137453225", Modify Window "1s" 2021/03/23 06:13:36 INFO : One drive root 'rclone-test-bisinid1cacociv9geretux7': poll-interval is not supported by this remote 2021/03/23 06:13:36 NOTICE: One drive root 'rclone-test-bisinid1cacociv9geretux7': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2021/03/23 06:13:36 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-bisinid1cacociv9geretux7" 2021/03/23 06:13:36 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-bisinid1cacociv9geretux7" 2021/03/23 06:13:36 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-bisinid1cacociv9geretux7" 2021/03/23 06:13:36 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2021/03/23 06:13:37 DEBUG : dir/file1: Starting multipart upload 2021/03/23 06:13:37 DEBUG : dir/file1: Uploading segment 0/14 size 14 2021/03/23 06:13:40 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2021/03/23 06:13:40 DEBUG : dir/file1: newRWFileHandle: 2021/03/23 06:13:40 DEBUG : dir/file1(0xc0007f2740): openPending: 2021/03/23 06:13:40 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "" 2021/03/23 06:13:40 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/03/23 06:13:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/23 06:13:40 DEBUG : dir/file1(0xc0007f2740): >openPending: err= 2021/03/23 06:13:40 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/03/23 06:13:40 DEBUG : dir/file1: >newRWFileHandle: err= 2021/03/23 06:13:40 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/23 06:13:40 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/03/23 06:13:40 DEBUG : dir/file1(0xc0007f2740): _writeAt: size=14, off=0 2021/03/23 06:13:40 DEBUG : dir/file1(0xc0007f2740): >_writeAt: n=14, err= 2021/03/23 06:13:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/03/23 06:13:40 DEBUG : dir/file1(0xc0007f2740): close: 2021/03/23 06:13:40 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2021/03/23 06:13:40 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2021/03/23 06:13:40 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2021/03/23 06:13:40 DEBUG : dir/file1(0xc0007f2740): >close: err= 2021/03/23 06:13:40 DEBUG : WaitForWriters: timeout=10s 2021/03/23 06:13:40 DEBUG : dir: Looking for writers 2021/03/23 06:13:40 DEBUG : file1: reading active writers 2021/03/23 06:13:40 DEBUG : : Looking for writers 2021/03/23 06:13:40 DEBUG : dir: reading active writers 2021/03/23 06:13:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/03/23 06:13:40 DEBUG : dir: Looking for writers 2021/03/23 06:13:40 DEBUG : file1: reading active writers 2021/03/23 06:13:40 DEBUG : : Looking for writers 2021/03/23 06:13:40 DEBUG : dir: reading active writers 2021/03/23 06:13:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/03/23 06:13:40 DEBUG : dir: Looking for writers 2021/03/23 06:13:40 DEBUG : file1: reading active writers 2021/03/23 06:13:40 DEBUG : : Looking for writers 2021/03/23 06:13:40 DEBUG : dir: reading active writers 2021/03/23 06:13:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/03/23 06:13:40 DEBUG : dir: Looking for writers 2021/03/23 06:13:40 DEBUG : file1: reading active writers 2021/03/23 06:13:40 DEBUG : : Looking for writers 2021/03/23 06:13:40 DEBUG : dir: reading active writers 2021/03/23 06:13:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/03/23 06:13:40 DEBUG : dir/file1: vfs cache: starting upload 2021/03/23 06:13:40 DEBUG : dir/file1: Starting multipart upload 2021/03/23 06:13:40 DEBUG : dir: Looking for writers 2021/03/23 06:13:40 DEBUG : file1: reading active writers 2021/03/23 06:13:40 DEBUG : : Looking for writers 2021/03/23 06:13:40 DEBUG : dir: reading active writers 2021/03/23 06:13:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/03/23 06:13:40 DEBUG : dir: Looking for writers 2021/03/23 06:13:40 DEBUG : file1: reading active writers 2021/03/23 06:13:40 DEBUG : : Looking for writers 2021/03/23 06:13:40 DEBUG : dir: reading active writers 2021/03/23 06:13:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2021/03/23 06:13:40 DEBUG : dir/file1: Uploading segment 0/14 size 14 2021/03/23 06:13:40 DEBUG : dir: Looking for writers 2021/03/23 06:13:40 DEBUG : file1: reading active writers 2021/03/23 06:13:40 DEBUG : : Looking for writers 2021/03/23 06:13:40 DEBUG : dir: reading active writers 2021/03/23 06:13:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2021/03/23 06:13:41 DEBUG : dir/file1: SHA-1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2021/03/23 06:13:41 INFO : dir/file1: Copied (replaced existing) 2021/03/23 06:13:41 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2021/03/23 06:13:41 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2021/03/23 06:13:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/23 06:13:41 INFO : dir/file1: vfs cache: upload succeeded try #1 2021/03/23 06:13:41 DEBUG : dir: Looking for writers 2021/03/23 06:13:41 DEBUG : file1: reading active writers 2021/03/23 06:13:41 DEBUG : : Looking for writers 2021/03/23 06:13:41 DEBUG : dir: reading active writers 2021/03/23 06:13:41 DEBUG : >WaitForWriters: 2021/03/23 06:13:41 DEBUG : dir/file1: Open: flags=O_RDONLY 2021/03/23 06:13:41 DEBUG : dir/file1: newRWFileHandle: 2021/03/23 06:13:41 DEBUG : dir/file1: >newRWFileHandle: err= 2021/03/23 06:13:41 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/03/23 06:13:41 DEBUG : dir/file1(0xc0005d3380): _readAt: size=512, off=0 2021/03/23 06:13:41 DEBUG : dir/file1(0xc0005d3380): openPending: 2021/03/23 06:13:41 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2021/03/23 06:13:41 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/03/23 06:13:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/23 06:13:41 DEBUG : dir/file1(0xc0005d3380): >openPending: err= 2021/03/23 06:13:41 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2021/03/23 06:13:41 DEBUG : dir/file1(0xc0005d3380): >_readAt: n=14, err=EOF 2021/03/23 06:13:41 DEBUG : dir/file1(0xc0005d3380): close: 2021/03/23 06:13:41 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2021/03/23 06:13:41 DEBUG : dir/file1(0xc0005d3380): >close: err= 2021/03/23 06:13:42 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/23 06:13:42 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/03/23 06:13:42 DEBUG : newLeaf: Updating file with newLeaf 0xc00084a480 2021/03/23 06:13:42 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/23 06:13:42 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/23 06:13:44 INFO : newLeaf: Moved (server-side) to: dir/file1 2021/03/23 06:13:44 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2021/03/23 06:13:44 DEBUG : dir/file1: Updating file with dir/file1 0xc00084a480 2021/03/23 06:13:44 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2021/03/23 06:13:44 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/23 06:13:45 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2021/03/23 06:13:45 DEBUG : dir/file1: newRWFileHandle: 2021/03/23 06:13:45 DEBUG : dir/file1(0xc0005d2100): openPending: 2021/03/23 06:13:45 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2021/03/23 06:13:45 DEBUG : dir/file1: vfs cache: truncate to size=14 2021/03/23 06:13:45 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2021/03/23 06:13:45 DEBUG : dir/file1(0xc0005d2100): >openPending: err= 2021/03/23 06:13:45 DEBUG : dir/file1: vfs cache: truncate to size=0 2021/03/23 06:13:45 DEBUG : dir/file1: >newRWFileHandle: err= 2021/03/23 06:13:45 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2021/03/23 06:13:45 DEBUG : dir/file1(0xc0005d2100): _writeAt: size=25, off=0 2021/03/23 06:13:45 DEBUG : dir/file1(0xc0005d2100): >_writeAt: n=25, err= 2021/03/23 06:13:46 INFO : dir/file1: Moved (server-side) to: newLeaf 2021/03/23 06:13:46 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2021/03/23 06:13:46 DEBUG : newLeaf: Updating file with newLeaf 0xc00084a480 2021/03/23 06:13:46 DEBUG : dir: Added virtual directory entry vDel: "file1" 2021/03/23 06:13:46 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/23 06:13:46 DEBUG : newLeaf(0xc0005d2100): close: 2021/03/23 06:13:46 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2021/03/23 06:13:46 DEBUG : newLeaf: vfs cache: setting modification time to 2021-03-23 06:13:45.344981491 +0000 UTC m=+10.500125232 2021/03/23 06:13:46 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2021/03/23 06:13:46 DEBUG : newLeaf(0xc0005d2100): >close: err= 2021/03/23 06:13:46 DEBUG : WaitForWriters: timeout=10s 2021/03/23 06:13:46 DEBUG : dir: Looking for writers 2021/03/23 06:13:46 DEBUG : : Looking for writers 2021/03/23 06:13:46 DEBUG : dir: reading active writers 2021/03/23 06:13:46 DEBUG : newLeaf: reading active writers 2021/03/23 06:13:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2021/03/23 06:13:46 DEBUG : dir: Looking for writers 2021/03/23 06:13:46 DEBUG : : Looking for writers 2021/03/23 06:13:46 DEBUG : dir: reading active writers 2021/03/23 06:13:46 DEBUG : newLeaf: reading active writers 2021/03/23 06:13:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2021/03/23 06:13:46 DEBUG : dir: Looking for writers 2021/03/23 06:13:46 DEBUG : : Looking for writers 2021/03/23 06:13:46 DEBUG : dir: reading active writers 2021/03/23 06:13:46 DEBUG : newLeaf: reading active writers 2021/03/23 06:13:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2021/03/23 06:13:46 DEBUG : dir: Looking for writers 2021/03/23 06:13:46 DEBUG : : Looking for writers 2021/03/23 06:13:46 DEBUG : dir: reading active writers 2021/03/23 06:13:46 DEBUG : newLeaf: reading active writers 2021/03/23 06:13:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2021/03/23 06:13:46 DEBUG : newLeaf: vfs cache: starting upload 2021/03/23 06:13:46 DEBUG : newLeaf: Starting multipart upload 2021/03/23 06:13:46 DEBUG : dir: Looking for writers 2021/03/23 06:13:46 DEBUG : : Looking for writers 2021/03/23 06:13:46 DEBUG : newLeaf: reading active writers 2021/03/23 06:13:46 DEBUG : dir: reading active writers 2021/03/23 06:13:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2021/03/23 06:13:46 DEBUG : dir: Looking for writers 2021/03/23 06:13:46 DEBUG : : Looking for writers 2021/03/23 06:13:46 DEBUG : dir: reading active writers 2021/03/23 06:13:46 DEBUG : newLeaf: reading active writers 2021/03/23 06:13:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2021/03/23 06:13:46 DEBUG : newLeaf: Uploading segment 0/25 size 25 2021/03/23 06:13:46 DEBUG : dir: Looking for writers 2021/03/23 06:13:46 DEBUG : : Looking for writers 2021/03/23 06:13:46 DEBUG : dir: reading active writers 2021/03/23 06:13:46 DEBUG : newLeaf: reading active writers 2021/03/23 06:13:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2021/03/23 06:13:47 DEBUG : newLeaf: SHA-1 = f1f3d7db56f36d9a5a912b01803c2176a972b9b0 OK 2021/03/23 06:13:47 INFO : newLeaf: Copied (replaced existing) 2021/03/23 06:13:47 DEBUG : newLeaf: vfs cache: fingerprint now "25,2021-03-23 06:13:45 +0000 UTC,f1f3d7db56f36d9a5a912b01803c2176a972b9b0" 2021/03/23 06:13:47 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2021/03/23 06:13:47 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2021/03/23 06:13:47 INFO : newLeaf: vfs cache: upload succeeded try #1 2021/03/23 06:13:47 DEBUG : dir: Looking for writers 2021/03/23 06:13:47 DEBUG : : Looking for writers 2021/03/23 06:13:47 DEBUG : dir: reading active writers 2021/03/23 06:13:47 DEBUG : newLeaf: reading active writers 2021/03/23 06:13:47 DEBUG : >WaitForWriters: 2021/03/23 06:13:48 DEBUG : WaitForWriters: timeout=10s 2021/03/23 06:13:48 DEBUG : dir: Looking for writers 2021/03/23 06:13:48 DEBUG : : Looking for writers 2021/03/23 06:13:48 DEBUG : dir: reading active writers 2021/03/23 06:13:48 DEBUG : newLeaf: reading active writers 2021/03/23 06:13:48 DEBUG : >WaitForWriters: 2021/03/23 06:13:48 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileRename (13.84s) --- PASS: TestFileRename/minimal,forceCache=true (13.84s) PASS 2021/03/23 06:13:49 DEBUG : One drive root 'rclone-test-bisinid1cacociv9geretux7': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestFileRename$/^minimal,forceCache=true$'" - Finished OK in 15.392056891s (try 2/5)