"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^TestFileRename$/^(minimal,forceCache=true|writes,forceCache=true)$'" - Starting (try 4/5) 2020/07/24 10:24:30 DEBUG : Starting OpenDrive session with ID: 32e3b95cd290ab615f3d953707b415031727179227ed1c4621d36fae83e8e77d === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=true 2020/07/24 10:24:31 INFO : OpenDrive root 'rclone-test-coledad2wayawuf8sumaqab8': poll-interval is not supported by this remote 2020/07/24 10:24:31 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-coledad2wayawuf8sumaqab8" 2020/07/24 10:24:31 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-coledad2wayawuf8sumaqab8" 2020/07/24 10:24:31 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2020/07/24 10:24:36 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2020/07/24 10:24:43 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2020/07/24 10:24:43 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 10:24:43 DEBUG : dir/file1(0xc000783180): openPending: 2020/07/24 10:24:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2020/07/24 10:24:43 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 10:24:43 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:24:43 DEBUG : dir/file1(0xc000783180): >openPending: err= 2020/07/24 10:24:43 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/07/24 10:24:43 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 10:24:43 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:24:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 10:24:43 DEBUG : dir/file1(0xc000783180): _writeAt: size=14, off=0 2020/07/24 10:24:43 DEBUG : dir/file1(0xc000783180): >_writeAt: n=14, err= 2020/07/24 10:24:43 DEBUG : dir/file1(0xc000783180): close: 2020/07/24 10:24:43 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 10:24:43 DEBUG : dir/file1: vfs cache: setting modification time to 2020-07-24 10:24:43.855056687 +0000 UTC m=+14.414811116 2020/07/24 10:24:43 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/07/24 10:24:43 DEBUG : dir/file1(0xc000783180): >close: err= 2020/07/24 10:24:43 DEBUG : dir/file1: Open: flags=O_RDONLY 2020/07/24 10:24:43 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 10:24:43 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 10:24:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 10:24:43 DEBUG : dir/file1(0xc000783440): _readAt: size=512, off=0 2020/07/24 10:24:43 DEBUG : dir/file1(0xc000783440): openPending: 2020/07/24 10:24:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/07/24 10:24:43 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 10:24:43 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:24:43 DEBUG : dir/file1(0xc000783440): >openPending: err= 2020/07/24 10:24:43 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 10:24:43 DEBUG : dir/file1(0xc000783440): >_readAt: n=14, err=EOF 2020/07/24 10:24:43 DEBUG : dir/file1(0xc000783440): close: 2020/07/24 10:24:43 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 10:24:43 DEBUG : dir/file1: vfs cache: setting modification time to 2020-07-24 10:24:43.855056687 +0000 UTC m=+14.414811116 2020/07/24 10:24:43 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/07/24 10:24:43 DEBUG : dir/file1(0xc000783440): >close: err= 2020/07/24 10:24:43 DEBUG : dir/file1: vfs cache: starting upload 2020/07/24 10:24:44 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2020/07/24 10:24:47 INFO : dir/file1: Moved (server side) 2020/07/24 10:24:47 DEBUG : dir/file1: vfs cache: cancelling upload 2020/07/24 10:24:47 ERROR : dir/file1: Failed to copy: Post https://dev.opendrive.com/api/v1/file/access.json: context canceled 2020/07/24 10:24:47 INFO : dir/file1: vfs cache: upload canceled 2020/07/24 10:24:47 DEBUG : dir/file1: vfs cache: cancelled upload 2020/07/24 10:24:47 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 10:24:47 DEBUG : newLeaf: Updating file with newLeaf 0xc000218840 2020/07/24 10:24:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 10:24:47 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 10:24:47 DEBUG : newLeaf: vfs cache: starting upload 2020/07/24 10:24:48 DEBUG : newLeaf: Uploading chunk 0, size=14, remain=0 2020/07/24 10:24:51 INFO : newLeaf: Moved (server side) 2020/07/24 10:24:51 DEBUG : newLeaf: vfs cache: cancelling upload 2020/07/24 10:24:51 ERROR : newLeaf: Failed to copy: Post https://dev.opendrive.com/api/v1/file/access.json: context canceled 2020/07/24 10:24:51 INFO : newLeaf: vfs cache: upload canceled 2020/07/24 10:24:51 DEBUG : newLeaf: vfs cache: cancelled upload 2020/07/24 10:24:51 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2020/07/24 10:24:51 DEBUG : dir/file1: Updating file with dir/file1 0xc000218840 2020/07/24 10:24:51 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2020/07/24 10:24:51 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:24:51 DEBUG : dir/file1: vfs cache: starting upload 2020/07/24 10:24:52 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2020/07/24 10:24:53 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/07/24 10:24:53 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 10:24:53 DEBUG : dir/file1(0xc00041cb00): openPending: 2020/07/24 10:24:53 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/07/24 10:24:53 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," != cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595") 2020/07/24 10:24:53 DEBUG : dir/file1: vfs cache: cancelling writeback (uploading true) 0xc0000f0ee0 item 1 2020/07/24 10:24:53 DEBUG : dir/file1: vfs cache: cancelling upload 2020/07/24 10:24:53 ERROR : dir/file1: Failed to copy: failed to create file: Post https://dev.opendrive.com/api/v1/upload/close_file_upload.json: context canceled 2020/07/24 10:24:53 INFO : dir/file1: vfs cache: upload canceled 2020/07/24 10:24:53 DEBUG : dir/file1: vfs cache: cancelled upload 2020/07/24 10:24:53 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2020/07/24 10:24:53 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2020/07/24 10:24:53 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 10:24:53 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:24:53 DEBUG : dir/file1(0xc00041cb00): >openPending: err= 2020/07/24 10:24:53 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/07/24 10:24:53 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 10:24:53 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 10:24:53 DEBUG : dir/file1(0xc00041cb00): _writeAt: size=25, off=0 2020/07/24 10:24:53 DEBUG : dir/file1(0xc00041cb00): >_writeAt: n=25, err= 2020/07/24 10:24:54 INFO : dir/file1: Moved (server side) 2020/07/24 10:24:54 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 10:24:54 DEBUG : newLeaf: Updating file with newLeaf 0xc000218840 2020/07/24 10:24:54 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 10:24:54 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 10:24:54 DEBUG : newLeaf(0xc00041cb00): close: 2020/07/24 10:24:54 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2020/07/24 10:24:54 DEBUG : newLeaf: vfs cache: setting modification time to 2020-07-24 10:24:53.557060697 +0000 UTC m=+24.116815143 2020/07/24 10:24:54 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2020/07/24 10:24:54 DEBUG : newLeaf(0xc00041cb00): >close: err= 2020/07/24 10:24:54 DEBUG : WaitForWriters: timeout=10s 2020/07/24 10:24:54 DEBUG : dir: Looking for writers 2020/07/24 10:24:54 DEBUG : : Looking for writers 2020/07/24 10:24:54 DEBUG : newLeaf: reading active writers 2020/07/24 10:24:54 DEBUG : dir: reading active writers 2020/07/24 10:24:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2020/07/24 10:24:54 DEBUG : dir: Looking for writers 2020/07/24 10:24:54 DEBUG : : Looking for writers 2020/07/24 10:24:54 DEBUG : dir: reading active writers 2020/07/24 10:24:54 DEBUG : newLeaf: reading active writers 2020/07/24 10:24:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2020/07/24 10:24:54 DEBUG : dir: Looking for writers 2020/07/24 10:24:54 DEBUG : : Looking for writers 2020/07/24 10:24:54 DEBUG : dir: reading active writers 2020/07/24 10:24:54 DEBUG : newLeaf: reading active writers 2020/07/24 10:24:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2020/07/24 10:24:55 DEBUG : dir: Looking for writers 2020/07/24 10:24:55 DEBUG : : Looking for writers 2020/07/24 10:24:55 DEBUG : dir: reading active writers 2020/07/24 10:24:55 DEBUG : newLeaf: reading active writers 2020/07/24 10:24:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2020/07/24 10:24:55 DEBUG : newLeaf: vfs cache: starting upload 2020/07/24 10:24:55 DEBUG : dir: Looking for writers 2020/07/24 10:24:55 DEBUG : : Looking for writers 2020/07/24 10:24:55 DEBUG : newLeaf: reading active writers 2020/07/24 10:24:55 DEBUG : dir: reading active writers 2020/07/24 10:24:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2020/07/24 10:24:55 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2020/07/24 10:24:55 DEBUG : dir: Looking for writers 2020/07/24 10:24:55 DEBUG : : Looking for writers 2020/07/24 10:24:55 DEBUG : dir: reading active writers 2020/07/24 10:24:55 DEBUG : newLeaf: reading active writers 2020/07/24 10:24:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2020/07/24 10:24:55 DEBUG : dir: Looking for writers 2020/07/24 10:24:55 DEBUG : : Looking for writers 2020/07/24 10:24:55 DEBUG : dir: reading active writers 2020/07/24 10:24:55 DEBUG : newLeaf: reading active writers 2020/07/24 10:24:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2020/07/24 10:24:56 DEBUG : dir: Looking for writers 2020/07/24 10:24:56 DEBUG : : Looking for writers 2020/07/24 10:24:56 DEBUG : dir: reading active writers 2020/07/24 10:24:56 DEBUG : newLeaf: reading active writers 2020/07/24 10:24:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2020/07/24 10:24:57 DEBUG : dir: Looking for writers 2020/07/24 10:24:57 DEBUG : : Looking for writers 2020/07/24 10:24:57 DEBUG : dir: reading active writers 2020/07/24 10:24:57 DEBUG : newLeaf: reading active writers 2020/07/24 10:24:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2020/07/24 10:24:58 DEBUG : dir: Looking for writers 2020/07/24 10:24:58 DEBUG : : Looking for writers 2020/07/24 10:24:58 DEBUG : dir: reading active writers 2020/07/24 10:24:58 DEBUG : newLeaf: reading active writers 2020/07/24 10:24:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2020/07/24 10:24:59 INFO : newLeaf: Copied (replaced existing) 2020/07/24 10:24:59 DEBUG : newLeaf: vfs cache: fingerprint now "25,2020-07-24 10:24:53 +0000 UTC," 2020/07/24 10:24:59 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/07/24 10:24:59 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 10:24:59 INFO : newLeaf: vfs cache: upload succeeded try #1 2020/07/24 10:24:59 DEBUG : dir: Looking for writers 2020/07/24 10:24:59 DEBUG : : Looking for writers 2020/07/24 10:24:59 DEBUG : dir: reading active writers 2020/07/24 10:24:59 DEBUG : newLeaf: reading active writers 2020/07/24 10:24:59 DEBUG : >WaitForWriters: 2020/07/24 10:25:00 DEBUG : WaitForWriters: timeout=10s 2020/07/24 10:25:00 DEBUG : dir: Looking for writers 2020/07/24 10:25:00 DEBUG : : Looking for writers 2020/07/24 10:25:00 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:00 DEBUG : dir: reading active writers 2020/07/24 10:25:00 DEBUG : >WaitForWriters: 2020/07/24 10:25:00 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true 2020/07/24 10:25:06 INFO : OpenDrive root 'rclone-test-coledad2wayawuf8sumaqab8': poll-interval is not supported by this remote 2020/07/24 10:25:06 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-coledad2wayawuf8sumaqab8" 2020/07/24 10:25:06 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestOpenDrive/rclone-test-coledad2wayawuf8sumaqab8" 2020/07/24 10:25:06 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2020/07/24 10:25:09 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2020/07/24 10:25:17 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2020/07/24 10:25:17 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 10:25:17 DEBUG : dir/file1(0xc00041cf00): openPending: 2020/07/24 10:25:17 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2020/07/24 10:25:17 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 10:25:17 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:25:17 DEBUG : dir/file1(0xc00041cf00): >openPending: err= 2020/07/24 10:25:17 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/07/24 10:25:17 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 10:25:17 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:25:17 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 10:25:17 DEBUG : dir/file1(0xc00041cf00): _writeAt: size=14, off=0 2020/07/24 10:25:17 DEBUG : dir/file1(0xc00041cf00): >_writeAt: n=14, err= 2020/07/24 10:25:17 DEBUG : dir/file1(0xc00041cf00): close: 2020/07/24 10:25:17 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 10:25:17 DEBUG : dir/file1: vfs cache: setting modification time to 2020-07-24 10:25:17.190222073 +0000 UTC m=+47.749976509 2020/07/24 10:25:17 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/07/24 10:25:17 DEBUG : dir/file1(0xc00041cf00): >close: err= 2020/07/24 10:25:17 DEBUG : dir/file1: Open: flags=O_RDONLY 2020/07/24 10:25:17 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 10:25:17 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 10:25:17 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 10:25:17 DEBUG : dir/file1(0xc00041d1c0): _readAt: size=512, off=0 2020/07/24 10:25:17 DEBUG : dir/file1(0xc00041d1c0): openPending: 2020/07/24 10:25:17 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/07/24 10:25:17 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 10:25:17 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:25:17 DEBUG : dir/file1(0xc00041d1c0): >openPending: err= 2020/07/24 10:25:17 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 10:25:17 DEBUG : dir/file1(0xc00041d1c0): >_readAt: n=14, err=EOF 2020/07/24 10:25:17 DEBUG : dir/file1(0xc00041d1c0): close: 2020/07/24 10:25:17 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 10:25:17 DEBUG : dir/file1: vfs cache: setting modification time to 2020-07-24 10:25:17.190222073 +0000 UTC m=+47.749976509 2020/07/24 10:25:17 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/07/24 10:25:17 DEBUG : dir/file1(0xc00041d1c0): >close: err= 2020/07/24 10:25:17 DEBUG : dir/file1: vfs cache: starting upload 2020/07/24 10:25:17 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2020/07/24 10:25:21 INFO : dir/file1: Moved (server side) 2020/07/24 10:25:21 DEBUG : dir/file1: vfs cache: cancelling upload 2020/07/24 10:25:21 ERROR : dir/file1: Failed to copy: Post https://dev.opendrive.com/api/v1/file/access.json: context canceled 2020/07/24 10:25:21 INFO : dir/file1: vfs cache: upload canceled 2020/07/24 10:25:21 DEBUG : dir/file1: vfs cache: cancelled upload 2020/07/24 10:25:21 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 10:25:21 DEBUG : newLeaf: Updating file with newLeaf 0xc000218600 2020/07/24 10:25:21 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 10:25:21 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 10:25:21 DEBUG : newLeaf: vfs cache: starting upload 2020/07/24 10:25:21 DEBUG : newLeaf: Uploading chunk 0, size=14, remain=0 2020/07/24 10:25:25 INFO : newLeaf: Moved (server side) 2020/07/24 10:25:25 DEBUG : newLeaf: vfs cache: cancelling upload 2020/07/24 10:25:25 ERROR : newLeaf: Failed to copy: Post https://dev.opendrive.com/api/v1/file/access.json: context canceled 2020/07/24 10:25:25 INFO : newLeaf: vfs cache: upload canceled 2020/07/24 10:25:25 DEBUG : newLeaf: vfs cache: cancelled upload 2020/07/24 10:25:25 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2020/07/24 10:25:25 DEBUG : dir/file1: Updating file with dir/file1 0xc000218600 2020/07/24 10:25:25 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2020/07/24 10:25:25 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:25:25 DEBUG : dir/file1: vfs cache: starting upload 2020/07/24 10:25:25 DEBUG : dir/file1: Uploading chunk 0, size=14, remain=0 2020/07/24 10:25:27 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/07/24 10:25:27 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 10:25:27 DEBUG : dir/file1(0xc000092700): openPending: 2020/07/24 10:25:27 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/07/24 10:25:27 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,0001-01-01 00:00:00 +0000 UTC," != cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595") 2020/07/24 10:25:27 DEBUG : dir/file1: vfs cache: cancelling writeback (uploading true) 0xc0001a8ee0 item 1 2020/07/24 10:25:27 DEBUG : dir/file1: vfs cache: cancelling upload 2020/07/24 10:25:27 ERROR : dir/file1: Failed to copy: failed to create file: Post https://dev.opendrive.com/api/v1/upload/close_file_upload.json: context canceled 2020/07/24 10:25:27 INFO : dir/file1: vfs cache: upload canceled 2020/07/24 10:25:27 DEBUG : dir/file1: vfs cache: cancelled upload 2020/07/24 10:25:27 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2020/07/24 10:25:27 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2020/07/24 10:25:27 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 10:25:27 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:25:27 DEBUG : dir/file1(0xc000092700): >openPending: err= 2020/07/24 10:25:27 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/07/24 10:25:27 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 10:25:27 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 10:25:27 DEBUG : dir/file1(0xc000092700): _writeAt: size=25, off=0 2020/07/24 10:25:27 DEBUG : dir/file1(0xc000092700): >_writeAt: n=25, err= 2020/07/24 10:25:29 INFO : dir/file1: Moved (server side) 2020/07/24 10:25:29 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 10:25:29 DEBUG : newLeaf: Updating file with newLeaf 0xc000218600 2020/07/24 10:25:29 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 10:25:29 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 10:25:29 DEBUG : newLeaf(0xc000092700): close: 2020/07/24 10:25:29 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2020/07/24 10:25:29 DEBUG : newLeaf: vfs cache: setting modification time to 2020-07-24 10:25:27.021053474 +0000 UTC m=+57.580807920 2020/07/24 10:25:29 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2020/07/24 10:25:29 DEBUG : newLeaf(0xc000092700): >close: err= 2020/07/24 10:25:29 DEBUG : WaitForWriters: timeout=10s 2020/07/24 10:25:29 DEBUG : dir: Looking for writers 2020/07/24 10:25:29 DEBUG : : Looking for writers 2020/07/24 10:25:29 DEBUG : dir: reading active writers 2020/07/24 10:25:29 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2020/07/24 10:25:29 DEBUG : dir: Looking for writers 2020/07/24 10:25:29 DEBUG : : Looking for writers 2020/07/24 10:25:29 DEBUG : dir: reading active writers 2020/07/24 10:25:29 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2020/07/24 10:25:29 DEBUG : dir: Looking for writers 2020/07/24 10:25:29 DEBUG : : Looking for writers 2020/07/24 10:25:29 DEBUG : dir: reading active writers 2020/07/24 10:25:29 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2020/07/24 10:25:29 DEBUG : dir: Looking for writers 2020/07/24 10:25:29 DEBUG : : Looking for writers 2020/07/24 10:25:29 DEBUG : dir: reading active writers 2020/07/24 10:25:29 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2020/07/24 10:25:29 DEBUG : newLeaf: vfs cache: starting upload 2020/07/24 10:25:29 DEBUG : dir: Looking for writers 2020/07/24 10:25:29 DEBUG : : Looking for writers 2020/07/24 10:25:29 DEBUG : dir: reading active writers 2020/07/24 10:25:29 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2020/07/24 10:25:29 DEBUG : dir: Looking for writers 2020/07/24 10:25:29 DEBUG : : Looking for writers 2020/07/24 10:25:29 DEBUG : dir: reading active writers 2020/07/24 10:25:29 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2020/07/24 10:25:29 DEBUG : dir: Looking for writers 2020/07/24 10:25:29 DEBUG : : Looking for writers 2020/07/24 10:25:29 DEBUG : dir: reading active writers 2020/07/24 10:25:29 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2020/07/24 10:25:30 DEBUG : newLeaf: Uploading chunk 0, size=25, remain=0 2020/07/24 10:25:30 DEBUG : dir: Looking for writers 2020/07/24 10:25:30 DEBUG : : Looking for writers 2020/07/24 10:25:30 DEBUG : dir: reading active writers 2020/07/24 10:25:30 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2020/07/24 10:25:31 DEBUG : dir: Looking for writers 2020/07/24 10:25:31 DEBUG : : Looking for writers 2020/07/24 10:25:31 DEBUG : dir: reading active writers 2020/07/24 10:25:31 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2020/07/24 10:25:32 DEBUG : dir: Looking for writers 2020/07/24 10:25:32 DEBUG : : Looking for writers 2020/07/24 10:25:32 DEBUG : dir: reading active writers 2020/07/24 10:25:32 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2020/07/24 10:25:33 DEBUG : dir: Looking for writers 2020/07/24 10:25:33 DEBUG : : Looking for writers 2020/07/24 10:25:33 DEBUG : dir: reading active writers 2020/07/24 10:25:33 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2020/07/24 10:25:34 INFO : newLeaf: Copied (replaced existing) 2020/07/24 10:25:34 DEBUG : newLeaf: vfs cache: fingerprint now "25,2020-07-24 10:25:27 +0000 UTC," 2020/07/24 10:25:34 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/07/24 10:25:34 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 10:25:34 INFO : newLeaf: vfs cache: upload succeeded try #1 2020/07/24 10:25:34 DEBUG : dir: Looking for writers 2020/07/24 10:25:34 DEBUG : : Looking for writers 2020/07/24 10:25:34 DEBUG : dir: reading active writers 2020/07/24 10:25:34 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:34 DEBUG : >WaitForWriters: 2020/07/24 10:25:36 DEBUG : WaitForWriters: timeout=10s 2020/07/24 10:25:36 DEBUG : dir: Looking for writers 2020/07/24 10:25:36 DEBUG : : Looking for writers 2020/07/24 10:25:36 DEBUG : dir: reading active writers 2020/07/24 10:25:36 DEBUG : newLeaf: reading active writers 2020/07/24 10:25:36 DEBUG : >WaitForWriters: 2020/07/24 10:25:36 DEBUG : vfs cache: cleaner exiting --- FAIL: TestFileRename (70.13s) --- FAIL: TestFileRename/minimal,forceCache=true (34.86s) run.go:176: Remote "OpenDrive root 'rclone-test-coledad2wayawuf8sumaqab8'", Local "Local file system at /tmp/rclone346248908", Modify Window "1s" fstest.go:124: Error Trace: fstest.go:124 fstest.go:129 fstest.go:148 fstest.go:192 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: newLeaf: Modification time difference too big |-170670h19m36.500000001s| > 1s (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2020-07-24 10:24:43 +0000 UTC) (precision 1s) fstest.go:124: Error Trace: fstest.go:124 fstest.go:129 fstest.go:148 fstest.go:192 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: dir/file1: Modification time difference too big |-170670h19m36.500000001s| > 1s (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2020-07-24 10:24:43 +0000 UTC) (precision 1s) --- FAIL: TestFileRename/writes,forceCache=true (35.27s) run.go:176: Remote "OpenDrive root 'rclone-test-coledad2wayawuf8sumaqab8'", Local "Local file system at /tmp/rclone346248908", Modify Window "1s" fstest.go:124: Error Trace: fstest.go:124 fstest.go:129 fstest.go:148 fstest.go:192 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: newLeaf: Modification time difference too big |-170670h20m10.500000001s| > 1s (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2020-07-24 10:25:17 +0000 UTC) (precision 1s) fstest.go:124: Error Trace: fstest.go:124 fstest.go:129 fstest.go:148 fstest.go:192 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: dir/file1: Modification time difference too big |-170670h20m10.500000001s| > 1s (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2020-07-24 10:25:17 +0000 UTC) (precision 1s) FAIL 2020/07/24 10:25:41 DEBUG : OpenDrive root 'rclone-test-coledad2wayawuf8sumaqab8': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOpenDrive: -verbose -test.run '^TestFileRename$/^(minimal,forceCache=true|writes,forceCache=true)$'" - Finished ERROR in 1m14.282873166s (try 4/5): exit status 1: Failed [TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=true]