"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestFileRename$/^minimal,forceCache=false$|^TestWriteFileHandleMethods$'" - Starting (try 2/5) 2024/11/22 03:50:54 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-sovupon8lopi" 2024/11/22 03:50:54 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/11/22 03:50:54 DEBUG : Creating backend with remote "/tmp/rclone3338523673" === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "OneDrive root 'rclone-test-sovupon8lopi'", Local "Local file system at /tmp/rclone3338523673", Modify Window "1s" 2024/11/22 03:50:55 DEBUG : OneDrive root 'rclone-test-sovupon8lopi': Next delta token is: aTE09NjM4Njc4NDQyNTQxMDc7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4Njc4NDQyNTUwNjM7RVA9MjA7U0k9NzM7RExFUD0wO1NHPTE7U089NjtQST0z 2024/11/22 03:50:55 NOTICE: OneDrive root 'rclone-test-sovupon8lopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/22 03:50:55 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/11/22 03:50:55 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-sovupon8lopi" 2024/11/22 03:50:55 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-sovupon8lopi" 2024/11/22 03:50:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-sovupon8lopi" 2024/11/22 03:50:55 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/22 03:50:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-sovupon8lopi" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-sovupon8lopi" 2024/11/22 03:50:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-sovupon8lopi" 2024/11/22 03:50:55 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/11/22 03:50:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-sovupon8lopi" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-sovupon8lopi" 2024/11/22 03:50:55 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/11/22 03:50:55 DEBUG : dir/file1: Starting multipart upload 2024/11/22 03:50:56 DEBUG : dir/file1: Uploading segment 0/14 size 14 2024/11/22 03:50:57 DEBUG : WaitForWriters: timeout=30s 2024/11/22 03:50:57 DEBUG : dir: Looking for writers 2024/11/22 03:50:57 DEBUG : file1: reading active writers 2024/11/22 03:50:57 DEBUG : : Looking for writers 2024/11/22 03:50:57 DEBUG : dir: reading active writers 2024/11/22 03:50:57 DEBUG : >WaitForWriters: 2024/11/22 03:50:58 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/22 03:50:58 DEBUG : newLeaf: Updating file with newLeaf 0xc000001500 2024/11/22 03:50:58 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/22 03:50:58 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/22 03:50:59 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/11/22 03:50:59 DEBUG : dir/file1: Updating file with dir/file1 0xc000001500 2024/11/22 03:50:59 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/11/22 03:50:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/22 03:50:59 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/11/22 03:50:59 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/11/22 03:50:59 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/11/22 03:50:59 DEBUG : dir/file1: File is currently open, delaying rename 0xc000001500 2024/11/22 03:50:59 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/11/22 03:50:59 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/22 03:50:59 DEBUG : OneDrive root 'rclone-test-sovupon8lopi': File to upload is small (25 bytes), uploading instead of streaming 2024/11/22 03:50:59 DEBUG : dir/file1: Starting multipart upload 2024/11/22 03:50:59 DEBUG : dir/file1: Uploading segment 0/25 size 25 2024/11/22 03:50:59 DEBUG : dir/file1: quickxor = 954e6302251b5e744b33bcf26f301bca00023794 OK 2024/11/22 03:50:59 DEBUG : dir/file1: Size and quickxor of src and dst objects identical 2024/11/22 03:50:59 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/11/22 03:50:59 DEBUG : newLeaf: Running delayed rename now 2024/11/22 03:51:00 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/11/22 03:51:00 DEBUG : newLeaf: Updating file with newLeaf 0xc000001500 2024/11/22 03:51:00 DEBUG : WaitForWriters: timeout=30s 2024/11/22 03:51:00 DEBUG : dir: Looking for writers 2024/11/22 03:51:00 DEBUG : : Looking for writers 2024/11/22 03:51:00 DEBUG : dir: reading active writers 2024/11/22 03:51:00 DEBUG : newLeaf: reading active writers 2024/11/22 03:51:00 DEBUG : >WaitForWriters: 2024/11/22 03:51:00 DEBUG : WaitForWriters: timeout=30s 2024/11/22 03:51:00 DEBUG : dir: Looking for writers 2024/11/22 03:51:00 DEBUG : : Looking for writers 2024/11/22 03:51:00 DEBUG : dir: reading active writers 2024/11/22 03:51:00 DEBUG : newLeaf: reading active writers 2024/11/22 03:51:00 DEBUG : >WaitForWriters: 2024/11/22 03:51:00 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileRename (6.97s) --- PASS: TestFileRename/minimal,forceCache=false (6.97s) === RUN TestWriteFileHandleMethods run.go:180: Remote "OneDrive root 'rclone-test-sovupon8lopi'", Local "Local file system at /tmp/rclone3338523673", Modify Window "1s" 2024/11/22 03:51:02 DEBUG : OneDrive root 'rclone-test-sovupon8lopi': Next delta token is: aTE09NjM4Njc4NDQyNjE2Mzc7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4Njc4NDQyNjE5ODA7RVA9MjA7U0k9MTY7RExFUD0wO1NHPTE7U089NjtQST0z 2024/11/22 03:51:02 NOTICE: OneDrive root 'rclone-test-sovupon8lopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/11/22 03:51:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/11/22 03:51:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/11/22 03:51:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/22 03:51:02 DEBUG : file1: >Open: fd=file1 (w), err= 2024/11/22 03:51:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/11/22 03:51:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/22 03:51:02 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2024/11/22 03:51:02 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2024/11/22 03:51:02 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2024/11/22 03:51:02 DEBUG : OneDrive root 'rclone-test-sovupon8lopi': File to upload is small (5 bytes), uploading instead of streaming 2024/11/22 03:51:02 DEBUG : file1: Starting multipart upload 2024/11/22 03:51:02 DEBUG : file1: Uploading segment 0/5 size 5 2024/11/22 03:51:02 DEBUG : file1: quickxor = 6828031bd8f00600000000000500000000000000 OK 2024/11/22 03:51:02 DEBUG : file1: Size and quickxor of src and dst objects identical 2024/11/22 03:51:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/22 03:51:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/11/22 03:51:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/11/22 03:51:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/22 03:51:02 DEBUG : file1: >Open: fd=file1 (w), err= 2024/11/22 03:51:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/11/22 03:51:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/11/22 03:51:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/11/22 03:51:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/22 03:51:02 DEBUG : file1: >Open: fd=file1 (w), err= 2024/11/22 03:51:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/11/22 03:51:02 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2024/11/22 03:51:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2024/11/22 03:51:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2024/11/22 03:51:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/22 03:51:02 DEBUG : file1: >Open: fd=file1 (w), err= 2024/11/22 03:51:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/11/22 03:51:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/22 03:51:02 DEBUG : OneDrive root 'rclone-test-sovupon8lopi': File to upload is small (0 bytes), uploading instead of streaming 2024/11/22 03:51:02 DEBUG : file1: Starting singlepart upload 2024/11/22 03:51:03 DEBUG : file1: quickxor = 0000000000000000000000000000000000000000 OK 2024/11/22 03:51:03 DEBUG : file1: Size and quickxor of src and dst objects identical 2024/11/22 03:51:03 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/22 03:51:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2024/11/22 03:51:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2024/11/22 03:51:03 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/22 03:51:03 DEBUG : file1: >Open: fd=file1 (w), err= 2024/11/22 03:51:03 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/11/22 03:51:03 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/22 03:51:03 DEBUG : OneDrive root 'rclone-test-sovupon8lopi': File to upload is small (7 bytes), uploading instead of streaming 2024/11/22 03:51:03 DEBUG : file1: Starting multipart upload 2024/11/22 03:51:03 DEBUG : file1: Uploading segment 0/7 size 7 2024/11/22 03:51:03 DEBUG : file1: quickxor = 6828031bd8f08618c80000000700000000000000 OK 2024/11/22 03:51:03 DEBUG : file1: Size and quickxor of src and dst objects identical 2024/11/22 03:51:03 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/11/22 03:51:03 DEBUG : WaitForWriters: timeout=30s 2024/11/22 03:51:03 DEBUG : : Looking for writers 2024/11/22 03:51:03 DEBUG : file1: reading active writers 2024/11/22 03:51:03 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (2.32s) PASS 2024/11/22 03:51:04 DEBUG : OneDrive root 'rclone-test-sovupon8lopi': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^TestFileRename$/^minimal,forceCache=false$|^TestWriteFileHandleMethods$'" - Finished OK in 10.249936287s (try 2/5)