"./vfs.test -test.v -test.timeout 30m0s -remote TestMega: -verbose -test.run '^(TestDirRemove|TestFileRename)$/^(CacheModeFull|CacheModeOff)$'" - Starting (try 2/5) === RUN TestDirRemove 2020/01/19 05:23:30 INFO : mega root 'rclone-test-wexutuw1bulowim2buvolas3': poll-interval is not supported by this remote 2020/01/19 05:23:30 DEBUG : Adding path "vfs/forget" to remote control registry 2020/01/19 05:23:30 DEBUG : Adding path "vfs/refresh" to remote control registry 2020/01/19 05:23:30 DEBUG : Adding path "vfs/poll-interval" to remote control registry 2020/01/19 05:23:30 ERROR : dir/: Dir.Remove not empty --- PASS: TestDirRemove (0.60s) run.go:176: Remote "mega root 'rclone-test-wexutuw1bulowim2buvolas3'", Local "Local file system at /tmp/rclone193258937", Modify Window "876000h0m0s" === RUN TestFileRename === RUN TestFileRename/CacheModeOff 2020/01/19 05:23:30 INFO : mega root 'rclone-test-wexutuw1bulowim2buvolas3': poll-interval is not supported by this remote 2020/01/19 05:23:30 DEBUG : Adding path "vfs/forget" to remote control registry 2020/01/19 05:23:30 DEBUG : Adding path "vfs/refresh" to remote control registry 2020/01/19 05:23:30 DEBUG : Adding path "vfs/poll-interval" to remote control registry 2020/01/19 05:23:33 INFO : dir/file1: Moved (server side) 2020/01/19 05:23:33 DEBUG : dir/file1: Updating file with newLeaf 0xc000310600 2020/01/19 05:24:36 INFO : newLeaf: Moved (server side) 2020/01/19 05:24:36 DEBUG : newLeaf: Updating file with dir/file1 0xc000310600 2020/01/19 05:25:39 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/01/19 05:25:39 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2020/01/19 05:25:39 DEBUG : dir/file1: File is currently open, delaying rename 0xc000310600 2020/01/19 05:25:39 DEBUG : mega root 'rclone-test-wexutuw1bulowim2buvolas3': File to upload is small (25 bytes), uploading instead of streaming 2020/01/19 05:25:40 INFO : dir/file1: Copied (new) 2020/01/19 05:25:40 DEBUG : dir/file1: Running delayed rename now 2020/01/19 05:25:40 INFO : newLeaf: Deleted 2020/01/19 05:25:41 INFO : dir/file1: Moved (server side) 2020/01/19 05:25:41 DEBUG : dir/file1: Updating file with newLeaf 0xc000310600 === RUN TestFileRename/CacheModeFull 2020/01/19 05:25:41 INFO : mega root 'rclone-test-wexutuw1bulowim2buvolas3': poll-interval is not supported by this remote 2020/01/19 05:25:41 DEBUG : vfs cache root is "/home/rclone/.cache/rclone/vfs/TestMega/rclone-test-wexutuw1bulowim2buvolas3" 2020/01/19 05:25:41 DEBUG : Adding path "vfs/forget" to remote control registry 2020/01/19 05:25:41 DEBUG : Adding path "vfs/refresh" to remote control registry 2020/01/19 05:25:41 DEBUG : Adding path "vfs/poll-interval" to remote control registry 2020/01/19 05:25:42 DEBUG : dir/file1: Open: flags=O_RDONLY 2020/01/19 05:25:42 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/01/19 05:25:42 DEBUG : dir/file1: Need to transfer - File not found at Destination 2020/01/19 05:25:43 INFO : dir/file1: Copied (new) 2020/01/19 05:25:43 DEBUG : dir/file1(0xc000132dc0): Opening cached copy with flags=O_RDONLY 2020/01/19 05:25:43 DEBUG : dir/file1(0xc000132dc0): close: 2020/01/19 05:25:43 DEBUG : dir/file1(0xc000132dc0): >close: err= 2020/01/19 05:25:43 INFO : dir/file1: Renamed in cache 2020/01/19 05:25:43 INFO : dir/file1: Moved (server side) 2020/01/19 05:25:43 DEBUG : dir/file1: Updating file with newLeaf 0xc000b20300 2020/01/19 05:25:43 INFO : newLeaf: Renamed in cache 2020/01/19 05:25:43 INFO : newLeaf: Moved (server side) 2020/01/19 05:25:43 DEBUG : newLeaf: Updating file with dir/file1 0xc000b20300 2020/01/19 05:26:41 INFO : Cleaned the cache: objects 3 (was 3), total size 14 (was 0) 2020/01/19 05:26:46 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2020/01/19 05:26:46 DEBUG : dir/file1(0xc0006e4c00): Opening cached copy with flags=O_WRONLY|O_TRUNC 2020/01/19 05:26:46 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2020/01/19 05:26:46 INFO : dir/file1: Renamed in cache 2020/01/19 05:26:46 DEBUG : dir/file1: File is currently open, delaying rename 0xc000b20300 2020/01/19 05:26:46 DEBUG : newLeaf(0xc0006e4c00): close: 2020/01/19 05:26:46 DEBUG : newLeaf: Sizes differ (src 25 vs dst 14) 2020/01/19 05:26:46 INFO : newLeaf: Copied (replaced existing) 2020/01/19 05:26:46 DEBUG : dir/file1: transferred to remote 2020/01/19 05:26:46 DEBUG : dir/file1: Running delayed rename now 2020/01/19 05:26:47 INFO : dir/file1: Moved (server side) 2020/01/19 05:26:47 DEBUG : dir/file1: Updating file with newLeaf 0xc000b20300 2020/01/19 05:26:47 DEBUG : newLeaf(0xc0006e4c00): >close: err= --- FAIL: TestFileRename (196.44s) --- FAIL: TestFileRename/CacheModeOff (130.62s) run.go:176: Remote "mega root 'rclone-test-wexutuw1bulowim2buvolas3'", Local "Local file system at /tmp/rclone193258937", Modify Window "876000h0m0s" fstest.go:289: Sleeping for 1s for list eventual consistency: 1/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 2s for list eventual consistency: 2/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 4s for list eventual consistency: 3/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 8s for list eventual consistency: 4/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 16s for list eventual consistency: 5/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 32s for list eventual consistency: 6/6 fstest.go:292: Flushing the directory cache fstest.go:296: Error Trace: fstest.go:296 fstest.go:329 fstest.go:341 file_test.go:274 file_test.go:329 Error: Should be true Test: TestFileRename/CacheModeOff Messages: listing wrong, want newLeaf (14) got file1 (14), newLeaf (14) fstest.go:182: Error Trace: fstest.go:182 fstest.go:299 fstest.go:329 fstest.go:341 file_test.go:274 file_test.go:329 Error: Should be true Test: TestFileRename/CacheModeOff Messages: Unexpected file "file1" fstest.go:289: Sleeping for 1s for list eventual consistency: 1/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 2s for list eventual consistency: 2/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 4s for list eventual consistency: 3/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 8s for list eventual consistency: 4/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 16s for list eventual consistency: 5/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 32s for list eventual consistency: 6/6 fstest.go:292: Flushing the directory cache fstest.go:296: Error Trace: fstest.go:296 fstest.go:329 fstest.go:341 file_test.go:290 file_test.go:329 Error: Should be true Test: TestFileRename/CacheModeOff Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14), newLeaf (14) fstest.go:182: Error Trace: fstest.go:182 fstest.go:299 fstest.go:329 fstest.go:341 file_test.go:290 file_test.go:329 Error: Should be true Test: TestFileRename/CacheModeOff Messages: Unexpected file "newLeaf" fstest.go:182: Error Trace: fstest.go:182 fstest.go:299 fstest.go:329 fstest.go:341 file_test.go:290 file_test.go:329 Error: Should be true Test: TestFileRename/CacheModeOff Messages: Unexpected file "dir/file1" --- FAIL: TestFileRename/CacheModeFull (65.82s) run.go:176: Remote "mega root 'rclone-test-wexutuw1bulowim2buvolas3'", Local "Local file system at /tmp/rclone193258937", Modify Window "876000h0m0s" fstest.go:289: Sleeping for 1s for list eventual consistency: 1/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 2s for list eventual consistency: 2/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 4s for list eventual consistency: 3/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 8s for list eventual consistency: 4/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 16s for list eventual consistency: 5/6 fstest.go:292: Flushing the directory cache fstest.go:289: Sleeping for 32s for list eventual consistency: 6/6 fstest.go:292: Flushing the directory cache fstest.go:296: Error Trace: fstest.go:296 fstest.go:329 fstest.go:341 file_test.go:290 file_test.go:332 Error: Should be true Test: TestFileRename/CacheModeFull Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), dir/file1 (14) fstest.go:182: Error Trace: fstest.go:182 fstest.go:299 fstest.go:329 fstest.go:341 file_test.go:290 file_test.go:332 Error: Should be true Test: TestFileRename/CacheModeFull Messages: Unexpected file "dir/file1" FAIL 2020/01/19 05:26:47 DEBUG : mega root 'rclone-test-wexutuw1bulowim2buvolas3': Purge remote "./vfs.test -test.v -test.timeout 30m0s -remote TestMega: -verbose -test.run '^(TestDirRemove|TestFileRename)$/^(CacheModeFull|CacheModeOff)$'" - Finished ERROR in 3m22.409469969s (try 2/5): exit status 1: Failed [TestFileRename/CacheModeOff TestFileRename/CacheModeFull]