"./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^(TestWriteFileHandleMethods|TestWriteFileModTimeWithOpenWriters)$|^TestFileSetModTime$/^cache=full,open=true,write=false$'" - Starting (try 2/5) 2025/03/26 01:58:55 DEBUG : Creating backend with remote "TestOneDrive:rclone-test-yedizoz6bebu" 2025/03/26 01:58:55 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/03/26 01:58:56 DEBUG : Creating backend with remote "/tmp/rclone1014356275" === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "OneDrive root 'rclone-test-yedizoz6bebu'", Local "Local file system at /tmp/rclone1014356275", Modify Window "1s" 2025/03/26 01:58:56 DEBUG : OneDrive root 'rclone-test-yedizoz6bebu': Next delta token is: aTE09NjM4Nzg1NTExMzYzNjc7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4Nzg1NTExMzY1MjA7RVA9MjA7U0k9NDY7RExFUD0wO1NHPTE7U089NjtQST0z 2025/03/26 01:58:56 DEBUG : OneDrive root 'rclone-test-yedizoz6bebu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/03/26 01:58:56 DEBUG : OneDrive root 'rclone-test-yedizoz6bebu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-yedizoz6bebu" 2025/03/26 01:58:56 DEBUG : OneDrive root 'rclone-test-yedizoz6bebu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-yedizoz6bebu" 2025/03/26 01:58:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-yedizoz6bebu" 2025/03/26 01:58:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/26 01:58:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-yedizoz6bebu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestOneDrive/rclone-test-yedizoz6bebu" 2025/03/26 01:58:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-yedizoz6bebu" 2025/03/26 01:58:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/03/26 01:58:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-yedizoz6bebu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestOneDrive/rclone-test-yedizoz6bebu" 2025/03/26 01:58:56 INFO : OneDrive root 'rclone-test-yedizoz6bebu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/03/26 01:58:57 DEBUG : dir/file1: Starting multipart upload 2025/03/26 01:58:57 DEBUG : dir/file1: Uploading segment 0/14 size 14 2025/03/26 01:58:58 DEBUG : time_test: Starting multipart upload 2025/03/26 01:58:59 DEBUG : time_test: Uploading segment 0/5 size 5 2025/03/26 01:58:59 DEBUG : Can set mod time: true 2025/03/26 01:58:59 DEBUG : dir/file1: Open: flags=O_WRONLY 2025/03/26 01:58:59 DEBUG : dir/file1: newRWFileHandle: 2025/03/26 01:58:59 DEBUG : dir/file1: >newRWFileHandle: err= 2025/03/26 01:58:59 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2025/03/26 01:58:59 DEBUG : dir/file1(0xc000690000): close: 2025/03/26 01:59:00 DEBUG : dir/file1: Applied pending mod time 2011-12-25 12:59:59.123456789 +0000 UTC OK 2025/03/26 01:59:00 DEBUG : dir/file1(0xc000690000): >close: err= 2025/03/26 01:59:00 DEBUG : WaitForWriters: timeout=30s 2025/03/26 01:59:00 DEBUG : dir: Looking for writers 2025/03/26 01:59:00 DEBUG : file1: reading active writers 2025/03/26 01:59:00 DEBUG : : Looking for writers 2025/03/26 01:59:00 DEBUG : dir: reading active writers 2025/03/26 01:59:00 DEBUG : >WaitForWriters: 2025/03/26 01:59:00 DEBUG : WaitForWriters: timeout=30s 2025/03/26 01:59:00 DEBUG : dir: Looking for writers 2025/03/26 01:59:00 DEBUG : file1: reading active writers 2025/03/26 01:59:00 DEBUG : : Looking for writers 2025/03/26 01:59:00 DEBUG : dir: reading active writers 2025/03/26 01:59:00 DEBUG : >WaitForWriters: 2025/03/26 01:59:00 DEBUG : OneDrive root 'rclone-test-yedizoz6bebu': vfs cache: cleaner exiting --- PASS: TestFileSetModTime (5.24s) --- PASS: TestFileSetModTime/cache=full,open=true,write=false (5.24s) === RUN TestWriteFileHandleMethods run.go:180: Remote "OneDrive root 'rclone-test-yedizoz6bebu'", Local "Local file system at /tmp/rclone1014356275", Modify Window "1s" 2025/03/26 01:59:01 DEBUG : OneDrive root 'rclone-test-yedizoz6bebu': Next delta token is: aTE09NjM4Nzg1NTExNDE4Njc7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4Nzg1NTExNDE4ODc7RVA9MjA7U0k9Mjc7RExFUD0wO1NHPTE7U089NjtQST0z 2025/03/26 01:59:01 NOTICE: OneDrive root 'rclone-test-yedizoz6bebu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/03/26 01:59:01 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/26 01:59:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/26 01:59:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:02 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/26 01:59:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/26 01:59:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:02 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/03/26 01:59:02 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/03/26 01:59:02 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/03/26 01:59:02 DEBUG : OneDrive root 'rclone-test-yedizoz6bebu': File to upload is small (5 bytes), uploading instead of streaming 2025/03/26 01:59:02 DEBUG : file1: Starting multipart upload 2025/03/26 01:59:02 DEBUG : file1: Uploading segment 0/5 size 5 2025/03/26 01:59:02 DEBUG : file1: quickxor = 6828031bd8f00600000000000500000000000000 OK 2025/03/26 01:59:02 DEBUG : file1: Size and quickxor of src and dst objects identical 2025/03/26 01:59:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/26 01:59:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/26 01:59:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:02 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/26 01:59:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/26 01:59:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/26 01:59:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/26 01:59:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:02 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/26 01:59:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/26 01:59:02 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2025/03/26 01:59:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/03/26 01:59:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/03/26 01:59:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:02 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/26 01:59:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/26 01:59:02 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:02 DEBUG : OneDrive root 'rclone-test-yedizoz6bebu': File to upload is small (0 bytes), uploading instead of streaming 2025/03/26 01:59:02 DEBUG : file1: Starting singlepart upload 2025/03/26 01:59:03 DEBUG : file1: quickxor = 0000000000000000000000000000000000000000 OK 2025/03/26 01:59:03 DEBUG : file1: Size and quickxor of src and dst objects identical 2025/03/26 01:59:03 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/03/26 01:59:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/03/26 01:59:03 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:03 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/26 01:59:03 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/26 01:59:03 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:03 DEBUG : OneDrive root 'rclone-test-yedizoz6bebu': File to upload is small (7 bytes), uploading instead of streaming 2025/03/26 01:59:03 DEBUG : file1: Starting multipart upload 2025/03/26 01:59:03 DEBUG : file1: Uploading segment 0/7 size 7 2025/03/26 01:59:03 DEBUG : file1: quickxor = 6828031bd8f08618c80000000700000000000000 OK 2025/03/26 01:59:03 DEBUG : file1: Size and quickxor of src and dst objects identical 2025/03/26 01:59:03 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:03 DEBUG : WaitForWriters: timeout=30s 2025/03/26 01:59:03 DEBUG : : Looking for writers 2025/03/26 01:59:03 DEBUG : file1: reading active writers 2025/03/26 01:59:03 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (2.57s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "OneDrive root 'rclone-test-yedizoz6bebu'", Local "Local file system at /tmp/rclone1014356275", Modify Window "1s" 2025/03/26 01:59:04 DEBUG : OneDrive root 'rclone-test-yedizoz6bebu': Next delta token is: aTE09NjM4Nzg1NTExNDM5Nzc7SUQ9NzFBOTY3OThFN0IxRDI1MyExMDE7TFI9NjM4Nzg1NTExNDQzNjM7RVA9MjA7U0k9MjtETEVQPTA7U0c9MTtTTz02O1BJPTM 2025/03/26 01:59:04 NOTICE: OneDrive root 'rclone-test-yedizoz6bebu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/03/26 01:59:04 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/03/26 01:59:04 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/03/26 01:59:04 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:04 DEBUG : file1: >Open: fd=file1 (w), err= 2025/03/26 01:59:04 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/03/26 01:59:04 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:04 DEBUG : OneDrive root 'rclone-test-yedizoz6bebu': File to upload is small (2 bytes), uploading instead of streaming 2025/03/26 01:59:04 DEBUG : file1: Starting multipart upload 2025/03/26 01:59:04 DEBUG : file1: Uploading segment 0/2 size 2 2025/03/26 01:59:05 DEBUG : file1: quickxor = 6848030000000000000000000200000000000000 OK 2025/03/26 01:59:05 DEBUG : file1: Size and quickxor of src and dst objects identical 2025/03/26 01:59:05 DEBUG : file1: Applied pending mod time 2012-11-18 17:32:31 +0000 UTC OK 2025/03/26 01:59:05 DEBUG : : Added virtual directory entry vAddFile: "file1" 2025/03/26 01:59:05 DEBUG : WaitForWriters: timeout=30s 2025/03/26 01:59:05 DEBUG : : Looking for writers 2025/03/26 01:59:05 DEBUG : file1: reading active writers 2025/03/26 01:59:05 DEBUG : >WaitForWriters: --- PASS: TestWriteFileModTimeWithOpenWriters (1.56s) PASS 2025/03/26 01:59:05 DEBUG : OneDrive root 'rclone-test-yedizoz6bebu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestOneDrive: -verbose -test.run '^(TestWriteFileHandleMethods|TestWriteFileModTimeWithOpenWriters)$|^TestFileSetModTime$/^cache=full,open=true,write=false$'" - Finished OK in 10.372613526s (try 2/5)