"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestFileRename$/^off,forceCache=false$|^TestFileSetModTime$/^cache=off,open=true,write=true$|^TestWriteFileHandleMethods$'" - Starting (try 2/5) 2025/05/03 05:37:44 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-zudavuj0zefu" 2025/05/03 05:37:44 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/05/03 05:37:45 DEBUG : Creating backend with remote "/tmp/rclone93287381" === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "OneDrive root 'rclone-test-zudavuj0zefu'", Local "Local file system at /tmp/rclone93287381", Modify Window "1s" 2025/05/03 05:37:45 DEBUG : OneDrive root 'rclone-test-zudavuj0zefu': Next delta token is: aTE09NjM4ODE4NDc0NjQ3NDM7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4ODE4NDc0NjU3NDM7RVA9MjA7U0k9NDE7RExFUD0wO1NHPTE7U089NjtQST0z 2025/05/03 05:37:45 NOTICE: OneDrive root 'rclone-test-zudavuj0zefu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/05/03 05:37:46 DEBUG : dir/file1: Starting multipart upload 2025/05/03 05:37:46 DEBUG : dir/file1: Uploading segment 0/14 size 14 2025/05/03 05:37:48 DEBUG : time_test: Starting multipart upload 2025/05/03 05:37:48 DEBUG : time_test: Uploading segment 0/5 size 5 2025/05/03 05:37:49 DEBUG : Can set mod time: true 2025/05/03 05:37:49 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/05/03 05:37:49 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/05/03 05:37:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/05/03 05:37:49 DEBUG : OneDrive root 'rclone-test-zudavuj0zefu': File to upload is small (5 bytes), uploading instead of streaming 2025/05/03 05:37:49 DEBUG : dir/file1: Starting multipart upload 2025/05/03 05:37:49 DEBUG : dir/file1: Uploading segment 0/5 size 5 2025/05/03 05:37:49 DEBUG : dir/file1: quickxor = 6828031bd8f00600000000000500000000000000 OK 2025/05/03 05:37:49 DEBUG : dir/file1: Size and quickxor of src and dst objects identical 2025/05/03 05:37:50 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2025/05/03 05:37:50 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/05/03 05:37:50 DEBUG : WaitForWriters: timeout=30s 2025/05/03 05:37:50 DEBUG : dir: Looking for writers 2025/05/03 05:37:50 DEBUG : file1: reading active writers 2025/05/03 05:37:50 DEBUG : : Looking for writers 2025/05/03 05:37:50 DEBUG : dir: reading active writers 2025/05/03 05:37:50 DEBUG : >WaitForWriters: 2025/05/03 05:37:50 DEBUG : WaitForWriters: timeout=30s 2025/05/03 05:37:50 DEBUG : dir: Looking for writers 2025/05/03 05:37:50 DEBUG : file1: reading active writers 2025/05/03 05:37:50 DEBUG : : Looking for writers 2025/05/03 05:37:50 DEBUG : dir: reading active writers 2025/05/03 05:37:50 DEBUG : >WaitForWriters: --- PASS: TestFileSetModTime (5.88s) --- PASS: TestFileSetModTime/cache=off,open=true,write=true (5.88s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "OneDrive root 'rclone-test-zudavuj0zefu'", Local "Local file system at /tmp/rclone93287381", Modify Window "1s" 2025/05/03 05:37:51 DEBUG : OneDrive root 'rclone-test-zudavuj0zefu': Next delta token is: aTE09NjM4ODE4NDc0NzEyMjc7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4ODE4NDc0NzE1NzM7RVA9MjA7U0k9NzU7RExFUD0wO1NHPTE7U089NjtQST0z 2025/05/03 05:37:51 NOTICE: OneDrive root 'rclone-test-zudavuj0zefu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/05/03 05:37:52 DEBUG : dir/file1: Starting multipart upload 2025/05/03 05:37:52 DEBUG : dir/file1: Uploading segment 0/14 size 14 2025/05/03 05:37:53 DEBUG : WaitForWriters: timeout=30s 2025/05/03 05:37:53 DEBUG : dir: Looking for writers 2025/05/03 05:37:53 DEBUG : file1: reading active writers 2025/05/03 05:37:53 DEBUG : : Looking for writers 2025/05/03 05:37:53 DEBUG : dir: reading active writers 2025/05/03 05:37:53 DEBUG : >WaitForWriters: 2025/05/03 05:37:54 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/05/03 05:37:54 DEBUG : newLeaf: Updating file with newLeaf 0xc000792840 2025/05/03 05:37:54 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/05/03 05:37:54 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/05/03 05:37:55 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/05/03 05:37:55 DEBUG : dir/file1: Updating file with dir/file1 0xc000792840 2025/05/03 05:37:55 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/05/03 05:37:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/05/03 05:37:55 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/05/03 05:37:55 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/05/03 05:37:55 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/05/03 05:37:55 DEBUG : dir/file1: File is currently open, delaying rename 0xc000792840 2025/05/03 05:37:55 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/05/03 05:37:55 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/05/03 05:37:55 DEBUG : OneDrive root 'rclone-test-zudavuj0zefu': File to upload is small (25 bytes), uploading instead of streaming 2025/05/03 05:37:55 DEBUG : dir/file1: Starting multipart upload 2025/05/03 05:37:55 DEBUG : dir/file1: Uploading segment 0/25 size 25 2025/05/03 05:37:56 DEBUG : dir/file1: quickxor = 954e6302251b5e744b33bcf26f301bca00023794 OK 2025/05/03 05:37:56 DEBUG : dir/file1: Size and quickxor of src and dst objects identical 2025/05/03 05:37:56 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/05/03 05:37:56 DEBUG : newLeaf: Running delayed rename now 2025/05/03 05:37:56 ERROR : dir/file1: Couldn't move: resourceModified: ETag does not match current item's value 2025/05/03 05:37:56 ERROR : newLeaf: File.Rename error: resourceModified: ETag does not match current item's value 2025/05/03 05:37:56 ERROR : newLeaf: delayed File.Rename error: resourceModified: ETag does not match current item's value 2025/05/03 05:37:56 DEBUG : WaitForWriters: timeout=30s 2025/05/03 05:37:56 DEBUG : dir: Looking for writers 2025/05/03 05:37:56 DEBUG : : Looking for writers 2025/05/03 05:37:56 DEBUG : dir: reading active writers 2025/05/03 05:37:56 DEBUG : newLeaf: reading active writers 2025/05/03 05:37:56 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: listing wrong, want newLeaf (25) got dir/file1 (25) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/off,forceCache=false Messages: Unexpected file "dir/file1" fstest.go:197: Not found "newLeaf" fstest.go:200: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:200 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:304 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 0 actual : 1 Test: TestFileRename/off,forceCache=false Messages: 1 objects not found 2025/05/03 05:38:05 DEBUG : WaitForWriters: timeout=30s 2025/05/03 05:38:05 DEBUG : dir: Looking for writers 2025/05/03 05:38:05 DEBUG : : Looking for writers 2025/05/03 05:38:05 DEBUG : dir: reading active writers 2025/05/03 05:38:05 DEBUG : newLeaf: reading active writers 2025/05/03 05:38:05 DEBUG : >WaitForWriters: --- FAIL: TestFileRename (15.13s) --- FAIL: TestFileRename/off,forceCache=false (15.13s) === RUN TestWriteFileHandleMethods run.go:180: Remote "OneDrive root 'rclone-test-zudavuj0zefu'", Local "Local file system at /tmp/rclone93287381", Modify Window "1s" 2025/05/03 05:38:06 DEBUG : OneDrive root 'rclone-test-zudavuj0zefu': Next delta token is: aTE09NjM4ODE4NDc0ODYzNDc7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4ODE4NDc0ODY3MDA7RVA9MjA7U0k9MjQ7RExFUD0wO1NHPTE7U089NjtQST0z 2025/05/03 05:38:06 NOTICE: OneDrive root 'rclone-test-zudavuj0zefu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/05/03 05:38:06 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/05/03 05:38:06 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/05/03 05:38:06 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/03 05:38:06 DEBUG : file1: >Open: fd=file1 (w), err= 2025/05/03 05:38:06 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/05/03 05:38:06 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/03 05:38:06 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/05/03 05:38:06 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/05/03 05:38:06 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/05/03 05:38:06 DEBUG : OneDrive root 'rclone-test-zudavuj0zefu': File to upload is small (5 bytes), uploading instead of streaming 2025/05/03 05:38:06 DEBUG : file1: Starting multipart upload 2025/05/03 05:38:07 DEBUG : file1: Uploading segment 0/5 size 5 2025/05/03 05:38:07 DEBUG : file1: quickxor = 6828031bd8f00600000000000500000000000000 OK 2025/05/03 05:38:07 DEBUG : file1: Size and quickxor of src and dst objects identical 2025/05/03 05:38:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/03 05:38:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/05/03 05:38:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/05/03 05:38:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/03 05:38:07 DEBUG : file1: >Open: fd=file1 (w), err= 2025/05/03 05:38:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/05/03 05:38:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/05/03 05:38:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/05/03 05:38:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/03 05:38:07 DEBUG : file1: >Open: fd=file1 (w), err= 2025/05/03 05:38:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/05/03 05:38:07 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2025/05/03 05:38:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/05/03 05:38:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/05/03 05:38:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/03 05:38:07 DEBUG : file1: >Open: fd=file1 (w), err= 2025/05/03 05:38:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/05/03 05:38:07 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/03 05:38:07 DEBUG : OneDrive root 'rclone-test-zudavuj0zefu': File to upload is small (0 bytes), uploading instead of streaming 2025/05/03 05:38:07 DEBUG : file1: Starting singlepart upload 2025/05/03 05:38:08 DEBUG : file1: quickxor = 0000000000000000000000000000000000000000 OK 2025/05/03 05:38:08 DEBUG : file1: Size and quickxor of src and dst objects identical 2025/05/03 05:38:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/03 05:38:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/05/03 05:38:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/05/03 05:38:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/03 05:38:08 DEBUG : file1: >Open: fd=file1 (w), err= 2025/05/03 05:38:08 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/05/03 05:38:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/03 05:38:08 DEBUG : OneDrive root 'rclone-test-zudavuj0zefu': File to upload is small (7 bytes), uploading instead of streaming 2025/05/03 05:38:08 DEBUG : file1: Starting multipart upload 2025/05/03 05:38:08 DEBUG : file1: Uploading segment 0/7 size 7 2025/05/03 05:38:08 DEBUG : file1: quickxor = 6828031bd8f08618c80000000700000000000000 OK 2025/05/03 05:38:08 DEBUG : file1: Size and quickxor of src and dst objects identical 2025/05/03 05:38:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/03 05:38:08 DEBUG : WaitForWriters: timeout=30s 2025/05/03 05:38:08 DEBUG : : Looking for writers 2025/05/03 05:38:08 DEBUG : file1: reading active writers 2025/05/03 05:38:08 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (2.62s) FAIL 2025/05/03 05:38:09 DEBUG : OneDrive root 'rclone-test-zudavuj0zefu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestFileRename$/^off,forceCache=false$|^TestFileSetModTime$/^cache=off,open=true,write=true$|^TestWriteFileHandleMethods$'" - Finished ERROR in 24.617018804s (try 2/5): exit status 1: Failed [TestFileRename/off,forceCache=false]