"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestFileRename$/^minimal,forceCache=false$|^TestWriteFileModTimeWithOpenWriters$'" - Starting (try 2/5) 2025/01/26 02:30:23 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-moviqoj8xuka" 2025/01/26 02:30:23 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/01/26 02:30:24 DEBUG : Creating backend with remote "/tmp/rclone2005553318" === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "OneDrive root 'rclone-test-moviqoj8xuka'", Local "Local file system at /tmp/rclone2005553318", Modify Window "1s" 2025/01/26 02:30:24 DEBUG : OneDrive root 'rclone-test-moviqoj8xuka': Next delta token is: aTE09NjM4NzM0NTU0MjM2MTc7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4NzM0NTU0MjQ1OTc7RVA9MjA7U0k9MjM7RExFUD0wO1NHPTE7U089NjtQST0z 2025/01/26 02:30:24 NOTICE: OneDrive root 'rclone-test-moviqoj8xuka': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/01/26 02:30:24 DEBUG : OneDrive root 'rclone-test-moviqoj8xuka': vfs cache: root is "/home/rclone/.cache/rclone" 2025/01/26 02:30:24 DEBUG : OneDrive root 'rclone-test-moviqoj8xuka': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-moviqoj8xuka" 2025/01/26 02:30:24 DEBUG : OneDrive root 'rclone-test-moviqoj8xuka': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-moviqoj8xuka" 2025/01/26 02:30:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-moviqoj8xuka" 2025/01/26 02:30:24 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/26 02:30:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-moviqoj8xuka" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-moviqoj8xuka" 2025/01/26 02:30:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-moviqoj8xuka" 2025/01/26 02:30:24 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2025/01/26 02:30:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-moviqoj8xuka" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-moviqoj8xuka" 2025/01/26 02:30:24 INFO : OneDrive root 'rclone-test-moviqoj8xuka': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/01/26 02:30:25 DEBUG : dir/file1: Starting multipart upload 2025/01/26 02:30:25 DEBUG : dir/file1: Uploading segment 0/14 size 14 2025/01/26 02:30:26 DEBUG : WaitForWriters: timeout=30s 2025/01/26 02:30:26 DEBUG : dir: Looking for writers 2025/01/26 02:30:26 DEBUG : file1: reading active writers 2025/01/26 02:30:26 DEBUG : : Looking for writers 2025/01/26 02:30:26 DEBUG : dir: reading active writers 2025/01/26 02:30:26 DEBUG : >WaitForWriters: 2025/01/26 02:30:27 INFO : dir/file1: Moved (server-side) to: newLeaf 2025/01/26 02:30:27 DEBUG : newLeaf: Updating file with newLeaf 0xc000626000 2025/01/26 02:30:27 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/01/26 02:30:27 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/01/26 02:30:28 INFO : newLeaf: Moved (server-side) to: dir/file1 2025/01/26 02:30:28 DEBUG : dir/file1: Updating file with dir/file1 0xc000626000 2025/01/26 02:30:28 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2025/01/26 02:30:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/26 02:30:29 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2025/01/26 02:30:29 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2025/01/26 02:30:29 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2025/01/26 02:30:29 DEBUG : dir/file1: File is currently open, delaying rename 0xc000626000 2025/01/26 02:30:29 DEBUG : dir: Added virtual directory entry vDel: "file1" 2025/01/26 02:30:29 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/01/26 02:30:29 DEBUG : OneDrive root 'rclone-test-moviqoj8xuka': File to upload is small (25 bytes), uploading instead of streaming 2025/01/26 02:30:29 DEBUG : dir/file1: Starting multipart upload 2025/01/26 02:30:29 DEBUG : dir/file1: Uploading segment 0/25 size 25 2025/01/26 02:30:29 DEBUG : dir/file1: quickxor = 954e6302251b5e744b33bcf26f301bca00023794 OK 2025/01/26 02:30:29 DEBUG : dir/file1: Size and quickxor of src and dst objects identical 2025/01/26 02:30:29 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2025/01/26 02:30:29 DEBUG : newLeaf: Running delayed rename now 2025/01/26 02:30:29 ERROR : dir/file1: Couldn't move: resourceModified: ETag does not match current item's value 2025/01/26 02:30:29 ERROR : newLeaf: File.Rename error: resourceModified: ETag does not match current item's value 2025/01/26 02:30:29 ERROR : newLeaf: delayed File.Rename error: resourceModified: ETag does not match current item's value 2025/01/26 02:30:29 DEBUG : WaitForWriters: timeout=30s 2025/01/26 02:30:29 DEBUG : dir: Looking for writers 2025/01/26 02:30:29 DEBUG : : Looking for writers 2025/01/26 02:30:29 DEBUG : dir: reading active writers 2025/01/26 02:30:29 DEBUG : newLeaf: reading active writers 2025/01/26 02:30:29 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/01/26 02:30:38 DEBUG : WaitForWriters: timeout=30s 2025/01/26 02:30:38 DEBUG : dir: Looking for writers 2025/01/26 02:30:38 DEBUG : : Looking for writers 2025/01/26 02:30:38 DEBUG : dir: reading active writers 2025/01/26 02:30:38 DEBUG : newLeaf: reading active writers 2025/01/26 02:30:38 DEBUG : >WaitForWriters: 2025/01/26 02:30:38 DEBUG : OneDrive root 'rclone-test-moviqoj8xuka': vfs cache: cleaner exiting --- FAIL: TestFileRename (15.15s) --- FAIL: TestFileRename/minimal,forceCache=false (15.15s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "OneDrive root 'rclone-test-moviqoj8xuka'", Local "Local file system at /tmp/rclone2005553318", Modify Window "1s" 2025/01/26 02:30:39 DEBUG : OneDrive root 'rclone-test-moviqoj8xuka': Next delta token is: aTE09NjM4NzM0NTU0MzkzMzc7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4NzM0NTU0Mzk2ODM7RVA9MjA7U0k9MTE7RExFUD0wO1NHPTE7U089NjtQST0z 2025/01/26 02:30:39 NOTICE: OneDrive root 'rclone-test-moviqoj8xuka': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/01/26 02:30:39 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/01/26 02:30:39 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/01/26 02:30:39 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/01/26 02:30:39 DEBUG : file1: >Open: fd=file1 (w), err= 2025/01/26 02:30:39 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/01/26 02:30:39 DEBUG : time_test: Starting multipart upload 2025/01/26 02:30:40 DEBUG : time_test: Uploading segment 0/5 size 5 2025/01/26 02:30:40 DEBUG : Can set mod time: true 2025/01/26 02:30:40 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/01/26 02:30:40 DEBUG : OneDrive root 'rclone-test-moviqoj8xuka': File to upload is small (2 bytes), uploading instead of streaming 2025/01/26 02:30:40 DEBUG : file1: Starting multipart upload 2025/01/26 02:30:41 DEBUG : file1: Uploading segment 0/2 size 2 2025/01/26 02:30:41 DEBUG : file1: quickxor = 6848030000000000000000000200000000000000 OK 2025/01/26 02:30:41 DEBUG : file1: Size and quickxor of src and dst objects identical 2025/01/26 02:30:41 DEBUG : file1: Applied pending mod time 2012-11-18 17:32:31 +0000 UTC OK 2025/01/26 02:30:41 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/01/26 02:30:41 DEBUG : WaitForWriters: timeout=30s 2025/01/26 02:30:41 DEBUG : : Looking for writers 2025/01/26 02:30:41 DEBUG : file1: reading active writers 2025/01/26 02:30:41 DEBUG : >WaitForWriters: --- PASS: TestWriteFileModTimeWithOpenWriters (2.60s) FAIL 2025/01/26 02:30:42 DEBUG : OneDrive root 'rclone-test-moviqoj8xuka': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestFileRename$/^minimal,forceCache=false$|^TestWriteFileModTimeWithOpenWriters$'" - Finished ERROR in 18.671297936s (try 2/5): exit status 1: Failed [TestFileRename/minimal,forceCache=false]