"./vfs.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestFileRename$/^minimal,forceCache=true$'" - Starting (try 3/5) === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=true 2020/07/24 10:47:48 INFO : GCS bucket rclone-test-tajawek7fugixok3xivurid3: poll-interval is not supported by this remote 2020/07/24 10:47:48 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestGoogleCloudStorage/rclone-test-tajawek7fugixok3xivurid3" 2020/07/24 10:47:48 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestGoogleCloudStorage/rclone-test-tajawek7fugixok3xivurid3" 2020/07/24 10:47: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 10:47:50 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2020/07/24 10:47:50 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 10:47:50 DEBUG : dir/file1(0xc000136800): openPending: 2020/07/24 10:47:50 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "" 2020/07/24 10:47:50 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 10:47:50 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:47:50 DEBUG : dir/file1(0xc000136800): >openPending: err= 2020/07/24 10:47:50 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/07/24 10:47:50 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 10:47:50 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:47:50 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 10:47:50 DEBUG : dir/file1(0xc000136800): _writeAt: size=14, off=0 2020/07/24 10:47:50 DEBUG : dir/file1(0xc000136800): >_writeAt: n=14, err= 2020/07/24 10:47:50 DEBUG : dir/file1(0xc000136800): close: 2020/07/24 10:47:50 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 10:47:50 DEBUG : dir/file1: vfs cache: setting modification time to 2020-07-24 10:47:50.111734581 +0000 UTC m=+1.392655794 2020/07/24 10:47:50 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/07/24 10:47:50 DEBUG : dir/file1(0xc000136800): >close: err= 2020/07/24 10:47:50 DEBUG : dir/file1: Open: flags=O_RDONLY 2020/07/24 10:47:50 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 10:47:50 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 10:47:50 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 10:47:50 DEBUG : dir/file1(0xc000136d40): _readAt: size=512, off=0 2020/07/24 10:47:50 DEBUG : dir/file1(0xc000136d40): openPending: 2020/07/24 10:47:50 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/07/24 10:47:50 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 10:47:50 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:47:50 DEBUG : dir/file1(0xc000136d40): >openPending: err= 2020/07/24 10:47:50 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 10:47:50 DEBUG : dir/file1(0xc000136d40): >_readAt: n=14, err=EOF 2020/07/24 10:47:50 DEBUG : dir/file1(0xc000136d40): close: 2020/07/24 10:47:50 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/07/24 10:47:50 DEBUG : dir/file1: vfs cache: setting modification time to 2020-07-24 10:47:50.111734581 +0000 UTC m=+1.392655794 2020/07/24 10:47:50 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/07/24 10:47:50 DEBUG : dir/file1(0xc000136d40): >close: err= 2020/07/24 10:47:50 DEBUG : dir/file1: vfs cache: starting upload 2020/07/24 10:47:50 DEBUG : dir/file1: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/07/24 10:47:50 INFO : dir/file1: Copied (replaced existing) 2020/07/24 10:47:50 DEBUG : dir/file1: vfs cache: fingerprint now "14,2020-07-24 10:47:50.111734581 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/07/24 10:47:50 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2020/07/24 10:47:50 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 10:47:50 INFO : dir/file1: vfs cache: upload succeeded try #1 2020/07/24 10:47:50 DEBUG : dir/file1: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/07/24 10:47:50 INFO : dir/file1: Copied (server side copy) 2020/07/24 10:47:50 INFO : dir/file1: Deleted 2020/07/24 10:47:50 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 10:47:50 DEBUG : newLeaf: Updating file with newLeaf 0xc000286600 2020/07/24 10:47:50 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 10:47:50 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 10:47:51 DEBUG : newLeaf: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/07/24 10:47:51 INFO : newLeaf: Copied (server side copy) 2020/07/24 10:47:51 INFO : newLeaf: Deleted 2020/07/24 10:47:51 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2020/07/24 10:47:51 DEBUG : dir/file1: Updating file with dir/file1 0xc000286600 2020/07/24 10:47:51 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2020/07/24 10:47:51 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:47:51 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/07/24 10:47:51 DEBUG : dir/file1: newRWFileHandle: 2020/07/24 10:47:51 DEBUG : dir/file1(0xc000137dc0): openPending: 2020/07/24 10:47:51 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2020-07-24 10:47:50.111734581 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2020-07-24 10:47:50.111734581 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/07/24 10:47:51 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/07/24 10:47:51 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/07/24 10:47:51 DEBUG : dir/file1(0xc000137dc0): >openPending: err= 2020/07/24 10:47:51 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/07/24 10:47:51 DEBUG : dir/file1: >newRWFileHandle: err= 2020/07/24 10:47:51 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/07/24 10:47:51 DEBUG : dir/file1(0xc000137dc0): _writeAt: size=25, off=0 2020/07/24 10:47:51 DEBUG : dir/file1(0xc000137dc0): >_writeAt: n=25, err= 2020/07/24 10:47:51 DEBUG : dir/file1: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/07/24 10:47:51 INFO : dir/file1: Copied (server side copy) 2020/07/24 10:47:51 INFO : dir/file1: Deleted 2020/07/24 10:47:51 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/07/24 10:47:51 DEBUG : newLeaf: Updating file with newLeaf 0xc000286600 2020/07/24 10:47:51 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/07/24 10:47:51 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 10:47:51 DEBUG : newLeaf(0xc000137dc0): close: 2020/07/24 10:47:51 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2020/07/24 10:47:51 DEBUG : newLeaf: vfs cache: setting modification time to 2020-07-24 10:47:51.230961837 +0000 UTC m=+2.511883054 2020/07/24 10:47:51 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2020/07/24 10:47:51 DEBUG : newLeaf(0xc000137dc0): >close: err= 2020/07/24 10:47:51 DEBUG : WaitForWriters: timeout=10s 2020/07/24 10:47:51 DEBUG : dir: Looking for writers 2020/07/24 10:47:51 DEBUG : : Looking for writers 2020/07/24 10:47:51 DEBUG : dir: reading active writers 2020/07/24 10:47:51 DEBUG : newLeaf: reading active writers 2020/07/24 10:47:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2020/07/24 10:47:51 DEBUG : dir: Looking for writers 2020/07/24 10:47:51 DEBUG : : Looking for writers 2020/07/24 10:47:51 DEBUG : dir: reading active writers 2020/07/24 10:47:51 DEBUG : newLeaf: reading active writers 2020/07/24 10:47:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2020/07/24 10:47:51 DEBUG : dir: Looking for writers 2020/07/24 10:47:51 DEBUG : : Looking for writers 2020/07/24 10:47:51 DEBUG : dir: reading active writers 2020/07/24 10:47:51 DEBUG : newLeaf: reading active writers 2020/07/24 10:47:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2020/07/24 10:47:51 DEBUG : dir: Looking for writers 2020/07/24 10:47:51 DEBUG : : Looking for writers 2020/07/24 10:47:51 DEBUG : dir: reading active writers 2020/07/24 10:47:51 DEBUG : newLeaf: reading active writers 2020/07/24 10:47:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2020/07/24 10:47:51 DEBUG : newLeaf: vfs cache: starting upload 2020/07/24 10:47:51 DEBUG : dir: Looking for writers 2020/07/24 10:47:51 DEBUG : : Looking for writers 2020/07/24 10:47:51 DEBUG : newLeaf: reading active writers 2020/07/24 10:47:51 DEBUG : dir: reading active writers 2020/07/24 10:47:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2020/07/24 10:47:51 DEBUG : newLeaf: MD5 = c7247bead226dfd7bd970c17229f4044 OK 2020/07/24 10:47:51 INFO : newLeaf: Copied (replaced existing) 2020/07/24 10:47:51 DEBUG : newLeaf: vfs cache: fingerprint now "25,2020-07-24 10:47:51.230961837 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2020/07/24 10:47:51 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/07/24 10:47:51 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/07/24 10:47:51 INFO : newLeaf: vfs cache: upload succeeded try #1 2020/07/24 10:47:52 DEBUG : dir: Looking for writers 2020/07/24 10:47:52 DEBUG : : Looking for writers 2020/07/24 10:47:52 DEBUG : dir: reading active writers 2020/07/24 10:47:52 DEBUG : newLeaf: reading active writers 2020/07/24 10:47:52 DEBUG : >WaitForWriters: 2020/07/24 10:47:52 DEBUG : WaitForWriters: timeout=10s 2020/07/24 10:47:52 DEBUG : dir: Looking for writers 2020/07/24 10:47:52 DEBUG : : Looking for writers 2020/07/24 10:47:52 DEBUG : dir: reading active writers 2020/07/24 10:47:52 DEBUG : newLeaf: reading active writers 2020/07/24 10:47:52 DEBUG : >WaitForWriters: 2020/07/24 10:47:52 DEBUG : vfs cache: cleaner exiting --- FAIL: TestFileRename (3.67s) --- FAIL: TestFileRename/minimal,forceCache=true (3.67s) run.go:176: Remote "GCS bucket rclone-test-tajawek7fugixok3xivurid3", Local "Local file system at /tmp/rclone193581691", Modify Window "1ns" 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 |-170670h42m43.611734582s| > 1ns (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2020-07-24 10:47:50.111734581 +0000 UTC) (precision 1ns) 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 |-170670h42m43.611734582s| > 1ns (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2020-07-24 10:47:50.111734581 +0000 UTC) (precision 1ns) FAIL 2020/07/24 10:47:52 DEBUG : GCS bucket rclone-test-tajawek7fugixok3xivurid3: Purge dir "" "./vfs.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^TestFileRename$/^minimal,forceCache=true$'" - Finished ERROR in 4.546434308s (try 3/5): exit status 1: Failed [TestFileRename/minimal,forceCache=true]