"./vfs.test -test.v -test.timeout 1h0m0s -remote TestS3Ceph: -verbose -test.run '^TestFileRename$/^writes,forceCache=true$'" - Starting (try 2/5) === RUN TestFileRename === RUN TestFileRename/writes,forceCache=true run.go:176: Remote "S3 bucket rclone-test-zatetom6totilep0ziyoged1", Local "Local file system at /tmp/rclone293134623", Modify Window "1ns" 2020/08/16 06:09:03 INFO : S3 bucket rclone-test-zatetom6totilep0ziyoged1: poll-interval is not supported by this remote 2020/08/16 06:09:03 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestS3Ceph/rclone-test-zatetom6totilep0ziyoged1" 2020/08/16 06:09:03 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestS3Ceph/rclone-test-zatetom6totilep0ziyoged1" 2020/08/16 06:09:03 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2020/08/16 06:09:04 INFO : S3 bucket rclone-test-zatetom6totilep0ziyoged1: Bucket "rclone-test-zatetom6totilep0ziyoged1" created with ACL "private" 2020/08/16 06:09:04 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2020/08/16 06:09:04 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 06:09:04 DEBUG : dir/file1(0xc000158e80): openPending: 2020/08/16 06:09:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2020/08/16 06:09:04 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 06:09:04 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 06:09:04 DEBUG : dir/file1(0xc000158e80): >openPending: err= 2020/08/16 06:09:04 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/08/16 06:09:04 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 06:09:04 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 06:09:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 06:09:04 DEBUG : dir/file1(0xc000158e80): _writeAt: size=14, off=0 2020/08/16 06:09:04 DEBUG : dir/file1(0xc000158e80): >_writeAt: n=14, err= 2020/08/16 06:09:04 DEBUG : dir/file1(0xc000158e80): close: 2020/08/16 06:09:04 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 06:09:04 DEBUG : dir/file1: vfs cache: setting modification time to 2020-08-16 06:09:04.892756172 +0000 UTC m=+1.178735479 2020/08/16 06:09:04 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/08/16 06:09:04 DEBUG : dir/file1(0xc000158e80): >close: err= 2020/08/16 06:09:04 DEBUG : dir/file1: Open: flags=O_RDONLY 2020/08/16 06:09:04 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 06:09:04 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 06:09:04 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 06:09:04 DEBUG : dir/file1(0xc00016a880): _readAt: size=512, off=0 2020/08/16 06:09:04 DEBUG : dir/file1(0xc00016a880): openPending: 2020/08/16 06:09:04 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/08/16 06:09:04 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 06:09:04 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 06:09:04 DEBUG : dir/file1(0xc00016a880): >openPending: err= 2020/08/16 06:09:04 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 06:09:04 DEBUG : dir/file1(0xc00016a880): >_readAt: n=14, err=EOF 2020/08/16 06:09:04 DEBUG : dir/file1(0xc00016a880): close: 2020/08/16 06:09:04 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 06:09:04 DEBUG : dir/file1: vfs cache: setting modification time to 2020-08-16 06:09:04.892756172 +0000 UTC m=+1.178735479 2020/08/16 06:09:04 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/08/16 06:09:04 DEBUG : dir/file1(0xc00016a880): >close: err= 2020/08/16 06:09:04 DEBUG : dir/file1: vfs cache: starting upload 2020/08/16 06:09:05 DEBUG : dir/file1: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/08/16 06:09:05 INFO : dir/file1: Copied (replaced existing) 2020/08/16 06:09:05 DEBUG : dir/file1: vfs cache: fingerprint now "14,2020-08-16 06:09:04.892756172 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/08/16 06:09:05 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2020/08/16 06:09:05 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/08/16 06:09:05 INFO : dir/file1: vfs cache: upload succeeded try #1 2020/08/16 06:09:05 DEBUG : dir/file1: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/08/16 06:09:05 INFO : dir/file1: Copied (server side copy) 2020/08/16 06:09:05 INFO : dir/file1: Deleted 2020/08/16 06:09:05 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/08/16 06:09:05 DEBUG : newLeaf: Updating file with newLeaf 0xc0003c0540 2020/08/16 06:09:05 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/08/16 06:09:05 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/08/16 06:09:05 DEBUG : newLeaf: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/08/16 06:09:05 INFO : newLeaf: Copied (server side copy) 2020/08/16 06:09:05 INFO : newLeaf: Deleted 2020/08/16 06:09:05 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2020/08/16 06:09:05 DEBUG : dir/file1: Updating file with dir/file1 0xc0003c0540 2020/08/16 06:09:05 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2020/08/16 06:09:05 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 06:09:05 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/08/16 06:09:05 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 06:09:05 DEBUG : dir/file1(0xc00074af40): openPending: 2020/08/16 06:09:05 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2020-08-16 06:09:04.892756172 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/08/16 06:09:05 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" != cached fingerprint "14,2020-08-16 06:09:04.892756172 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595") 2020/08/16 06:09:05 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2020/08/16 06:09:05 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2020/08/16 06:09:05 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 06:09:05 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 06:09:05 DEBUG : dir/file1(0xc00074af40): >openPending: err= 2020/08/16 06:09:05 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/08/16 06:09:05 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 06:09:05 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 06:09:05 DEBUG : dir/file1(0xc00074af40): _writeAt: size=25, off=0 2020/08/16 06:09:05 DEBUG : dir/file1(0xc00074af40): >_writeAt: n=25, err= 2020/08/16 06:09:05 DEBUG : dir/file1: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/08/16 06:09:05 INFO : dir/file1: Copied (server side copy) 2020/08/16 06:09:05 INFO : dir/file1: Deleted 2020/08/16 06:09:05 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/08/16 06:09:05 DEBUG : newLeaf: Updating file with newLeaf 0xc0003c0540 2020/08/16 06:09:05 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/08/16 06:09:05 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/08/16 06:09:05 DEBUG : newLeaf(0xc00074af40): close: 2020/08/16 06:09:05 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2020/08/16 06:09:05 DEBUG : newLeaf: vfs cache: setting modification time to 2020-08-16 06:09:05.576359594 +0000 UTC m=+1.862338921 2020/08/16 06:09:05 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2020/08/16 06:09:05 DEBUG : newLeaf(0xc00074af40): >close: err= 2020/08/16 06:09:05 DEBUG : WaitForWriters: timeout=10s 2020/08/16 06:09:05 DEBUG : dir: Looking for writers 2020/08/16 06:09:05 DEBUG : : Looking for writers 2020/08/16 06:09:05 DEBUG : dir: reading active writers 2020/08/16 06:09:05 DEBUG : newLeaf: reading active writers 2020/08/16 06:09:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2020/08/16 06:09:05 DEBUG : dir: Looking for writers 2020/08/16 06:09:05 DEBUG : : Looking for writers 2020/08/16 06:09:05 DEBUG : dir: reading active writers 2020/08/16 06:09:05 DEBUG : newLeaf: reading active writers 2020/08/16 06:09:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2020/08/16 06:09:05 DEBUG : dir: Looking for writers 2020/08/16 06:09:05 DEBUG : : Looking for writers 2020/08/16 06:09:05 DEBUG : dir: reading active writers 2020/08/16 06:09:05 DEBUG : newLeaf: reading active writers 2020/08/16 06:09:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2020/08/16 06:09:05 DEBUG : dir: Looking for writers 2020/08/16 06:09:05 DEBUG : : Looking for writers 2020/08/16 06:09:05 DEBUG : dir: reading active writers 2020/08/16 06:09:05 DEBUG : newLeaf: reading active writers 2020/08/16 06:09:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2020/08/16 06:09:05 DEBUG : newLeaf: vfs cache: starting upload 2020/08/16 06:09:05 DEBUG : dir: Looking for writers 2020/08/16 06:09:05 DEBUG : : Looking for writers 2020/08/16 06:09:05 DEBUG : dir: reading active writers 2020/08/16 06:09:05 DEBUG : newLeaf: reading active writers 2020/08/16 06:09:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2020/08/16 06:09:06 DEBUG : newLeaf: MD5 = c7247bead226dfd7bd970c17229f4044 OK 2020/08/16 06:09:06 INFO : newLeaf: Copied (replaced existing) 2020/08/16 06:09:06 DEBUG : newLeaf: vfs cache: fingerprint now "25,2020-08-16 06:09:05.576359594 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2020/08/16 06:09:06 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/08/16 06:09:06 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/08/16 06:09:06 INFO : newLeaf: vfs cache: upload succeeded try #1 2020/08/16 06:09:06 DEBUG : dir: Looking for writers 2020/08/16 06:09:06 DEBUG : : Looking for writers 2020/08/16 06:09:06 DEBUG : newLeaf: reading active writers 2020/08/16 06:09:06 DEBUG : dir: reading active writers 2020/08/16 06:09:06 DEBUG : >WaitForWriters: 2020/08/16 06:09:06 DEBUG : WaitForWriters: timeout=10s 2020/08/16 06:09:06 DEBUG : dir: Looking for writers 2020/08/16 06:09:06 DEBUG : : Looking for writers 2020/08/16 06:09:06 DEBUG : dir: reading active writers 2020/08/16 06:09:06 DEBUG : newLeaf: reading active writers 2020/08/16 06:09:06 DEBUG : >WaitForWriters: 2020/08/16 06:09:06 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileRename (2.61s) --- PASS: TestFileRename/writes,forceCache=true (2.61s) PASS 2020/08/16 06:09:06 DEBUG : S3 bucket rclone-test-zatetom6totilep0ziyoged1: Purge dir "" 2020/08/16 06:09:06 INFO : S3 bucket rclone-test-zatetom6totilep0ziyoged1: Bucket "rclone-test-zatetom6totilep0ziyoged1" deleted "./vfs.test -test.v -test.timeout 1h0m0s -remote TestS3Ceph: -verbose -test.run '^TestFileRename$/^writes,forceCache=true$'" - Finished OK in 2.74773776s (try 2/5)