"./vfs.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^(TestFileRename|TestRWFileModTimeWithOpenWriters)$/^(minimal,forceCache=true|writes,forceCache=true)$'" - Starting (try 2/5) === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=true run.go:176: Remote "GCS bucket rclone-test-bilevos2milogis8jinujat4", Local "Local file system at /tmp/rclone292445046", Modify Window "1ns" 2020/08/16 05:10:30 INFO : GCS bucket rclone-test-bilevos2milogis8jinujat4: poll-interval is not supported by this remote 2020/08/16 05:10:30 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestGoogleCloudStorage/rclone-test-bilevos2milogis8jinujat4" 2020/08/16 05:10:30 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestGoogleCloudStorage/rclone-test-bilevos2milogis8jinujat4" 2020/08/16 05:10:30 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:10:31 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2020/08/16 05:10:31 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 05:10:31 DEBUG : dir/file1(0xc0006ec200): openPending: 2020/08/16 05:10:31 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 05:10:31 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 05:10:31 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:10:31 DEBUG : dir/file1(0xc0006ec200): >openPending: err= 2020/08/16 05:10:31 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/08/16 05:10:31 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 05:10:31 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:10:31 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 05:10:31 DEBUG : dir/file1(0xc0006ec200): _writeAt: size=14, off=0 2020/08/16 05:10:31 DEBUG : dir/file1(0xc0006ec200): >_writeAt: n=14, err= 2020/08/16 05:10:31 DEBUG : dir/file1(0xc0006ec200): close: 2020/08/16 05:10:31 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 05:10:31 DEBUG : dir/file1: vfs cache: setting modification time to 2020-08-16 05:10:31.613137724 +0000 UTC m=+1.058769960 2020/08/16 05:10:31 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/08/16 05:10:31 DEBUG : dir/file1(0xc0006ec200): >close: err= 2020/08/16 05:10:31 DEBUG : dir/file1: Open: flags=O_RDONLY 2020/08/16 05:10:31 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 05:10:31 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 05:10:31 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 05:10:31 DEBUG : dir/file1(0xc0006ec300): _readAt: size=512, off=0 2020/08/16 05:10:31 DEBUG : dir/file1(0xc0006ec300): openPending: 2020/08/16 05:10:31 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 05:10:31 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 05:10:31 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:10:31 DEBUG : dir/file1(0xc0006ec300): >openPending: err= 2020/08/16 05:10:31 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 05:10:31 DEBUG : dir/file1(0xc0006ec300): >_readAt: n=14, err=EOF 2020/08/16 05:10:31 DEBUG : dir/file1(0xc0006ec300): close: 2020/08/16 05:10:31 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 05:10:31 DEBUG : dir/file1: vfs cache: setting modification time to 2020-08-16 05:10:31.613137724 +0000 UTC m=+1.058769960 2020/08/16 05:10:31 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/08/16 05:10:31 DEBUG : dir/file1(0xc0006ec300): >close: err= 2020/08/16 05:10:31 DEBUG : dir/file1: vfs cache: starting upload 2020/08/16 05:10:31 DEBUG : dir/file1: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/08/16 05:10:31 INFO : dir/file1: Copied (replaced existing) 2020/08/16 05:10:31 DEBUG : dir/file1: vfs cache: fingerprint now "14,2020-08-16 05:10:31.613137724 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/08/16 05:10:31 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2020/08/16 05:10:31 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/08/16 05:10:31 INFO : dir/file1: vfs cache: upload succeeded try #1 2020/08/16 05:10:32 DEBUG : dir/file1: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/08/16 05:10:32 INFO : dir/file1: Copied (server side copy) 2020/08/16 05:10:32 INFO : dir/file1: Deleted 2020/08/16 05:10:32 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/08/16 05:10:32 DEBUG : newLeaf: Updating file with newLeaf 0xc0001ac540 2020/08/16 05:10:32 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/08/16 05:10:32 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 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 |-171217h5m25.113137725s| > 1ns (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2020-08-16 05:10:31.613137724 +0000 UTC) (precision 1ns) 2020/08/16 05:10:32 DEBUG : newLeaf: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/08/16 05:10:32 INFO : newLeaf: Copied (server side copy) 2020/08/16 05:10:32 INFO : newLeaf: Deleted 2020/08/16 05:10:32 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2020/08/16 05:10:32 DEBUG : dir/file1: Updating file with dir/file1 0xc0001ac540 2020/08/16 05:10:32 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2020/08/16 05:10:32 DEBUG : dir: Added virtual directory entry vAdd: "file1" 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 |-171217h5m25.113137725s| > 1ns (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2020-08-16 05:10:31.613137724 +0000 UTC) (precision 1ns) 2020/08/16 05:10:32 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/08/16 05:10:32 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 05:10:32 DEBUG : dir/file1(0xc0006ecc00): openPending: 2020/08/16 05:10:32 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2020-08-16 05:10:31.613137724 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2020-08-16 05:10:31.613137724 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/08/16 05:10:32 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 05:10:32 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:10:32 DEBUG : dir/file1(0xc0006ecc00): >openPending: err= 2020/08/16 05:10:32 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/08/16 05:10:32 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 05:10:32 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 05:10:32 DEBUG : dir/file1(0xc0006ecc00): _writeAt: size=25, off=0 2020/08/16 05:10:32 DEBUG : dir/file1(0xc0006ecc00): >_writeAt: n=25, err= 2020/08/16 05:10:33 DEBUG : dir/file1: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/08/16 05:10:33 INFO : dir/file1: Copied (server side copy) 2020/08/16 05:10:33 INFO : dir/file1: Deleted 2020/08/16 05:10:33 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/08/16 05:10:33 DEBUG : newLeaf: Updating file with newLeaf 0xc0001ac540 2020/08/16 05:10:33 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/08/16 05:10:33 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/08/16 05:10:33 DEBUG : newLeaf(0xc0006ecc00): close: 2020/08/16 05:10:33 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2020/08/16 05:10:33 DEBUG : newLeaf: vfs cache: setting modification time to 2020-08-16 05:10:32.911668195 +0000 UTC m=+2.357300431 2020/08/16 05:10:33 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2020/08/16 05:10:33 DEBUG : newLeaf(0xc0006ecc00): >close: err= 2020/08/16 05:10:33 DEBUG : WaitForWriters: timeout=10s 2020/08/16 05:10:33 DEBUG : dir: Looking for writers 2020/08/16 05:10:33 DEBUG : : Looking for writers 2020/08/16 05:10:33 DEBUG : dir: reading active writers 2020/08/16 05:10:33 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2020/08/16 05:10:33 DEBUG : dir: Looking for writers 2020/08/16 05:10:33 DEBUG : : Looking for writers 2020/08/16 05:10:33 DEBUG : dir: reading active writers 2020/08/16 05:10:33 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2020/08/16 05:10:33 DEBUG : dir: Looking for writers 2020/08/16 05:10:33 DEBUG : : Looking for writers 2020/08/16 05:10:33 DEBUG : dir: reading active writers 2020/08/16 05:10:33 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2020/08/16 05:10:33 DEBUG : dir: Looking for writers 2020/08/16 05:10:33 DEBUG : : Looking for writers 2020/08/16 05:10:33 DEBUG : dir: reading active writers 2020/08/16 05:10:33 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2020/08/16 05:10:33 DEBUG : newLeaf: vfs cache: starting upload 2020/08/16 05:10:33 DEBUG : dir: Looking for writers 2020/08/16 05:10:33 DEBUG : : Looking for writers 2020/08/16 05:10:33 DEBUG : dir: reading active writers 2020/08/16 05:10:33 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2020/08/16 05:10:33 DEBUG : newLeaf: MD5 = c7247bead226dfd7bd970c17229f4044 OK 2020/08/16 05:10:33 INFO : newLeaf: Copied (replaced existing) 2020/08/16 05:10:33 DEBUG : newLeaf: vfs cache: fingerprint now "25,2020-08-16 05:10:32.911668195 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2020/08/16 05:10:33 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/08/16 05:10:33 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/08/16 05:10:33 INFO : newLeaf: vfs cache: upload succeeded try #1 2020/08/16 05:10:33 DEBUG : dir: Looking for writers 2020/08/16 05:10:33 DEBUG : : Looking for writers 2020/08/16 05:10:33 DEBUG : dir: reading active writers 2020/08/16 05:10:33 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:33 DEBUG : >WaitForWriters: 2020/08/16 05:10:33 DEBUG : WaitForWriters: timeout=10s 2020/08/16 05:10:33 DEBUG : dir: Looking for writers 2020/08/16 05:10:33 DEBUG : : Looking for writers 2020/08/16 05:10:33 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:33 DEBUG : dir: reading active writers 2020/08/16 05:10:33 DEBUG : >WaitForWriters: 2020/08/16 05:10:33 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:176: Remote "GCS bucket rclone-test-bilevos2milogis8jinujat4", Local "Local file system at /tmp/rclone292445046", Modify Window "1ns" 2020/08/16 05:10:34 INFO : GCS bucket rclone-test-bilevos2milogis8jinujat4: poll-interval is not supported by this remote 2020/08/16 05:10:34 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestGoogleCloudStorage/rclone-test-bilevos2milogis8jinujat4" 2020/08/16 05:10:34 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestGoogleCloudStorage/rclone-test-bilevos2milogis8jinujat4" 2020/08/16 05:10:34 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:10:34 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2020/08/16 05:10:34 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 05:10:34 DEBUG : dir/file1(0xc000090d00): openPending: 2020/08/16 05:10:34 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 05:10:34 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 05:10:34 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:10:34 DEBUG : dir/file1(0xc000090d00): >openPending: err= 2020/08/16 05:10:34 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/08/16 05:10:34 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 05:10:34 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:10:34 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 05:10:34 DEBUG : dir/file1(0xc000090d00): _writeAt: size=14, off=0 2020/08/16 05:10:34 DEBUG : dir/file1(0xc000090d00): >_writeAt: n=14, err= 2020/08/16 05:10:34 DEBUG : dir/file1(0xc000090d00): close: 2020/08/16 05:10:34 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 05:10:34 DEBUG : dir/file1: vfs cache: setting modification time to 2020-08-16 05:10:34.511679099 +0000 UTC m=+3.957311337 2020/08/16 05:10:34 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/08/16 05:10:34 DEBUG : dir/file1(0xc000090d00): >close: err= 2020/08/16 05:10:34 DEBUG : dir/file1: Open: flags=O_RDONLY 2020/08/16 05:10:34 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 05:10:34 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 05:10:34 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 05:10:34 DEBUG : dir/file1(0xc000090d80): _readAt: size=512, off=0 2020/08/16 05:10:34 DEBUG : dir/file1(0xc000090d80): openPending: 2020/08/16 05:10:34 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 05:10:34 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 05:10:34 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:10:34 DEBUG : dir/file1(0xc000090d80): >openPending: err= 2020/08/16 05:10:34 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 05:10:34 DEBUG : dir/file1(0xc000090d80): >_readAt: n=14, err=EOF 2020/08/16 05:10:34 DEBUG : dir/file1(0xc000090d80): close: 2020/08/16 05:10:34 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2020/08/16 05:10:34 DEBUG : dir/file1: vfs cache: setting modification time to 2020-08-16 05:10:34.511679099 +0000 UTC m=+3.957311337 2020/08/16 05:10:34 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2020/08/16 05:10:34 DEBUG : dir/file1(0xc000090d80): >close: err= 2020/08/16 05:10:34 DEBUG : dir/file1: vfs cache: starting upload 2020/08/16 05:10:34 DEBUG : dir/file1: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/08/16 05:10:34 INFO : dir/file1: Copied (replaced existing) 2020/08/16 05:10:34 DEBUG : dir/file1: vfs cache: fingerprint now "14,2020-08-16 05:10:34.511679099 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/08/16 05:10:34 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2020/08/16 05:10:34 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/08/16 05:10:34 INFO : dir/file1: vfs cache: upload succeeded try #1 2020/08/16 05:10:34 DEBUG : dir/file1: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/08/16 05:10:34 INFO : dir/file1: Copied (server side copy) 2020/08/16 05:10:34 INFO : dir/file1: Deleted 2020/08/16 05:10:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/08/16 05:10:34 DEBUG : newLeaf: Updating file with newLeaf 0xc00027a240 2020/08/16 05:10:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/08/16 05:10:34 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 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 |-171217h5m28.0116791s| > 1ns (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2020-08-16 05:10:34.511679099 +0000 UTC) (precision 1ns) 2020/08/16 05:10:35 DEBUG : newLeaf: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/08/16 05:10:35 INFO : newLeaf: Copied (server side copy) 2020/08/16 05:10:35 INFO : newLeaf: Deleted 2020/08/16 05:10:35 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2020/08/16 05:10:35 DEBUG : dir/file1: Updating file with dir/file1 0xc00027a240 2020/08/16 05:10:35 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2020/08/16 05:10:35 DEBUG : dir: Added virtual directory entry vAdd: "file1" 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 |-171217h5m28.0116791s| > 1ns (want 2001-02-03 04:05:06.499999999 +0000 UTC vs got 2020-08-16 05:10:34.511679099 +0000 UTC) (precision 1ns) 2020/08/16 05:10:35 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/08/16 05:10:35 DEBUG : dir/file1: newRWFileHandle: 2020/08/16 05:10:35 DEBUG : dir/file1(0xc0006ecb40): openPending: 2020/08/16 05:10:35 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2020-08-16 05:10:34.511679099 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" against cached fingerprint "14,2020-08-16 05:10:34.511679099 +0000 UTC,0ef726ce9b1a7692357ff70dd321d595" 2020/08/16 05:10:35 DEBUG : dir/file1: vfs cache: truncate to size=14 2020/08/16 05:10:35 DEBUG : dir: Added virtual directory entry vAdd: "file1" 2020/08/16 05:10:35 DEBUG : dir/file1(0xc0006ecb40): >openPending: err= 2020/08/16 05:10:35 DEBUG : dir/file1: vfs cache: truncate to size=0 2020/08/16 05:10:35 DEBUG : dir/file1: >newRWFileHandle: err= 2020/08/16 05:10:35 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/08/16 05:10:35 DEBUG : dir/file1(0xc0006ecb40): _writeAt: size=25, off=0 2020/08/16 05:10:35 DEBUG : dir/file1(0xc0006ecb40): >_writeAt: n=25, err= 2020/08/16 05:10:36 DEBUG : dir/file1: MD5 = 0ef726ce9b1a7692357ff70dd321d595 OK 2020/08/16 05:10:36 INFO : dir/file1: Copied (server side copy) 2020/08/16 05:10:36 INFO : dir/file1: Deleted 2020/08/16 05:10:36 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2020/08/16 05:10:36 DEBUG : newLeaf: Updating file with newLeaf 0xc00027a240 2020/08/16 05:10:36 DEBUG : dir: Added virtual directory entry vDel: "file1" 2020/08/16 05:10:36 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/08/16 05:10:36 DEBUG : newLeaf(0xc0006ecb40): close: 2020/08/16 05:10:36 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2020/08/16 05:10:36 DEBUG : newLeaf: vfs cache: setting modification time to 2020-08-16 05:10:35.612405529 +0000 UTC m=+5.058037774 2020/08/16 05:10:36 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2020/08/16 05:10:36 DEBUG : newLeaf(0xc0006ecb40): >close: err= 2020/08/16 05:10:36 DEBUG : WaitForWriters: timeout=10s 2020/08/16 05:10:36 DEBUG : dir: Looking for writers 2020/08/16 05:10:36 DEBUG : : Looking for writers 2020/08/16 05:10:36 DEBUG : dir: reading active writers 2020/08/16 05:10:36 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2020/08/16 05:10:36 DEBUG : dir: Looking for writers 2020/08/16 05:10:36 DEBUG : : Looking for writers 2020/08/16 05:10:36 DEBUG : dir: reading active writers 2020/08/16 05:10:36 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2020/08/16 05:10:36 DEBUG : dir: Looking for writers 2020/08/16 05:10:36 DEBUG : : Looking for writers 2020/08/16 05:10:36 DEBUG : dir: reading active writers 2020/08/16 05:10:36 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2020/08/16 05:10:36 DEBUG : dir: Looking for writers 2020/08/16 05:10:36 DEBUG : : Looking for writers 2020/08/16 05:10:36 DEBUG : dir: reading active writers 2020/08/16 05:10:36 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2020/08/16 05:10:36 DEBUG : newLeaf: vfs cache: starting upload 2020/08/16 05:10:36 DEBUG : dir: Looking for writers 2020/08/16 05:10:36 DEBUG : : Looking for writers 2020/08/16 05:10:36 DEBUG : dir: reading active writers 2020/08/16 05:10:36 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2020/08/16 05:10:36 DEBUG : newLeaf: MD5 = c7247bead226dfd7bd970c17229f4044 OK 2020/08/16 05:10:36 INFO : newLeaf: Copied (replaced existing) 2020/08/16 05:10:36 DEBUG : newLeaf: vfs cache: fingerprint now "25,2020-08-16 05:10:35.612405529 +0000 UTC,c7247bead226dfd7bd970c17229f4044" 2020/08/16 05:10:36 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2020/08/16 05:10:36 DEBUG : : Added virtual directory entry vAdd: "newLeaf" 2020/08/16 05:10:36 INFO : newLeaf: vfs cache: upload succeeded try #1 2020/08/16 05:10:36 DEBUG : dir: Looking for writers 2020/08/16 05:10:36 DEBUG : : Looking for writers 2020/08/16 05:10:36 DEBUG : dir: reading active writers 2020/08/16 05:10:36 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:36 DEBUG : >WaitForWriters: 2020/08/16 05:10:36 DEBUG : WaitForWriters: timeout=10s 2020/08/16 05:10:36 DEBUG : dir: Looking for writers 2020/08/16 05:10:36 DEBUG : : Looking for writers 2020/08/16 05:10:36 DEBUG : dir: reading active writers 2020/08/16 05:10:36 DEBUG : newLeaf: reading active writers 2020/08/16 05:10:36 DEBUG : >WaitForWriters: 2020/08/16 05:10:36 DEBUG : vfs cache: cleaner exiting --- FAIL: TestFileRename (6.06s) --- FAIL: TestFileRename/minimal,forceCache=true (3.54s) --- FAIL: TestFileRename/writes,forceCache=true (2.53s) === RUN TestRWFileModTimeWithOpenWriters run.go:176: Remote "GCS bucket rclone-test-bilevos2milogis8jinujat4", Local "Local file system at /tmp/rclone292445046", Modify Window "1ns" 2020/08/16 05:10:36 INFO : GCS bucket rclone-test-bilevos2milogis8jinujat4: poll-interval is not supported by this remote 2020/08/16 05:10:36 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone/vfs/TestGoogleCloudStorage/rclone-test-bilevos2milogis8jinujat4" 2020/08/16 05:10:36 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfs/TestGoogleCloudStorage/rclone-test-bilevos2milogis8jinujat4" 2020/08/16 05:10:36 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2020/08/16 05:10:36 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:10:36 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2020/08/16 05:10:36 DEBUG : file1: newRWFileHandle: 2020/08/16 05:10:36 DEBUG : file1(0xc00016a280): openPending: 2020/08/16 05:10:36 DEBUG : file1: vfs cache: truncate to size=0 2020/08/16 05:10:36 DEBUG : : Added virtual directory entry vAdd: "file1" 2020/08/16 05:10:36 DEBUG : file1(0xc00016a280): >openPending: err= 2020/08/16 05:10:36 DEBUG : file1: >newRWFileHandle: err= 2020/08/16 05:10:36 DEBUG : : Added virtual directory entry vAdd: "file1" 2020/08/16 05:10:36 DEBUG : file1: >Open: fd=file1 (rw), err= 2020/08/16 05:10:36 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2020/08/16 05:10:36 DEBUG : Can set mod time: true 2020/08/16 05:10:36 DEBUG : file1(0xc00016a280): _writeAt: size=2, off=0 2020/08/16 05:10:36 DEBUG : file1(0xc00016a280): >_writeAt: n=2, err= 2020/08/16 05:10:36 DEBUG : file1(0xc00016a280): RWFileHandle.Flush 2020/08/16 05:10:36 DEBUG : file1(0xc00016a280): RWFileHandle.Release 2020/08/16 05:10:36 DEBUG : file1(0xc00016a280): close: 2020/08/16 05:10:36 DEBUG : file1: vfs cache: setting modification time to 2020-08-16 05:10:36.839753714 +0000 UTC m=+6.285385938 2020/08/16 05:10:36 INFO : file1: vfs cache: queuing for upload in 100ms 2020/08/16 05:10:36 DEBUG : file1(0xc00016a280): >close: err= 2020/08/16 05:10:36 DEBUG : WaitForWriters: timeout=10s 2020/08/16 05:10:36 DEBUG : : Looking for writers 2020/08/16 05:10:36 DEBUG : file1: reading active writers 2020/08/16 05:10:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2020/08/16 05:10:36 DEBUG : : Looking for writers 2020/08/16 05:10:36 DEBUG : file1: reading active writers 2020/08/16 05:10:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2020/08/16 05:10:36 DEBUG : : Looking for writers 2020/08/16 05:10:36 DEBUG : file1: reading active writers 2020/08/16 05:10:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2020/08/16 05:10:36 DEBUG : : Looking for writers 2020/08/16 05:10:36 DEBUG : file1: reading active writers 2020/08/16 05:10:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2020/08/16 05:10:36 DEBUG : file1: vfs cache: starting upload 2020/08/16 05:10:36 DEBUG : : Looking for writers 2020/08/16 05:10:36 DEBUG : file1: reading active writers 2020/08/16 05:10:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2020/08/16 05:10:37 DEBUG : file1: MD5 = 49f68a5c8493ec2c0bf489821c21fc3b OK 2020/08/16 05:10:37 INFO : file1: Copied (new) 2020/08/16 05:10:37 DEBUG : file1: vfs cache: fingerprint now "2,2020-08-16 05:10:36.839753714 +0000 UTC,49f68a5c8493ec2c0bf489821c21fc3b" 2020/08/16 05:10:37 DEBUG : file1: vfs cache: writeback object to VFS layer 2020/08/16 05:10:37 DEBUG : file1: File._applyPendingModTime OK 2020/08/16 05:10:37 DEBUG : file1: vfs cache: fingerprint now "2,2012-11-18 17:32:31 +0000 UTC,49f68a5c8493ec2c0bf489821c21fc3b" 2020/08/16 05:10:37 DEBUG : file1: vfs cache: setting modification time to 2012-11-18 17:32:31 +0000 UTC 2020/08/16 05:10:37 DEBUG : : Added virtual directory entry vAdd: "file1" 2020/08/16 05:10:37 INFO : file1: vfs cache: upload succeeded try #1 2020/08/16 05:10:37 DEBUG : : Looking for writers 2020/08/16 05:10:37 DEBUG : file1: reading active writers 2020/08/16 05:10:37 DEBUG : >WaitForWriters: 2020/08/16 05:10:37 DEBUG : WaitForWriters: timeout=10s 2020/08/16 05:10:37 DEBUG : : Looking for writers 2020/08/16 05:10:37 DEBUG : file1: reading active writers 2020/08/16 05:10:37 DEBUG : >WaitForWriters: 2020/08/16 05:10:37 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileModTimeWithOpenWriters (0.87s) FAIL 2020/08/16 05:10:37 DEBUG : GCS bucket rclone-test-bilevos2milogis8jinujat4: Purge dir "" "./vfs.test -test.v -test.timeout 1h0m0s -remote TestGoogleCloudStorage: -verbose -test.run '^(TestFileRename|TestRWFileModTimeWithOpenWriters)$/^(minimal,forceCache=true|writes,forceCache=true)$'" - Finished ERROR in 7.881756311s (try 2/5): exit status 1: Failed [TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=true]