"./vfs.test -test.v -test.timeout 1h0m0s -remote TestPutio: -verbose -test.run '^TestFileRename$/^(minimal,forceCache=true|writes,forceCache=true)$'" - Starting (try 2/5) === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=true run.go:176: Remote "Putio root 'rclone-test-foveqeg6ricibax6zanovir8'", Local "Local file system at /tmp/rclone178989994", Modify Window "1s" 2020/08/16 05:32:39 INFO : Putio root 'rclone-test-foveqeg6ricibax6zanovir8': poll-interval is not supported by this remote 2020/08/16 05:32:39 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestPutio/rclone-test-foveqeg6ricibax6zanovir8" 2020/08/16 05:32:39 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestPutio/rclone-test-foveqeg6ricibax6zanovir8" 2020/08/16 05:32:39 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2020/08/16 05:32:41 DEBUG : Putio root 'rclone-test-foveqeg6ricibax6zanovir8': chunkStart: 0, reqSize: 14 2020/08/16 05:32:41 DEBUG : Putio root 'rclone-test-foveqeg6ricibax6zanovir8': Sending chunk. transferOffset: 0 length: 14 2020/08/16 05:32:43 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2020/08/16 05:32:43 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 05:32:43 DEBUG : dir/file1(0xc000902440): openPending: 2020/08/16 05:32:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,f401d3a6" against cached fingerprint "" 2020/08/16 05:32:43 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 05:32:43 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:32:43 DEBUG : dir/file1(0xc000902440): >openPending: err= 2020/08/16 05:32:43 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/08/16 05:32:43 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 05:32:43 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:32:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 05:32:43 DEBUG : dir/file1(0xc000902440): _writeAt: size=14, off=0 2020/08/16 05:32:43 DEBUG : dir/file1(0xc000902440): >_writeAt: n=14, err= 2020/08/16 05:32:43 DEBUG : dir/file1(0xc000902440): close: 2020/08/16 05:32:43 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 05:32:43 DEBUG : dir/file1: vfs cache: setting modification time to 2020-08-16 05:32:43.161779216 +0000 UTC m=+3.862868113 2020/08/16 05:32:43 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/08/16 05:32:43 DEBUG : dir/file1(0xc000902440): >close: err= 2020/08/16 05:32:43 DEBUG : dir/file1: Open: flags=O_RDONLY 2020/08/16 05:32:43 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 05:32:43 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 05:32:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 05:32:43 DEBUG : dir/file1(0xc000902500): _readAt: size=512, off=0 2020/08/16 05:32:43 DEBUG : dir/file1(0xc000902500): openPending: 2020/08/16 05:32:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,f401d3a6" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,f401d3a6" 2020/08/16 05:32:43 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 05:32:43 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:32:43 DEBUG : dir/file1(0xc000902500): >openPending: err= 2020/08/16 05:32:43 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 05:32:43 DEBUG : dir/file1(0xc000902500): >_readAt: n=14, err=EOF 2020/08/16 05:32:43 DEBUG : dir/file1(0xc000902500): close: 2020/08/16 05:32:43 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 05:32:43 DEBUG : dir/file1: vfs cache: setting modification time to 2020-08-16 05:32:43.161779216 +0000 UTC m=+3.862868113 2020/08/16 05:32:43 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/08/16 05:32:43 DEBUG : dir/file1(0xc000902500): >close: err= 2020/08/16 05:32:43 DEBUG : dir/file1: vfs cache: starting upload 2020/08/16 05:32:43 ERROR : dir/file1: Couldn't move: object not found 2020/08/16 05:32:43 ERROR : newLeaf: File.Rename error: object not found 2020/08/16 05:32:43 ERROR : dir/file1: Dir.Rename error: object not found file_test.go:286: Error Trace: file_test.go:286 file_test.go:357 Error: Received unexpected error: object not found Test: TestFileRename/minimal,forceCache=true 2020/08/16 05:32:43 DEBUG : WaitForWriters: timeout=10s 2020/08/16 05:32:43 DEBUG : dir: Looking for writers 2020/08/16 05:32:43 DEBUG : file1: reading active writers 2020/08/16 05:32:43 DEBUG : : Looking for writers 2020/08/16 05:32:43 DEBUG : dir: reading active writers 2020/08/16 05:32:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2020/08/16 05:32:43 DEBUG : dir: Looking for writers 2020/08/16 05:32:43 DEBUG : file1: reading active writers 2020/08/16 05:32:43 DEBUG : : Looking for writers 2020/08/16 05:32:43 DEBUG : dir: reading active writers 2020/08/16 05:32:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2020/08/16 05:32:43 DEBUG : dir: Looking for writers 2020/08/16 05:32:43 DEBUG : file1: reading active writers 2020/08/16 05:32:43 DEBUG : : Looking for writers 2020/08/16 05:32:43 DEBUG : dir: reading active writers 2020/08/16 05:32:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2020/08/16 05:32:43 DEBUG : dir: Looking for writers 2020/08/16 05:32:43 DEBUG : file1: reading active writers 2020/08/16 05:32:43 DEBUG : : Looking for writers 2020/08/16 05:32:43 DEBUG : dir: reading active writers 2020/08/16 05:32:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2020/08/16 05:32:43 DEBUG : dir: Looking for writers 2020/08/16 05:32:43 DEBUG : file1: reading active writers 2020/08/16 05:32:43 DEBUG : : Looking for writers 2020/08/16 05:32:43 DEBUG : dir: reading active writers 2020/08/16 05:32:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2020/08/16 05:32:43 DEBUG : Putio root 'rclone-test-foveqeg6ricibax6zanovir8': chunkStart: 0, reqSize: 14 2020/08/16 05:32:43 DEBUG : Putio root 'rclone-test-foveqeg6ricibax6zanovir8': Sending chunk. transferOffset: 0 length: 14 2020/08/16 05:32:43 DEBUG : dir: Looking for writers 2020/08/16 05:32:43 DEBUG : file1: reading active writers 2020/08/16 05:32:43 DEBUG : : Looking for writers 2020/08/16 05:32:43 DEBUG : dir: reading active writers 2020/08/16 05:32:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2020/08/16 05:32:44 DEBUG : dir: Looking for writers 2020/08/16 05:32:44 DEBUG : file1: reading active writers 2020/08/16 05:32:44 DEBUG : : Looking for writers 2020/08/16 05:32:44 DEBUG : dir: reading active writers 2020/08/16 05:32:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2020/08/16 05:32:44 DEBUG : dir/file1: CRC-32 = f401d3a6 OK 2020/08/16 05:32:44 INFO : dir/file1: Copied (replaced existing) 2020/08/16 05:32:44 DEBUG : dir/file1: vfs cache: fingerprint now "14,2020-08-16 05:32:43 +0000 UTC,f401d3a6" 2020/08/16 05:32:44 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2020/08/16 05:32:44 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/08/16 05:32:44 INFO : dir/file1: vfs cache: upload succeeded try #1 2020/08/16 05:32:44 DEBUG : dir: Looking for writers 2020/08/16 05:32:44 DEBUG : file1: reading active writers 2020/08/16 05:32:44 DEBUG : : Looking for writers 2020/08/16 05:32:44 DEBUG : dir: reading active writers 2020/08/16 05:32:44 DEBUG : newLeaf: reading active writers 2020/08/16 05:32:44 DEBUG : >WaitForWriters: 2020/08/16 05:32:44 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:176: Remote "Putio root 'rclone-test-foveqeg6ricibax6zanovir8'", Local "Local file system at /tmp/rclone178989994", Modify Window "1s" 2020/08/16 05:32:45 INFO : Putio root 'rclone-test-foveqeg6ricibax6zanovir8': poll-interval is not supported by this remote 2020/08/16 05:32:45 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestPutio/rclone-test-foveqeg6ricibax6zanovir8" 2020/08/16 05:32:45 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestPutio/rclone-test-foveqeg6ricibax6zanovir8" 2020/08/16 05:32:45 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2020/08/16 05:32:45 DEBUG : Putio root 'rclone-test-foveqeg6ricibax6zanovir8': chunkStart: 0, reqSize: 14 2020/08/16 05:32:45 DEBUG : Putio root 'rclone-test-foveqeg6ricibax6zanovir8': Sending chunk. transferOffset: 0 length: 14 2020/08/16 05:32:46 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2020/08/16 05:32:46 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 05:32:46 DEBUG : dir/file1(0xc000902500): openPending: 2020/08/16 05:32:46 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,f401d3a6" against cached fingerprint "" 2020/08/16 05:32:46 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 05:32:46 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:32:46 DEBUG : dir/file1(0xc000902500): >openPending: err= 2020/08/16 05:32:46 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/08/16 05:32:46 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 05:32:46 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:32:46 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 05:32:46 DEBUG : dir/file1(0xc000902500): _writeAt: size=14, off=0 2020/08/16 05:32:46 DEBUG : dir/file1(0xc000902500): >_writeAt: n=14, err= 2020/08/16 05:32:46 DEBUG : dir/file1(0xc000902500): close: 2020/08/16 05:32:46 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 05:32:46 DEBUG : dir/file1: vfs cache: setting modification time to 2020-08-16 05:32:46.619001892 +0000 UTC m=+7.320090804 2020/08/16 05:32:46 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/08/16 05:32:46 DEBUG : dir/file1(0xc000902500): >close: err= 2020/08/16 05:32:46 DEBUG : dir/file1: Open: flags=O_RDONLY 2020/08/16 05:32:46 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 05:32:46 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 05:32:46 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 05:32:46 DEBUG : dir/file1(0xc000902600): _readAt: size=512, off=0 2020/08/16 05:32:46 DEBUG : dir/file1(0xc000902600): openPending: 2020/08/16 05:32:46 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,f401d3a6" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,f401d3a6" 2020/08/16 05:32:46 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 05:32:46 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:32:46 DEBUG : dir/file1(0xc000902600): >openPending: err= 2020/08/16 05:32:46 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 05:32:46 DEBUG : dir/file1(0xc000902600): >_readAt: n=14, err=EOF 2020/08/16 05:32:46 DEBUG : dir/file1(0xc000902600): close: 2020/08/16 05:32:46 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 05:32:46 DEBUG : dir/file1: vfs cache: setting modification time to 2020-08-16 05:32:46.619001892 +0000 UTC m=+7.320090804 2020/08/16 05:32:46 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/08/16 05:32:46 DEBUG : dir/file1(0xc000902600): >close: err= 2020/08/16 05:32:46 DEBUG : dir/file1: vfs cache: starting upload 2020/08/16 05:32:46 INFO : dir/file1: Moved (server side) 2020/08/16 05:32:46 DEBUG : dir/file1: vfs cache: cancelling upload 2020/08/16 05:32:46 ERROR : dir/file1: Failed to copy: Post "https://api.put.io/v2/files/delete": context canceled 2020/08/16 05:32:46 INFO : dir/file1: vfs cache: upload canceled 2020/08/16 05:32:46 DEBUG : dir/file1: vfs cache: cancelled upload 2020/08/16 05:32:46 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/08/16 05:32:46 DEBUG : newLeaf: Updating file with newLeaf 0xc0002860c0 2020/08/16 05:32:46 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/08/16 05:32:46 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/08/16 05:32:47 DEBUG : newLeaf: vfs cache: starting upload 2020/08/16 05:32:47 ERROR : newLeaf: Couldn't move: object not found 2020/08/16 05:32:47 ERROR : dir/file1: File.Rename error: object not found 2020/08/16 05:32:47 ERROR : newLeaf: Dir.Rename error: object not found file_test.go:302: Error Trace: file_test.go:302 file_test.go:357 Error: Received unexpected error: object not found Test: TestFileRename/writes,forceCache=true 2020/08/16 05:32:47 DEBUG : WaitForWriters: timeout=10s 2020/08/16 05:32:47 DEBUG : dir: Looking for writers 2020/08/16 05:32:47 DEBUG : : Looking for writers 2020/08/16 05:32:47 DEBUG : dir: reading active writers 2020/08/16 05:32:47 DEBUG : newLeaf: reading active writers 2020/08/16 05:32:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2020/08/16 05:32:47 DEBUG : dir: Looking for writers 2020/08/16 05:32:47 DEBUG : : Looking for writers 2020/08/16 05:32:47 DEBUG : dir: reading active writers 2020/08/16 05:32:47 DEBUG : newLeaf: reading active writers 2020/08/16 05:32:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2020/08/16 05:32:47 DEBUG : dir: Looking for writers 2020/08/16 05:32:47 DEBUG : : Looking for writers 2020/08/16 05:32:47 DEBUG : newLeaf: reading active writers 2020/08/16 05:32:47 DEBUG : dir: reading active writers 2020/08/16 05:32:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2020/08/16 05:32:47 DEBUG : dir: Looking for writers 2020/08/16 05:32:47 DEBUG : : Looking for writers 2020/08/16 05:32:47 DEBUG : dir: reading active writers 2020/08/16 05:32:47 DEBUG : newLeaf: reading active writers 2020/08/16 05:32:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2020/08/16 05:32:47 DEBUG : dir: Looking for writers 2020/08/16 05:32:47 DEBUG : : Looking for writers 2020/08/16 05:32:47 DEBUG : dir: reading active writers 2020/08/16 05:32:47 DEBUG : newLeaf: reading active writers 2020/08/16 05:32:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2020/08/16 05:32:47 DEBUG : dir: Looking for writers 2020/08/16 05:32:47 DEBUG : : Looking for writers 2020/08/16 05:32:47 DEBUG : dir: reading active writers 2020/08/16 05:32:47 DEBUG : newLeaf: reading active writers 2020/08/16 05:32:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2020/08/16 05:32:47 DEBUG : Putio root 'rclone-test-foveqeg6ricibax6zanovir8': chunkStart: 0, reqSize: 14 2020/08/16 05:32:47 DEBUG : Putio root 'rclone-test-foveqeg6ricibax6zanovir8': Sending chunk. transferOffset: 0 length: 14 2020/08/16 05:32:47 DEBUG : dir: Looking for writers 2020/08/16 05:32:47 DEBUG : : Looking for writers 2020/08/16 05:32:47 DEBUG : dir: reading active writers 2020/08/16 05:32:47 DEBUG : newLeaf: reading active writers 2020/08/16 05:32:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2020/08/16 05:32:48 DEBUG : newLeaf: CRC-32 = f401d3a6 OK 2020/08/16 05:32:48 INFO : newLeaf: Copied (replaced existing) 2020/08/16 05:32:48 DEBUG : newLeaf: vfs cache: fingerprint now "14,2020-08-16 05:32:46 +0000 UTC,f401d3a6" 2020/08/16 05:32:48 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/08/16 05:32:48 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:32:48 INFO : newLeaf: vfs cache: upload succeeded try #2 2020/08/16 05:32:48 DEBUG : dir: Looking for writers 2020/08/16 05:32:48 DEBUG : file1: reading active writers 2020/08/16 05:32:48 DEBUG : : Looking for writers 2020/08/16 05:32:48 DEBUG : newLeaf: reading active writers 2020/08/16 05:32:48 DEBUG : dir: reading active writers 2020/08/16 05:32:48 DEBUG : >WaitForWriters: 2020/08/16 05:32:48 DEBUG : vfs cache: cleaner exiting --- FAIL: TestFileRename (9.10s) --- FAIL: TestFileRename/minimal,forceCache=true (5.39s) --- FAIL: TestFileRename/writes,forceCache=true (3.71s) FAIL 2020/08/16 05:32:48 DEBUG : Putio root 'rclone-test-foveqeg6ricibax6zanovir8': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestPutio: -verbose -test.run '^TestFileRename$/^(minimal,forceCache=true|writes,forceCache=true)$'" - Finished ERROR in 9.639922608s (try 2/5): exit status 1: Failed [TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=true]