"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^(TestDirRename|TestFileRename|TestVFSRename)$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 5/5) 2022/04/20 05:26:59 DEBUG : Creating backend with remote "TestOneDriveBusiness:rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:26:59 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2022/04/20 05:26:59 DEBUG : Creating backend with remote "/tmp/rclone497214246" === RUN TestDirRename run.go:181: Remote "One drive root 'rclone-test-kifujaz3zixepav0vesitiv0'", Local "Local file system at /tmp/rclone497214246", Modify Window "1s" 2022/04/20 05:26:59 INFO : One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': poll-interval is not supported by this remote 2022/04/20 05:26:59 NOTICE: One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/20 05:27:01 DEBUG : dir/file1: Starting multipart upload 2022/04/20 05:27:01 DEBUG : dir/file1: Uploading segment 0/14 size 14 2022/04/20 05:27:03 DEBUG : dir/file3: Starting multipart upload 2022/04/20 05:27:04 DEBUG : dir/file3: Uploading segment 0/15 size 15 2022/04/20 05:27:06 ERROR : dir/not found: Dir.Rename error: file does not exist 2022/04/20 05:27:07 DEBUG : dir: Updating dir with dir2 0xc0003d4900 2022/04/20 05:27:07 DEBUG : dir: forgetting directory cache 2022/04/20 05:27:07 DEBUG : : Added virtual directory entry vDel: "dir" 2022/04/20 05:27:07 DEBUG : : Added virtual directory entry vAddDir: "dir2" 2022/04/20 05:27:10 INFO : dir2/file1: Moved (server-side) to: file2 2022/04/20 05:27:10 DEBUG : file2: Updating file with file2 0xc00026e9c0 2022/04/20 05:27:10 DEBUG : dir2: Added virtual directory entry vDel: "file1" 2022/04/20 05:27:10 DEBUG : : Added virtual directory entry vAddFile: "file2" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 dir_test.go:562 Error: Should be true Test: TestDirRename Messages: listing wrong, want dir2/file3 (15), file2 (14) got dir2/file2 (14), dir2/file3 (15) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 dir_test.go:562 Error: Should be true Test: TestDirRename Messages: Unexpected file "dir2/file2" fstest.go:204: Not found "file2" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 dir_test.go:562 Error: Not equal: expected: 0 actual : 1 Test: TestDirRename Messages: 1 objects not found 2022/04/20 05:27:21 INFO : dir2/file3: Deleted 2022/04/20 05:27:21 INFO : file2: Moved (server-side) to: dir2/file3 2022/04/20 05:27:21 DEBUG : dir2/file3: Updating file with dir2/file3 0xc00026e9c0 2022/04/20 05:27:21 DEBUG : : Added virtual directory entry vDel: "file2" 2022/04/20 05:27:21 DEBUG : dir2: Added virtual directory entry vAddFile: "file3" 2022/04/20 05:27:23 DEBUG : : Added virtual directory entry vAddDir: "empty directory" 2022/04/20 05:27:24 DEBUG : empty directory: Updating dir with renamed empty directory 0xc0003d4d80 2022/04/20 05:27:24 DEBUG : empty directory: forgetting directory cache 2022/04/20 05:27:24 DEBUG : : Added virtual directory entry vDel: "empty directory" 2022/04/20 05:27:24 DEBUG : : Added virtual directory entry vAddDir: "renamed empty directory" 2022/04/20 05:27:24 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:27:24 DEBUG : dir2: Looking for writers 2022/04/20 05:27:24 DEBUG : file3: reading active writers 2022/04/20 05:27:24 DEBUG : renamed empty directory: Looking for writers 2022/04/20 05:27:24 DEBUG : : Looking for writers 2022/04/20 05:27:24 DEBUG : renamed empty directory: reading active writers 2022/04/20 05:27:24 DEBUG : dir2: reading active writers 2022/04/20 05:27:24 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (29.31s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:181: Remote "One drive root 'rclone-test-kifujaz3zixepav0vesitiv0'", Local "Local file system at /tmp/rclone497214246", Modify Window "1s" 2022/04/20 05:27:29 INFO : One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': poll-interval is not supported by this remote 2022/04/20 05:27:29 NOTICE: One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/20 05:27:30 DEBUG : dir/file1: Starting multipart upload 2022/04/20 05:27:31 DEBUG : dir/file1: Uploading segment 0/14 size 14 2022/04/20 05:27:35 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:27:35 DEBUG : dir: Looking for writers 2022/04/20 05:27:35 DEBUG : file1: reading active writers 2022/04/20 05:27:35 DEBUG : : Looking for writers 2022/04/20 05:27:35 DEBUG : dir: reading active writers 2022/04/20 05:27:35 DEBUG : >WaitForWriters: 2022/04/20 05:27:38 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/20 05:27:38 DEBUG : newLeaf: Updating file with newLeaf 0xc0005e0780 2022/04/20 05:27:38 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:27:38 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (14) got dir/newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/newLeaf" fstest.go:204: Not found "newLeaf" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Not equal: expected: 0 actual : 1 Test: TestFileRename/off,forceCache=false Messages: 1 objects not found 2022/04/20 05:27:52 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/04/20 05:27:52 DEBUG : dir/file1: Updating file with dir/file1 0xc0005e0780 2022/04/20 05:27:52 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/04/20 05:27:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:27:53 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/04/20 05:27:53 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2022/04/20 05:27:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:27:53 DEBUG : dir/file1: File is currently open, delaying rename 0xc0005e0780 2022/04/20 05:27:53 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:27:53 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/20 05:27:53 DEBUG : One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': File to upload is small (25 bytes), uploading instead of streaming 2022/04/20 05:27:53 DEBUG : dir/file1: Starting multipart upload 2022/04/20 05:27:54 DEBUG : dir/file1: Uploading segment 0/25 size 25 2022/04/20 05:27:54 DEBUG : dir/file1: quickxor = 954e6302251b5e744b33bcf26f301bca00023794 OK 2022/04/20 05:27:54 INFO : dir/file1: Copied (new) 2022/04/20 05:27:54 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/20 05:27:54 DEBUG : newLeaf: Running delayed rename now 2022/04/20 05:27:56 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/20 05:27:56 DEBUG : newLeaf: Updating file with newLeaf 0xc0005e0780 2022/04/20 05:27:56 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:27:56 DEBUG : dir: Looking for writers 2022/04/20 05:27:56 DEBUG : : Looking for writers 2022/04/20 05:27:56 DEBUG : newLeaf: reading active writers 2022/04/20 05:27:56 DEBUG : dir: reading active writers 2022/04/20 05:27:56 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (25) got dir/newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/newLeaf" fstest.go:204: Not found "newLeaf" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 file_test.go:401 file_test.go:418 Error: Not equal: expected: 0 actual : 1 Test: TestFileRename/off,forceCache=false Messages: 1 objects not found 2022/04/20 05:28:06 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:28:06 DEBUG : dir: Looking for writers 2022/04/20 05:28:06 DEBUG : : Looking for writers 2022/04/20 05:28:06 DEBUG : dir: reading active writers 2022/04/20 05:28:06 DEBUG : newLeaf: reading active writers 2022/04/20 05:28:06 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:181: Remote "One drive root 'rclone-test-kifujaz3zixepav0vesitiv0'", Local "Local file system at /tmp/rclone497214246", Modify Window "1s" 2022/04/20 05:28:08 INFO : One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': poll-interval is not supported by this remote 2022/04/20 05:28:08 NOTICE: One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/20 05:28:08 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/20 05:28:08 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:28:08 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:28:08 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:28:08 DEBUG : Config file has changed externaly - reloading 2022/04/20 05:28:08 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:28:08 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/04/20 05:28:10 DEBUG : dir/file1: Starting multipart upload 2022/04/20 05:28:10 DEBUG : dir/file1: Uploading segment 0/14 size 14 2022/04/20 05:28:13 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:28:13 DEBUG : dir: Looking for writers 2022/04/20 05:28:13 DEBUG : file1: reading active writers 2022/04/20 05:28:13 DEBUG : : Looking for writers 2022/04/20 05:28:13 DEBUG : dir: reading active writers 2022/04/20 05:28:13 DEBUG : >WaitForWriters: 2022/04/20 05:28:15 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/20 05:28:15 DEBUG : newLeaf: Updating file with newLeaf 0xc0003d5a40 2022/04/20 05:28:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:28:15 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (14) got dir/newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/newLeaf" fstest.go:204: Not found "newLeaf" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Not equal: expected: 0 actual : 1 Test: TestFileRename/minimal,forceCache=false Messages: 1 objects not found 2022/04/20 05:28:27 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/04/20 05:28:27 DEBUG : dir/file1: Updating file with dir/file1 0xc0003d5a40 2022/04/20 05:28:27 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/04/20 05:28:27 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:28:28 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/04/20 05:28:28 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2022/04/20 05:28:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:28:28 DEBUG : dir/file1: File is currently open, delaying rename 0xc0003d5a40 2022/04/20 05:28:28 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:28:28 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/20 05:28:28 DEBUG : One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': File to upload is small (25 bytes), uploading instead of streaming 2022/04/20 05:28:28 DEBUG : dir/file1: Starting multipart upload 2022/04/20 05:28:28 DEBUG : dir/file1: Uploading segment 0/25 size 25 2022/04/20 05:28:29 DEBUG : dir/file1: quickxor = 954e6302251b5e744b33bcf26f301bca00023794 OK 2022/04/20 05:28:29 INFO : dir/file1: Copied (new) 2022/04/20 05:28:29 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/20 05:28:29 DEBUG : newLeaf: Running delayed rename now 2022/04/20 05:28:31 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/20 05:28:31 DEBUG : newLeaf: Updating file with newLeaf 0xc0003d5a40 2022/04/20 05:28:31 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:28:31 DEBUG : dir: Looking for writers 2022/04/20 05:28:31 DEBUG : : Looking for writers 2022/04/20 05:28:31 DEBUG : dir: reading active writers 2022/04/20 05:28:31 DEBUG : newLeaf: reading active writers 2022/04/20 05:28:31 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: listing wrong, want newLeaf (25) got dir/newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=false Messages: Unexpected file "dir/newLeaf" fstest.go:204: Not found "newLeaf" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 file_test.go:401 file_test.go:418 Error: Not equal: expected: 0 actual : 1 Test: TestFileRename/minimal,forceCache=false Messages: 1 objects not found 2022/04/20 05:28:41 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:28:41 DEBUG : dir: Looking for writers 2022/04/20 05:28:41 DEBUG : : Looking for writers 2022/04/20 05:28:41 DEBUG : dir: reading active writers 2022/04/20 05:28:41 DEBUG : newLeaf: reading active writers 2022/04/20 05:28:41 DEBUG : >WaitForWriters: 2022/04/20 05:28:41 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:181: Remote "One drive root 'rclone-test-kifujaz3zixepav0vesitiv0'", Local "Local file system at /tmp/rclone497214246", Modify Window "1s" 2022/04/20 05:28:43 INFO : One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': poll-interval is not supported by this remote 2022/04/20 05:28:43 NOTICE: One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/20 05:28:43 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/20 05:28:43 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:28:43 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:28:43 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:28:43 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:28:43 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/04/20 05:28:44 DEBUG : dir/file1: Starting multipart upload 2022/04/20 05:28:45 DEBUG : dir/file1: Uploading segment 0/14 size 14 2022/04/20 05:28:47 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2022/04/20 05:28:47 DEBUG : dir/file1: newRWFileHandle: 2022/04/20 05:28:47 DEBUG : dir/file1(0xc00008b640): openPending: 2022/04/20 05:28:47 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" against cached fingerprint "" 2022/04/20 05:28:47 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/20 05:28:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:28:47 DEBUG : dir/file1(0xc00008b640): >openPending: err= 2022/04/20 05:28:47 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/04/20 05:28:47 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/20 05:28:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:28:47 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/20 05:28:47 DEBUG : dir/file1(0xc00008b640): _writeAt: size=14, off=0 2022/04/20 05:28:47 DEBUG : dir/file1(0xc00008b640): >_writeAt: n=14, err= 2022/04/20 05:28:47 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/04/20 05:28:47 DEBUG : dir/file1(0xc00008b640): close: 2022/04/20 05:28:47 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/04/20 05:28:47 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/04/20 05:28:47 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/04/20 05:28:47 DEBUG : dir/file1(0xc00008b640): >close: err= 2022/04/20 05:28:47 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:28:47 DEBUG : dir: Looking for writers 2022/04/20 05:28:47 DEBUG : file1: reading active writers 2022/04/20 05:28:47 DEBUG : : Looking for writers 2022/04/20 05:28:47 DEBUG : dir: reading active writers 2022/04/20 05:28:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/20 05:28:47 DEBUG : dir: Looking for writers 2022/04/20 05:28:47 DEBUG : file1: reading active writers 2022/04/20 05:28:47 DEBUG : : Looking for writers 2022/04/20 05:28:47 DEBUG : dir: reading active writers 2022/04/20 05:28:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/20 05:28:47 DEBUG : dir: Looking for writers 2022/04/20 05:28:47 DEBUG : file1: reading active writers 2022/04/20 05:28:47 DEBUG : : Looking for writers 2022/04/20 05:28:47 DEBUG : dir: reading active writers 2022/04/20 05:28:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/20 05:28:47 DEBUG : dir: Looking for writers 2022/04/20 05:28:47 DEBUG : file1: reading active writers 2022/04/20 05:28:47 DEBUG : : Looking for writers 2022/04/20 05:28:47 DEBUG : dir: reading active writers 2022/04/20 05:28:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/20 05:28:47 DEBUG : dir/file1: vfs cache: starting upload 2022/04/20 05:28:47 DEBUG : dir/file1: Starting multipart upload 2022/04/20 05:28:47 DEBUG : dir: Looking for writers 2022/04/20 05:28:47 DEBUG : file1: reading active writers 2022/04/20 05:28:47 DEBUG : : Looking for writers 2022/04/20 05:28:47 DEBUG : dir: reading active writers 2022/04/20 05:28:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/20 05:28:47 DEBUG : dir: Looking for writers 2022/04/20 05:28:47 DEBUG : file1: reading active writers 2022/04/20 05:28:47 DEBUG : : Looking for writers 2022/04/20 05:28:47 DEBUG : dir: reading active writers 2022/04/20 05:28:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/20 05:28:48 DEBUG : dir/file1: Uploading segment 0/14 size 14 2022/04/20 05:28:48 DEBUG : dir: Looking for writers 2022/04/20 05:28:48 DEBUG : file1: reading active writers 2022/04/20 05:28:48 DEBUG : : Looking for writers 2022/04/20 05:28:48 DEBUG : dir: reading active writers 2022/04/20 05:28:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/04/20 05:28:48 DEBUG : dir/file1: quickxor = 6648031bca1003108ce10d6eae4319dc40873900 OK 2022/04/20 05:28:48 INFO : dir/file1: Copied (replaced existing) 2022/04/20 05:28:48 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/04/20 05:28:48 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2022/04/20 05:28:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:28:48 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/04/20 05:28:48 DEBUG : dir: Looking for writers 2022/04/20 05:28:48 DEBUG : file1: reading active writers 2022/04/20 05:28:48 DEBUG : : Looking for writers 2022/04/20 05:28:48 DEBUG : dir: reading active writers 2022/04/20 05:28:48 DEBUG : >WaitForWriters: 2022/04/20 05:28:48 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/20 05:28:48 DEBUG : dir/file1: newRWFileHandle: 2022/04/20 05:28:48 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/20 05:28:48 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/20 05:28:48 DEBUG : dir/file1(0xc000336700): _readAt: size=512, off=0 2022/04/20 05:28:48 DEBUG : dir/file1(0xc000336700): openPending: 2022/04/20 05:28:48 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" 2022/04/20 05:28:48 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/20 05:28:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:28:48 DEBUG : dir/file1(0xc000336700): >openPending: err= 2022/04/20 05:28:48 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/04/20 05:28:48 DEBUG : dir/file1(0xc000336700): >_readAt: n=14, err=EOF 2022/04/20 05:28:48 DEBUG : dir/file1(0xc000336700): close: 2022/04/20 05:28:48 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2022/04/20 05:28:48 DEBUG : dir/file1(0xc000336700): >close: err= 2022/04/20 05:28:51 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/20 05:28:51 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/04/20 05:28:51 DEBUG : newLeaf: Updating file with newLeaf 0xc00026f500 2022/04/20 05:28:51 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:28:51 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want newLeaf (14) got dir/newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/newLeaf" fstest.go:204: Not found "newLeaf" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Not equal: expected: 0 actual : 1 Test: TestFileRename/minimal,forceCache=true Messages: 1 objects not found 2022/04/20 05:29:02 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/04/20 05:29:02 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/04/20 05:29:02 DEBUG : dir/file1: Updating file with dir/file1 0xc00026f500 2022/04/20 05:29:02 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/04/20 05:29:02 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:29:03 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/04/20 05:29:03 DEBUG : dir/file1: newRWFileHandle: 2022/04/20 05:29:03 DEBUG : dir/file1(0xc00014b7c0): openPending: 2022/04/20 05:29:03 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" 2022/04/20 05:29:03 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/20 05:29:03 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:29:03 DEBUG : dir/file1(0xc00014b7c0): >openPending: err= 2022/04/20 05:29:03 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/04/20 05:29:03 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/20 05:29:03 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/20 05:29:03 DEBUG : dir/file1(0xc00014b7c0): _writeAt: size=25, off=0 2022/04/20 05:29:03 DEBUG : dir/file1(0xc00014b7c0): >_writeAt: n=25, err= 2022/04/20 05:29:04 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/20 05:29:04 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/04/20 05:29:04 DEBUG : newLeaf: Updating file with newLeaf 0xc00026f500 2022/04/20 05:29:04 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:29:04 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/20 05:29:04 DEBUG : newLeaf(0xc00014b7c0): close: 2022/04/20 05:29:04 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/04/20 05:29:04 DEBUG : newLeaf: vfs cache: setting modification time to 2022-04-20 05:29:03.481237598 +0000 UTC m=+124.454161074 2022/04/20 05:29:04 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/04/20 05:29:04 DEBUG : newLeaf(0xc00014b7c0): >close: err= 2022/04/20 05:29:04 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:29:04 DEBUG : dir: Looking for writers 2022/04/20 05:29:04 DEBUG : : Looking for writers 2022/04/20 05:29:04 DEBUG : dir: reading active writers 2022/04/20 05:29:04 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/20 05:29:04 DEBUG : dir: Looking for writers 2022/04/20 05:29:04 DEBUG : : Looking for writers 2022/04/20 05:29:04 DEBUG : dir: reading active writers 2022/04/20 05:29:04 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/20 05:29:04 DEBUG : dir: Looking for writers 2022/04/20 05:29:04 DEBUG : : Looking for writers 2022/04/20 05:29:04 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:04 DEBUG : dir: reading active writers 2022/04/20 05:29:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/20 05:29:04 DEBUG : dir: Looking for writers 2022/04/20 05:29:04 DEBUG : : Looking for writers 2022/04/20 05:29:04 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:04 DEBUG : dir: reading active writers 2022/04/20 05:29:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/20 05:29:04 DEBUG : newLeaf: vfs cache: starting upload 2022/04/20 05:29:04 DEBUG : newLeaf: Starting multipart upload 2022/04/20 05:29:04 DEBUG : dir: Looking for writers 2022/04/20 05:29:04 DEBUG : : Looking for writers 2022/04/20 05:29:04 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:04 DEBUG : dir: reading active writers 2022/04/20 05:29:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/20 05:29:04 DEBUG : dir: Looking for writers 2022/04/20 05:29:04 DEBUG : : Looking for writers 2022/04/20 05:29:04 DEBUG : dir: reading active writers 2022/04/20 05:29:04 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/20 05:29:05 DEBUG : dir: Looking for writers 2022/04/20 05:29:05 DEBUG : : Looking for writers 2022/04/20 05:29:05 DEBUG : dir: reading active writers 2022/04/20 05:29:05 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/04/20 05:29:05 DEBUG : newLeaf: Uploading segment 0/25 size 25 2022/04/20 05:29:05 DEBUG : dir: Looking for writers 2022/04/20 05:29:05 DEBUG : : Looking for writers 2022/04/20 05:29:05 DEBUG : dir: reading active writers 2022/04/20 05:29:05 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/04/20 05:29:06 DEBUG : dir: Looking for writers 2022/04/20 05:29:06 DEBUG : : Looking for writers 2022/04/20 05:29:06 DEBUG : dir: reading active writers 2022/04/20 05:29:06 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/04/20 05:29:07 DEBUG : dir: Looking for writers 2022/04/20 05:29:07 DEBUG : : Looking for writers 2022/04/20 05:29:07 DEBUG : dir: reading active writers 2022/04/20 05:29:07 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/04/20 05:29:08 DEBUG : newLeaf: quickxor = 954e6302251b5e744b33bcf26f301bca00023794 OK 2022/04/20 05:29:08 INFO : newLeaf: Copied (replaced existing) 2022/04/20 05:29:08 DEBUG : newLeaf: vfs cache: fingerprint now "25,2022-04-20 05:29:03 +0000 UTC,954e6302251b5e744b33bcf26f301bca00023794" 2022/04/20 05:29:08 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/04/20 05:29:08 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/20 05:29:08 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/04/20 05:29:08 DEBUG : dir: Looking for writers 2022/04/20 05:29:08 DEBUG : : Looking for writers 2022/04/20 05:29:08 DEBUG : dir: reading active writers 2022/04/20 05:29:08 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:08 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: listing wrong, want newLeaf (25) got dir/newLeaf (14), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/minimal,forceCache=true Messages: Unexpected file "dir/newLeaf" 2022/04/20 05:29:18 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:29:18 DEBUG : dir: Looking for writers 2022/04/20 05:29:18 DEBUG : : Looking for writers 2022/04/20 05:29:18 DEBUG : dir: reading active writers 2022/04/20 05:29:18 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:18 DEBUG : >WaitForWriters: 2022/04/20 05:29:18 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:181: Remote "One drive root 'rclone-test-kifujaz3zixepav0vesitiv0'", Local "Local file system at /tmp/rclone497214246", Modify Window "1s" 2022/04/20 05:29:20 INFO : One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': poll-interval is not supported by this remote 2022/04/20 05:29:20 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/20 05:29:20 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:29:20 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:29:20 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:29:20 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:29:20 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/04/20 05:29:20 DEBUG : dir/file1: Starting multipart upload 2022/04/20 05:29:21 DEBUG : dir/file1: Uploading segment 0/14 size 14 2022/04/20 05:29:23 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:29:23 DEBUG : dir: Looking for writers 2022/04/20 05:29:23 DEBUG : file1: reading active writers 2022/04/20 05:29:23 DEBUG : : Looking for writers 2022/04/20 05:29:23 DEBUG : dir: reading active writers 2022/04/20 05:29:23 DEBUG : >WaitForWriters: 2022/04/20 05:29:25 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/20 05:29:25 DEBUG : newLeaf: Updating file with newLeaf 0xc0005e0540 2022/04/20 05:29:25 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:29:25 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (14) got dir/newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/newLeaf" fstest.go:204: Not found "newLeaf" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Not equal: expected: 0 actual : 1 Test: TestFileRename/writes,forceCache=false Messages: 1 objects not found 2022/04/20 05:29:37 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/04/20 05:29:37 DEBUG : dir/file1: Updating file with dir/file1 0xc0005e0540 2022/04/20 05:29:37 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/04/20 05:29:37 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:29:38 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/04/20 05:29:38 DEBUG : dir/file1: newRWFileHandle: 2022/04/20 05:29:38 DEBUG : dir/file1(0xc00014b980): openPending: 2022/04/20 05:29:38 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" against cached fingerprint "" 2022/04/20 05:29:38 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/20 05:29:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:29:38 DEBUG : dir/file1(0xc00014b980): >openPending: err= 2022/04/20 05:29:38 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/04/20 05:29:38 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/20 05:29:38 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/20 05:29:38 DEBUG : dir/file1(0xc00014b980): _writeAt: size=25, off=0 2022/04/20 05:29:38 DEBUG : dir/file1(0xc00014b980): >_writeAt: n=25, err= 2022/04/20 05:29:39 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/20 05:29:39 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/04/20 05:29:39 DEBUG : newLeaf: Updating file with newLeaf 0xc0005e0540 2022/04/20 05:29:39 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:29:39 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/20 05:29:39 DEBUG : newLeaf(0xc00014b980): close: 2022/04/20 05:29:39 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/04/20 05:29:39 DEBUG : newLeaf: vfs cache: setting modification time to 2022-04-20 05:29:38.473816832 +0000 UTC m=+159.446740298 2022/04/20 05:29:39 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/04/20 05:29:39 DEBUG : newLeaf(0xc00014b980): >close: err= 2022/04/20 05:29:39 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:29:39 DEBUG : dir: Looking for writers 2022/04/20 05:29:39 DEBUG : : Looking for writers 2022/04/20 05:29:39 DEBUG : dir: reading active writers 2022/04/20 05:29:39 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/20 05:29:39 DEBUG : dir: Looking for writers 2022/04/20 05:29:39 DEBUG : : Looking for writers 2022/04/20 05:29:39 DEBUG : dir: reading active writers 2022/04/20 05:29:39 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/20 05:29:39 DEBUG : dir: Looking for writers 2022/04/20 05:29:39 DEBUG : : Looking for writers 2022/04/20 05:29:39 DEBUG : dir: reading active writers 2022/04/20 05:29:39 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/20 05:29:39 DEBUG : dir: Looking for writers 2022/04/20 05:29:39 DEBUG : : Looking for writers 2022/04/20 05:29:39 DEBUG : dir: reading active writers 2022/04/20 05:29:39 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/20 05:29:39 DEBUG : newLeaf: vfs cache: starting upload 2022/04/20 05:29:39 DEBUG : newLeaf: Starting multipart upload 2022/04/20 05:29:39 DEBUG : dir: Looking for writers 2022/04/20 05:29:39 DEBUG : : Looking for writers 2022/04/20 05:29:39 DEBUG : dir: reading active writers 2022/04/20 05:29:39 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/20 05:29:39 DEBUG : dir: Looking for writers 2022/04/20 05:29:39 DEBUG : : Looking for writers 2022/04/20 05:29:39 DEBUG : dir: reading active writers 2022/04/20 05:29:39 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/20 05:29:40 DEBUG : dir: Looking for writers 2022/04/20 05:29:40 DEBUG : : Looking for writers 2022/04/20 05:29:40 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:40 DEBUG : dir: reading active writers 2022/04/20 05:29:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/04/20 05:29:40 DEBUG : newLeaf: Uploading segment 0/25 size 25 2022/04/20 05:29:40 DEBUG : dir: Looking for writers 2022/04/20 05:29:40 DEBUG : : Looking for writers 2022/04/20 05:29:40 DEBUG : dir: reading active writers 2022/04/20 05:29:40 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/04/20 05:29:40 DEBUG : newLeaf: quickxor = 954e6302251b5e744b33bcf26f301bca00023794 OK 2022/04/20 05:29:40 INFO : newLeaf: Copied (replaced existing) 2022/04/20 05:29:40 DEBUG : newLeaf: vfs cache: fingerprint now "25,2022-04-20 05:29:38 +0000 UTC,954e6302251b5e744b33bcf26f301bca00023794" 2022/04/20 05:29:40 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/04/20 05:29:40 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/20 05:29:40 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/04/20 05:29:41 DEBUG : dir: Looking for writers 2022/04/20 05:29:41 DEBUG : : Looking for writers 2022/04/20 05:29:41 DEBUG : dir: reading active writers 2022/04/20 05:29:41 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:41 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (25) got dir/newLeaf (14), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: Unexpected file "dir/newLeaf" 2022/04/20 05:29:51 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:29:51 DEBUG : dir: Looking for writers 2022/04/20 05:29:51 DEBUG : : Looking for writers 2022/04/20 05:29:51 DEBUG : dir: reading active writers 2022/04/20 05:29:51 DEBUG : newLeaf: reading active writers 2022/04/20 05:29:51 DEBUG : >WaitForWriters: 2022/04/20 05:29:51 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:181: Remote "One drive root 'rclone-test-kifujaz3zixepav0vesitiv0'", Local "Local file system at /tmp/rclone497214246", Modify Window "1s" 2022/04/20 05:29:54 INFO : One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': poll-interval is not supported by this remote 2022/04/20 05:29:54 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/20 05:29:54 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:29:54 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:29:54 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:29:54 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:29:54 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/04/20 05:29:55 DEBUG : dir/file1: Starting multipart upload 2022/04/20 05:29:55 DEBUG : dir/file1: Uploading segment 0/14 size 14 2022/04/20 05:29:57 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2022/04/20 05:29:57 DEBUG : dir/file1: newRWFileHandle: 2022/04/20 05:29:57 DEBUG : dir/file1(0xc000a61d40): openPending: 2022/04/20 05:29:57 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" against cached fingerprint "" 2022/04/20 05:29:57 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/20 05:29:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:29:57 DEBUG : dir/file1(0xc000a61d40): >openPending: err= 2022/04/20 05:29:57 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/04/20 05:29:57 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/20 05:29:57 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:29:57 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/20 05:29:57 DEBUG : dir/file1(0xc000a61d40): _writeAt: size=14, off=0 2022/04/20 05:29:57 DEBUG : dir/file1(0xc000a61d40): >_writeAt: n=14, err= 2022/04/20 05:29:57 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/04/20 05:29:57 DEBUG : dir/file1(0xc000a61d40): close: 2022/04/20 05:29:57 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/04/20 05:29:57 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2022/04/20 05:29:57 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2022/04/20 05:29:57 DEBUG : dir/file1(0xc000a61d40): >close: err= 2022/04/20 05:29:57 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:29:57 DEBUG : dir: Looking for writers 2022/04/20 05:29:57 DEBUG : file1: reading active writers 2022/04/20 05:29:57 DEBUG : : Looking for writers 2022/04/20 05:29:57 DEBUG : dir: reading active writers 2022/04/20 05:29:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/20 05:29:57 DEBUG : dir: Looking for writers 2022/04/20 05:29:57 DEBUG : file1: reading active writers 2022/04/20 05:29:57 DEBUG : : Looking for writers 2022/04/20 05:29:57 DEBUG : dir: reading active writers 2022/04/20 05:29:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/20 05:29:57 DEBUG : dir: Looking for writers 2022/04/20 05:29:57 DEBUG : file1: reading active writers 2022/04/20 05:29:57 DEBUG : : Looking for writers 2022/04/20 05:29:57 DEBUG : dir: reading active writers 2022/04/20 05:29:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/20 05:29:58 DEBUG : dir: Looking for writers 2022/04/20 05:29:58 DEBUG : file1: reading active writers 2022/04/20 05:29:58 DEBUG : : Looking for writers 2022/04/20 05:29:58 DEBUG : dir: reading active writers 2022/04/20 05:29:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/20 05:29:58 DEBUG : dir/file1: vfs cache: starting upload 2022/04/20 05:29:58 DEBUG : dir/file1: Starting multipart upload 2022/04/20 05:29:58 DEBUG : dir: Looking for writers 2022/04/20 05:29:58 DEBUG : file1: reading active writers 2022/04/20 05:29:58 DEBUG : : Looking for writers 2022/04/20 05:29:58 DEBUG : dir: reading active writers 2022/04/20 05:29:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/20 05:29:58 DEBUG : dir: Looking for writers 2022/04/20 05:29:58 DEBUG : file1: reading active writers 2022/04/20 05:29:58 DEBUG : : Looking for writers 2022/04/20 05:29:58 DEBUG : dir: reading active writers 2022/04/20 05:29:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/20 05:29:58 DEBUG : dir: Looking for writers 2022/04/20 05:29:58 DEBUG : file1: reading active writers 2022/04/20 05:29:58 DEBUG : : Looking for writers 2022/04/20 05:29:58 DEBUG : dir: reading active writers 2022/04/20 05:29:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/04/20 05:29:58 DEBUG : dir/file1: Uploading segment 0/14 size 14 2022/04/20 05:29:59 DEBUG : dir: Looking for writers 2022/04/20 05:29:59 DEBUG : file1: reading active writers 2022/04/20 05:29:59 DEBUG : : Looking for writers 2022/04/20 05:29:59 DEBUG : dir: reading active writers 2022/04/20 05:29:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/04/20 05:29:59 DEBUG : dir/file1: quickxor = 6648031bca1003108ce10d6eae4319dc40873900 OK 2022/04/20 05:29:59 INFO : dir/file1: Copied (replaced existing) 2022/04/20 05:29:59 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2022/04/20 05:29:59 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2022/04/20 05:29:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:29:59 INFO : dir/file1: vfs cache: upload succeeded try #1 2022/04/20 05:30:00 DEBUG : dir: Looking for writers 2022/04/20 05:30:00 DEBUG : file1: reading active writers 2022/04/20 05:30:00 DEBUG : : Looking for writers 2022/04/20 05:30:00 DEBUG : dir: reading active writers 2022/04/20 05:30:00 DEBUG : >WaitForWriters: 2022/04/20 05:30:00 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/20 05:30:00 DEBUG : dir/file1: newRWFileHandle: 2022/04/20 05:30:00 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/20 05:30:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/20 05:30:00 DEBUG : dir/file1(0xc0005380c0): _readAt: size=512, off=0 2022/04/20 05:30:00 DEBUG : dir/file1(0xc0005380c0): openPending: 2022/04/20 05:30:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" 2022/04/20 05:30:00 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/20 05:30:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:30:00 DEBUG : dir/file1(0xc0005380c0): >openPending: err= 2022/04/20 05:30:00 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2022/04/20 05:30:00 DEBUG : dir/file1(0xc0005380c0): >_readAt: n=14, err=EOF 2022/04/20 05:30:00 DEBUG : dir/file1(0xc0005380c0): close: 2022/04/20 05:30:00 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2022/04/20 05:30:00 DEBUG : dir/file1(0xc0005380c0): >close: err= 2022/04/20 05:30:02 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/20 05:30:02 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/04/20 05:30:02 DEBUG : newLeaf: Updating file with newLeaf 0xc0005e0f00 2022/04/20 05:30:02 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:30:02 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want newLeaf (14) got dir/newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "dir/newLeaf" fstest.go:204: Not found "newLeaf" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Not equal: expected: 0 actual : 1 Test: TestFileRename/writes,forceCache=true Messages: 1 objects not found 2022/04/20 05:30:13 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/04/20 05:30:13 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/04/20 05:30:13 DEBUG : dir/file1: Updating file with dir/file1 0xc0005e0f00 2022/04/20 05:30:13 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/04/20 05:30:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:30:14 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/04/20 05:30:14 DEBUG : dir/file1: newRWFileHandle: 2022/04/20 05:30:14 DEBUG : dir/file1(0xc00057a9c0): openPending: 2022/04/20 05:30:14 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" 2022/04/20 05:30:14 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/20 05:30:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:30:14 DEBUG : dir/file1(0xc00057a9c0): >openPending: err= 2022/04/20 05:30:14 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/04/20 05:30:14 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/20 05:30:14 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/20 05:30:14 DEBUG : dir/file1(0xc00057a9c0): _writeAt: size=25, off=0 2022/04/20 05:30:14 DEBUG : dir/file1(0xc00057a9c0): >_writeAt: n=25, err= 2022/04/20 05:30:15 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/20 05:30:15 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/04/20 05:30:15 DEBUG : newLeaf: Updating file with newLeaf 0xc0005e0f00 2022/04/20 05:30:15 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:30:15 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/20 05:30:15 DEBUG : newLeaf(0xc00057a9c0): close: 2022/04/20 05:30:15 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/04/20 05:30:15 DEBUG : newLeaf: vfs cache: setting modification time to 2022-04-20 05:30:14.313624037 +0000 UTC m=+195.286547504 2022/04/20 05:30:15 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/04/20 05:30:15 DEBUG : newLeaf(0xc00057a9c0): >close: err= 2022/04/20 05:30:15 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:30:15 DEBUG : dir: Looking for writers 2022/04/20 05:30:15 DEBUG : : Looking for writers 2022/04/20 05:30:15 DEBUG : dir: reading active writers 2022/04/20 05:30:15 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/20 05:30:15 DEBUG : dir: Looking for writers 2022/04/20 05:30:15 DEBUG : : Looking for writers 2022/04/20 05:30:15 DEBUG : dir: reading active writers 2022/04/20 05:30:15 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/20 05:30:15 DEBUG : dir: Looking for writers 2022/04/20 05:30:15 DEBUG : : Looking for writers 2022/04/20 05:30:15 DEBUG : dir: reading active writers 2022/04/20 05:30:15 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/20 05:30:15 DEBUG : dir: Looking for writers 2022/04/20 05:30:15 DEBUG : : Looking for writers 2022/04/20 05:30:15 DEBUG : dir: reading active writers 2022/04/20 05:30:15 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/20 05:30:15 DEBUG : newLeaf: vfs cache: starting upload 2022/04/20 05:30:15 DEBUG : newLeaf: Starting multipart upload 2022/04/20 05:30:15 DEBUG : dir: Looking for writers 2022/04/20 05:30:15 DEBUG : : Looking for writers 2022/04/20 05:30:15 DEBUG : dir: reading active writers 2022/04/20 05:30:15 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/20 05:30:16 DEBUG : dir: Looking for writers 2022/04/20 05:30:16 DEBUG : : Looking for writers 2022/04/20 05:30:16 DEBUG : dir: reading active writers 2022/04/20 05:30:16 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/20 05:30:16 DEBUG : dir: Looking for writers 2022/04/20 05:30:16 DEBUG : : Looking for writers 2022/04/20 05:30:16 DEBUG : dir: reading active writers 2022/04/20 05:30:16 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/04/20 05:30:16 DEBUG : newLeaf: Uploading segment 0/25 size 25 2022/04/20 05:30:17 DEBUG : dir: Looking for writers 2022/04/20 05:30:17 DEBUG : : Looking for writers 2022/04/20 05:30:17 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:17 DEBUG : dir: reading active writers 2022/04/20 05:30:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/04/20 05:30:17 DEBUG : newLeaf: quickxor = 954e6302251b5e744b33bcf26f301bca00023794 OK 2022/04/20 05:30:17 INFO : newLeaf: Copied (replaced existing) 2022/04/20 05:30:17 DEBUG : newLeaf: vfs cache: fingerprint now "25,2022-04-20 05:30:14 +0000 UTC,954e6302251b5e744b33bcf26f301bca00023794" 2022/04/20 05:30:17 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/04/20 05:30:17 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/20 05:30:17 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/04/20 05:30:18 DEBUG : dir: Looking for writers 2022/04/20 05:30:18 DEBUG : : Looking for writers 2022/04/20 05:30:18 DEBUG : dir: reading active writers 2022/04/20 05:30:18 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:18 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want newLeaf (25) got dir/newLeaf (14), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "dir/newLeaf" 2022/04/20 05:30:27 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:30:27 DEBUG : dir: Looking for writers 2022/04/20 05:30:27 DEBUG : : Looking for writers 2022/04/20 05:30:27 DEBUG : dir: reading active writers 2022/04/20 05:30:27 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:27 DEBUG : >WaitForWriters: 2022/04/20 05:30:27 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:181: Remote "One drive root 'rclone-test-kifujaz3zixepav0vesitiv0'", Local "Local file system at /tmp/rclone497214246", Modify Window "1s" 2022/04/20 05:30:29 INFO : One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': poll-interval is not supported by this remote 2022/04/20 05:30:29 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2022/04/20 05:30:29 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:30:29 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:30:29 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfs/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:30:29 DEBUG : Creating backend with remote "/home/rclone/.cache/rclone/vfsMeta/TestOneDriveBusiness/rclone-test-kifujaz3zixepav0vesitiv0" 2022/04/20 05:30:29 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2022/04/20 05:30:30 DEBUG : dir/file1: Starting multipart upload 2022/04/20 05:30:31 DEBUG : dir/file1: Uploading segment 0/14 size 14 2022/04/20 05:30:33 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:30:33 DEBUG : dir: Looking for writers 2022/04/20 05:30:33 DEBUG : file1: reading active writers 2022/04/20 05:30:33 DEBUG : : Looking for writers 2022/04/20 05:30:33 DEBUG : dir: reading active writers 2022/04/20 05:30:33 DEBUG : >WaitForWriters: 2022/04/20 05:30:33 DEBUG : dir/file1: Open: flags=O_RDONLY 2022/04/20 05:30:33 DEBUG : dir/file1: newRWFileHandle: 2022/04/20 05:30:33 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/20 05:30:33 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/20 05:30:33 DEBUG : dir/file1(0xc000538f80): _readAt: size=512, off=0 2022/04/20 05:30:33 DEBUG : dir/file1(0xc000538f80): openPending: 2022/04/20 05:30:33 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" against cached fingerprint "" 2022/04/20 05:30:33 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/20 05:30:33 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:30:33 DEBUG : dir/file1(0xc000538f80): >openPending: err= 2022/04/20 05:30:33 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2022/04/20 05:30:33 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2022/04/20 05:30:33 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2022/04/20 05:30:33 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2022/04/20 05:30:33 DEBUG : dir/file1(0xc000538f80): >_readAt: n=14, err=EOF 2022/04/20 05:30:33 DEBUG : dir/file1(0xc000538f80): close: 2022/04/20 05:30:33 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 UTC 2022/04/20 05:30:33 DEBUG : dir/file1(0xc000538f80): >close: err= 2022/04/20 05:30:35 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/20 05:30:35 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/04/20 05:30:35 DEBUG : newLeaf: Updating file with newLeaf 0xc00026f5c0 2022/04/20 05:30:35 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:30:35 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want newLeaf (14) got dir/newLeaf (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/newLeaf" fstest.go:204: Not found "newLeaf" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 fstest.go:351 run.go:342 file_test.go:350 file_test.go:418 Error: Not equal: expected: 0 actual : 1 Test: TestFileRename/full,forceCache=false Messages: 1 objects not found 2022/04/20 05:30:47 INFO : newLeaf: Moved (server-side) to: dir/file1 2022/04/20 05:30:47 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2022/04/20 05:30:47 DEBUG : dir/file1: Updating file with dir/file1 0xc00026f5c0 2022/04/20 05:30:47 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2022/04/20 05:30:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:30:48 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2022/04/20 05:30:48 DEBUG : dir/file1: newRWFileHandle: 2022/04/20 05:30:48 DEBUG : dir/file1(0xc0002d1240): openPending: 2022/04/20 05:30:48 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,6648031bca1003108ce10d6eae4319dc40873900" 2022/04/20 05:30:48 DEBUG : dir/file1: vfs cache: truncate to size=14 2022/04/20 05:30:48 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:30:48 DEBUG : dir/file1(0xc0002d1240): >openPending: err= 2022/04/20 05:30:48 DEBUG : dir/file1: vfs cache: truncate to size=0 2022/04/20 05:30:48 DEBUG : dir/file1: >newRWFileHandle: err= 2022/04/20 05:30:48 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2022/04/20 05:30:48 DEBUG : dir/file1(0xc0002d1240): _writeAt: size=25, off=0 2022/04/20 05:30:48 DEBUG : dir/file1(0xc0002d1240): >_writeAt: n=25, err= 2022/04/20 05:30:49 INFO : dir/file1: Moved (server-side) to: newLeaf 2022/04/20 05:30:49 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2022/04/20 05:30:49 DEBUG : newLeaf: Updating file with newLeaf 0xc00026f5c0 2022/04/20 05:30:49 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:30:49 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/20 05:30:49 DEBUG : newLeaf(0xc0002d1240): close: 2022/04/20 05:30:49 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2022/04/20 05:30:49 DEBUG : newLeaf: vfs cache: setting modification time to 2022-04-20 05:30:48.760194447 +0000 UTC m=+229.733117923 2022/04/20 05:30:49 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2022/04/20 05:30:49 DEBUG : newLeaf(0xc0002d1240): >close: err= 2022/04/20 05:30:49 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:30:49 DEBUG : dir: Looking for writers 2022/04/20 05:30:49 DEBUG : : Looking for writers 2022/04/20 05:30:49 DEBUG : dir: reading active writers 2022/04/20 05:30:49 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2022/04/20 05:30:49 DEBUG : dir: Looking for writers 2022/04/20 05:30:49 DEBUG : : Looking for writers 2022/04/20 05:30:49 DEBUG : dir: reading active writers 2022/04/20 05:30:49 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2022/04/20 05:30:49 DEBUG : dir: Looking for writers 2022/04/20 05:30:49 DEBUG : : Looking for writers 2022/04/20 05:30:49 DEBUG : dir: reading active writers 2022/04/20 05:30:49 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2022/04/20 05:30:50 DEBUG : dir: Looking for writers 2022/04/20 05:30:50 DEBUG : : Looking for writers 2022/04/20 05:30:50 DEBUG : dir: reading active writers 2022/04/20 05:30:50 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2022/04/20 05:30:50 DEBUG : newLeaf: vfs cache: starting upload 2022/04/20 05:30:50 DEBUG : newLeaf: Starting multipart upload 2022/04/20 05:30:50 DEBUG : dir: Looking for writers 2022/04/20 05:30:50 DEBUG : : Looking for writers 2022/04/20 05:30:50 DEBUG : dir: reading active writers 2022/04/20 05:30:50 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2022/04/20 05:30:50 DEBUG : dir: Looking for writers 2022/04/20 05:30:50 DEBUG : : Looking for writers 2022/04/20 05:30:50 DEBUG : dir: reading active writers 2022/04/20 05:30:50 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2022/04/20 05:30:50 DEBUG : dir: Looking for writers 2022/04/20 05:30:50 DEBUG : : Looking for writers 2022/04/20 05:30:50 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:50 DEBUG : dir: reading active writers 2022/04/20 05:30:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2022/04/20 05:30:50 DEBUG : newLeaf: Uploading segment 0/25 size 25 2022/04/20 05:30:51 DEBUG : dir: Looking for writers 2022/04/20 05:30:51 DEBUG : : Looking for writers 2022/04/20 05:30:51 DEBUG : dir: reading active writers 2022/04/20 05:30:51 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2022/04/20 05:30:51 DEBUG : newLeaf: quickxor = 954e6302251b5e744b33bcf26f301bca00023794 OK 2022/04/20 05:30:51 INFO : newLeaf: Copied (replaced existing) 2022/04/20 05:30:51 DEBUG : newLeaf: vfs cache: fingerprint now "25,2022-04-20 05:30:48 +0000 UTC,954e6302251b5e744b33bcf26f301bca00023794" 2022/04/20 05:30:51 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2022/04/20 05:30:51 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2022/04/20 05:30:51 INFO : newLeaf: vfs cache: upload succeeded try #1 2022/04/20 05:30:52 DEBUG : dir: Looking for writers 2022/04/20 05:30:52 DEBUG : : Looking for writers 2022/04/20 05:30:52 DEBUG : dir: reading active writers 2022/04/20 05:30:52 DEBUG : newLeaf: reading active writers 2022/04/20 05:30:52 DEBUG : >WaitForWriters: fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want newLeaf (25) got dir/newLeaf (14), newLeaf (25) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 file_test.go:401 file_test.go:418 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: Unexpected file "dir/newLeaf" 2022/04/20 05:31:02 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:31:02 DEBUG : dir: Looking for writers 2022/04/20 05:31:02 DEBUG : : Looking for writers 2022/04/20 05:31:02 DEBUG : dir: reading active writers 2022/04/20 05:31:02 DEBUG : newLeaf: reading active writers 2022/04/20 05:31:02 DEBUG : >WaitForWriters: 2022/04/20 05:31:02 DEBUG : vfs cache: cleaner exiting --- FAIL: TestFileRename (215.31s) --- FAIL: TestFileRename/off,forceCache=false (39.81s) --- FAIL: TestFileRename/minimal,forceCache=false (34.74s) --- FAIL: TestFileRename/minimal,forceCache=true (36.51s) --- FAIL: TestFileRename/writes,forceCache=false (34.15s) --- FAIL: TestFileRename/writes,forceCache=true (35.25s) --- FAIL: TestFileRename/full,forceCache=false (34.85s) === RUN TestVFSRename run.go:181: Remote "One drive root 'rclone-test-kifujaz3zixepav0vesitiv0'", Local "Local file system at /tmp/rclone497214246", Modify Window "1s" 2022/04/20 05:31:04 INFO : One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': poll-interval is not supported by this remote 2022/04/20 05:31:04 NOTICE: One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2022/04/20 05:31:05 DEBUG : dir/file2: Starting multipart upload 2022/04/20 05:31:06 DEBUG : dir/file2: Uploading segment 0/14 size 14 2022/04/20 05:31:08 INFO : dir/file2: Moved (server-side) to: dir/file1 2022/04/20 05:31:08 DEBUG : dir/file1: Updating file with dir/file1 0xc0003d4b40 2022/04/20 05:31:08 DEBUG : dir: Added virtual directory entry vDel: "file2" 2022/04/20 05:31:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2022/04/20 05:31:10 INFO : dir/file1: Moved (server-side) to: file0 2022/04/20 05:31:10 DEBUG : file0: Updating file with file0 0xc0003d4b40 2022/04/20 05:31:10 DEBUG : dir: Added virtual directory entry vDel: "file1" 2022/04/20 05:31:10 DEBUG : : Added virtual directory entry vAddFile: "file0" fstest.go:299: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:302: Flushing the directory cache fstest.go:299: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:302: Flushing the directory cache fstest.go:306: Error Trace: fstest.go:306 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:315 Error: Should be true Test: TestVFSRename Messages: listing wrong, want file0 (14) got dir/file0 (14) fstest.go:192: Error Trace: fstest.go:192 fstest.go:309 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:315 Error: Should be true Test: TestVFSRename Messages: Unexpected file "dir/file0" fstest.go:204: Not found "file0" fstest.go:207: Error Trace: fstest.go:207 fstest.go:311 fstest.go:339 fstest.go:351 run.go:342 vfs_test.go:315 Error: Not equal: expected: 0 actual : 1 Test: TestVFSRename Messages: 1 objects not found 2022/04/20 05:31:20 DEBUG : WaitForWriters: timeout=30s 2022/04/20 05:31:20 DEBUG : dir: Looking for writers 2022/04/20 05:31:20 DEBUG : : Looking for writers 2022/04/20 05:31:20 DEBUG : dir: reading active writers 2022/04/20 05:31:20 DEBUG : file0: reading active writers 2022/04/20 05:31:20 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (17.89s) FAIL 2022/04/20 05:31:22 DEBUG : One drive root 'rclone-test-kifujaz3zixepav0vesitiv0': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDriveBusiness: -verbose -test.run '^(TestDirRename|TestFileRename|TestVFSRename)$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 4m23.648654615s (try 5/5): exit status 1: Failed [TestDirRename TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestVFSRename]