"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestFileRename$/^minimal,forceCache=false$|^TestFileSetModTime$/^cache=off,open=true,write=true$|^TestWriteFileHandleMethods$'" - Starting (try 2/5) 2025/05/15 05:18:49 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-sayugug7ruxu" 2025/05/15 05:18:49 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/05/15 05:18:50 DEBUG : Creating backend with remote "/tmp/rclone1088048507" === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "OneDrive root 'rclone-test-sayugug7ruxu'", Local "Local file system at /tmp/rclone1088048507", Modify Window "1s" 2025/05/15 05:18:50 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': Next delta token is: aTE09NjM4ODI4ODMxMjkzMjc7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4ODI4ODMxMzAzMTA7RVA9MjA7U0k9NDY7RExFUD0wO1NHPTE7U089NjtQST0z 2025/05/15 05:18:50 NOTICE: OneDrive root 'rclone-test-sayugug7ruxu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/05/15 05:18:51 DEBUG : dir/file1: Starting multipart upload 2025/05/15 05:18:51 DEBUG : dir/file1: Uploading segment 0/14 size 14 2025/05/15 05:18:52 DEBUG : time_test: Starting multipart upload 2025/05/15 05:18:52 DEBUG : time_test: Uploading segment 0/5 size 5 2025/05/15 05:18:53 DEBUG : Can set mod time: true 2025/05/15 05:18:53 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/05/15 05:18:53 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/05/15 05:18:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/05/15 05:18:53 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': File to upload is small (5 bytes), uploading instead of streaming 2025/05/15 05:18:53 DEBUG : dir/file1: Starting multipart upload 2025/05/15 05:18:53 DEBUG : dir/file1: Uploading segment 0/5 size 5 2025/05/15 05:18:54 DEBUG : dir/file1: quickxor = 6828031bd8f00600000000000500000000000000 OK 2025/05/15 05:18:54 DEBUG : dir/file1: Size and quickxor of src and dst objects identical 2025/05/15 05:18:54 ERROR : dir/file1: Failed to apply pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC: resourceModified: ETag does not match current item's value 2025/05/15 05:18:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/05/15 05:18:54 DEBUG : WaitForWriters: timeout=30s 2025/05/15 05:18:54 DEBUG : dir: Looking for writers 2025/05/15 05:18:54 DEBUG : file1: reading active writers 2025/05/15 05:18:54 DEBUG : : Looking for writers 2025/05/15 05:18:54 DEBUG : dir: reading active writers 2025/05/15 05:18:54 DEBUG : >WaitForWriters: fstest.go:121: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:121 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:126 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:145 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /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/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:139 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:159 Error: Should be true Test: TestFileSetModTime/cache=off,open=true,write=true Messages: dir/file1: Modification time difference too big |-117352h18m54.560543211s| > 1s (want 2011-12-25 12:59:59.123456789 +0000 UTC vs got 2025-05-15 05:18:53.684 +0000 UTC) (precision 1s) 2025/05/15 05:18:54 DEBUG : WaitForWriters: timeout=30s 2025/05/15 05:18:54 DEBUG : dir: Looking for writers 2025/05/15 05:18:54 DEBUG : file1: reading active writers 2025/05/15 05:18:54 DEBUG : : Looking for writers 2025/05/15 05:18:54 DEBUG : dir: reading active writers 2025/05/15 05:18:54 DEBUG : >WaitForWriters: --- FAIL: TestFileSetModTime (5.70s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (5.70s) === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "OneDrive root 'rclone-test-sayugug7ruxu'", Local "Local file system at /tmp/rclone1088048507", Modify Window "1s" 2025/05/15 05:18:56 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': Next delta token is: aTE09NjM4ODI4ODMxMzU2NTA7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4ODI4ODMxMzYwMDc7RVA9MjA7U0k9NDY7RExFUD0wO1NHPTE7U089NjtQST0z 2025/05/15 05:18:56 NOTICE: OneDrive root 'rclone-test-sayugug7ruxu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/05/15 05:18:56 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/05/15 05:18:56 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-sayugug7ruxu" 2025/05/15 05:18:56 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-sayugug7ruxu" 2025/05/15 05:18:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-sayugug7ruxu" 2025/05/15 05:18:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/05/15 05:18:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-sayugug7ruxu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-sayugug7ruxu" 2025/05/15 05:18:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-sayugug7ruxu" 2025/05/15 05:18:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/05/15 05:18:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-sayugug7ruxu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-sayugug7ruxu" 2025/05/15 05:18:56 INFO : OneDrive root 'rclone-test-sayugug7ruxu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/05/15 05:18:56 DEBUG : dir/file1: Starting multipart upload 2025/05/15 05:18:56 DEBUG : dir/file1: Uploading segment 0/14 size 14 2025/05/15 05:18:57 DEBUG : WaitForWriters: timeout=30s 2025/05/15 05:18:57 DEBUG : dir: Looking for writers 2025/05/15 05:18:57 DEBUG : file1: reading active writers 2025/05/15 05:18:57 DEBUG : : Looking for writers 2025/05/15 05:18:57 DEBUG : dir: reading active writers 2025/05/15 05:18:57 DEBUG : >WaitForWriters: 2025/05/15 05:18:58 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/05/15 05:18:58 DEBUG : newLeaf: Updating file with newLeaf 0xc000678600 2025/05/15 05:18:58 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/05/15 05:18:58 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/05/15 05:18:59 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/05/15 05:18:59 DEBUG : dir/file1: Updating file with dir/file1 0xc000678600 2025/05/15 05:18:59 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/05/15 05:18:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:00 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/05/15 05:19:00 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/05/15 05:19:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:00 DEBUG : dir/file1: File is currently open, delaying rename 0xc000678600 2025/05/15 05:19:00 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/05/15 05:19:00 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/05/15 05:19:00 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': File to upload is small (25 bytes), uploading instead of streaming 2025/05/15 05:19:00 DEBUG : dir/file1: Starting multipart upload 2025/05/15 05:19:00 DEBUG : dir/file1: Uploading segment 0/25 size 25 2025/05/15 05:19:00 DEBUG : dir/file1: quickxor = 954e6302251b5e744b33bcf26f301bca00023794 OK 2025/05/15 05:19:00 DEBUG : dir/file1: Size and quickxor of src and dst objects identical 2025/05/15 05:19:00 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/05/15 05:19:00 DEBUG : newLeaf: Running delayed rename now 2025/05/15 05:19:00 ERROR : dir/file1: Couldn't move: resourceModified: ETag does not match current item's value 2025/05/15 05:19:00 ERROR : newLeaf: File.Rename error: resourceModified: ETag does not match current item's value 2025/05/15 05:19:00 ERROR : newLeaf: delayed File.Rename error: resourceModified: ETag does not match current item's value 2025/05/15 05:19:00 DEBUG : WaitForWriters: timeout=30s 2025/05/15 05:19:00 DEBUG : dir: Looking for writers 2025/05/15 05:19:00 DEBUG : : Looking for writers 2025/05/15 05:19:00 DEBUG : dir: reading active writers 2025/05/15 05:19:00 DEBUG : newLeaf: reading active writers 2025/05/15 05:19:00 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/minimal,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/minimal,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/minimal,forceCache=false Messages: 1 objects not found 2025/05/15 05:19:09 DEBUG : WaitForWriters: timeout=30s 2025/05/15 05:19:09 DEBUG : dir: Looking for writers 2025/05/15 05:19:09 DEBUG : : Looking for writers 2025/05/15 05:19:09 DEBUG : newLeaf: reading active writers 2025/05/15 05:19:09 DEBUG : dir: reading active writers 2025/05/15 05:19:09 DEBUG : >WaitForWriters: 2025/05/15 05:19:09 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': vfs cache: cleaner exiting --- FAIL: TestFileRename (14.79s) --- FAIL: TestFileRename/minimal,forceCache=false (14.79s) === RUN TestWriteFileHandleMethods run.go:180: Remote "OneDrive root 'rclone-test-sayugug7ruxu'", Local "Local file system at /tmp/rclone1088048507", Modify Window "1s" 2025/05/15 05:19:10 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': Next delta token is: aTE09NjM4ODI4ODMxNTA0NDA7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4ODI4ODMxNTA4MTA7RVA9MjA7U0k9NDk7RExFUD0wO1NHPTE7U089NjtQST0z 2025/05/15 05:19:10 NOTICE: OneDrive root 'rclone-test-sayugug7ruxu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/05/15 05:19:10 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/05/15 05:19:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/05/15 05:19:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:11 DEBUG : file1: >Open: fd=file1 (w), err= 2025/05/15 05:19:11 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/05/15 05:19:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:11 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/05/15 05:19:11 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/05/15 05:19:11 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/05/15 05:19:11 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': File to upload is small (5 bytes), uploading instead of streaming 2025/05/15 05:19:11 DEBUG : file1: Starting multipart upload 2025/05/15 05:19:11 DEBUG : file1: Uploading segment 0/5 size 5 2025/05/15 05:19:11 DEBUG : file1: quickxor = 6828031bd8f00600000000000500000000000000 OK 2025/05/15 05:19:11 DEBUG : file1: Size and quickxor of src and dst objects identical 2025/05/15 05:19:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/05/15 05:19:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/05/15 05:19:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:11 DEBUG : file1: >Open: fd=file1 (w), err= 2025/05/15 05:19:11 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/05/15 05:19:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/05/15 05:19:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/05/15 05:19:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:11 DEBUG : file1: >Open: fd=file1 (w), err= 2025/05/15 05:19:11 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/05/15 05:19:11 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2025/05/15 05:19:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/05/15 05:19:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/05/15 05:19:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:11 DEBUG : file1: >Open: fd=file1 (w), err= 2025/05/15 05:19:11 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/05/15 05:19:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:11 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': File to upload is small (0 bytes), uploading instead of streaming 2025/05/15 05:19:11 DEBUG : file1: Starting singlepart upload 2025/05/15 05:19:12 DEBUG : file1: quickxor = 0000000000000000000000000000000000000000 OK 2025/05/15 05:19:12 DEBUG : file1: Size and quickxor of src and dst objects identical 2025/05/15 05:19:12 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:12 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/05/15 05:19:12 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/05/15 05:19:12 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:12 DEBUG : file1: >Open: fd=file1 (w), err= 2025/05/15 05:19:12 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/05/15 05:19:12 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:12 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': File to upload is small (7 bytes), uploading instead of streaming 2025/05/15 05:19:12 DEBUG : file1: Starting multipart upload 2025/05/15 05:19:12 DEBUG : file1: Uploading segment 0/7 size 7 2025/05/15 05:19:12 DEBUG : file1: quickxor = 6828031bd8f08618c80000000700000000000000 OK 2025/05/15 05:19:12 DEBUG : file1: Size and quickxor of src and dst objects identical 2025/05/15 05:19:12 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/05/15 05:19:12 DEBUG : WaitForWriters: timeout=30s 2025/05/15 05:19:12 DEBUG : : Looking for writers 2025/05/15 05:19:12 DEBUG : file1: reading active writers 2025/05/15 05:19:12 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (2.50s) FAIL 2025/05/15 05:19:13 DEBUG : OneDrive root 'rclone-test-sayugug7ruxu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestFileRename$/^minimal,forceCache=false$|^TestFileSetModTime$/^cache=off,open=true,write=true$|^TestWriteFileHandleMethods$'" - Finished ERROR in 23.973286045s (try 2/5): exit status 1: Failed [TestFileSetModTime/cache=off,open=true,write=true TestFileRename/minimal,forceCache=false]