"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseSensitivity|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestRWCacheRename|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSMkdir|TestVFSMkdirAll|TestVFSNew|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestVFSStatfs|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|writes,forceCache=false|writes,forceCache=true)$|^TestRWFileHandleOpenTests$/^full$/^(os.O_RDONLY|os.O_RDONLY|os.O_APPEND|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_SYNC|os.O_RDONLY|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_TRUNC|os.O_RDWR|os.O_RDWR|os.O_APPEND|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_SYNC|os.O_RDWR|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_TRUNC|os.O_WRONLY|os.O_WRONLY|os.O_APPEND|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_SYNC|os.O_WRONLY|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_TRUNC)$|^TestRWFileHandleOpenTests$/^writes$/^(os.O_RDONLY|os.O_RDONLY|os.O_APPEND|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_SYNC|os.O_RDONLY|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_TRUNC|os.O_RDWR|os.O_RDWR|os.O_APPEND|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_SYNC|os.O_RDWR|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_TRUNC|os.O_WRONLY|os.O_WRONLY|os.O_APPEND|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_SYNC|os.O_WRONLY|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_TRUNC)$'" - Starting (try 2/5) 2024/10/25 01:11:30 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-pijepoh5qixo" 2024/10/25 01:11:30 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/10/25 01:11:30 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': Has cached credentials 2024/10/25 01:11:32 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': Used cached credential to initialize the ProtonDrive API 2024/10/25 01:11:33 DEBUG : Creating backend with remote "/tmp/rclone316962667" === RUN TestFileRename === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:11:33 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:11:33 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:11:33 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:11:33 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:11:33 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:11:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:11:33 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:11:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:11:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:11:33 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:11:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:11:33 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:11:38 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:11:38 DEBUG : dir: Looking for writers 2024/10/25 01:11:38 DEBUG : file1: reading active writers 2024/10/25 01:11:38 DEBUG : : Looking for writers 2024/10/25 01:11:38 DEBUG : dir: reading active writers 2024/10/25 01:11:38 DEBUG : >WaitForWriters: 2024/10/25 01:11:46 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/25 01:11:46 DEBUG : newLeaf: Updating file with newLeaf 0xc0005780c0 2024/10/25 01:11:46 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/25 01:11:46 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:11:53 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/25 01:11:53 DEBUG : dir/file1: Updating file with dir/file1 0xc0005780c0 2024/10/25 01:11:53 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/25 01:11:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:11:54 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/25 01:11:54 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/10/25 01:11:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:11:54 DEBUG : dir/file1: File is currently open, delaying rename 0xc0005780c0 2024/10/25 01:11:54 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/25 01:11:54 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:11:54 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': File to upload is small (25 bytes), uploading instead of streaming 2024/10/25 01:11:55.664194 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:11:55.664215 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:11:57 DEBUG : dir/file1: sha1 = f1f3d7db56f36d9a5a912b01803c2176a972b9b0 OK 2024/10/25 01:11:57 DEBUG : dir/file1: Size and sha1 of src and dst objects identical 2024/10/25 01:11:57 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:11:57 DEBUG : newLeaf: Running delayed rename now 2024/10/25 01:12:04 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/25 01:12:04 DEBUG : newLeaf: Updating file with newLeaf 0xc0005780c0 2024/10/25 01:12:04 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:12:04 DEBUG : dir: Looking for writers 2024/10/25 01:12:04 DEBUG : : Looking for writers 2024/10/25 01:12:04 DEBUG : dir: reading active writers 2024/10/25 01:12:04 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:04 DEBUG : >WaitForWriters: 2024/10/25 01:12:05 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:12:05 DEBUG : dir: Looking for writers 2024/10/25 01:12:05 DEBUG : : Looking for writers 2024/10/25 01:12:05 DEBUG : dir: reading active writers 2024/10/25 01:12:05 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:05 DEBUG : >WaitForWriters: 2024/10/25 01:12:05 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:12:07 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:12:07 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:12:07 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:12:07 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:12:07 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:12:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:12:07 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:12:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:12:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:12:07 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:12:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:12:07 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:12:12 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/10/25 01:12:12 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:12:12 DEBUG : dir/file1(0xc00052b680): openPending: 2024/10/25 01:12:12 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "" 2024/10/25 01:12:12 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/25 01:12:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:12:12 DEBUG : dir/file1(0xc00052b680): >openPending: err= 2024/10/25 01:12:12 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/25 01:12:12 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:12:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:12:12 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:12:12 DEBUG : dir/file1(0xc00052b680): _writeAt: size=14, off=0 2024/10/25 01:12:12 DEBUG : dir/file1(0xc00052b680): >_writeAt: n=14, err= 2024/10/25 01:12:12 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/25 01:12:12 DEBUG : dir/file1(0xc00052b680): close: 2024/10/25 01:12:12 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/25 01:12:12 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/25 01:12:12 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/25 01:12:12 DEBUG : dir/file1(0xc00052b680): >close: err= 2024/10/25 01:12:12 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:12:12 DEBUG : dir: Looking for writers 2024/10/25 01:12:12 DEBUG : file1: reading active writers 2024/10/25 01:12:12 DEBUG : : Looking for writers 2024/10/25 01:12:12 DEBUG : dir: reading active writers 2024/10/25 01:12:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:12:12 DEBUG : dir: Looking for writers 2024/10/25 01:12:12 DEBUG : file1: reading active writers 2024/10/25 01:12:12 DEBUG : : Looking for writers 2024/10/25 01:12:12 DEBUG : dir: reading active writers 2024/10/25 01:12:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:12:12 DEBUG : dir: Looking for writers 2024/10/25 01:12:12 DEBUG : file1: reading active writers 2024/10/25 01:12:12 DEBUG : : Looking for writers 2024/10/25 01:12:12 DEBUG : dir: reading active writers 2024/10/25 01:12:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:12:12 DEBUG : dir: Looking for writers 2024/10/25 01:12:12 DEBUG : file1: reading active writers 2024/10/25 01:12:12 DEBUG : : Looking for writers 2024/10/25 01:12:12 DEBUG : dir: reading active writers 2024/10/25 01:12:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:12:12 DEBUG : dir/file1: vfs cache: starting upload 2024/10/25 01:12:12 DEBUG : dir: Looking for writers 2024/10/25 01:12:12 DEBUG : file1: reading active writers 2024/10/25 01:12:12 DEBUG : : Looking for writers 2024/10/25 01:12:12 DEBUG : dir: reading active writers 2024/10/25 01:12:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:12:12 DEBUG : dir: Looking for writers 2024/10/25 01:12:12 DEBUG : file1: reading active writers 2024/10/25 01:12:12 DEBUG : : Looking for writers 2024/10/25 01:12:12 DEBUG : dir: reading active writers 2024/10/25 01:12:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:12:12.504920 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:12:12.504948 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:12:12 DEBUG : dir: Looking for writers 2024/10/25 01:12:12 DEBUG : file1: reading active writers 2024/10/25 01:12:12 DEBUG : : Looking for writers 2024/10/25 01:12:12 DEBUG : dir: reading active writers 2024/10/25 01:12:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:12:13 DEBUG : dir: Looking for writers 2024/10/25 01:12:13 DEBUG : file1: reading active writers 2024/10/25 01:12:13 DEBUG : : Looking for writers 2024/10/25 01:12:13 DEBUG : dir: reading active writers 2024/10/25 01:12:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:12:14 DEBUG : dir: Looking for writers 2024/10/25 01:12:14 DEBUG : file1: reading active writers 2024/10/25 01:12:14 DEBUG : : Looking for writers 2024/10/25 01:12:14 DEBUG : dir: reading active writers 2024/10/25 01:12:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:12:14 DEBUG : dir/file1: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/10/25 01:12:14 INFO : dir/file1: Copied (replaced existing) 2024/10/25 01:12:14 DEBUG : dir/file1: vfs cache: fingerprint now "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2024/10/25 01:12:14 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/10/25 01:12:14 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/10/25 01:12:14 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:12:14 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/10/25 01:12:15 DEBUG : dir: Looking for writers 2024/10/25 01:12:15 DEBUG : file1: reading active writers 2024/10/25 01:12:15 DEBUG : : Looking for writers 2024/10/25 01:12:15 DEBUG : dir: reading active writers 2024/10/25 01:12:15 DEBUG : >WaitForWriters: 2024/10/25 01:12:15 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:12:15 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:12:15 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:12:15 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:12:15 DEBUG : dir/file1(0xc0004d29c0): _readAt: size=512, off=0 2024/10/25 01:12:15 DEBUG : dir/file1(0xc0004d29c0): openPending: 2024/10/25 01:12:15 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2024/10/25 01:12:15 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/10/25 01:12:15 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:12:15 DEBUG : dir/file1(0xc0004d29c0): >openPending: err= 2024/10/25 01:12:15 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/25 01:12:15 DEBUG : dir/file1(0xc0004d29c0): >_readAt: n=14, err=EOF 2024/10/25 01:12:15 DEBUG : dir/file1(0xc0004d29c0): close: 2024/10/25 01:12:15 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/25 01:12:15 DEBUG : dir/file1(0xc0004d29c0): >close: err= 2024/10/25 01:12:23 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/25 01:12:23 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/25 01:12:23 DEBUG : newLeaf: Updating file with newLeaf 0xc0002dc600 2024/10/25 01:12:23 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/25 01:12:23 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:12:30 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/25 01:12:30 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/10/25 01:12:30 DEBUG : dir/file1: Updating file with dir/file1 0xc0002dc600 2024/10/25 01:12:30 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/25 01:12:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:12:31 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/25 01:12:31 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:12:31 DEBUG : dir/file1(0xc00052b4c0): openPending: 2024/10/25 01:12:31 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2024/10/25 01:12:31 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" != cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6") 2024/10/25 01:12:31 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2024/10/25 01:12:31 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/25 01:12:31 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/25 01:12:31 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:12:31 DEBUG : dir/file1(0xc00052b4c0): >openPending: err= 2024/10/25 01:12:31 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/25 01:12:31 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:12:31 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:12:31 DEBUG : dir/file1(0xc00052b4c0): _writeAt: size=25, off=0 2024/10/25 01:12:31 DEBUG : dir/file1(0xc00052b4c0): >_writeAt: n=25, err= 2024/10/25 01:12:38 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/25 01:12:38 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/25 01:12:38 DEBUG : newLeaf: Updating file with newLeaf 0xc0002dc600 2024/10/25 01:12:38 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/25 01:12:38 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:12:38 DEBUG : newLeaf(0xc00052b4c0): close: 2024/10/25 01:12:38 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/25 01:12:38 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-25 01:12:31.642251231 +0000 UTC m=+60.802359127 2024/10/25 01:12:38 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/25 01:12:38 DEBUG : newLeaf(0xc00052b4c0): >close: err= 2024/10/25 01:12:38 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:12:38 DEBUG : dir: Looking for writers 2024/10/25 01:12:38 DEBUG : : Looking for writers 2024/10/25 01:12:38 DEBUG : dir: reading active writers 2024/10/25 01:12:38 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:12:38 DEBUG : dir: Looking for writers 2024/10/25 01:12:38 DEBUG : : Looking for writers 2024/10/25 01:12:38 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:38 DEBUG : dir: reading active writers 2024/10/25 01:12:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:12:38 DEBUG : dir: Looking for writers 2024/10/25 01:12:38 DEBUG : : Looking for writers 2024/10/25 01:12:38 DEBUG : dir: reading active writers 2024/10/25 01:12:38 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:12:38 DEBUG : dir: Looking for writers 2024/10/25 01:12:38 DEBUG : : Looking for writers 2024/10/25 01:12:38 DEBUG : dir: reading active writers 2024/10/25 01:12:38 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:12:38 DEBUG : newLeaf: vfs cache: starting upload 2024/10/25 01:12:38 DEBUG : dir: Looking for writers 2024/10/25 01:12:38 DEBUG : : Looking for writers 2024/10/25 01:12:38 DEBUG : dir: reading active writers 2024/10/25 01:12:38 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:12:38 DEBUG : dir: Looking for writers 2024/10/25 01:12:38 DEBUG : : Looking for writers 2024/10/25 01:12:38 DEBUG : dir: reading active writers 2024/10/25 01:12:38 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:12:38.767373 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:12:38.767406 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:12:38 DEBUG : dir: Looking for writers 2024/10/25 01:12:38 DEBUG : : Looking for writers 2024/10/25 01:12:38 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:38 DEBUG : dir: reading active writers 2024/10/25 01:12:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:12:39 DEBUG : dir: Looking for writers 2024/10/25 01:12:39 DEBUG : : Looking for writers 2024/10/25 01:12:39 DEBUG : dir: reading active writers 2024/10/25 01:12:39 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:12:40 DEBUG : dir: Looking for writers 2024/10/25 01:12:40 DEBUG : : Looking for writers 2024/10/25 01:12:40 DEBUG : dir: reading active writers 2024/10/25 01:12:40 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:12:41 DEBUG : newLeaf: sha1 = f1f3d7db56f36d9a5a912b01803c2176a972b9b0 OK 2024/10/25 01:12:41 INFO : newLeaf: Copied (replaced existing) 2024/10/25 01:12:41 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-10-25 01:12:31.642251231 +0000 UTC,f1f3d7db56f36d9a5a912b01803c2176a972b9b0" 2024/10/25 01:12:41 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/10/25 01:12:41 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:12:41 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/10/25 01:12:41 DEBUG : dir: Looking for writers 2024/10/25 01:12:41 DEBUG : : Looking for writers 2024/10/25 01:12:41 DEBUG : dir: reading active writers 2024/10/25 01:12:41 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:41 DEBUG : >WaitForWriters: 2024/10/25 01:12:42 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:12:42 DEBUG : dir: Looking for writers 2024/10/25 01:12:42 DEBUG : : Looking for writers 2024/10/25 01:12:42 DEBUG : dir: reading active writers 2024/10/25 01:12:42 DEBUG : newLeaf: reading active writers 2024/10/25 01:12:42 DEBUG : >WaitForWriters: 2024/10/25 01:12:42 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:12:44 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:12:44 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:12:44 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:12:44 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:12:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:12:44 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:12:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:12:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:12:44 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:12:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:12:44 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:12:49 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:12:49 DEBUG : dir: Looking for writers 2024/10/25 01:12:49 DEBUG : file1: reading active writers 2024/10/25 01:12:49 DEBUG : : Looking for writers 2024/10/25 01:12:49 DEBUG : dir: reading active writers 2024/10/25 01:12:49 DEBUG : >WaitForWriters: 2024/10/25 01:12:57 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/25 01:12:57 DEBUG : newLeaf: Updating file with newLeaf 0xc000197140 2024/10/25 01:12:57 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/25 01:12:57 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:13:04 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/25 01:13:04 DEBUG : dir/file1: Updating file with dir/file1 0xc000197140 2024/10/25 01:13:04 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/25 01:13:04 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:13:05 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/25 01:13:05 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:13:05 DEBUG : dir/file1(0xc00052ac80): openPending: 2024/10/25 01:13:05 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "" 2024/10/25 01:13:05 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/25 01:13:05 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:13:05 DEBUG : dir/file1(0xc00052ac80): >openPending: err= 2024/10/25 01:13:05 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/25 01:13:05 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:13:05 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:13:05 DEBUG : dir/file1(0xc00052ac80): _writeAt: size=25, off=0 2024/10/25 01:13:05 DEBUG : dir/file1(0xc00052ac80): >_writeAt: n=25, err= 2024/10/25 01:13:12 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/25 01:13:12 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/25 01:13:12 DEBUG : newLeaf: Updating file with newLeaf 0xc000197140 2024/10/25 01:13:12 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/25 01:13:12 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:13:12 DEBUG : newLeaf(0xc00052ac80): close: 2024/10/25 01:13:12 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/25 01:13:12 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-25 01:13:05.825345543 +0000 UTC m=+94.985453469 2024/10/25 01:13:12 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/25 01:13:12 DEBUG : newLeaf(0xc00052ac80): >close: err= 2024/10/25 01:13:12 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:13:12 DEBUG : dir: Looking for writers 2024/10/25 01:13:12 DEBUG : : Looking for writers 2024/10/25 01:13:12 DEBUG : dir: reading active writers 2024/10/25 01:13:12 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:13:12 DEBUG : dir: Looking for writers 2024/10/25 01:13:12 DEBUG : : Looking for writers 2024/10/25 01:13:12 DEBUG : dir: reading active writers 2024/10/25 01:13:12 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:13:12 DEBUG : dir: Looking for writers 2024/10/25 01:13:12 DEBUG : : Looking for writers 2024/10/25 01:13:12 DEBUG : dir: reading active writers 2024/10/25 01:13:12 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:13:12 DEBUG : dir: Looking for writers 2024/10/25 01:13:12 DEBUG : : Looking for writers 2024/10/25 01:13:12 DEBUG : dir: reading active writers 2024/10/25 01:13:12 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:13:12 DEBUG : newLeaf: vfs cache: starting upload 2024/10/25 01:13:12 DEBUG : dir: Looking for writers 2024/10/25 01:13:12 DEBUG : : Looking for writers 2024/10/25 01:13:12 DEBUG : dir: reading active writers 2024/10/25 01:13:12 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:13:12 DEBUG : dir: Looking for writers 2024/10/25 01:13:12 DEBUG : : Looking for writers 2024/10/25 01:13:12 DEBUG : dir: reading active writers 2024/10/25 01:13:12 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:13:13.002366 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:13:13.002405 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:13:13 DEBUG : dir: Looking for writers 2024/10/25 01:13:13 DEBUG : : Looking for writers 2024/10/25 01:13:13 DEBUG : dir: reading active writers 2024/10/25 01:13:13 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:13:13 DEBUG : dir: Looking for writers 2024/10/25 01:13:13 DEBUG : : Looking for writers 2024/10/25 01:13:13 DEBUG : dir: reading active writers 2024/10/25 01:13:13 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:13:14 DEBUG : dir: Looking for writers 2024/10/25 01:13:14 DEBUG : : Looking for writers 2024/10/25 01:13:14 DEBUG : dir: reading active writers 2024/10/25 01:13:14 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:13:15 DEBUG : newLeaf: sha1 = f1f3d7db56f36d9a5a912b01803c2176a972b9b0 OK 2024/10/25 01:13:15 INFO : newLeaf: Copied (replaced existing) 2024/10/25 01:13:15 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-10-25 01:13:05.825345543 +0000 UTC,f1f3d7db56f36d9a5a912b01803c2176a972b9b0" 2024/10/25 01:13:15 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/10/25 01:13:15 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:13:15 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/10/25 01:13:15 DEBUG : dir: Looking for writers 2024/10/25 01:13:15 DEBUG : : Looking for writers 2024/10/25 01:13:15 DEBUG : dir: reading active writers 2024/10/25 01:13:15 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:15 DEBUG : >WaitForWriters: 2024/10/25 01:13:16 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:13:16 DEBUG : dir: Looking for writers 2024/10/25 01:13:16 DEBUG : : Looking for writers 2024/10/25 01:13:16 DEBUG : dir: reading active writers 2024/10/25 01:13:16 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:16 DEBUG : >WaitForWriters: 2024/10/25 01:13:16 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:13:18 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:13:18 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:13:18 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:13:18 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:13:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:13:18 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:13:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:13:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:13:18 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:13:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:13:18 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:13:23 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/10/25 01:13:23 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:13:23 DEBUG : dir/file1(0xc00052a000): openPending: 2024/10/25 01:13:23 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "" 2024/10/25 01:13:23 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/25 01:13:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:13:23 DEBUG : dir/file1(0xc00052a000): >openPending: err= 2024/10/25 01:13:23 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/25 01:13:23 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:13:23 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:13:23 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:13:23 DEBUG : dir/file1(0xc00052a000): _writeAt: size=14, off=0 2024/10/25 01:13:23 DEBUG : dir/file1(0xc00052a000): >_writeAt: n=14, err= 2024/10/25 01:13:23 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/25 01:13:23 DEBUG : dir/file1(0xc00052a000): close: 2024/10/25 01:13:23 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/25 01:13:23 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/25 01:13:23 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/25 01:13:23 DEBUG : dir/file1(0xc00052a000): >close: err= 2024/10/25 01:13:23 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:13:23 DEBUG : dir: Looking for writers 2024/10/25 01:13:23 DEBUG : file1: reading active writers 2024/10/25 01:13:23 DEBUG : : Looking for writers 2024/10/25 01:13:23 DEBUG : dir: reading active writers 2024/10/25 01:13:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:13:23 DEBUG : dir: Looking for writers 2024/10/25 01:13:23 DEBUG : file1: reading active writers 2024/10/25 01:13:23 DEBUG : : Looking for writers 2024/10/25 01:13:23 DEBUG : dir: reading active writers 2024/10/25 01:13:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:13:23 DEBUG : dir: Looking for writers 2024/10/25 01:13:23 DEBUG : file1: reading active writers 2024/10/25 01:13:23 DEBUG : : Looking for writers 2024/10/25 01:13:23 DEBUG : dir: reading active writers 2024/10/25 01:13:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:13:23 DEBUG : dir: Looking for writers 2024/10/25 01:13:23 DEBUG : file1: reading active writers 2024/10/25 01:13:23 DEBUG : : Looking for writers 2024/10/25 01:13:23 DEBUG : dir: reading active writers 2024/10/25 01:13:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:13:23 DEBUG : dir/file1: vfs cache: starting upload 2024/10/25 01:13:23 DEBUG : dir: Looking for writers 2024/10/25 01:13:23 DEBUG : file1: reading active writers 2024/10/25 01:13:23 DEBUG : : Looking for writers 2024/10/25 01:13:23 DEBUG : dir: reading active writers 2024/10/25 01:13:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:13:23 DEBUG : dir: Looking for writers 2024/10/25 01:13:23 DEBUG : file1: reading active writers 2024/10/25 01:13:23 DEBUG : : Looking for writers 2024/10/25 01:13:23 DEBUG : dir: reading active writers 2024/10/25 01:13:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:13:24.034990 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:13:24.035020 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:13:24 DEBUG : dir: Looking for writers 2024/10/25 01:13:24 DEBUG : file1: reading active writers 2024/10/25 01:13:24 DEBUG : : Looking for writers 2024/10/25 01:13:24 DEBUG : dir: reading active writers 2024/10/25 01:13:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:13:24 DEBUG : dir: Looking for writers 2024/10/25 01:13:24 DEBUG : file1: reading active writers 2024/10/25 01:13:24 DEBUG : : Looking for writers 2024/10/25 01:13:24 DEBUG : dir: reading active writers 2024/10/25 01:13:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:13:25 DEBUG : dir: Looking for writers 2024/10/25 01:13:25 DEBUG : file1: reading active writers 2024/10/25 01:13:25 DEBUG : : Looking for writers 2024/10/25 01:13:25 DEBUG : dir: reading active writers 2024/10/25 01:13:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:13:26 DEBUG : dir/file1: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/10/25 01:13:26 INFO : dir/file1: Copied (replaced existing) 2024/10/25 01:13:26 DEBUG : dir/file1: vfs cache: fingerprint now "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2024/10/25 01:13:26 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/10/25 01:13:26 DEBUG : dir/file1: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/10/25 01:13:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:13:26 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/10/25 01:13:26 DEBUG : dir: Looking for writers 2024/10/25 01:13:26 DEBUG : file1: reading active writers 2024/10/25 01:13:26 DEBUG : : Looking for writers 2024/10/25 01:13:26 DEBUG : dir: reading active writers 2024/10/25 01:13:26 DEBUG : >WaitForWriters: 2024/10/25 01:13:26 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:13:26 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:13:26 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:13:26 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:13:26 DEBUG : dir/file1(0xc00052af80): _readAt: size=512, off=0 2024/10/25 01:13:26 DEBUG : dir/file1(0xc00052af80): openPending: 2024/10/25 01:13:26 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2024/10/25 01:13:26 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/10/25 01:13:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:13:26 DEBUG : dir/file1(0xc00052af80): >openPending: err= 2024/10/25 01:13:26 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/25 01:13:26 DEBUG : dir/file1(0xc00052af80): >_readAt: n=14, err=EOF 2024/10/25 01:13:26 DEBUG : dir/file1(0xc00052af80): close: 2024/10/25 01:13:26 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/25 01:13:26 DEBUG : dir/file1(0xc00052af80): >close: err= 2024/10/25 01:13:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/25 01:13:34 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/25 01:13:34 DEBUG : newLeaf: Updating file with newLeaf 0xc000197440 2024/10/25 01:13:34 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/25 01:13:34 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:13:42 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/25 01:13:42 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/10/25 01:13:42 DEBUG : dir/file1: Updating file with dir/file1 0xc000197440 2024/10/25 01:13:42 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/25 01:13:42 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:13:43 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/25 01:13:43 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:13:43 DEBUG : dir/file1(0xc0004d2840): openPending: 2024/10/25 01:13:43 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2024/10/25 01:13:43 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" != cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6") 2024/10/25 01:13:43 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2024/10/25 01:13:43 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/25 01:13:43 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/25 01:13:43 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:13:43 DEBUG : dir/file1(0xc0004d2840): >openPending: err= 2024/10/25 01:13:43 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/25 01:13:43 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:13:43 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:13:43 DEBUG : dir/file1(0xc0004d2840): _writeAt: size=25, off=0 2024/10/25 01:13:43 DEBUG : dir/file1(0xc0004d2840): >_writeAt: n=25, err= 2024/10/25 01:13:49 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/25 01:13:49 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/25 01:13:49 DEBUG : newLeaf: Updating file with newLeaf 0xc000197440 2024/10/25 01:13:49 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/25 01:13:49 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:13:49 DEBUG : newLeaf(0xc0004d2840): close: 2024/10/25 01:13:49 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/25 01:13:49 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-25 01:13:43.109497133 +0000 UTC m=+132.269605039 2024/10/25 01:13:49 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/25 01:13:49 DEBUG : newLeaf(0xc0004d2840): >close: err= 2024/10/25 01:13:49 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:13:49 DEBUG : dir: Looking for writers 2024/10/25 01:13:49 DEBUG : : Looking for writers 2024/10/25 01:13:49 DEBUG : dir: reading active writers 2024/10/25 01:13:49 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:13:49 DEBUG : dir: Looking for writers 2024/10/25 01:13:49 DEBUG : : Looking for writers 2024/10/25 01:13:49 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:49 DEBUG : dir: reading active writers 2024/10/25 01:13:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:13:49 DEBUG : dir: Looking for writers 2024/10/25 01:13:49 DEBUG : : Looking for writers 2024/10/25 01:13:49 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:49 DEBUG : dir: reading active writers 2024/10/25 01:13:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:13:49 DEBUG : dir: Looking for writers 2024/10/25 01:13:49 DEBUG : : Looking for writers 2024/10/25 01:13:49 DEBUG : dir: reading active writers 2024/10/25 01:13:49 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:13:49 DEBUG : newLeaf: vfs cache: starting upload 2024/10/25 01:13:50 DEBUG : dir: Looking for writers 2024/10/25 01:13:50 DEBUG : : Looking for writers 2024/10/25 01:13:50 DEBUG : dir: reading active writers 2024/10/25 01:13:50 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:13:50 DEBUG : dir: Looking for writers 2024/10/25 01:13:50 DEBUG : : Looking for writers 2024/10/25 01:13:50 DEBUG : dir: reading active writers 2024/10/25 01:13:50 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:13:50.279863 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:13:50.279884 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:13:50 DEBUG : dir: Looking for writers 2024/10/25 01:13:50 DEBUG : : Looking for writers 2024/10/25 01:13:50 DEBUG : dir: reading active writers 2024/10/25 01:13:50 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:13:51 DEBUG : dir: Looking for writers 2024/10/25 01:13:51 DEBUG : : Looking for writers 2024/10/25 01:13:51 DEBUG : dir: reading active writers 2024/10/25 01:13:51 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:13:52 DEBUG : dir: Looking for writers 2024/10/25 01:13:52 DEBUG : : Looking for writers 2024/10/25 01:13:52 DEBUG : dir: reading active writers 2024/10/25 01:13:52 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:13:52 DEBUG : newLeaf: sha1 = f1f3d7db56f36d9a5a912b01803c2176a972b9b0 OK 2024/10/25 01:13:52 INFO : newLeaf: Copied (replaced existing) 2024/10/25 01:13:52 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-10-25 01:13:43.109497133 +0000 UTC,f1f3d7db56f36d9a5a912b01803c2176a972b9b0" 2024/10/25 01:13:52 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/10/25 01:13:52 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:13:52 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/10/25 01:13:53 DEBUG : dir: Looking for writers 2024/10/25 01:13:53 DEBUG : : Looking for writers 2024/10/25 01:13:53 DEBUG : dir: reading active writers 2024/10/25 01:13:53 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:53 DEBUG : >WaitForWriters: 2024/10/25 01:13:53 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:13:53 DEBUG : dir: Looking for writers 2024/10/25 01:13:53 DEBUG : : Looking for writers 2024/10/25 01:13:53 DEBUG : dir: reading active writers 2024/10/25 01:13:53 DEBUG : newLeaf: reading active writers 2024/10/25 01:13:53 DEBUG : >WaitForWriters: 2024/10/25 01:13:53 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:13:56 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:13:56 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:13:56 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:13:56 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:13:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:13:56 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:13:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:13:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:13:56 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:13:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:13:56 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:14:00 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:14:00 DEBUG : dir: Looking for writers 2024/10/25 01:14:00 DEBUG : file1: reading active writers 2024/10/25 01:14:00 DEBUG : : Looking for writers 2024/10/25 01:14:00 DEBUG : dir: reading active writers 2024/10/25 01:14:00 DEBUG : >WaitForWriters: 2024/10/25 01:14:00 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:14:00 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:14:00 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:14:00 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:14:00 DEBUG : dir/file1(0xc0007b72c0): _readAt: size=512, off=0 2024/10/25 01:14:00 DEBUG : dir/file1(0xc0007b72c0): openPending: 2024/10/25 01:14:00 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "" 2024/10/25 01:14:00 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/25 01:14:00 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:14:00 DEBUG : dir/file1(0xc0007b72c0): >openPending: err= 2024/10/25 01:14:00 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2024/10/25 01:14:00 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:14:00 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:14:00 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:14:01 DEBUG : dir/file1(0xc0007b72c0): >_readAt: n=14, err=EOF 2024/10/25 01:14:01 DEBUG : dir/file1(0xc0007b72c0): close: 2024/10/25 01:14:01 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 +0000 2024/10/25 01:14:01 DEBUG : dir/file1(0xc0007b72c0): >close: err= 2024/10/25 01:14:09 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/25 01:14:09 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/25 01:14:09 DEBUG : newLeaf: Updating file with newLeaf 0xc000197c80 2024/10/25 01:14:09 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/25 01:14:09 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:14:17 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/25 01:14:17 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/10/25 01:14:17 DEBUG : dir/file1: Updating file with dir/file1 0xc000197c80 2024/10/25 01:14:17 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/25 01:14:17 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:14:18 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/25 01:14:18 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:14:18 DEBUG : dir/file1(0xc00060ec00): openPending: 2024/10/25 01:14:18 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2024/10/25 01:14:18 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/10/25 01:14:18 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:14:18 DEBUG : dir/file1(0xc00060ec00): >openPending: err= 2024/10/25 01:14:18 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/25 01:14:18 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:14:18 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:14:18 DEBUG : dir/file1(0xc00060ec00): _writeAt: size=25, off=0 2024/10/25 01:14:18 DEBUG : dir/file1(0xc00060ec00): >_writeAt: n=25, err= 2024/10/25 01:14:24 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/25 01:14:24 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/25 01:14:24 DEBUG : newLeaf: Updating file with newLeaf 0xc000197c80 2024/10/25 01:14:24 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/25 01:14:24 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:14:24 DEBUG : newLeaf(0xc00060ec00): close: 2024/10/25 01:14:24 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/25 01:14:24 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-25 01:14:18.063607999 +0000 UTC m=+167.223715896 2024/10/25 01:14:24 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/25 01:14:24 DEBUG : newLeaf(0xc00060ec00): >close: err= 2024/10/25 01:14:24 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:14:24 DEBUG : dir: Looking for writers 2024/10/25 01:14:24 DEBUG : : Looking for writers 2024/10/25 01:14:24 DEBUG : dir: reading active writers 2024/10/25 01:14:24 DEBUG : newLeaf: reading active writers 2024/10/25 01:14:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:14:24 DEBUG : dir: Looking for writers 2024/10/25 01:14:24 DEBUG : : Looking for writers 2024/10/25 01:14:24 DEBUG : dir: reading active writers 2024/10/25 01:14:24 DEBUG : newLeaf: reading active writers 2024/10/25 01:14:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:14:24 DEBUG : dir: Looking for writers 2024/10/25 01:14:24 DEBUG : : Looking for writers 2024/10/25 01:14:24 DEBUG : dir: reading active writers 2024/10/25 01:14:24 DEBUG : newLeaf: reading active writers 2024/10/25 01:14:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:14:24 DEBUG : dir: Looking for writers 2024/10/25 01:14:24 DEBUG : : Looking for writers 2024/10/25 01:14:24 DEBUG : dir: reading active writers 2024/10/25 01:14:24 DEBUG : newLeaf: reading active writers 2024/10/25 01:14:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:14:24 DEBUG : newLeaf: vfs cache: starting upload 2024/10/25 01:14:25 DEBUG : dir: Looking for writers 2024/10/25 01:14:25 DEBUG : : Looking for writers 2024/10/25 01:14:25 DEBUG : newLeaf: reading active writers 2024/10/25 01:14:25 DEBUG : dir: reading active writers 2024/10/25 01:14:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:14:25 DEBUG : dir: Looking for writers 2024/10/25 01:14:25 DEBUG : : Looking for writers 2024/10/25 01:14:25 DEBUG : dir: reading active writers 2024/10/25 01:14:25 DEBUG : newLeaf: reading active writers 2024/10/25 01:14:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:14:25.265300 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:14:25.265318 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:14:25 DEBUG : dir: Looking for writers 2024/10/25 01:14:25 DEBUG : : Looking for writers 2024/10/25 01:14:25 DEBUG : dir: reading active writers 2024/10/25 01:14:25 DEBUG : newLeaf: reading active writers 2024/10/25 01:14:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:14:26 DEBUG : dir: Looking for writers 2024/10/25 01:14:26 DEBUG : : Looking for writers 2024/10/25 01:14:26 DEBUG : dir: reading active writers 2024/10/25 01:14:26 DEBUG : newLeaf: reading active writers 2024/10/25 01:14:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:14:27 DEBUG : dir: Looking for writers 2024/10/25 01:14:27 DEBUG : : Looking for writers 2024/10/25 01:14:27 DEBUG : dir: reading active writers 2024/10/25 01:14:27 DEBUG : newLeaf: reading active writers 2024/10/25 01:14:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:14:27 DEBUG : newLeaf: sha1 = f1f3d7db56f36d9a5a912b01803c2176a972b9b0 OK 2024/10/25 01:14:27 INFO : newLeaf: Copied (replaced existing) 2024/10/25 01:14:27 DEBUG : newLeaf: vfs cache: fingerprint now "25,2024-10-25 01:14:18.063607999 +0000 UTC,f1f3d7db56f36d9a5a912b01803c2176a972b9b0" 2024/10/25 01:14:27 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/10/25 01:14:27 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/25 01:14:27 INFO : newLeaf: vfs cache: upload succeeded try #1 2024/10/25 01:14:28 DEBUG : dir: Looking for writers 2024/10/25 01:14:28 DEBUG : : Looking for writers 2024/10/25 01:14:28 DEBUG : dir: reading active writers 2024/10/25 01:14:28 DEBUG : newLeaf: reading active writers 2024/10/25 01:14:28 DEBUG : >WaitForWriters: 2024/10/25 01:14:28 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:14:28 DEBUG : dir: Looking for writers 2024/10/25 01:14:28 DEBUG : : Looking for writers 2024/10/25 01:14:28 DEBUG : dir: reading active writers 2024/10/25 01:14:28 DEBUG : newLeaf: reading active writers 2024/10/25 01:14:28 DEBUG : >WaitForWriters: 2024/10/25 01:14:28 DEBUG : vfs cache: cleaner exiting --- PASS: TestFileRename (178.22s) --- PASS: TestFileRename/minimal,forceCache=false (34.42s) --- PASS: TestFileRename/minimal,forceCache=true (37.24s) --- PASS: TestFileRename/writes,forceCache=false (34.19s) --- PASS: TestFileRename/writes,forceCache=true (37.26s) --- PASS: TestFileRename/full,forceCache=false (35.10s) === RUN TestRcGetVFS run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:14:31 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:14:31 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:14:31 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:14:31 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:14:31 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:14:31 DEBUG : : Looking for writers 2024/10/25 01:14:31 DEBUG : >WaitForWriters: --- PASS: TestRcGetVFS (0.82s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:14:32 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:14:32 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:14:35 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:14:36 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:14:36 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/25 01:14:36 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/10/25 01:14:36 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:14:37 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/10/25 01:14:37 DEBUG : dir/file1: ChunkedReader.Read at 1 length 256 chunkOffset 0 chunkSize 134217728 2024/10/25 01:14:37 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:14:37 DEBUG : dir: Looking for writers 2024/10/25 01:14:37 DEBUG : file1: reading active writers 2024/10/25 01:14:37 DEBUG : : Looking for writers 2024/10/25 01:14:37 DEBUG : dir: reading active writers 2024/10/25 01:14:37 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleMethods (7.95s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:14:40 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:14:40 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:14:43 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:14:44 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:14:44 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/25 01:14:44 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/10/25 01:14:44 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:14:45 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/10/25 01:14:45 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2024/10/25 01:14:45 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2024/10/25 01:14:45 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2024/10/25 01:14:45 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2024/10/25 01:14:45 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2024/10/25 01:14:45 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2024/10/25 01:14:45 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2024/10/25 01:14:46 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 3 (fs.RangeSeeker) 2024/10/25 01:14:46 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 3 length -1 2024/10/25 01:14:46 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 3 chunkSize 134217728 2024/10/25 01:14:46 DEBUG : dir/file1: ChunkedReader.openRange at 3 length 134217728 2024/10/25 01:14:47 DEBUG : dir/file1: ReadFileHandle.seek from 4 to 13 (fs.RangeSeeker) 2024/10/25 01:14:47 DEBUG : dir/file1: ChunkedReader.RangeSeek from 4 to 13 length -1 2024/10/25 01:14:47 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 13 chunkSize 134217728 2024/10/25 01:14:47 DEBUG : dir/file1: ChunkedReader.openRange at 13 length 134217728 2024/10/25 01:14:48 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:14:48 DEBUG : dir: Looking for writers 2024/10/25 01:14:48 DEBUG : file1: reading active writers 2024/10/25 01:14:48 DEBUG : : Looking for writers 2024/10/25 01:14:48 DEBUG : dir: reading active writers 2024/10/25 01:14:48 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleSeek (10.72s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:14:50 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:14:50 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:14:54 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:14:55 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:14:55 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/25 01:14:55 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/10/25 01:14:55 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:14:56 DEBUG : dir/file1: ChunkedReader.Read at 0 length 1 chunkOffset 0 chunkSize 134217728 2024/10/25 01:14:56 DEBUG : dir/file1: waiting for in-sequence read to 5 for 20ms 2024/10/25 01:14:56 DEBUG : dir/file1: aborting in-sequence read wait, off=5 2024/10/25 01:14:56 DEBUG : dir/file1: failed to wait for in-sequence read to 5 2024/10/25 01:14:56 DEBUG : dir/file1: ReadFileHandle.seek from 1 to 5 (fs.RangeSeeker) 2024/10/25 01:14:56 DEBUG : dir/file1: ChunkedReader.RangeSeek from 1 to 5 length -1 2024/10/25 01:14:56 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 5 chunkSize 134217728 2024/10/25 01:14:56 DEBUG : dir/file1: ChunkedReader.openRange at 5 length 134217728 2024/10/25 01:14:57 DEBUG : dir/file1: ReadFileHandle.seek from 6 to 1 (fs.RangeSeeker) 2024/10/25 01:14:57 DEBUG : dir/file1: ChunkedReader.RangeSeek from 6 to 1 length -1 2024/10/25 01:14:57 DEBUG : dir/file1: ChunkedReader.Read at -1 length 1 chunkOffset 1 chunkSize 134217728 2024/10/25 01:14:57 DEBUG : dir/file1: ChunkedReader.openRange at 1 length 134217728 2024/10/25 01:14:57 DEBUG : dir/file1: waiting for in-sequence read to 10 for 20ms 2024/10/25 01:14:57 DEBUG : dir/file1: aborting in-sequence read wait, off=10 2024/10/25 01:14:57 DEBUG : dir/file1: failed to wait for in-sequence read to 10 2024/10/25 01:14:57 DEBUG : dir/file1: ReadFileHandle.seek from 2 to 10 (fs.RangeSeeker) 2024/10/25 01:14:57 DEBUG : dir/file1: ChunkedReader.RangeSeek from 2 to 10 length -1 2024/10/25 01:14:57 DEBUG : dir/file1: ChunkedReader.Read at -1 length 6 chunkOffset 10 chunkSize 134217728 2024/10/25 01:14:57 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/10/25 01:14:58 DEBUG : dir/file1: ReadFileHandle.seek from 16 to 10 (fs.RangeSeeker) 2024/10/25 01:14:58 DEBUG : dir/file1: ChunkedReader.RangeSeek from 16 to 10 length -1 2024/10/25 01:14:58 DEBUG : dir/file1: ChunkedReader.Read at -1 length 256 chunkOffset 10 chunkSize 134217728 2024/10/25 01:14:58 DEBUG : dir/file1: ChunkedReader.openRange at 10 length 134217728 2024/10/25 01:14:59 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/10/25 01:14:59 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/10/25 01:14:59 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/10/25 01:14:59 DEBUG : dir/file1: ReadFileHandle.Read attempt to read beyond end of file: 100 > 16 2024/10/25 01:14:59 DEBUG : dir/file1: waiting for in-sequence read to 100 for 20ms 2024/10/25 01:14:59 DEBUG : dir/file1: aborting in-sequence read wait, off=100 2024/10/25 01:14:59 DEBUG : dir/file1: failed to wait for in-sequence read to 100 2024/10/25 01:14:59 ERROR : dir/file1: ReadFileHandle.Read error: Bad file descriptor 2024/10/25 01:14:59 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:14:59 DEBUG : dir: Looking for writers 2024/10/25 01:14:59 DEBUG : file1: reading active writers 2024/10/25 01:14:59 DEBUG : : Looking for writers 2024/10/25 01:14:59 DEBUG : dir: reading active writers 2024/10/25 01:14:59 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleReadAt (11.47s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:15:02 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:15:02 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:15:05 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:15:06 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:15:06 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/25 01:15:06 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/10/25 01:15:06 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:15:07 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2024/10/25 01:15:07 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:15:07 DEBUG : dir: Looking for writers 2024/10/25 01:15:07 DEBUG : file1: reading active writers 2024/10/25 01:15:07 DEBUG : : Looking for writers 2024/10/25 01:15:07 DEBUG : dir: reading active writers 2024/10/25 01:15:07 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleFlush (8.04s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:15:10 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:15:10 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:15:13 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:15:14 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:15:14 DEBUG : dir/file1: >Open: fd=dir/file1 (r), err= 2024/10/25 01:15:14 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (r), err= 2024/10/25 01:15:14 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:15:15 DEBUG : dir/file1: ChunkedReader.Read at 0 length 256 chunkOffset 0 chunkSize 134217728 2024/10/25 01:15:15 DEBUG : dir/file1: ReadFileHandle.Release closing 2024/10/25 01:15:15 DEBUG : dir/file1: ReadFileHandle.Release nothing to do 2024/10/25 01:15:15 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:15:15 DEBUG : dir: Looking for writers 2024/10/25 01:15:15 DEBUG : file1: reading active writers 2024/10/25 01:15:15 DEBUG : : Looking for writers 2024/10/25 01:15:15 DEBUG : dir: reading active writers 2024/10/25 01:15:15 DEBUG : >WaitForWriters: --- PASS: TestReadFileHandleRelease (8.03s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:15:18 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:15:18 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:15:18 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:18 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:18 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:15:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:18 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:15:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:18 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:15:21 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:15:22 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:15:22 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:15:22 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:15:22 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:15:22 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/25 01:15:22 DEBUG : dir/file1(0xc000943940): _readAt: size=1, off=0 2024/10/25 01:15:22 DEBUG : dir/file1(0xc000943940): openPending: 2024/10/25 01:15:22 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,fe5567e8d769550852182cdf69d74bb16dff8e29" against cached fingerprint "" 2024/10/25 01:15:22 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/25 01:15:22 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:15:22 DEBUG : dir/file1(0xc000943940): >openPending: err= 2024/10/25 01:15:22 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/10/25 01:15:22 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:15:22 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:15:22 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:15:23 DEBUG : dir/file1(0xc000943940): >_readAt: n=1, err= 2024/10/25 01:15:23 DEBUG : dir/file1(0xc000943940): _readAt: size=256, off=1 2024/10/25 01:15:23 DEBUG : vfs cache: looking for range={Pos:1 Size:15} in [{Pos:0 Size:16}] - present true 2024/10/25 01:15:23 DEBUG : dir/file1(0xc000943940): >_readAt: n=15, err=EOF 2024/10/25 01:15:23 DEBUG : dir/file1(0xc000943940): _readAt: size=16, off=16 2024/10/25 01:15:23 DEBUG : dir/file1(0xc000943940): >_readAt: n=0, err=EOF 2024/10/25 01:15:23 DEBUG : dir/file1(0xc000943940): close: 2024/10/25 01:15:23 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 +0000 2024/10/25 01:15:23 DEBUG : dir/file1(0xc000943940): >close: err= 2024/10/25 01:15:23 DEBUG : dir/file1(0xc000943940): close: 2024/10/25 01:15:23 DEBUG : dir/file1(0xc000943940): >close: err=file already closed 2024/10/25 01:15:23 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:15:23 DEBUG : dir: Looking for writers 2024/10/25 01:15:23 DEBUG : file1: reading active writers 2024/10/25 01:15:23 DEBUG : : Looking for writers 2024/10/25 01:15:23 DEBUG : dir: reading active writers 2024/10/25 01:15:23 DEBUG : >WaitForWriters: 2024/10/25 01:15:23 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsRead (8.02s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:15:26 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:15:26 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:15:26 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:26 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:26 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:15:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:26 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:15:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:26 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:15:29 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:15:30 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:15:30 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:15:30 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:15:30 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:15:30 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/25 01:15:30 DEBUG : dir/file1(0xc0007b7700): _readAt: size=1, off=0 2024/10/25 01:15:30 DEBUG : dir/file1(0xc0007b7700): openPending: 2024/10/25 01:15:30 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,fe5567e8d769550852182cdf69d74bb16dff8e29" against cached fingerprint "" 2024/10/25 01:15:30 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/25 01:15:30 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:15:30 DEBUG : dir/file1(0xc0007b7700): >openPending: err= 2024/10/25 01:15:30 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/10/25 01:15:30 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:15:30 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:15:30 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:15:31 DEBUG : dir/file1(0xc0007b7700): >_readAt: n=1, err= 2024/10/25 01:15:31 DEBUG : dir/file1(0xc0007b7700): _readAt: size=1, off=5 2024/10/25 01:15:31 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2024/10/25 01:15:31 DEBUG : dir/file1(0xc0007b7700): >_readAt: n=1, err= 2024/10/25 01:15:31 DEBUG : dir/file1(0xc0007b7700): _readAt: size=1, off=3 2024/10/25 01:15:31 DEBUG : vfs cache: looking for range={Pos:3 Size:1} in [{Pos:0 Size:16}] - present true 2024/10/25 01:15:31 DEBUG : dir/file1(0xc0007b7700): >_readAt: n=1, err= 2024/10/25 01:15:31 DEBUG : dir/file1(0xc0007b7700): _readAt: size=1, off=13 2024/10/25 01:15:31 DEBUG : vfs cache: looking for range={Pos:13 Size:1} in [{Pos:0 Size:16}] - present true 2024/10/25 01:15:31 DEBUG : dir/file1(0xc0007b7700): >_readAt: n=1, err= 2024/10/25 01:15:31 DEBUG : dir/file1(0xc0007b7700): _readAt: size=16, off=100 2024/10/25 01:15:31 DEBUG : dir/file1(0xc0007b7700): >_readAt: n=0, err=EOF 2024/10/25 01:15:31 DEBUG : dir/file1(0xc0007b7700): close: 2024/10/25 01:15:31 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 +0000 2024/10/25 01:15:31 DEBUG : dir/file1(0xc0007b7700): >close: err= 2024/10/25 01:15:31 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:15:31 DEBUG : dir: Looking for writers 2024/10/25 01:15:31 DEBUG : file1: reading active writers 2024/10/25 01:15:31 DEBUG : : Looking for writers 2024/10/25 01:15:31 DEBUG : dir: reading active writers 2024/10/25 01:15:31 DEBUG : >WaitForWriters: 2024/10/25 01:15:31 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSeek (7.96s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:15:34 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:15:34 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:15:34 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:34 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:34 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:15:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:34 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:15:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:34 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:15:37 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:15:38 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:15:38 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:15:38 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:15:38 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:15:38 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/25 01:15:38 DEBUG : dir/file1(0xc00052bcc0): _readAt: size=1, off=0 2024/10/25 01:15:38 DEBUG : dir/file1(0xc00052bcc0): openPending: 2024/10/25 01:15:38 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,fe5567e8d769550852182cdf69d74bb16dff8e29" against cached fingerprint "" 2024/10/25 01:15:38 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/25 01:15:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:15:38 DEBUG : dir/file1(0xc00052bcc0): >openPending: err= 2024/10/25 01:15:38 DEBUG : vfs cache: looking for range={Pos:0 Size:1} in [] - present false 2024/10/25 01:15:38 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:15:38 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:15:38 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): >_readAt: n=1, err= 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): _readAt: size=1, off=5 2024/10/25 01:15:39 DEBUG : vfs cache: looking for range={Pos:5 Size:1} in [{Pos:0 Size:16}] - present true 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): >_readAt: n=1, err= 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): _readAt: size=1, off=1 2024/10/25 01:15:39 DEBUG : vfs cache: looking for range={Pos:1 Size:1} in [{Pos:0 Size:16}] - present true 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): >_readAt: n=1, err= 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): _readAt: size=6, off=10 2024/10/25 01:15:39 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): >_readAt: n=6, err= 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): _readAt: size=256, off=10 2024/10/25 01:15:39 DEBUG : vfs cache: looking for range={Pos:10 Size:6} in [{Pos:0 Size:16}] - present true 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): >_readAt: n=6, err=EOF 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): _readAt: size=256, off=100 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): >_readAt: n=0, err=EOF 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): close: 2024/10/25 01:15:39 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 +0000 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): >close: err= 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): _readAt: size=256, off=100 2024/10/25 01:15:39 DEBUG : dir/file1(0xc00052bcc0): >_readAt: n=0, err=file already closed 2024/10/25 01:15:39 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:15:39 DEBUG : dir: Looking for writers 2024/10/25 01:15:39 DEBUG : file1: reading active writers 2024/10/25 01:15:39 DEBUG : : Looking for writers 2024/10/25 01:15:39 DEBUG : dir: reading active writers 2024/10/25 01:15:39 DEBUG : >WaitForWriters: 2024/10/25 01:15:39 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReadAt (7.97s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:15:42 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:15:42 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:15:42 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:42 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:42 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:15:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:42 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:15:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:42 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:15:45 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:15:46 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:15:46 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:15:46 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:15:46 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:15:46 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/25 01:15:46 DEBUG : dir/file1(0xc000b8cb80): RWFileHandle.Flush 2024/10/25 01:15:46 DEBUG : dir/file1(0xc000b8cb80): _readAt: size=256, off=0 2024/10/25 01:15:46 DEBUG : dir/file1(0xc000b8cb80): openPending: 2024/10/25 01:15:46 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,fe5567e8d769550852182cdf69d74bb16dff8e29" against cached fingerprint "" 2024/10/25 01:15:46 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/25 01:15:46 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:15:46 DEBUG : dir/file1(0xc000b8cb80): >openPending: err= 2024/10/25 01:15:46 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2024/10/25 01:15:46 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:15:46 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:15:46 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:15:47 DEBUG : dir/file1(0xc000b8cb80): >_readAt: n=16, err=EOF 2024/10/25 01:15:47 DEBUG : dir/file1(0xc000b8cb80): RWFileHandle.Flush 2024/10/25 01:15:47 DEBUG : dir/file1(0xc000b8cb80): RWFileHandle.Flush 2024/10/25 01:15:47 DEBUG : dir/file1(0xc000b8cb80): close: 2024/10/25 01:15:47 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 +0000 2024/10/25 01:15:47 DEBUG : dir/file1(0xc000b8cb80): >close: err= 2024/10/25 01:15:47 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:15:47 DEBUG : dir: Looking for writers 2024/10/25 01:15:47 DEBUG : file1: reading active writers 2024/10/25 01:15:47 DEBUG : : Looking for writers 2024/10/25 01:15:47 DEBUG : dir: reading active writers 2024/10/25 01:15:47 DEBUG : >WaitForWriters: 2024/10/25 01:15:47 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushRead (8.00s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:15:50 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:15:50 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:15:50 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:50 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:50 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:15:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:50 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:15:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:50 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:15:53 DEBUG : dir/file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:15:54 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/25 01:15:54 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:15:54 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:15:54 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:15:54 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/25 01:15:54 DEBUG : dir/file1(0xc000403ec0): _readAt: size=256, off=0 2024/10/25 01:15:54 DEBUG : dir/file1(0xc000403ec0): openPending: 2024/10/25 01:15:54 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,fe5567e8d769550852182cdf69d74bb16dff8e29" against cached fingerprint "" 2024/10/25 01:15:54 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/25 01:15:54 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:15:54 DEBUG : dir/file1(0xc000403ec0): >openPending: err= 2024/10/25 01:15:54 DEBUG : vfs cache: looking for range={Pos:0 Size:16} in [] - present false 2024/10/25 01:15:54 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:15:54 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:15:54 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:15:55 DEBUG : dir/file1(0xc000403ec0): >_readAt: n=16, err=EOF 2024/10/25 01:15:55 DEBUG : dir/file1(0xc000403ec0): RWFileHandle.Release 2024/10/25 01:15:55 DEBUG : dir/file1(0xc000403ec0): close: 2024/10/25 01:15:55 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 +0000 2024/10/25 01:15:55 DEBUG : dir/file1(0xc000403ec0): >close: err= 2024/10/25 01:15:55 DEBUG : dir/file1(0xc000403ec0): RWFileHandle.Release 2024/10/25 01:15:55 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:15:55 DEBUG : dir: Looking for writers 2024/10/25 01:15:55 DEBUG : file1: reading active writers 2024/10/25 01:15:55 DEBUG : : Looking for writers 2024/10/25 01:15:55 DEBUG : dir: reading active writers 2024/10/25 01:15:55 DEBUG : >WaitForWriters: 2024/10/25 01:15:55 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseRead (8.19s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:15:58 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:15:58 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:15:58 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:58 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:58 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:15:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:58 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:15:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:15:58 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:15:58 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:15:58 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:15:58 DEBUG : file1: newRWFileHandle: 2024/10/25 01:15:58 DEBUG : file1(0xc00052a680): openPending: 2024/10/25 01:15:58 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:15:58 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:15:58 DEBUG : file1(0xc00052a680): >openPending: err= 2024/10/25 01:15:58 DEBUG : file1: >newRWFileHandle: err= 2024/10/25 01:15:58 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:15:58 DEBUG : file1: >Open: fd=file1 (rw), err= 2024/10/25 01:15:58 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2024/10/25 01:15:58 DEBUG : file1(0xc00052a680): _writeAt: size=5, off=0 2024/10/25 01:15:58 DEBUG : file1(0xc00052a680): >_writeAt: n=5, err= 2024/10/25 01:15:58 DEBUG : file1(0xc00052a680): _writeAt: size=7, off=5 2024/10/25 01:15:58 DEBUG : file1(0xc00052a680): >_writeAt: n=7, err= 2024/10/25 01:15:58 DEBUG : file1: vfs cache: truncate to size=11 2024/10/25 01:15:58 DEBUG : file1(0xc00052a680): close: 2024/10/25 01:15:58 DEBUG : file1: vfs cache: setting modification time to 2024-10-25 01:15:58.808574758 +0000 UTC m=+267.968682654 2024/10/25 01:15:58 INFO : file1: vfs cache: queuing for upload in 100ms 2024/10/25 01:15:58 DEBUG : file1(0xc00052a680): >close: err= 2024/10/25 01:15:58 DEBUG : file1(0xc00052a680): close: 2024/10/25 01:15:58 DEBUG : file1(0xc00052a680): >close: err=file already closed 2024/10/25 01:15:58 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:15:58 DEBUG : : Looking for writers 2024/10/25 01:15:58 DEBUG : file1: reading active writers 2024/10/25 01:15:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:15:58 DEBUG : : Looking for writers 2024/10/25 01:15:58 DEBUG : file1: reading active writers 2024/10/25 01:15:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:15:58 DEBUG : : Looking for writers 2024/10/25 01:15:58 DEBUG : file1: reading active writers 2024/10/25 01:15:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:15:58 DEBUG : : Looking for writers 2024/10/25 01:15:58 DEBUG : file1: reading active writers 2024/10/25 01:15:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:15:58 DEBUG : file1: vfs cache: starting upload 2024/10/25 01:15:58 DEBUG : : Looking for writers 2024/10/25 01:15:58 DEBUG : file1: reading active writers 2024/10/25 01:15:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:15:59 DEBUG : : Looking for writers 2024/10/25 01:15:59 DEBUG : file1: reading active writers 2024/10/25 01:15:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:15:59 DEBUG : : Looking for writers 2024/10/25 01:15:59 DEBUG : file1: reading active writers 2024/10/25 01:15:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:16:00 DEBUG : : Looking for writers 2024/10/25 01:16:00 DEBUG : file1: reading active writers 2024/10/25 01:16:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:00 DEBUG : file1: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2024/10/25 01:16:00 INFO : file1: Copied (new) 2024/10/25 01:16:00 DEBUG : file1: vfs cache: fingerprint now "11,2024-10-25 01:15:58.808574758 +0000 UTC,2aae6c35c94fcfb415dbe95f408b9ce91ee846ed" 2024/10/25 01:16:00 DEBUG : file1: vfs cache: writeback object to VFS layer 2024/10/25 01:16:00 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:00 INFO : file1: vfs cache: upload succeeded try #1 2024/10/25 01:16:01 DEBUG : : Looking for writers 2024/10/25 01:16:01 DEBUG : file1: reading active writers 2024/10/25 01:16:01 DEBUG : >WaitForWriters: 2024/10/25 01:16:01 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:01 DEBUG : : Looking for writers 2024/10/25 01:16:01 DEBUG : file1: reading active writers 2024/10/25 01:16:01 DEBUG : >WaitForWriters: 2024/10/25 01:16:01 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleMethodsWrite (4.76s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:16:03 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:16:03 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:16:03 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:03 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:03 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:03 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:03 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:16:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:03 DEBUG : file1: newRWFileHandle: 2024/10/25 01:16:03 DEBUG : file1(0xc0004029c0): openPending: 2024/10/25 01:16:03 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:03 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:03 DEBUG : file1(0xc0004029c0): >openPending: err= 2024/10/25 01:16:03 DEBUG : file1: >newRWFileHandle: err= 2024/10/25 01:16:03 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:03 DEBUG : file1: >Open: fd=file1 (rw), err= 2024/10/25 01:16:03 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2024/10/25 01:16:03 DEBUG : file1(0xc0004029c0): _writeAt: size=7, off=0 2024/10/25 01:16:03 DEBUG : file1(0xc0004029c0): >_writeAt: n=7, err= 2024/10/25 01:16:03 DEBUG : file1(0xc0004029c0): _writeAt: size=6, off=5 2024/10/25 01:16:03 DEBUG : file1(0xc0004029c0): >_writeAt: n=6, err= 2024/10/25 01:16:03 DEBUG : file1(0xc0004029c0): close: 2024/10/25 01:16:03 DEBUG : file1: vfs cache: setting modification time to 2024-10-25 01:16:03.591452933 +0000 UTC m=+272.751560839 2024/10/25 01:16:03 INFO : file1: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:03 DEBUG : file1(0xc0004029c0): >close: err= 2024/10/25 01:16:03 DEBUG : file1(0xc0004029c0): _writeAt: size=5, off=0 2024/10/25 01:16:03 DEBUG : file1(0xc0004029c0): >_writeAt: n=0, err=file already closed 2024/10/25 01:16:03 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:03 DEBUG : : Looking for writers 2024/10/25 01:16:03 DEBUG : file1: reading active writers 2024/10/25 01:16:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:16:03 DEBUG : : Looking for writers 2024/10/25 01:16:03 DEBUG : file1: reading active writers 2024/10/25 01:16:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:16:03 DEBUG : : Looking for writers 2024/10/25 01:16:03 DEBUG : file1: reading active writers 2024/10/25 01:16:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:16:03 DEBUG : : Looking for writers 2024/10/25 01:16:03 DEBUG : file1: reading active writers 2024/10/25 01:16:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:16:03 DEBUG : file1: vfs cache: starting upload 2024/10/25 01:16:03 DEBUG : : Looking for writers 2024/10/25 01:16:03 DEBUG : file1: reading active writers 2024/10/25 01:16:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:16:03 DEBUG : : Looking for writers 2024/10/25 01:16:03 DEBUG : file1: reading active writers 2024/10/25 01:16:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:16:04 DEBUG : : Looking for writers 2024/10/25 01:16:04 DEBUG : file1: reading active writers 2024/10/25 01:16:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:16:04 DEBUG : : Looking for writers 2024/10/25 01:16:04 DEBUG : file1: reading active writers 2024/10/25 01:16:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:05 DEBUG : file1: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2024/10/25 01:16:05 INFO : file1: Copied (new) 2024/10/25 01:16:05 DEBUG : file1: vfs cache: fingerprint now "11,2024-10-25 01:16:03.591452933 +0000 UTC,2aae6c35c94fcfb415dbe95f408b9ce91ee846ed" 2024/10/25 01:16:05 DEBUG : file1: vfs cache: writeback object to VFS layer 2024/10/25 01:16:05 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:05 INFO : file1: vfs cache: upload succeeded try #1 2024/10/25 01:16:05 DEBUG : : Looking for writers 2024/10/25 01:16:05 DEBUG : file1: reading active writers 2024/10/25 01:16:05 DEBUG : >WaitForWriters: 2024/10/25 01:16:06 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:06 DEBUG : : Looking for writers 2024/10/25 01:16:06 DEBUG : file1: reading active writers 2024/10/25 01:16:06 DEBUG : >WaitForWriters: 2024/10/25 01:16:06 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteAt (4.79s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:16:07 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:16:07 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:16:07 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:07 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:07 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:07 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:07 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:16:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:08 DEBUG : file1: newRWFileHandle: 2024/10/25 01:16:08 DEBUG : file1(0xc000942480): openPending: 2024/10/25 01:16:08 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:08 DEBUG : file1(0xc000942480): >openPending: err= 2024/10/25 01:16:08 DEBUG : file1: >newRWFileHandle: err= 2024/10/25 01:16:08 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:08 DEBUG : file1: >Open: fd=file1 (rw), err= 2024/10/25 01:16:08 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2024/10/25 01:16:08 DEBUG : file1(0xc000942480): close: 2024/10/25 01:16:08 DEBUG : file1: vfs cache: setting modification time to 2024-10-25 01:16:08.362418312 +0000 UTC m=+277.522526218 2024/10/25 01:16:08 INFO : file1: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:08 DEBUG : file1(0xc000942480): >close: err= 2024/10/25 01:16:08 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2024/10/25 01:16:08 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2024/10/25 01:16:08 DEBUG : file2: newRWFileHandle: 2024/10/25 01:16:08 DEBUG : file2(0xc0009425c0): openPending: 2024/10/25 01:16:08 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:08 DEBUG : : Added virtual directory entry vAddFile: "file2" 2024/10/25 01:16:08 DEBUG : file2(0xc0009425c0): >openPending: err= 2024/10/25 01:16:08 DEBUG : file2: >newRWFileHandle: err= 2024/10/25 01:16:08 DEBUG : : Added virtual directory entry vAddFile: "file2" 2024/10/25 01:16:08 DEBUG : file2: >Open: fd=file2 (rw), err= 2024/10/25 01:16:08 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2024/10/25 01:16:08 DEBUG : file2(0xc0009425c0): RWFileHandle.Flush 2024/10/25 01:16:08 DEBUG : file2(0xc0009425c0): RWFileHandle.Release 2024/10/25 01:16:08 DEBUG : file2(0xc0009425c0): close: 2024/10/25 01:16:08 DEBUG : file2: vfs cache: setting modification time to 2024-10-25 01:16:08.36325737 +0000 UTC m=+277.523365266 2024/10/25 01:16:08 INFO : file2: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:08 DEBUG : file2(0xc0009425c0): >close: err= 2024/10/25 01:16:08 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:08 DEBUG : : Looking for writers 2024/10/25 01:16:08 DEBUG : file1: reading active writers 2024/10/25 01:16:08 DEBUG : file2: reading active writers 2024/10/25 01:16:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2024/10/25 01:16:08 DEBUG : : Looking for writers 2024/10/25 01:16:08 DEBUG : file1: reading active writers 2024/10/25 01:16:08 DEBUG : file2: reading active writers 2024/10/25 01:16:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2024/10/25 01:16:08 DEBUG : : Looking for writers 2024/10/25 01:16:08 DEBUG : file1: reading active writers 2024/10/25 01:16:08 DEBUG : file2: reading active writers 2024/10/25 01:16:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2024/10/25 01:16:08 DEBUG : : Looking for writers 2024/10/25 01:16:08 DEBUG : file1: reading active writers 2024/10/25 01:16:08 DEBUG : file2: reading active writers 2024/10/25 01:16:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2024/10/25 01:16:08 DEBUG : file2: vfs cache: starting upload 2024/10/25 01:16:08 DEBUG : file1: vfs cache: starting upload 2024/10/25 01:16:08 DEBUG : : Looking for writers 2024/10/25 01:16:08 DEBUG : file1: reading active writers 2024/10/25 01:16:08 DEBUG : file2: reading active writers 2024/10/25 01:16:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2024/10/25 01:16:08 DEBUG : : Looking for writers 2024/10/25 01:16:08 DEBUG : file2: reading active writers 2024/10/25 01:16:08 DEBUG : file1: reading active writers 2024/10/25 01:16:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2024/10/25 01:16:08 DEBUG : : Looking for writers 2024/10/25 01:16:08 DEBUG : file1: reading active writers 2024/10/25 01:16:08 DEBUG : file2: reading active writers 2024/10/25 01:16:08 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2024/10/25 01:16:09 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/10/25 01:16:09 INFO : file2: Copied (new) 2024/10/25 01:16:09 DEBUG : file2: vfs cache: fingerprint now "0,2024-10-25 01:16:08.36325737 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2024/10/25 01:16:09 DEBUG : file2: vfs cache: writeback object to VFS layer 2024/10/25 01:16:09 DEBUG : : Added virtual directory entry vAddFile: "file2" 2024/10/25 01:16:09 INFO : file2: vfs cache: upload succeeded try #1 2024/10/25 01:16:09 DEBUG : file1: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/10/25 01:16:09 INFO : file1: Copied (new) 2024/10/25 01:16:09 DEBUG : file1: vfs cache: fingerprint now "0,2024-10-25 01:16:08.362418312 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2024/10/25 01:16:09 DEBUG : file1: vfs cache: writeback object to VFS layer 2024/10/25 01:16:09 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:09 INFO : file1: vfs cache: upload succeeded try #1 2024/10/25 01:16:09 DEBUG : : Looking for writers 2024/10/25 01:16:09 DEBUG : file1: reading active writers 2024/10/25 01:16:09 DEBUG : file2: reading active writers 2024/10/25 01:16:09 DEBUG : >WaitForWriters: 2024/10/25 01:16:10 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:10 DEBUG : : Looking for writers 2024/10/25 01:16:10 DEBUG : file1: reading active writers 2024/10/25 01:16:10 DEBUG : file2: reading active writers 2024/10/25 01:16:10 DEBUG : >WaitForWriters: 2024/10/25 01:16:10 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleWriteNoWrite (4.64s) === RUN TestRWFileHandleFlushWrite run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:16:12 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:16:12 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:16:12 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:12 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:12 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:12 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:12 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:12 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:16:13 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:13 DEBUG : file1: newRWFileHandle: 2024/10/25 01:16:13 DEBUG : file1(0xc0007b76c0): openPending: 2024/10/25 01:16:13 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:13 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:13 DEBUG : file1(0xc0007b76c0): >openPending: err= 2024/10/25 01:16:13 DEBUG : file1: >newRWFileHandle: err= 2024/10/25 01:16:13 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:13 DEBUG : file1: >Open: fd=file1 (rw), err= 2024/10/25 01:16:13 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2024/10/25 01:16:13 DEBUG : file1(0xc0007b76c0): _writeAt: size=5, off=0 2024/10/25 01:16:13 DEBUG : file1(0xc0007b76c0): >_writeAt: n=5, err= 2024/10/25 01:16:13 DEBUG : file1(0xc0007b76c0): RWFileHandle.Flush 2024/10/25 01:16:13 DEBUG : file1(0xc0007b76c0): RWFileHandle.Flush 2024/10/25 01:16:13 DEBUG : file1(0xc0007b76c0): close: 2024/10/25 01:16:13 DEBUG : file1: vfs cache: setting modification time to 2024-10-25 01:16:13.006065316 +0000 UTC m=+282.166173232 2024/10/25 01:16:13 INFO : file1: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:13 DEBUG : file1(0xc0007b76c0): >close: err= 2024/10/25 01:16:13 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:13 DEBUG : : Looking for writers 2024/10/25 01:16:13 DEBUG : file1: reading active writers 2024/10/25 01:16:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:16:13 DEBUG : : Looking for writers 2024/10/25 01:16:13 DEBUG : file1: reading active writers 2024/10/25 01:16:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:16:13 DEBUG : : Looking for writers 2024/10/25 01:16:13 DEBUG : file1: reading active writers 2024/10/25 01:16:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:16:13 DEBUG : : Looking for writers 2024/10/25 01:16:13 DEBUG : file1: reading active writers 2024/10/25 01:16:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:16:13 DEBUG : file1: vfs cache: starting upload 2024/10/25 01:16:13 DEBUG : : Looking for writers 2024/10/25 01:16:13 DEBUG : file1: reading active writers 2024/10/25 01:16:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:16:13 DEBUG : : Looking for writers 2024/10/25 01:16:13 DEBUG : file1: reading active writers 2024/10/25 01:16:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:16:13 DEBUG : : Looking for writers 2024/10/25 01:16:13 DEBUG : file1: reading active writers 2024/10/25 01:16:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:16:14 DEBUG : : Looking for writers 2024/10/25 01:16:14 DEBUG : file1: reading active writers 2024/10/25 01:16:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:14 DEBUG : file1: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2024/10/25 01:16:14 INFO : file1: Copied (new) 2024/10/25 01:16:14 DEBUG : file1: vfs cache: fingerprint now "5,2024-10-25 01:16:13.006065316 +0000 UTC,aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d" 2024/10/25 01:16:14 DEBUG : file1: vfs cache: writeback object to VFS layer 2024/10/25 01:16:14 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:14 INFO : file1: vfs cache: upload succeeded try #1 2024/10/25 01:16:15 DEBUG : : Looking for writers 2024/10/25 01:16:15 DEBUG : file1: reading active writers 2024/10/25 01:16:15 DEBUG : >WaitForWriters: 2024/10/25 01:16:15 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleFlushWrite (4.23s) === RUN TestRWFileHandleReleaseWrite run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:16:16 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:16:16 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:16:16 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:16 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:16 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:16 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:16 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:16 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:16:17 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:17 DEBUG : file1: newRWFileHandle: 2024/10/25 01:16:17 DEBUG : file1(0xc000402b80): openPending: 2024/10/25 01:16:17 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:17 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:17 DEBUG : file1(0xc000402b80): >openPending: err= 2024/10/25 01:16:17 DEBUG : file1: >newRWFileHandle: err= 2024/10/25 01:16:17 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:17 DEBUG : file1: >Open: fd=file1 (rw), err= 2024/10/25 01:16:17 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2024/10/25 01:16:17 DEBUG : file1(0xc000402b80): _writeAt: size=5, off=0 2024/10/25 01:16:17 DEBUG : file1(0xc000402b80): >_writeAt: n=5, err= 2024/10/25 01:16:17 DEBUG : file1(0xc000402b80): RWFileHandle.Release 2024/10/25 01:16:17 DEBUG : file1(0xc000402b80): close: 2024/10/25 01:16:17 DEBUG : file1: vfs cache: setting modification time to 2024-10-25 01:16:17.192314541 +0000 UTC m=+286.352422477 2024/10/25 01:16:17 INFO : file1: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:17 DEBUG : file1(0xc000402b80): >close: err= 2024/10/25 01:16:17 DEBUG : file1(0xc000402b80): RWFileHandle.Release 2024/10/25 01:16:17 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:17 DEBUG : : Looking for writers 2024/10/25 01:16:17 DEBUG : file1: reading active writers 2024/10/25 01:16:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:16:17 DEBUG : : Looking for writers 2024/10/25 01:16:17 DEBUG : file1: reading active writers 2024/10/25 01:16:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:16:17 DEBUG : : Looking for writers 2024/10/25 01:16:17 DEBUG : file1: reading active writers 2024/10/25 01:16:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:16:17 DEBUG : : Looking for writers 2024/10/25 01:16:17 DEBUG : file1: reading active writers 2024/10/25 01:16:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:16:17 DEBUG : file1: vfs cache: starting upload 2024/10/25 01:16:17 DEBUG : : Looking for writers 2024/10/25 01:16:17 DEBUG : file1: reading active writers 2024/10/25 01:16:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:16:17 DEBUG : : Looking for writers 2024/10/25 01:16:17 DEBUG : file1: reading active writers 2024/10/25 01:16:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:16:17 DEBUG : : Looking for writers 2024/10/25 01:16:17 DEBUG : file1: reading active writers 2024/10/25 01:16:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:16:18 DEBUG : : Looking for writers 2024/10/25 01:16:18 DEBUG : file1: reading active writers 2024/10/25 01:16:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:19 DEBUG : file1: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2024/10/25 01:16:19 INFO : file1: Copied (new) 2024/10/25 01:16:19 DEBUG : file1: vfs cache: fingerprint now "5,2024-10-25 01:16:17.192314541 +0000 UTC,aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d" 2024/10/25 01:16:19 DEBUG : file1: vfs cache: writeback object to VFS layer 2024/10/25 01:16:19 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:19 INFO : file1: vfs cache: upload succeeded try #1 2024/10/25 01:16:19 DEBUG : : Looking for writers 2024/10/25 01:16:19 DEBUG : file1: reading active writers 2024/10/25 01:16:19 DEBUG : >WaitForWriters: 2024/10/25 01:16:19 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleReleaseWrite (4.15s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:16:20 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:16:20 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:16:20 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:20 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:20 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:20 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:20 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:16:24 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_TRUNC, perm=-rwxrwxrwx 2024/10/25 01:16:25 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/25 01:16:25 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:16:25 DEBUG : dir/file1(0xc0004d3080): openPending: 2024/10/25 01:16:25 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,fe5567e8d769550852182cdf69d74bb16dff8e29" against cached fingerprint "" 2024/10/25 01:16:25 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/25 01:16:25 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:25 DEBUG : dir/file1(0xc0004d3080): >openPending: err= 2024/10/25 01:16:25 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/25 01:16:25 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:16:25 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:16:25 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/25 01:16:25 DEBUG : dir/file1(0xc0004d3080): _writeAt: size=5, off=0 2024/10/25 01:16:25 DEBUG : dir/file1(0xc0004d3080): >_writeAt: n=5, err= 2024/10/25 01:16:25 DEBUG : dir/file1(0xc0004d3080): close: 2024/10/25 01:16:25 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2024/10/25 01:16:25 DEBUG : dir/file1: vfs cache: setting modification time to 2024-10-25 01:16:25.751189836 +0000 UTC m=+294.911297732 2024/10/25 01:16:25 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:25 DEBUG : dir/file1(0xc0004d3080): >close: err= 2024/10/25 01:16:25 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:25 DEBUG : dir: Looking for writers 2024/10/25 01:16:25 DEBUG : file1: reading active writers 2024/10/25 01:16:25 DEBUG : : Looking for writers 2024/10/25 01:16:25 DEBUG : dir: reading active writers 2024/10/25 01:16:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:16:25 DEBUG : dir: Looking for writers 2024/10/25 01:16:25 DEBUG : file1: reading active writers 2024/10/25 01:16:25 DEBUG : : Looking for writers 2024/10/25 01:16:25 DEBUG : dir: reading active writers 2024/10/25 01:16:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:16:25 DEBUG : dir: Looking for writers 2024/10/25 01:16:25 DEBUG : file1: reading active writers 2024/10/25 01:16:25 DEBUG : : Looking for writers 2024/10/25 01:16:25 DEBUG : dir: reading active writers 2024/10/25 01:16:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:16:25 DEBUG : dir: Looking for writers 2024/10/25 01:16:25 DEBUG : file1: reading active writers 2024/10/25 01:16:25 DEBUG : : Looking for writers 2024/10/25 01:16:25 DEBUG : dir: reading active writers 2024/10/25 01:16:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:16:25 DEBUG : dir/file1: vfs cache: starting upload 2024/10/25 01:16:25 DEBUG : dir: Looking for writers 2024/10/25 01:16:25 DEBUG : file1: reading active writers 2024/10/25 01:16:25 DEBUG : : Looking for writers 2024/10/25 01:16:25 DEBUG : dir: reading active writers 2024/10/25 01:16:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:16:26 DEBUG : dir: Looking for writers 2024/10/25 01:16:26 DEBUG : file1: reading active writers 2024/10/25 01:16:26 DEBUG : : Looking for writers 2024/10/25 01:16:26 DEBUG : dir: reading active writers 2024/10/25 01:16:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:16:26.181797 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:16:26.181822 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:16:26 DEBUG : dir: Looking for writers 2024/10/25 01:16:26 DEBUG : file1: reading active writers 2024/10/25 01:16:26 DEBUG : : Looking for writers 2024/10/25 01:16:26 DEBUG : dir: reading active writers 2024/10/25 01:16:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:16:27 DEBUG : dir: Looking for writers 2024/10/25 01:16:27 DEBUG : file1: reading active writers 2024/10/25 01:16:27 DEBUG : : Looking for writers 2024/10/25 01:16:27 DEBUG : dir: reading active writers 2024/10/25 01:16:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:28 DEBUG : dir: Looking for writers 2024/10/25 01:16:28 DEBUG : file1: reading active writers 2024/10/25 01:16:28 DEBUG : : Looking for writers 2024/10/25 01:16:28 DEBUG : dir: reading active writers 2024/10/25 01:16:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:28 DEBUG : dir/file1: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2024/10/25 01:16:28 INFO : dir/file1: Copied (replaced existing) 2024/10/25 01:16:28 DEBUG : dir/file1: vfs cache: fingerprint now "5,2024-10-25 01:16:25.751189836 +0000 UTC,aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d" 2024/10/25 01:16:28 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/10/25 01:16:28 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:28 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/10/25 01:16:29 DEBUG : dir: Looking for writers 2024/10/25 01:16:29 DEBUG : file1: reading active writers 2024/10/25 01:16:29 DEBUG : : Looking for writers 2024/10/25 01:16:29 DEBUG : dir: reading active writers 2024/10/25 01:16:29 DEBUG : >WaitForWriters: 2024/10/25 01:16:29 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeTruncateExisting (10.61s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:16:31 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:16:31 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:16:31 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:31 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:31 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:31 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:31 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:16:35 DEBUG : dir/file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:36 DEBUG : dir/file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:36 DEBUG : dir/file1: newRWFileHandle: 2024/10/25 01:16:36 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/25 01:16:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:36 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/25 01:16:36 DEBUG : dir/file1: >OpenFile: fd=dir/file1 (rw), err= 2024/10/25 01:16:36 DEBUG : dir/file1(0xc000942840): _writeAt: size=5, off=0 2024/10/25 01:16:36 DEBUG : dir/file1(0xc000942840): openPending: 2024/10/25 01:16:36 DEBUG : dir/file1: vfs cache: checking remote fingerprint "16,2001-02-03 04:05:06 +0000 UTC,fe5567e8d769550852182cdf69d74bb16dff8e29" against cached fingerprint "" 2024/10/25 01:16:36 DEBUG : dir/file1: vfs cache: truncate to size=16 2024/10/25 01:16:36 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:36 DEBUG : dir/file1(0xc000942840): >openPending: err= 2024/10/25 01:16:36 DEBUG : dir/file1(0xc000942840): >_writeAt: n=5, err= 2024/10/25 01:16:36 DEBUG : dir/file1(0xc000942840): _writeAt: size=15, off=5 2024/10/25 01:16:36 DEBUG : dir/file1(0xc000942840): >_writeAt: n=15, err= 2024/10/25 01:16:36 DEBUG : dir/file1(0xc000942840): close: 2024/10/25 01:16:36 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [{Pos:0 Size:20}] - present true 2024/10/25 01:16:36 DEBUG : dir/file1: vfs cache: setting modification time to 2024-10-25 01:16:36.36745107 +0000 UTC m=+305.527558967 2024/10/25 01:16:36 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:36 DEBUG : dir/file1(0xc000942840): >close: err= 2024/10/25 01:16:36 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:36 DEBUG : dir: Looking for writers 2024/10/25 01:16:36 DEBUG : file1: reading active writers 2024/10/25 01:16:36 DEBUG : : Looking for writers 2024/10/25 01:16:36 DEBUG : dir: reading active writers 2024/10/25 01:16:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:16:36 DEBUG : dir: Looking for writers 2024/10/25 01:16:36 DEBUG : file1: reading active writers 2024/10/25 01:16:36 DEBUG : : Looking for writers 2024/10/25 01:16:36 DEBUG : dir: reading active writers 2024/10/25 01:16:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:16:36 DEBUG : dir: Looking for writers 2024/10/25 01:16:36 DEBUG : file1: reading active writers 2024/10/25 01:16:36 DEBUG : : Looking for writers 2024/10/25 01:16:36 DEBUG : dir: reading active writers 2024/10/25 01:16:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:16:36 DEBUG : dir: Looking for writers 2024/10/25 01:16:36 DEBUG : file1: reading active writers 2024/10/25 01:16:36 DEBUG : : Looking for writers 2024/10/25 01:16:36 DEBUG : dir: reading active writers 2024/10/25 01:16:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:16:36 DEBUG : dir/file1: vfs cache: starting upload 2024/10/25 01:16:36 DEBUG : dir: Looking for writers 2024/10/25 01:16:36 DEBUG : file1: reading active writers 2024/10/25 01:16:36 DEBUG : : Looking for writers 2024/10/25 01:16:36 DEBUG : dir: reading active writers 2024/10/25 01:16:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:16:36 DEBUG : dir: Looking for writers 2024/10/25 01:16:36 DEBUG : file1: reading active writers 2024/10/25 01:16:36 DEBUG : : Looking for writers 2024/10/25 01:16:36 DEBUG : dir: reading active writers 2024/10/25 01:16:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:16:36.794164 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:16:36.794200 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:16:36 DEBUG : dir: Looking for writers 2024/10/25 01:16:36 DEBUG : file1: reading active writers 2024/10/25 01:16:36 DEBUG : : Looking for writers 2024/10/25 01:16:36 DEBUG : dir: reading active writers 2024/10/25 01:16:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:16:37 DEBUG : dir: Looking for writers 2024/10/25 01:16:37 DEBUG : file1: reading active writers 2024/10/25 01:16:37 DEBUG : : Looking for writers 2024/10/25 01:16:37 DEBUG : dir: reading active writers 2024/10/25 01:16:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:38 DEBUG : dir: Looking for writers 2024/10/25 01:16:38 DEBUG : file1: reading active writers 2024/10/25 01:16:38 DEBUG : : Looking for writers 2024/10/25 01:16:38 DEBUG : dir: reading active writers 2024/10/25 01:16:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:39 DEBUG : dir/file1: sha1 = 57d2323f11c653458352529c8319b3f4cc13c661 OK 2024/10/25 01:16:39 INFO : dir/file1: Copied (replaced existing) 2024/10/25 01:16:39 DEBUG : dir/file1: vfs cache: fingerprint now "20,2024-10-25 01:16:36.36745107 +0000 UTC,57d2323f11c653458352529c8319b3f4cc13c661" 2024/10/25 01:16:39 DEBUG : dir/file1: vfs cache: writeback object to VFS layer 2024/10/25 01:16:39 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:39 INFO : dir/file1: vfs cache: upload succeeded try #1 2024/10/25 01:16:39 DEBUG : dir: Looking for writers 2024/10/25 01:16:39 DEBUG : file1: reading active writers 2024/10/25 01:16:39 DEBUG : : Looking for writers 2024/10/25 01:16:39 DEBUG : dir: reading active writers 2024/10/25 01:16:39 DEBUG : >WaitForWriters: 2024/10/25 01:16:39 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateExisting (10.62s) === RUN TestRWFileHandleSizeCreateNew run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:16:42 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:16:42 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:16:42 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:42 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:42 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:42 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:42 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:42 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:16:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:42 DEBUG : file1: newRWFileHandle: 2024/10/25 01:16:42 DEBUG : file1(0xc00052a580): openPending: 2024/10/25 01:16:42 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:42 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:42 DEBUG : file1(0xc00052a580): >openPending: err= 2024/10/25 01:16:42 DEBUG : file1: >newRWFileHandle: err= 2024/10/25 01:16:42 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:42 DEBUG : file1: >Open: fd=file1 (rw), err= 2024/10/25 01:16:42 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2024/10/25 01:16:42 DEBUG : file1(0xc00052a580): _writeAt: size=5, off=0 2024/10/25 01:16:42 DEBUG : file1(0xc00052a580): >_writeAt: n=5, err= 2024/10/25 01:16:42 DEBUG : file1(0xc00052a580): close: 2024/10/25 01:16:42 DEBUG : file1: vfs cache: setting modification time to 2024-10-25 01:16:42.666452477 +0000 UTC m=+311.826560423 2024/10/25 01:16:42 INFO : file1: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:42 DEBUG : file1(0xc00052a580): >close: err= 2024/10/25 01:16:42 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:42 DEBUG : : Looking for writers 2024/10/25 01:16:42 DEBUG : file1: reading active writers 2024/10/25 01:16:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:16:42 DEBUG : : Looking for writers 2024/10/25 01:16:42 DEBUG : file1: reading active writers 2024/10/25 01:16:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:16:42 DEBUG : : Looking for writers 2024/10/25 01:16:42 DEBUG : file1: reading active writers 2024/10/25 01:16:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:16:42 DEBUG : : Looking for writers 2024/10/25 01:16:42 DEBUG : file1: reading active writers 2024/10/25 01:16:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:16:42 DEBUG : file1: vfs cache: starting upload 2024/10/25 01:16:42 DEBUG : : Looking for writers 2024/10/25 01:16:42 DEBUG : file1: reading active writers 2024/10/25 01:16:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:16:42 DEBUG : : Looking for writers 2024/10/25 01:16:42 DEBUG : file1: reading active writers 2024/10/25 01:16:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:16:43 DEBUG : : Looking for writers 2024/10/25 01:16:43 DEBUG : file1: reading active writers 2024/10/25 01:16:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:16:43 DEBUG : : Looking for writers 2024/10/25 01:16:43 DEBUG : file1: reading active writers 2024/10/25 01:16:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:44 DEBUG : file1: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2024/10/25 01:16:44 INFO : file1: Copied (new) 2024/10/25 01:16:44 DEBUG : file1: vfs cache: fingerprint now "5,2024-10-25 01:16:42.666452477 +0000 UTC,aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d" 2024/10/25 01:16:44 DEBUG : file1: vfs cache: writeback object to VFS layer 2024/10/25 01:16:44 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:44 INFO : file1: vfs cache: upload succeeded try #1 2024/10/25 01:16:44 DEBUG : : Looking for writers 2024/10/25 01:16:44 DEBUG : file1: reading active writers 2024/10/25 01:16:44 DEBUG : >WaitForWriters: 2024/10/25 01:16:44 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleSizeCreateNew (4.32s) === RUN TestRWFileHandleOpenTests === RUN TestRWFileHandleOpenTests/writes run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:16:46 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:16:46 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:16:46 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:46 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:46 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:46 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:46 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) === RUN TestRWFileHandleOpenTests/writes/os.O_RDONLY 2024/10/25 01:16:46 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2024/10/25 01:16:46 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2024/10/25 01:16:46 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:46 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:46 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942440): openPending: 2024/10/25 01:16:46 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:46 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942440): >openPending: err= 2024/10/25 01:16:46 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:46 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:46 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:46 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942440): _writeAt: size=5, off=0 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942440): >_writeAt: n=5, err= 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942440): close: 2024/10/25 01:16:46 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:46.942708588 +0000 UTC m=+316.102816504 2024/10/25 01:16:46 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942440): >close: err= 2024/10/25 01:16:46 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2024/10/25 01:16:46 DEBUG : open-test-file: Open: flags=O_RDONLY 2024/10/25 01:16:46 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:46 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:46 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:46 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942500): _readAt: size=2, off=0 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942500): openPending: 2024/10/25 01:16:46 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2024/10/25 01:16:46 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942500): >openPending: err= 2024/10/25 01:16:46 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942500): >_readAt: n=2, err= 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942500): _writeAt: size=3, off=2 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942500): >_writeAt: n=0, err=Bad file descriptor 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942500): close: 2024/10/25 01:16:46 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:46.942708588 +0000 UTC m=+316.102816504 2024/10/25 01:16:46 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942500): >close: err= 2024/10/25 01:16:46 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:16:46 DEBUG : open-test-file: Open: flags=O_RDONLY 2024/10/25 01:16:46 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:46 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:46 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:46 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942540): _readAt: size=512, off=0 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942540): openPending: 2024/10/25 01:16:46 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2024/10/25 01:16:46 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942540): >openPending: err= 2024/10/25 01:16:46 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942540): >_readAt: n=5, err=EOF 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942540): close: 2024/10/25 01:16:46 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:46.942708588 +0000 UTC m=+316.102816504 2024/10/25 01:16:46 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:46 DEBUG : open-test-file(0xc000942540): >close: err= 2024/10/25 01:16:46 DEBUG : open-test-file: Remove: 2024/10/25 01:16:46 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000188e00 item 1 2024/10/25 01:16:46 INFO : open-test-file: vfs cache: removed cache file as file deleted 2024/10/25 01:16:46 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2024/10/25 01:16:46 DEBUG : : Added virtual directory entry vDel: "open-test-file" 2024/10/25 01:16:46 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/writes/os.O_WRONLY 2024/10/25 01:16:47 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2024/10/25 01:16:47 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2024/10/25 01:16:47 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:47 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:47 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943640): openPending: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:47 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943640): >openPending: err= 2024/10/25 01:16:47 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:47 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:47 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:47 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943640): _writeAt: size=5, off=0 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943640): >_writeAt: n=5, err= 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943640): close: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:47.003755791 +0000 UTC m=+316.163863718 2024/10/25 01:16:47 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943640): >close: err= 2024/10/25 01:16:47 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2024/10/25 01:16:47 DEBUG : open-test-file: Open: flags=O_WRONLY 2024/10/25 01:16:47 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:47 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:47 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:47 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943740): _readAt: size=2, off=0 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943740): >_readAt: n=0, err=Bad file descriptor 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943740): _writeAt: size=3, off=0 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943740): openPending: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2024/10/25 01:16:47 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943740): >openPending: err= 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000996e70 item 2 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943740): >_writeAt: n=3, err= 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943740): close: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:47.004636237 +0000 UTC m=+316.164744153 2024/10/25 01:16:47 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943740): >close: err= 2024/10/25 01:16:47 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:16:47 DEBUG : open-test-file: Open: flags=O_RDONLY 2024/10/25 01:16:47 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:47 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:47 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:47 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943780): _readAt: size=512, off=0 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943780): openPending: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2024/10/25 01:16:47 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943780): >openPending: err= 2024/10/25 01:16:47 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943780): >_readAt: n=5, err=EOF 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943780): close: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:47.004636237 +0000 UTC m=+316.164744153 2024/10/25 01:16:47 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000943780): >close: err= 2024/10/25 01:16:47 DEBUG : open-test-file: Remove: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000996fc0 item 2 2024/10/25 01:16:47 INFO : open-test-file: vfs cache: removed cache file as file deleted 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2024/10/25 01:16:47 DEBUG : : Added virtual directory entry vDel: "open-test-file" 2024/10/25 01:16:47 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/writes/os.O_RDWR 2024/10/25 01:16:47 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2024/10/25 01:16:47 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2024/10/25 01:16:47 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:47 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:47 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942600): openPending: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:47 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942600): >openPending: err= 2024/10/25 01:16:47 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:47 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:47 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:47 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942600): _writeAt: size=5, off=0 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942600): >_writeAt: n=5, err= 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942600): close: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:47.060207487 +0000 UTC m=+316.220315393 2024/10/25 01:16:47 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942600): >close: err= 2024/10/25 01:16:47 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2024/10/25 01:16:47 DEBUG : open-test-file: Open: flags=O_RDWR 2024/10/25 01:16:47 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:47 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:47 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:47 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942740): _readAt: size=2, off=0 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942740): openPending: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2024/10/25 01:16:47 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942740): >openPending: err= 2024/10/25 01:16:47 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942740): >_readAt: n=2, err= 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942740): _writeAt: size=3, off=2 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc0000ffab0 item 3 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942740): >_writeAt: n=3, err= 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942740): close: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:47.060683918 +0000 UTC m=+316.220791813 2024/10/25 01:16:47 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942740): >close: err= 2024/10/25 01:16:47 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:16:47 DEBUG : open-test-file: Open: flags=O_RDONLY 2024/10/25 01:16:47 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:47 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:47 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:47 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942780): _readAt: size=512, off=0 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942780): openPending: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2024/10/25 01:16:47 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942780): >openPending: err= 2024/10/25 01:16:47 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942780): >_readAt: n=5, err=EOF 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942780): close: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:47.060683918 +0000 UTC m=+316.220791813 2024/10/25 01:16:47 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:47 DEBUG : open-test-file(0xc000942780): >close: err= 2024/10/25 01:16:47 DEBUG : open-test-file: Remove: 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc0000ffc00 item 3 2024/10/25 01:16:47 INFO : open-test-file: vfs cache: removed cache file as file deleted 2024/10/25 01:16:47 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2024/10/25 01:16:47 DEBUG : : Added virtual directory entry vDel: "open-test-file" 2024/10/25 01:16:47 DEBUG : open-test-file: >Remove: err= 2024/10/25 01:16:47 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:47 DEBUG : : Looking for writers 2024/10/25 01:16:47 DEBUG : >WaitForWriters: 2024/10/25 01:16:47 DEBUG : vfs cache: cleaner exiting === RUN TestRWFileHandleOpenTests/full run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:16:47 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:16:47 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:16:47 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:47 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:47 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:47 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:47 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) === RUN TestRWFileHandleOpenTests/full/os.O_RDONLY 2024/10/25 01:16:48 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2024/10/25 01:16:48 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2024/10/25 01:16:48 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:48 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:48 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6ec0): openPending: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6ec0): >openPending: err= 2024/10/25 01:16:48 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6ec0): _writeAt: size=5, off=0 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6ec0): >_writeAt: n=5, err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6ec0): close: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:48.359052611 +0000 UTC m=+317.519160517 2024/10/25 01:16:48 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6ec0): >close: err= 2024/10/25 01:16:48 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=-rw-rw-rw- 2024/10/25 01:16:48 DEBUG : open-test-file: Open: flags=O_RDONLY 2024/10/25 01:16:48 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:48 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:48 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6f80): _readAt: size=2, off=0 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6f80): openPending: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6f80): >openPending: err= 2024/10/25 01:16:48 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6f80): >_readAt: n=2, err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6f80): _writeAt: size=3, off=2 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6f80): >_writeAt: n=0, err=Bad file descriptor 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6f80): close: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:48.359052611 +0000 UTC m=+317.519160517 2024/10/25 01:16:48 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6f80): >close: err= 2024/10/25 01:16:48 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:16:48 DEBUG : open-test-file: Open: flags=O_RDONLY 2024/10/25 01:16:48 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:48 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:48 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6fc0): _readAt: size=512, off=0 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6fc0): openPending: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6fc0): >openPending: err= 2024/10/25 01:16:48 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6fc0): >_readAt: n=5, err=EOF 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6fc0): close: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:48.359052611 +0000 UTC m=+317.519160517 2024/10/25 01:16:48 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6fc0): >close: err= 2024/10/25 01:16:48 DEBUG : open-test-file: Remove: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc00031f810 item 1 2024/10/25 01:16:48 INFO : open-test-file: vfs cache: removed cache file as file deleted 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vDel: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/full/os.O_WRONLY 2024/10/25 01:16:48 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2024/10/25 01:16:48 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2024/10/25 01:16:48 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:48 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:48 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6d80): openPending: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6d80): >openPending: err= 2024/10/25 01:16:48 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6d80): _writeAt: size=5, off=0 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6d80): >_writeAt: n=5, err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6d80): close: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:48.435008306 +0000 UTC m=+317.595116201 2024/10/25 01:16:48 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6d80): >close: err= 2024/10/25 01:16:48 DEBUG : open-test-file: OpenFile: flags=O_WRONLY, perm=-rw-rw-rw- 2024/10/25 01:16:48 DEBUG : open-test-file: Open: flags=O_WRONLY 2024/10/25 01:16:48 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:48 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:48 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6e80): _readAt: size=2, off=0 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6e80): >_readAt: n=0, err=Bad file descriptor 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6e80): _writeAt: size=3, off=0 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6e80): openPending: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6e80): >openPending: err= 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000734a10 item 2 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6e80): >_writeAt: n=3, err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6e80): close: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:48.435510373 +0000 UTC m=+317.595618269 2024/10/25 01:16:48 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6e80): >close: err= 2024/10/25 01:16:48 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:16:48 DEBUG : open-test-file: Open: flags=O_RDONLY 2024/10/25 01:16:48 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:48 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:48 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6ec0): _readAt: size=512, off=0 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6ec0): openPending: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6ec0): >openPending: err= 2024/10/25 01:16:48 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6ec0): >_readAt: n=5, err=EOF 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6ec0): close: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:48.435510373 +0000 UTC m=+317.595618269 2024/10/25 01:16:48 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6ec0): >close: err= 2024/10/25 01:16:48 DEBUG : open-test-file: Remove: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc000734b60 item 2 2024/10/25 01:16:48 INFO : open-test-file: vfs cache: removed cache file as file deleted 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vDel: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file: >Remove: err= === RUN TestRWFileHandleOpenTests/full/os.O_RDWR 2024/10/25 01:16:48 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2024/10/25 01:16:48 DEBUG : open-test-file: >OpenFile: fd=, err=file does not exist 2024/10/25 01:16:48 DEBUG : open-test-file: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:48 DEBUG : open-test-file: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:48 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b62c0): openPending: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b62c0): >openPending: err= 2024/10/25 01:16:48 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b62c0): _writeAt: size=5, off=0 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b62c0): >_writeAt: n=5, err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b62c0): close: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:48.500732168 +0000 UTC m=+317.660840064 2024/10/25 01:16:48 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b62c0): >close: err= 2024/10/25 01:16:48 DEBUG : open-test-file: OpenFile: flags=O_RDWR, perm=-rw-rw-rw- 2024/10/25 01:16:48 DEBUG : open-test-file: Open: flags=O_RDWR 2024/10/25 01:16:48 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:48 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:48 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6400): _readAt: size=2, off=0 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6400): openPending: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6400): >openPending: err= 2024/10/25 01:16:48 DEBUG : vfs cache: looking for range={Pos:0 Size:2} in [{Pos:0 Size:5}] - present true 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6400): >_readAt: n=2, err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6400): _writeAt: size=3, off=2 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc0008df3b0 item 3 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6400): >_writeAt: n=3, err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6400): close: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:48.501474285 +0000 UTC m=+317.661582181 2024/10/25 01:16:48 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6400): >close: err= 2024/10/25 01:16:48 DEBUG : open-test-file: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:16:48 DEBUG : open-test-file: Open: flags=O_RDONLY 2024/10/25 01:16:48 DEBUG : open-test-file: newRWFileHandle: 2024/10/25 01:16:48 DEBUG : open-test-file: >newRWFileHandle: err= 2024/10/25 01:16:48 DEBUG : open-test-file: >Open: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file: >OpenFile: fd=open-test-file (rw), err= 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6440): _readAt: size=512, off=0 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6440): openPending: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: truncate to size=5 (not needed as size correct) 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vAddFile: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6440): >openPending: err= 2024/10/25 01:16:48 DEBUG : vfs cache: looking for range={Pos:0 Size:5} in [{Pos:0 Size:5}] - present true 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6440): >_readAt: n=5, err=EOF 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6440): close: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: setting modification time to 2024-10-25 01:16:48.501474285 +0000 UTC m=+317.661582181 2024/10/25 01:16:48 INFO : open-test-file: vfs cache: queuing for upload in 100ms 2024/10/25 01:16:48 DEBUG : open-test-file(0xc0007b6440): >close: err= 2024/10/25 01:16:48 DEBUG : open-test-file: Remove: 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: cancelling writeback (uploading false) 0xc0008df500 item 3 2024/10/25 01:16:48 INFO : open-test-file: vfs cache: removed cache file as file deleted 2024/10/25 01:16:48 DEBUG : open-test-file: vfs cache: removed metadata from cache as file deleted 2024/10/25 01:16:48 DEBUG : : Added virtual directory entry vDel: "open-test-file" 2024/10/25 01:16:48 DEBUG : open-test-file: >Remove: err= 2024/10/25 01:16:48 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:48 DEBUG : : Looking for writers 2024/10/25 01:16:48 DEBUG : >WaitForWriters: 2024/10/25 01:16:48 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWFileHandleOpenTests (2.83s) --- PASS: TestRWFileHandleOpenTests/writes (1.35s) --- PASS: TestRWFileHandleOpenTests/writes/os.O_RDONLY (0.40s) --- PASS: TestRWFileHandleOpenTests/writes/os.O_WRONLY (0.00s) --- PASS: TestRWFileHandleOpenTests/writes/os.O_RDWR (0.00s) --- PASS: TestRWFileHandleOpenTests/full (1.47s) --- PASS: TestRWFileHandleOpenTests/full/os.O_RDONLY (0.46s) --- PASS: TestRWFileHandleOpenTests/full/os.O_WRONLY (0.00s) --- PASS: TestRWFileHandleOpenTests/full/os.O_RDWR (0.00s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:16:49 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:16:49 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:16:49 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:49 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:49 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:49 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:16:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:16:49 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:16:49 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:16:49 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:16:49 DEBUG : file1: newRWFileHandle: 2024/10/25 01:16:49 DEBUG : file1(0xc0009430c0): openPending: 2024/10/25 01:16:49 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:16:49 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:49 DEBUG : file1(0xc0009430c0): >openPending: err= 2024/10/25 01:16:49 DEBUG : file1: >newRWFileHandle: err= 2024/10/25 01:16:49 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:16:49 DEBUG : file1: >Open: fd=file1 (rw), err= 2024/10/25 01:16:49 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2024/10/25 01:16:52 DEBUG : Can set mod time: false read_write_test.go:655: can't set mod time 2024/10/25 01:16:52 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:16:52 DEBUG : : Looking for writers 2024/10/25 01:16:52 DEBUG : file1: reading active writers 2024/10/25 01:16:52 DEBUG : file1: active writers 1 2024/10/25 01:16:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:16:52 DEBUG : : Looking for writers 2024/10/25 01:16:52 DEBUG : file1: reading active writers 2024/10/25 01:16:52 DEBUG : file1: active writers 1 2024/10/25 01:16:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:16:52 DEBUG : : Looking for writers 2024/10/25 01:16:52 DEBUG : file1: reading active writers 2024/10/25 01:16:52 DEBUG : file1: active writers 1 2024/10/25 01:16:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:16:52 DEBUG : : Looking for writers 2024/10/25 01:16:52 DEBUG : file1: reading active writers 2024/10/25 01:16:52 DEBUG : file1: active writers 1 2024/10/25 01:16:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:16:52 DEBUG : : Looking for writers 2024/10/25 01:16:52 DEBUG : file1: reading active writers 2024/10/25 01:16:52 DEBUG : file1: active writers 1 2024/10/25 01:16:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:16:53 DEBUG : : Looking for writers 2024/10/25 01:16:53 DEBUG : file1: reading active writers 2024/10/25 01:16:53 DEBUG : file1: active writers 1 2024/10/25 01:16:53 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:16:53 DEBUG : : Looking for writers 2024/10/25 01:16:53 DEBUG : file1: reading active writers 2024/10/25 01:16:53 DEBUG : file1: active writers 1 2024/10/25 01:16:53 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:16:54 DEBUG : : Looking for writers 2024/10/25 01:16:54 DEBUG : file1: reading active writers 2024/10/25 01:16:54 DEBUG : file1: active writers 1 2024/10/25 01:16:54 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:55 DEBUG : : Looking for writers 2024/10/25 01:16:55 DEBUG : file1: reading active writers 2024/10/25 01:16:55 DEBUG : file1: active writers 1 2024/10/25 01:16:55 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:56 DEBUG : : Looking for writers 2024/10/25 01:16:56 DEBUG : file1: reading active writers 2024/10/25 01:16:56 DEBUG : file1: active writers 1 2024/10/25 01:16:56 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:57 DEBUG : : Looking for writers 2024/10/25 01:16:57 DEBUG : file1: reading active writers 2024/10/25 01:16:57 DEBUG : file1: active writers 1 2024/10/25 01:16:57 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:58 DEBUG : : Looking for writers 2024/10/25 01:16:58 DEBUG : file1: reading active writers 2024/10/25 01:16:58 DEBUG : file1: active writers 1 2024/10/25 01:16:58 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:16:59 DEBUG : : Looking for writers 2024/10/25 01:16:59 DEBUG : file1: reading active writers 2024/10/25 01:16:59 DEBUG : file1: active writers 1 2024/10/25 01:16:59 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:00 DEBUG : : Looking for writers 2024/10/25 01:17:00 DEBUG : file1: reading active writers 2024/10/25 01:17:00 DEBUG : file1: active writers 1 2024/10/25 01:17:00 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:01 DEBUG : : Looking for writers 2024/10/25 01:17:01 DEBUG : file1: reading active writers 2024/10/25 01:17:01 DEBUG : file1: active writers 1 2024/10/25 01:17:01 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:02 DEBUG : : Looking for writers 2024/10/25 01:17:02 DEBUG : file1: reading active writers 2024/10/25 01:17:02 DEBUG : file1: active writers 1 2024/10/25 01:17:02 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:03 DEBUG : : Looking for writers 2024/10/25 01:17:03 DEBUG : file1: reading active writers 2024/10/25 01:17:03 DEBUG : file1: active writers 1 2024/10/25 01:17:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:04 DEBUG : : Looking for writers 2024/10/25 01:17:04 DEBUG : file1: reading active writers 2024/10/25 01:17:04 DEBUG : file1: active writers 1 2024/10/25 01:17:04 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:05 DEBUG : : Looking for writers 2024/10/25 01:17:05 DEBUG : file1: reading active writers 2024/10/25 01:17:05 DEBUG : file1: active writers 1 2024/10/25 01:17:05 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:06 DEBUG : : Looking for writers 2024/10/25 01:17:06 DEBUG : file1: reading active writers 2024/10/25 01:17:06 DEBUG : file1: active writers 1 2024/10/25 01:17:06 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:07 DEBUG : : Looking for writers 2024/10/25 01:17:07 DEBUG : file1: reading active writers 2024/10/25 01:17:07 DEBUG : file1: active writers 1 2024/10/25 01:17:07 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:08 DEBUG : : Looking for writers 2024/10/25 01:17:08 DEBUG : file1: reading active writers 2024/10/25 01:17:08 DEBUG : file1: active writers 1 2024/10/25 01:17:08 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:09 DEBUG : : Looking for writers 2024/10/25 01:17:09 DEBUG : file1: reading active writers 2024/10/25 01:17:09 DEBUG : file1: active writers 1 2024/10/25 01:17:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:10 DEBUG : : Looking for writers 2024/10/25 01:17:10 DEBUG : file1: reading active writers 2024/10/25 01:17:10 DEBUG : file1: active writers 1 2024/10/25 01:17:10 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:11 DEBUG : : Looking for writers 2024/10/25 01:17:11 DEBUG : file1: reading active writers 2024/10/25 01:17:11 DEBUG : file1: active writers 1 2024/10/25 01:17:11 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:12 DEBUG : : Looking for writers 2024/10/25 01:17:12 DEBUG : file1: reading active writers 2024/10/25 01:17:12 DEBUG : file1: active writers 1 2024/10/25 01:17:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:13 DEBUG : : Looking for writers 2024/10/25 01:17:13 DEBUG : file1: reading active writers 2024/10/25 01:17:13 DEBUG : file1: active writers 1 2024/10/25 01:17:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:14 DEBUG : : Looking for writers 2024/10/25 01:17:14 DEBUG : file1: reading active writers 2024/10/25 01:17:14 DEBUG : file1: active writers 1 2024/10/25 01:17:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:15 DEBUG : : Looking for writers 2024/10/25 01:17:15 DEBUG : file1: reading active writers 2024/10/25 01:17:15 DEBUG : file1: active writers 1 2024/10/25 01:17:15 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:16 DEBUG : : Looking for writers 2024/10/25 01:17:16 DEBUG : file1: reading active writers 2024/10/25 01:17:16 DEBUG : file1: active writers 1 2024/10/25 01:17:16 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:17 DEBUG : : Looking for writers 2024/10/25 01:17:17 DEBUG : file1: reading active writers 2024/10/25 01:17:17 DEBUG : file1: active writers 1 2024/10/25 01:17:17 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:18 DEBUG : : Looking for writers 2024/10/25 01:17:18 DEBUG : file1: reading active writers 2024/10/25 01:17:18 DEBUG : file1: active writers 1 2024/10/25 01:17:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:19 DEBUG : : Looking for writers 2024/10/25 01:17:19 DEBUG : file1: reading active writers 2024/10/25 01:17:19 DEBUG : file1: active writers 1 2024/10/25 01:17:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:20 DEBUG : : Looking for writers 2024/10/25 01:17:20 DEBUG : file1: reading active writers 2024/10/25 01:17:20 DEBUG : file1: active writers 1 2024/10/25 01:17:20 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:21 DEBUG : : Looking for writers 2024/10/25 01:17:21 DEBUG : file1: reading active writers 2024/10/25 01:17:21 DEBUG : file1: active writers 1 2024/10/25 01:17:21 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:22 DEBUG : : Looking for writers 2024/10/25 01:17:22 DEBUG : file1: reading active writers 2024/10/25 01:17:22 DEBUG : file1: active writers 1 2024/10/25 01:17:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:22 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0008b22d0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000789808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824641624128} name:file1 opens:1 downloaders: o: fd:0xc000506390 info:{ModTime:{wall:13960835865156688233 ext:318935175906 loc:0x39d4e20} ATime:{wall:13960835865156688233 ext:318935175906 loc:0x39d4e20} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2024/10/25 01:17:22 DEBUG : >WaitForWriters: 2024/10/25 01:17:22 DEBUG : vfs cache: cleaner exiting --- SKIP: TestRWFileModTimeWithOpenWriters (34.26s) === RUN TestRWCacheRename run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:17:23 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:17:23 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:17:23 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:17:23 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:17:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:17:23 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:17:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:17:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:17:23 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:17:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:17:23 DEBUG : rename_me: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:17:23 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:17:24 DEBUG : rename_me: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:17:24 DEBUG : rename_me: newRWFileHandle: 2024/10/25 01:17:24 DEBUG : rename_me(0xc0007b6600): openPending: 2024/10/25 01:17:24 DEBUG : rename_me: vfs cache: truncate to size=0 (not needed as size correct) 2024/10/25 01:17:24 DEBUG : : Added virtual directory entry vAddFile: "rename_me" 2024/10/25 01:17:24 DEBUG : rename_me(0xc0007b6600): >openPending: err= 2024/10/25 01:17:24 DEBUG : rename_me: >newRWFileHandle: err= 2024/10/25 01:17:24 DEBUG : : Added virtual directory entry vAddFile: "rename_me" 2024/10/25 01:17:24 DEBUG : rename_me: >Open: fd=rename_me (rw), err= 2024/10/25 01:17:24 DEBUG : rename_me: >OpenFile: fd=rename_me (rw), err= 2024/10/25 01:17:24 DEBUG : rename_me(0xc0007b6600): _writeAt: size=5, off=0 2024/10/25 01:17:24 DEBUG : rename_me(0xc0007b6600): >_writeAt: n=5, err= 2024/10/25 01:17:24 DEBUG : rename_me(0xc0007b6600): close: 2024/10/25 01:17:24 DEBUG : rename_me: vfs cache: setting modification time to 2024-10-25 01:17:24.016167852 +0000 UTC m=+353.176275748 2024/10/25 01:17:24 INFO : rename_me: vfs cache: queuing for upload in 100ms 2024/10/25 01:17:24 DEBUG : rename_me(0xc0007b6600): >close: err= 2024/10/25 01:17:24 INFO : rename_me: vfs cache: renamed in cache to "i_was_renamed" 2024/10/25 01:17:24 DEBUG : i_was_renamed: Updating file with 0xc0002dd680 2024/10/25 01:17:24 DEBUG : : Added virtual directory entry vDel: "rename_me" 2024/10/25 01:17:24 DEBUG : : Added virtual directory entry vAddFile: "i_was_renamed" 2024/10/25 01:17:24 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:17:24 DEBUG : : Looking for writers 2024/10/25 01:17:24 DEBUG : i_was_renamed: reading active writers 2024/10/25 01:17:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/25 01:17:24 DEBUG : : Looking for writers 2024/10/25 01:17:24 DEBUG : i_was_renamed: reading active writers 2024/10/25 01:17:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/25 01:17:24 DEBUG : : Looking for writers 2024/10/25 01:17:24 DEBUG : i_was_renamed: reading active writers 2024/10/25 01:17:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/25 01:17:24 DEBUG : : Looking for writers 2024/10/25 01:17:24 DEBUG : i_was_renamed: reading active writers 2024/10/25 01:17:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/25 01:17:24 DEBUG : i_was_renamed: vfs cache: starting upload 2024/10/25 01:17:24 DEBUG : : Looking for writers 2024/10/25 01:17:24 DEBUG : i_was_renamed: reading active writers 2024/10/25 01:17:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/25 01:17:24 DEBUG : : Looking for writers 2024/10/25 01:17:24 DEBUG : i_was_renamed: reading active writers 2024/10/25 01:17:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/25 01:17:24 DEBUG : : Looking for writers 2024/10/25 01:17:24 DEBUG : i_was_renamed: reading active writers 2024/10/25 01:17:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/25 01:17:25 DEBUG : : Looking for writers 2024/10/25 01:17:25 DEBUG : i_was_renamed: reading active writers 2024/10/25 01:17:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/25 01:17:25 DEBUG : i_was_renamed: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2024/10/25 01:17:25 INFO : i_was_renamed: Copied (new) 2024/10/25 01:17:25 DEBUG : i_was_renamed: vfs cache: fingerprint now "5,2024-10-25 01:17:24.016167852 +0000 UTC,aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d" 2024/10/25 01:17:25 DEBUG : i_was_renamed: vfs cache: writeback object to VFS layer 2024/10/25 01:17:25 DEBUG : : Added virtual directory entry vAddFile: "i_was_renamed" 2024/10/25 01:17:25 INFO : i_was_renamed: vfs cache: upload succeeded try #1 2024/10/25 01:17:26 DEBUG : : Looking for writers 2024/10/25 01:17:26 DEBUG : i_was_renamed: reading active writers 2024/10/25 01:17:26 DEBUG : >WaitForWriters: 2024/10/25 01:17:26 DEBUG : vfs cache: cleaner exiting --- PASS: TestRWCacheRename (4.15s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:17:27 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:17:27 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/25 01:17:27 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:17:27 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:17:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:17:27 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:17:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:17:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:17:27 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/25 01:17:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pijepoh5qixo" 2024/10/25 01:17:27 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:17:27 DEBUG : : forgetting directory cache 2024/10/25 01:17:30 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate(0xc000403e40): _readAt: size=512, off=0 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate(0xc000403e40): openPending: 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-10-25 00:18:27 +0000 UTC,288158e561053f03b91b9361f5d0328ac9e349fc" against cached fingerprint "" 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/10/25 01:17:31 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate(0xc000403e40): >openPending: err= 2024/10/25 01:17:31 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:17:31 DEBUG : : forgetting directory cache 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate(0xc000403e40): >_readAt: n=20, err=EOF 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate(0xc000403e40): close: 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-10-25 00:18:27 +0000 +0000 2024/10/25 01:17:31 DEBUG : TestRWCacheUpdate(0xc000403e40): >close: err= 2024/10/25 01:17:32 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:17:32 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/10/25 01:17:32 DEBUG : : forgetting directory cache 2024/10/25 01:17:33.778405 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:17:33.778424 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:17:36 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate(0xc000943a00): _readAt: size=512, off=0 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate(0xc000943a00): openPending: 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-10-25 00:19:27 +0000 UTC,f47c1f4670d7bfa799e2e12e6aff3029f0785d53" against cached fingerprint "20,2024-10-25 00:18:27 +0000 UTC,288158e561053f03b91b9361f5d0328ac9e349fc" 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2024-10-25 00:19:27 +0000 UTC,f47c1f4670d7bfa799e2e12e6aff3029f0785d53" != cached fingerprint "20,2024-10-25 00:18:27 +0000 UTC,288158e561053f03b91b9361f5d0328ac9e349fc") 2024/10/25 01:17:37 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/10/25 01:17:37 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate(0xc000943a00): >openPending: err= 2024/10/25 01:17:37 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:17:37 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:17:37 DEBUG : : forgetting directory cache 2024/10/25 01:17:38 DEBUG : TestRWCacheUpdate(0xc000943a00): >_readAt: n=20, err=EOF 2024/10/25 01:17:38 DEBUG : TestRWCacheUpdate(0xc000943a00): close: 2024/10/25 01:17:38 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-10-25 00:19:27 +0000 +0000 2024/10/25 01:17:38 DEBUG : TestRWCacheUpdate(0xc000943a00): >close: err= 2024/10/25 01:17:39 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:17:39 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/10/25 01:17:39 DEBUG : : forgetting directory cache 2024/10/25 01:17:40.093286 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:17:40.093304 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate(0xc000403100): _readAt: size=512, off=0 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate(0xc000403100): openPending: 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-10-25 00:20:27 +0000 UTC,cdbdc94ef0e50810466d21c31d02b8365e9616d2" against cached fingerprint "20,2024-10-25 00:19:27 +0000 UTC,f47c1f4670d7bfa799e2e12e6aff3029f0785d53" 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2024-10-25 00:20:27 +0000 UTC,cdbdc94ef0e50810466d21c31d02b8365e9616d2" != cached fingerprint "20,2024-10-25 00:19:27 +0000 UTC,f47c1f4670d7bfa799e2e12e6aff3029f0785d53") 2024/10/25 01:17:43 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/10/25 01:17:43 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate(0xc000403100): >openPending: err= 2024/10/25 01:17:43 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:17:43 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:17:44 DEBUG : : forgetting directory cache 2024/10/25 01:17:44 DEBUG : TestRWCacheUpdate(0xc000403100): >_readAt: n=20, err=EOF 2024/10/25 01:17:44 DEBUG : TestRWCacheUpdate(0xc000403100): close: 2024/10/25 01:17:44 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-10-25 00:20:27 +0000 +0000 2024/10/25 01:17:44 DEBUG : TestRWCacheUpdate(0xc000403100): >close: err= 2024/10/25 01:17:45 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:17:45 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/10/25 01:17:45 DEBUG : : forgetting directory cache 2024/10/25 01:17:46.373103 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:17:46.373124 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate(0xc0007b6c40): _readAt: size=512, off=0 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate(0xc0007b6c40): openPending: 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-10-25 00:21:27 +0000 UTC,9c0b7852a4bce62b7ba1ae22ce62c4abdb8eb3d7" against cached fingerprint "20,2024-10-25 00:20:27 +0000 UTC,cdbdc94ef0e50810466d21c31d02b8365e9616d2" 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2024-10-25 00:21:27 +0000 UTC,9c0b7852a4bce62b7ba1ae22ce62c4abdb8eb3d7" != cached fingerprint "20,2024-10-25 00:20:27 +0000 UTC,cdbdc94ef0e50810466d21c31d02b8365e9616d2") 2024/10/25 01:17:49 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/10/25 01:17:49 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate(0xc0007b6c40): >openPending: err= 2024/10/25 01:17:49 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:17:49 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:17:50 DEBUG : : forgetting directory cache 2024/10/25 01:17:50 DEBUG : TestRWCacheUpdate(0xc0007b6c40): >_readAt: n=20, err=EOF 2024/10/25 01:17:50 DEBUG : TestRWCacheUpdate(0xc0007b6c40): close: 2024/10/25 01:17:50 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-10-25 00:21:27 +0000 +0000 2024/10/25 01:17:50 DEBUG : TestRWCacheUpdate(0xc0007b6c40): >close: err= 2024/10/25 01:17:51 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:17:51 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/10/25 01:17:51 DEBUG : : forgetting directory cache 2024/10/25 01:17:52.434026 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:17:52.434047 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:17:55 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate(0xc000942740): _readAt: size=512, off=0 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate(0xc000942740): openPending: 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-10-25 00:22:27 +0000 UTC,ceb5d9ade326cb4f1198af16dc24366d3d9c950f" against cached fingerprint "20,2024-10-25 00:21:27 +0000 UTC,9c0b7852a4bce62b7ba1ae22ce62c4abdb8eb3d7" 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2024-10-25 00:22:27 +0000 UTC,ceb5d9ade326cb4f1198af16dc24366d3d9c950f" != cached fingerprint "20,2024-10-25 00:21:27 +0000 UTC,9c0b7852a4bce62b7ba1ae22ce62c4abdb8eb3d7") 2024/10/25 01:17:56 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/10/25 01:17:56 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate(0xc000942740): >openPending: err= 2024/10/25 01:17:56 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:17:56 DEBUG : : forgetting directory cache 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate(0xc000942740): >_readAt: n=20, err=EOF 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate(0xc000942740): close: 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-10-25 00:22:27 +0000 +0000 2024/10/25 01:17:56 DEBUG : TestRWCacheUpdate(0xc000942740): >close: err= 2024/10/25 01:17:57 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:17:57 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/10/25 01:17:57 DEBUG : : forgetting directory cache 2024/10/25 01:17:58.662028 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:17:58.662049 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:18:01 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate(0xc000942dc0): _readAt: size=512, off=0 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate(0xc000942dc0): openPending: 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-10-25 00:23:27 +0000 UTC,5f11b0143ac8866346332777b557a7153a9d90b8" against cached fingerprint "20,2024-10-25 00:22:27 +0000 UTC,ceb5d9ade326cb4f1198af16dc24366d3d9c950f" 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "20,2024-10-25 00:23:27 +0000 UTC,5f11b0143ac8866346332777b557a7153a9d90b8" != cached fingerprint "20,2024-10-25 00:22:27 +0000 UTC,ceb5d9ade326cb4f1198af16dc24366d3d9c950f") 2024/10/25 01:18:02 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/10/25 01:18:02 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate(0xc000942dc0): >openPending: err= 2024/10/25 01:18:02 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:02 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:02 DEBUG : : forgetting directory cache 2024/10/25 01:18:03 DEBUG : TestRWCacheUpdate(0xc000942dc0): >_readAt: n=20, err=EOF 2024/10/25 01:18:03 DEBUG : TestRWCacheUpdate(0xc000942dc0): close: 2024/10/25 01:18:03 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-10-25 00:23:27 +0000 +0000 2024/10/25 01:18:03 DEBUG : TestRWCacheUpdate(0xc000942dc0): >close: err= 2024/10/25 01:18:03 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:18:03 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/10/25 01:18:03 DEBUG : : forgetting directory cache 2024/10/25 01:18:04.899278 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:18:04.899311 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:18:07 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate(0xc000942d80): _readAt: size=512, off=0 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate(0xc000942d80): openPending: 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "21,2024-10-25 00:24:27 +0000 UTC,674b2f1010a3dfc9a0bf400bf2936b0c0c3d6c06" against cached fingerprint "20,2024-10-25 00:23:27 +0000 UTC,5f11b0143ac8866346332777b557a7153a9d90b8" 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "21,2024-10-25 00:24:27 +0000 UTC,674b2f1010a3dfc9a0bf400bf2936b0c0c3d6c06" != cached fingerprint "20,2024-10-25 00:23:27 +0000 UTC,5f11b0143ac8866346332777b557a7153a9d90b8") 2024/10/25 01:18:08 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=21 2024/10/25 01:18:08 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate(0xc000942d80): >openPending: err= 2024/10/25 01:18:08 DEBUG : vfs cache: looking for range={Pos:0 Size:21} in [] - present false 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:08 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:08 DEBUG : : forgetting directory cache 2024/10/25 01:18:09 DEBUG : TestRWCacheUpdate(0xc000942d80): >_readAt: n=21, err=EOF 2024/10/25 01:18:09 DEBUG : TestRWCacheUpdate(0xc000942d80): close: 2024/10/25 01:18:09 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-10-25 00:24:27 +0000 +0000 2024/10/25 01:18:09 DEBUG : TestRWCacheUpdate(0xc000942d80): >close: err= 2024/10/25 01:18:10 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:18:10 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/10/25 01:18:10 DEBUG : : forgetting directory cache 2024/10/25 01:18:11.162578 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:18:11.162599 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate(0xc000942580): _readAt: size=512, off=0 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate(0xc000942580): openPending: 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "22,2024-10-25 00:25:27 +0000 UTC,3b798a8b8f0600c2d19a26f69ad842e576e2ce94" against cached fingerprint "21,2024-10-25 00:24:27 +0000 UTC,674b2f1010a3dfc9a0bf400bf2936b0c0c3d6c06" 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "22,2024-10-25 00:25:27 +0000 UTC,3b798a8b8f0600c2d19a26f69ad842e576e2ce94" != cached fingerprint "21,2024-10-25 00:24:27 +0000 UTC,674b2f1010a3dfc9a0bf400bf2936b0c0c3d6c06") 2024/10/25 01:18:14 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=22 2024/10/25 01:18:14 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate(0xc000942580): >openPending: err= 2024/10/25 01:18:14 DEBUG : vfs cache: looking for range={Pos:0 Size:22} in [] - present false 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:14 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:15 DEBUG : : forgetting directory cache 2024/10/25 01:18:15 DEBUG : TestRWCacheUpdate(0xc000942580): >_readAt: n=22, err=EOF 2024/10/25 01:18:15 DEBUG : TestRWCacheUpdate(0xc000942580): close: 2024/10/25 01:18:15 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-10-25 00:25:27 +0000 +0000 2024/10/25 01:18:15 DEBUG : TestRWCacheUpdate(0xc000942580): >close: err= 2024/10/25 01:18:16 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:18:16 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/10/25 01:18:16 DEBUG : : forgetting directory cache 2024/10/25 01:18:17.548285 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:18:17.548316 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:18:20 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate(0xc0007b7700): _readAt: size=512, off=0 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate(0xc0007b7700): openPending: 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "23,2024-10-25 00:26:27 +0000 UTC,bd321569f0a3d2d05d8c22e92ead3ccb6bd12aa3" against cached fingerprint "22,2024-10-25 00:25:27 +0000 UTC,3b798a8b8f0600c2d19a26f69ad842e576e2ce94" 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "23,2024-10-25 00:26:27 +0000 UTC,bd321569f0a3d2d05d8c22e92ead3ccb6bd12aa3" != cached fingerprint "22,2024-10-25 00:25:27 +0000 UTC,3b798a8b8f0600c2d19a26f69ad842e576e2ce94") 2024/10/25 01:18:21 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=23 2024/10/25 01:18:21 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate(0xc0007b7700): >openPending: err= 2024/10/25 01:18:21 DEBUG : vfs cache: looking for range={Pos:0 Size:23} in [] - present false 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:21 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:21 DEBUG : : forgetting directory cache 2024/10/25 01:18:22 DEBUG : TestRWCacheUpdate(0xc0007b7700): >_readAt: n=23, err=EOF 2024/10/25 01:18:22 DEBUG : TestRWCacheUpdate(0xc0007b7700): close: 2024/10/25 01:18:22 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-10-25 00:26:27 +0000 +0000 2024/10/25 01:18:22 DEBUG : TestRWCacheUpdate(0xc0007b7700): >close: err= 2024/10/25 01:18:22 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:18:22 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/10/25 01:18:22 DEBUG : : forgetting directory cache 2024/10/25 01:18:23.886780 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:18:23.886805 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate(0xc000403240): _readAt: size=512, off=0 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate(0xc000403240): openPending: 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "24,2024-10-25 00:27:27 +0000 UTC,62773e350f2f87e22c3d3c0d445c7a429aae8efa" against cached fingerprint "23,2024-10-25 00:26:27 +0000 UTC,bd321569f0a3d2d05d8c22e92ead3ccb6bd12aa3" 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: vfs cache: removing cached entry as stale (remote fingerprint "24,2024-10-25 00:27:27 +0000 UTC,62773e350f2f87e22c3d3c0d445c7a429aae8efa" != cached fingerprint "23,2024-10-25 00:26:27 +0000 UTC,bd321569f0a3d2d05d8c22e92ead3ccb6bd12aa3") 2024/10/25 01:18:27 INFO : TestRWCacheUpdate: vfs cache: removed cache file as stale (remote is different) 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=24 2024/10/25 01:18:27 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate(0xc000403240): >openPending: err= 2024/10/25 01:18:27 DEBUG : vfs cache: looking for range={Pos:0 Size:24} in [] - present false 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:27 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:27 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item TestRWCacheUpdate not removed, freed 0 bytes 2024/10/25 01:18:27 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 0 (was 0) 2024/10/25 01:18:27 DEBUG : : forgetting directory cache 2024/10/25 01:18:28 DEBUG : TestRWCacheUpdate(0xc000403240): >_readAt: n=24, err=EOF 2024/10/25 01:18:28 DEBUG : TestRWCacheUpdate(0xc000403240): close: 2024/10/25 01:18:28 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-10-25 00:27:27 +0000 +0000 2024/10/25 01:18:28 DEBUG : TestRWCacheUpdate(0xc000403240): >close: err= 2024/10/25 01:18:29 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/25 01:18:29 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/10/25 01:18:29 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:18:29 DEBUG : : Looking for writers 2024/10/25 01:18:29 DEBUG : TestRWCacheUpdate: reading active writers 2024/10/25 01:18:29 DEBUG : >WaitForWriters: 2024/10/25 01:18:29 DEBUG : vfs cache: cleaner exiting 2024/10/25 01:18:29 DEBUG : : forgetting directory cache --- PASS: TestRWCacheUpdate (62.81s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:18:36 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:18:36 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:18:36 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:18:36 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:18:36 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:37 DEBUG : FiLeA: Open: flags=O_RDONLY 2024/10/25 01:18:37 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2024/10/25 01:18:37 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2024/10/25 01:18:37 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:38 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:38 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:39 DEBUG : FiLeA: Open: flags=O_RDONLY 2024/10/25 01:18:39 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2024/10/25 01:18:39 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2024/10/25 01:18:39 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:40 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:40 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:40 DEBUG : FiLeA: Open: flags=O_RDONLY 2024/10/25 01:18:40 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2024/10/25 01:18:40 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2024/10/25 01:18:40 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:40 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:41 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:41 DEBUG : FiLeB: Open: flags=O_RDONLY 2024/10/25 01:18:41 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2024/10/25 01:18:41 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2024/10/25 01:18:41 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:41 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:42 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:42 DEBUG : FilEb: Open: flags=O_RDONLY 2024/10/25 01:18:42 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2024/10/25 01:18:42 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2024/10/25 01:18:42 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:42 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:43 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:43 DEBUG : FiLeA: Open: flags=O_RDONLY 2024/10/25 01:18:43 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2024/10/25 01:18:43 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2024/10/25 01:18:43 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:44 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:44 DEBUG : fileA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:44 DEBUG : FiLeA: Open: flags=O_RDONLY 2024/10/25 01:18:44 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2024/10/25 01:18:44 DEBUG : fileA: >OpenFile: fd=FiLeA (r), err= 2024/10/25 01:18:44 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:45 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:45 DEBUG : filea: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:45 DEBUG : FiLeA: Open: flags=O_RDONLY 2024/10/25 01:18:45 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2024/10/25 01:18:45 DEBUG : filea: >OpenFile: fd=FiLeA (r), err= 2024/10/25 01:18:45 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:46 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:46 DEBUG : FILEA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:46 DEBUG : FiLeA: Open: flags=O_RDONLY 2024/10/25 01:18:46 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2024/10/25 01:18:46 DEBUG : FILEA: >OpenFile: fd=FiLeA (r), err= 2024/10/25 01:18:46 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:47 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:47 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:47 DEBUG : FiLeB: Open: flags=O_RDONLY 2024/10/25 01:18:47 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2024/10/25 01:18:47 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2024/10/25 01:18:47 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:48 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:48 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:48 DEBUG : FilEb: Open: flags=O_RDONLY 2024/10/25 01:18:48 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2024/10/25 01:18:48 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2024/10/25 01:18:48 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:48 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:49 DEBUG : fileb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:49 ERROR : /: Dir.Stat error: duplicate filename "fileb" detected with case/unicode normalization settings 2024/10/25 01:18:49 DEBUG : fileb: >OpenFile: fd=, err=duplicate filename "fileb" detected with case/unicode normalization settings 2024/10/25 01:18:49 DEBUG : FILEB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:49 ERROR : /: Dir.Stat error: duplicate filename "FILEB" detected with case/unicode normalization settings 2024/10/25 01:18:49 DEBUG : FILEB: >OpenFile: fd=, err=duplicate filename "FILEB" detected with case/unicode normalization settings 2024/10/25 01:18:49 DEBUG : FiLeA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:49 DEBUG : FiLeA: Open: flags=O_RDONLY 2024/10/25 01:18:49 DEBUG : FiLeA: >Open: fd=FiLeA (r), err= 2024/10/25 01:18:49 DEBUG : FiLeA: >OpenFile: fd=FiLeA (r), err= 2024/10/25 01:18:49 DEBUG : FiLeA: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:49 DEBUG : FiLeA: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:50 DEBUG : fileA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:50 DEBUG : fileA: >OpenFile: fd=, err=file does not exist 2024/10/25 01:18:50 DEBUG : filea: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:50 DEBUG : filea: >OpenFile: fd=, err=file does not exist 2024/10/25 01:18:50 DEBUG : FILEA: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:50 DEBUG : FILEA: >OpenFile: fd=, err=file does not exist 2024/10/25 01:18:50 DEBUG : FiLeB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:50 DEBUG : FiLeB: Open: flags=O_RDONLY 2024/10/25 01:18:50 DEBUG : FiLeB: >Open: fd=FiLeB (r), err= 2024/10/25 01:18:50 DEBUG : FiLeB: >OpenFile: fd=FiLeB (r), err= 2024/10/25 01:18:50 DEBUG : FiLeB: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:50 DEBUG : FiLeB: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:50 DEBUG : FilEb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:50 DEBUG : FilEb: Open: flags=O_RDONLY 2024/10/25 01:18:50 DEBUG : FilEb: >Open: fd=FilEb (r), err= 2024/10/25 01:18:50 DEBUG : FilEb: >OpenFile: fd=FilEb (r), err= 2024/10/25 01:18:50 DEBUG : FilEb: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:18:51 DEBUG : FilEb: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:18:51 DEBUG : fileb: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:51 DEBUG : fileb: >OpenFile: fd=, err=file does not exist 2024/10/25 01:18:51 DEBUG : FILEB: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:51 DEBUG : FILEB: >OpenFile: fd=, err=file does not exist 2024/10/25 01:18:51 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:18:51 DEBUG : : Looking for writers 2024/10/25 01:18:51 DEBUG : FilEb: reading active writers 2024/10/25 01:18:51 DEBUG : FiLeA: reading active writers 2024/10/25 01:18:51 DEBUG : FiLeB: reading active writers 2024/10/25 01:18:51 DEBUG : >WaitForWriters: 2024/10/25 01:18:51 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:18:51 DEBUG : : Looking for writers 2024/10/25 01:18:51 DEBUG : FiLeA: reading active writers 2024/10/25 01:18:51 DEBUG : FiLeB: reading active writers 2024/10/25 01:18:51 DEBUG : FilEb: reading active writers 2024/10/25 01:18:51 DEBUG : >WaitForWriters: --- PASS: TestCaseSensitivity (24.00s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:18:58 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:18:58 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:18:58 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:18:59 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2024/10/25 01:18:59 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2024/10/25 01:18:59 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2024/10/25 01:18:59 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:19:00 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:19:00 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:19:00 DEBUG : 測試_Русский___ě_áñ: Open: flags=O_RDONLY 2024/10/25 01:19:00 DEBUG : 測試_Русский___ě_áñ: >Open: fd=測試_Русский___ě_áñ (r), err= 2024/10/25 01:19:00 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=測試_Русский___ě_áñ (r), err= 2024/10/25 01:19:00 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:19:01 DEBUG : 測試_Русский___ě_áñ: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:19:01 DEBUG : normal name with no special characters.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:19:01 DEBUG : normal name with no special characters.txt: Open: flags=O_RDONLY 2024/10/25 01:19:01 DEBUG : normal name with no special characters.txt: >Open: fd=normal name with no special characters.txt (r), err= 2024/10/25 01:19:01 DEBUG : normal name with no special characters.txt: >OpenFile: fd=normal name with no special characters.txt (r), err= 2024/10/25 01:19:01 DEBUG : normal name with no special characters.txt: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:19:02 DEBUG : normal name with no special characters.txt: ChunkedReader.Read at 0 length 5 chunkOffset 0 chunkSize 134217728 2024/10/25 01:19:02 DEBUG : 測試_Русский___ě_áñ: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:19:02 DEBUG : 測試_Русский___ě_áñ: >OpenFile: fd=, err=file does not exist 2024/10/25 01:19:02 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:19:02 DEBUG : : Looking for writers 2024/10/25 01:19:02 DEBUG : 測試_Русский___ě_áñ: reading active writers 2024/10/25 01:19:02 DEBUG : normal name with no special characters.txt: reading active writers 2024/10/25 01:19:02 DEBUG : >WaitForWriters: --- PASS: TestUnicodeNormalization (9.86s) === RUN TestVFSNew run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:19:04 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:19:04 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:19:04 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': Re-using VFS from active cache 2024/10/25 01:19:04 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:19:04 DEBUG : : Looking for writers 2024/10/25 01:19:04 DEBUG : >WaitForWriters: 2024/10/25 01:19:04 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:19:04 DEBUG : : Looking for writers 2024/10/25 01:19:04 DEBUG : >WaitForWriters: --- PASS: TestVFSNew (0.84s) === RUN TestVFSNewWithOpts run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:19:05 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:19:05 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:19:05 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:19:05 DEBUG : : Looking for writers 2024/10/25 01:19:05 DEBUG : >WaitForWriters: --- PASS: TestVFSNewWithOpts (0.82s) === RUN TestVFSRoot run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:19:06 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:19:06 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:19:06 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:19:06 DEBUG : : Looking for writers 2024/10/25 01:19:06 DEBUG : >WaitForWriters: --- PASS: TestVFSRoot (0.80s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:19:06 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:19:06 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:19:13 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:19:13 DEBUG : dir: Looking for writers 2024/10/25 01:19:13 DEBUG : file2: reading active writers 2024/10/25 01:19:13 DEBUG : : Looking for writers 2024/10/25 01:19:13 DEBUG : dir: reading active writers 2024/10/25 01:19:13 DEBUG : file1: reading active writers 2024/10/25 01:19:13 DEBUG : >WaitForWriters: --- PASS: TestVFSStat (9.89s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:19:16 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:19:16 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:19:22 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:19:22 DEBUG : dir: Looking for writers 2024/10/25 01:19:22 DEBUG : : Looking for writers 2024/10/25 01:19:22 DEBUG : dir: reading active writers 2024/10/25 01:19:22 DEBUG : file1: reading active writers 2024/10/25 01:19:22 DEBUG : >WaitForWriters: --- PASS: TestVFSStatParent (9.53s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:19:26 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:19:26 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:19:31 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:19:32 DEBUG : file1: Open: flags=O_RDONLY 2024/10/25 01:19:32 DEBUG : file1: >Open: fd=file1 (r), err= 2024/10/25 01:19:32 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2024/10/25 01:19:32 DEBUG : dir: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:19:32 DEBUG : dir: >OpenFile: fd=dir/ (r), err= 2024/10/25 01:19:32 DEBUG : dir/new_file.txt: OpenFile: flags=O_RDONLY, perm=-rwxrwxrwx 2024/10/25 01:19:33 DEBUG : dir/new_file.txt: >OpenFile: fd=, err=file does not exist 2024/10/25 01:19:33 DEBUG : dir/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:19:33 DEBUG : dir/new_file.txt: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:19:33 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2024/10/25 01:19:33 DEBUG : dir/new_file.txt: >Open: fd=dir/new_file.txt (w), err= 2024/10/25 01:19:33 DEBUG : dir/new_file.txt: >OpenFile: fd=dir/new_file.txt (w), err= 2024/10/25 01:19:33 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2024/10/25 01:19:33 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': File to upload is small (0 bytes), uploading instead of streaming 2024/10/25 01:19:34 DEBUG : dir/new_file.txt: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/10/25 01:19:34 DEBUG : dir/new_file.txt: Size and sha1 of src and dst objects identical 2024/10/25 01:19:34 DEBUG : dir: Added virtual directory entry vAddFile: "new_file.txt" 2024/10/25 01:19:34 DEBUG : not found/new_file.txt: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:19:34 DEBUG : not found/new_file.txt: >OpenFile: fd=, err=file does not exist 2024/10/25 01:19:34 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:19:34 DEBUG : dir: Looking for writers 2024/10/25 01:19:34 DEBUG : file2: reading active writers 2024/10/25 01:19:34 DEBUG : new_file.txt: reading active writers 2024/10/25 01:19:34 DEBUG : : Looking for writers 2024/10/25 01:19:34 DEBUG : dir: reading active writers 2024/10/25 01:19:34 DEBUG : file1: reading active writers 2024/10/25 01:19:34 DEBUG : >WaitForWriters: --- PASS: TestVFSOpenFile (12.04s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:19:38 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:19:38 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:19:49 INFO : dir/file2: Moved (server-side) to: dir/file1 2024/10/25 01:19:49 DEBUG : dir/file1: Updating file with dir/file1 0xc000472cc0 2024/10/25 01:19:49 DEBUG : dir: Added virtual directory entry vDel: "file2" 2024/10/25 01:19:49 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/25 01:19:57 INFO : dir/file1: Moved (server-side) to: file0 2024/10/25 01:19:57 DEBUG : file0: Updating file with file0 0xc000472cc0 2024/10/25 01:19:57 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/25 01:19:57 DEBUG : : Added virtual directory entry vAddFile: "file0" 2024/10/25 01:19:58 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:19:58 DEBUG : dir: Looking for writers 2024/10/25 01:19:58 DEBUG : : Looking for writers 2024/10/25 01:19:58 DEBUG : dir: reading active writers 2024/10/25 01:19:58 DEBUG : file0: reading active writers 2024/10/25 01:19:58 DEBUG : >WaitForWriters: --- PASS: TestVFSRename (22.13s) === RUN TestVFSStatfs run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:20:00 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:20:00 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:20:00 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:20:00 DEBUG : : Looking for writers 2024/10/25 01:20:00 DEBUG : >WaitForWriters: --- PASS: TestVFSStatfs (1.13s) === RUN TestVFSMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:20:01 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:20:01 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:20:02 DEBUG : : Added virtual directory entry vAddDir: "/" 2024/10/25 01:20:03 DEBUG : : Added virtual directory entry vAddDir: "a" 2024/10/25 01:20:05 DEBUG : : Added virtual directory entry vAddDir: "b" 2024/10/25 01:20:07 DEBUG : : Added virtual directory entry vAddDir: "c" 2024/10/25 01:20:08 DEBUG : : Added virtual directory entry vAddDir: "d" 2024/10/25 01:20:09 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:20:09 DEBUG : d: Looking for writers 2024/10/25 01:20:09 DEBUG : : Looking for writers 2024/10/25 01:20:09 DEBUG : a: Looking for writers 2024/10/25 01:20:09 DEBUG : b: Looking for writers 2024/10/25 01:20:09 DEBUG : c: Looking for writers 2024/10/25 01:20:09 DEBUG : : Looking for writers 2024/10/25 01:20:09 DEBUG : d: reading active writers 2024/10/25 01:20:09 DEBUG : /: reading active writers 2024/10/25 01:20:09 DEBUG : a: reading active writers 2024/10/25 01:20:09 DEBUG : b: reading active writers 2024/10/25 01:20:09 DEBUG : c: reading active writers 2024/10/25 01:20:09 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdir (11.64s) === RUN TestVFSMkdirAll run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:20:13 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:20:13 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:20:15 DEBUG : : Added virtual directory entry vAddDir: "a" 2024/10/25 01:20:16 DEBUG : a: Added virtual directory entry vAddDir: "b" 2024/10/25 01:20:17 DEBUG : a/b: Added virtual directory entry vAddDir: "c" 2024/10/25 01:20:18 DEBUG : a/b/c: Added virtual directory entry vAddDir: "d" 2024/10/25 01:20:24 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:20:24 DEBUG : a/b/c/d: Looking for writers 2024/10/25 01:20:24 DEBUG : a/b/c: Looking for writers 2024/10/25 01:20:24 DEBUG : d: reading active writers 2024/10/25 01:20:24 DEBUG : a/b: Looking for writers 2024/10/25 01:20:24 DEBUG : c: reading active writers 2024/10/25 01:20:24 DEBUG : a: Looking for writers 2024/10/25 01:20:24 DEBUG : b: reading active writers 2024/10/25 01:20:24 DEBUG : : Looking for writers 2024/10/25 01:20:24 DEBUG : a: reading active writers 2024/10/25 01:20:24 DEBUG : >WaitForWriters: --- PASS: TestVFSMkdirAll (15.47s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:20:28 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:20:28 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:20:28 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:20:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:20:29 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:29 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/25 01:20:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/25 01:20:29 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:29 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2024/10/25 01:20:29 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2024/10/25 01:20:29 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2024/10/25 01:20:29 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': File to upload is small (5 bytes), uploading instead of streaming 2024/10/25 01:20:31 DEBUG : file1: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2024/10/25 01:20:31 DEBUG : file1: Size and sha1 of src and dst objects identical 2024/10/25 01:20:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:20:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:20:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:31 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/25 01:20:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/25 01:20:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:20:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:20:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:31 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/25 01:20:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/25 01:20:31 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2024/10/25 01:20:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2024/10/25 01:20:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2024/10/25 01:20:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:31 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/25 01:20:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/25 01:20:31 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:31 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': File to upload is small (0 bytes), uploading instead of streaming 2024/10/25 01:20:32.837353 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:20:32.837407 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:20:34 DEBUG : file1: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/10/25 01:20:34 DEBUG : file1: Size and sha1 of src and dst objects identical 2024/10/25 01:20:34 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:34 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2024/10/25 01:20:34 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2024/10/25 01:20:34 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:34 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/25 01:20:34 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/25 01:20:34 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:34 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': File to upload is small (7 bytes), uploading instead of streaming 2024/10/25 01:20:35.715535 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2024/10/25 01:20:35.715560 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2024/10/25 01:20:38 DEBUG : file1: sha1 = 189d2b4d61d6c47f31a89ef5d008c201199ef899 OK 2024/10/25 01:20:38 DEBUG : file1: Size and sha1 of src and dst objects identical 2024/10/25 01:20:38 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:38 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:20:38 DEBUG : : Looking for writers 2024/10/25 01:20:38 DEBUG : file1: reading active writers 2024/10/25 01:20:38 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleMethods (10.82s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:20:39 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:20:39 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:20:39 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:20:40 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:20:40 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:40 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/25 01:20:40 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/25 01:20:40 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:40 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2024/10/25 01:20:41 DEBUG : file1: aborting in-sequence write wait, off=100 2024/10/25 01:20:41 DEBUG : file1: failed to wait for in-sequence write to 100 2024/10/25 01:20:41 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2024/10/25 01:20:41 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': File to upload is small (11 bytes), uploading instead of streaming 2024/10/25 01:20:42 DEBUG : file1: sha1 = 2aae6c35c94fcfb415dbe95f408b9ce91ee846ed OK 2024/10/25 01:20:42 DEBUG : file1: Size and sha1 of src and dst objects identical 2024/10/25 01:20:42 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:42 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor 2024/10/25 01:20:43 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:20:43 DEBUG : : Looking for writers 2024/10/25 01:20:43 DEBUG : file1: reading active writers 2024/10/25 01:20:43 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleWriteAt (5.29s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:20:44 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:20:44 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:20:44 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:20:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:20:45 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:45 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/25 01:20:45 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/25 01:20:45 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2024/10/25 01:20:45 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:45 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': File to upload is small (5 bytes), uploading instead of streaming 2024/10/25 01:20:47 DEBUG : file1: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2024/10/25 01:20:47 DEBUG : file1: Size and sha1 of src and dst objects identical 2024/10/25 01:20:47 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:47 DEBUG : file1: WriteFileHandle.Flush nothing to do 2024/10/25 01:20:47 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:20:47 DEBUG : : Looking for writers 2024/10/25 01:20:47 DEBUG : file1: reading active writers 2024/10/25 01:20:47 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleFlush (3.71s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:20:48 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:20:48 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:20:48 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:20:48 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:20:48 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:48 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/25 01:20:48 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/25 01:20:48 DEBUG : file1: WriteFileHandle.Release closing 2024/10/25 01:20:48 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:48 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': File to upload is small (0 bytes), uploading instead of streaming 2024/10/25 01:20:50 DEBUG : file1: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/10/25 01:20:50 DEBUG : file1: Size and sha1 of src and dst objects identical 2024/10/25 01:20:50 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:50 DEBUG : file1: WriteFileHandle.Release nothing to do 2024/10/25 01:20:50 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:20:50 DEBUG : : Looking for writers 2024/10/25 01:20:50 DEBUG : file1: reading active writers 2024/10/25 01:20:50 DEBUG : >WaitForWriters: --- PASS: TestWriteFileHandleRelease (2.95s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:20:51 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:20:51 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:20:51 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:20:51 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:20:51 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:20:51 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/25 01:20:51 DEBUG : file1: >OpenFile: fd=file1 (w), err= write_test.go:321: can't set mod time 2024/10/25 01:20:51 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:20:51 DEBUG : : Looking for writers 2024/10/25 01:20:51 DEBUG : file1: reading active writers 2024/10/25 01:20:51 DEBUG : file1: active writers 1 2024/10/25 01:20:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2024/10/25 01:20:51 DEBUG : : Looking for writers 2024/10/25 01:20:51 DEBUG : file1: reading active writers 2024/10/25 01:20:51 DEBUG : file1: active writers 1 2024/10/25 01:20:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2024/10/25 01:20:52 DEBUG : : Looking for writers 2024/10/25 01:20:52 DEBUG : file1: reading active writers 2024/10/25 01:20:52 DEBUG : file1: active writers 1 2024/10/25 01:20:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2024/10/25 01:20:52 DEBUG : : Looking for writers 2024/10/25 01:20:52 DEBUG : file1: reading active writers 2024/10/25 01:20:52 DEBUG : file1: active writers 1 2024/10/25 01:20:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2024/10/25 01:20:52 DEBUG : : Looking for writers 2024/10/25 01:20:52 DEBUG : file1: reading active writers 2024/10/25 01:20:52 DEBUG : file1: active writers 1 2024/10/25 01:20:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2024/10/25 01:20:52 DEBUG : : Looking for writers 2024/10/25 01:20:52 DEBUG : file1: reading active writers 2024/10/25 01:20:52 DEBUG : file1: active writers 1 2024/10/25 01:20:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2024/10/25 01:20:52 DEBUG : : Looking for writers 2024/10/25 01:20:52 DEBUG : file1: reading active writers 2024/10/25 01:20:52 DEBUG : file1: active writers 1 2024/10/25 01:20:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2024/10/25 01:20:53 DEBUG : : Looking for writers 2024/10/25 01:20:53 DEBUG : file1: reading active writers 2024/10/25 01:20:53 DEBUG : file1: active writers 1 2024/10/25 01:20:53 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:20:54 DEBUG : : Looking for writers 2024/10/25 01:20:54 DEBUG : file1: reading active writers 2024/10/25 01:20:54 DEBUG : file1: active writers 1 2024/10/25 01:20:54 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:20:55 DEBUG : : Looking for writers 2024/10/25 01:20:55 DEBUG : file1: reading active writers 2024/10/25 01:20:55 DEBUG : file1: active writers 1 2024/10/25 01:20:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:20:56 DEBUG : : Looking for writers 2024/10/25 01:20:56 DEBUG : file1: reading active writers 2024/10/25 01:20:56 DEBUG : file1: active writers 1 2024/10/25 01:20:56 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:20:57 DEBUG : : Looking for writers 2024/10/25 01:20:57 DEBUG : file1: reading active writers 2024/10/25 01:20:57 DEBUG : file1: active writers 1 2024/10/25 01:20:57 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:20:58 DEBUG : : Looking for writers 2024/10/25 01:20:58 DEBUG : file1: reading active writers 2024/10/25 01:20:58 DEBUG : file1: active writers 1 2024/10/25 01:20:58 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:20:59 DEBUG : : Looking for writers 2024/10/25 01:20:59 DEBUG : file1: reading active writers 2024/10/25 01:20:59 DEBUG : file1: active writers 1 2024/10/25 01:20:59 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:00 DEBUG : : Looking for writers 2024/10/25 01:21:00 DEBUG : file1: reading active writers 2024/10/25 01:21:00 DEBUG : file1: active writers 1 2024/10/25 01:21:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:01 DEBUG : : Looking for writers 2024/10/25 01:21:01 DEBUG : file1: reading active writers 2024/10/25 01:21:01 DEBUG : file1: active writers 1 2024/10/25 01:21:01 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:02 DEBUG : : Looking for writers 2024/10/25 01:21:02 DEBUG : file1: reading active writers 2024/10/25 01:21:02 DEBUG : file1: active writers 1 2024/10/25 01:21:02 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:03 DEBUG : : Looking for writers 2024/10/25 01:21:03 DEBUG : file1: reading active writers 2024/10/25 01:21:03 DEBUG : file1: active writers 1 2024/10/25 01:21:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:04 DEBUG : : Looking for writers 2024/10/25 01:21:04 DEBUG : file1: reading active writers 2024/10/25 01:21:04 DEBUG : file1: active writers 1 2024/10/25 01:21:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:05 DEBUG : : Looking for writers 2024/10/25 01:21:05 DEBUG : file1: reading active writers 2024/10/25 01:21:05 DEBUG : file1: active writers 1 2024/10/25 01:21:05 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:06 DEBUG : : Looking for writers 2024/10/25 01:21:06 DEBUG : file1: reading active writers 2024/10/25 01:21:06 DEBUG : file1: active writers 1 2024/10/25 01:21:06 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:07 DEBUG : : Looking for writers 2024/10/25 01:21:07 DEBUG : file1: reading active writers 2024/10/25 01:21:07 DEBUG : file1: active writers 1 2024/10/25 01:21:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:08 DEBUG : : Looking for writers 2024/10/25 01:21:08 DEBUG : file1: reading active writers 2024/10/25 01:21:08 DEBUG : file1: active writers 1 2024/10/25 01:21:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:09 DEBUG : : Looking for writers 2024/10/25 01:21:09 DEBUG : file1: reading active writers 2024/10/25 01:21:09 DEBUG : file1: active writers 1 2024/10/25 01:21:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:10 DEBUG : : Looking for writers 2024/10/25 01:21:10 DEBUG : file1: reading active writers 2024/10/25 01:21:10 DEBUG : file1: active writers 1 2024/10/25 01:21:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:11 DEBUG : : Looking for writers 2024/10/25 01:21:11 DEBUG : file1: reading active writers 2024/10/25 01:21:11 DEBUG : file1: active writers 1 2024/10/25 01:21:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:12 DEBUG : : Looking for writers 2024/10/25 01:21:12 DEBUG : file1: reading active writers 2024/10/25 01:21:12 DEBUG : file1: active writers 1 2024/10/25 01:21:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:13 DEBUG : : Looking for writers 2024/10/25 01:21:13 DEBUG : file1: reading active writers 2024/10/25 01:21:13 DEBUG : file1: active writers 1 2024/10/25 01:21:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:14 DEBUG : : Looking for writers 2024/10/25 01:21:14 DEBUG : file1: reading active writers 2024/10/25 01:21:14 DEBUG : file1: active writers 1 2024/10/25 01:21:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:15 DEBUG : : Looking for writers 2024/10/25 01:21:15 DEBUG : file1: reading active writers 2024/10/25 01:21:15 DEBUG : file1: active writers 1 2024/10/25 01:21:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:16 DEBUG : : Looking for writers 2024/10/25 01:21:16 DEBUG : file1: reading active writers 2024/10/25 01:21:16 DEBUG : file1: active writers 1 2024/10/25 01:21:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:17 DEBUG : : Looking for writers 2024/10/25 01:21:17 DEBUG : file1: reading active writers 2024/10/25 01:21:17 DEBUG : file1: active writers 1 2024/10/25 01:21:17 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:18 DEBUG : : Looking for writers 2024/10/25 01:21:18 DEBUG : file1: reading active writers 2024/10/25 01:21:18 DEBUG : file1: active writers 1 2024/10/25 01:21:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:19 DEBUG : : Looking for writers 2024/10/25 01:21:19 DEBUG : file1: reading active writers 2024/10/25 01:21:19 DEBUG : file1: active writers 1 2024/10/25 01:21:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:20 DEBUG : : Looking for writers 2024/10/25 01:21:20 DEBUG : file1: reading active writers 2024/10/25 01:21:20 DEBUG : file1: active writers 1 2024/10/25 01:21:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:21 DEBUG : : Looking for writers 2024/10/25 01:21:21 DEBUG : file1: reading active writers 2024/10/25 01:21:21 DEBUG : file1: active writers 1 2024/10/25 01:21:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2024/10/25 01:21:21 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2024/10/25 01:21:21 DEBUG : >WaitForWriters: --- SKIP: TestWriteFileModTimeWithOpenWriters (31.26s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:21:22 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:21:22 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:21:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:21:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:21:23 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:21:23 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/25 01:21:23 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/25 01:21:23 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:21:23 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': File to upload is small (0 bytes), uploading instead of streaming 2024/10/25 01:21:24 DEBUG : file1: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2024/10/25 01:21:24 DEBUG : file1: Size and sha1 of src and dst objects identical 2024/10/25 01:21:24 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:21:24 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:21:24 DEBUG : file1: Open: flags=O_RDONLY 2024/10/25 01:21:24 DEBUG : file1: >Open: fd=file1 (r), err= 2024/10/25 01:21:24 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2024/10/25 01:21:24 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:21:25 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2024/10/25 01:21:25 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:21:25 DEBUG : : Looking for writers 2024/10/25 01:21:25 DEBUG : file1: reading active writers 2024/10/25 01:21:25 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtZeroLength (3.80s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-pijepoh5qixo'", Local "Local file system at /tmp/rclone316962667", Modify Window "1s" 2024/10/25 01:21:26 INFO : proton drive root link ID 'rclone-test-pijepoh5qixo': poll-interval is not supported by this remote 2024/10/25 01:21:26 NOTICE: proton drive root link ID 'rclone-test-pijepoh5qixo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/25 01:21:26 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/25 01:21:27 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/25 01:21:27 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:21:27 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/25 01:21:27 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/25 01:21:27 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:21:27 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': File to upload is small (100 bytes), uploading instead of streaming 2024/10/25 01:21:28 DEBUG : file1: sha1 = b4293ea39e7779ba7ce8d8190a5fc81a13f784db OK 2024/10/25 01:21:28 DEBUG : file1: Size and sha1 of src and dst objects identical 2024/10/25 01:21:28 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/25 01:21:28 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/25 01:21:28 DEBUG : file1: Open: flags=O_RDONLY 2024/10/25 01:21:28 DEBUG : file1: >Open: fd=file1 (r), err= 2024/10/25 01:21:28 DEBUG : file1: >OpenFile: fd=file1 (r), err= 2024/10/25 01:21:28 DEBUG : file1: ChunkedReader.openRange at 0 length 134217728 2024/10/25 01:21:29 DEBUG : file1: ChunkedReader.Read at 0 length 1024 chunkOffset 0 chunkSize 134217728 2024/10/25 01:21:29 DEBUG : WaitForWriters: timeout=30s 2024/10/25 01:21:29 DEBUG : : Looking for writers 2024/10/25 01:21:29 DEBUG : file1: reading active writers 2024/10/25 01:21:29 DEBUG : >WaitForWriters: --- PASS: TestFileReadAtNonZeroLength (4.62s) PASS 2024/10/25 01:21:31 DEBUG : proton drive root link ID 'rclone-test-pijepoh5qixo': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseSensitivity|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestRWCacheRename|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleFlushWrite|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleReleaseWrite|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeCreateNew|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestRcGetVFS|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSMkdir|TestVFSMkdirAll|TestVFSNew|TestVFSNewWithOpts|TestVFSOpenFile|TestVFSRename|TestVFSRoot|TestVFSStat|TestVFSStatParent|TestVFSStatfs|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|writes,forceCache=false|writes,forceCache=true)$|^TestRWFileHandleOpenTests$/^full$/^(os.O_RDONLY|os.O_RDONLY|os.O_APPEND|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_SYNC|os.O_RDONLY|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_TRUNC|os.O_RDWR|os.O_RDWR|os.O_APPEND|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_SYNC|os.O_RDWR|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_TRUNC|os.O_WRONLY|os.O_WRONLY|os.O_APPEND|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_SYNC|os.O_WRONLY|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_TRUNC)$|^TestRWFileHandleOpenTests$/^writes$/^(os.O_RDONLY|os.O_RDONLY|os.O_APPEND|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_RDONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_APPEND|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_RDONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_CREATE|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_RDONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_EXCL|os.O_TRUNC|os.O_RDONLY|os.O_SYNC|os.O_RDONLY|os.O_SYNC|os.O_TRUNC|os.O_RDONLY|os.O_TRUNC|os.O_RDWR|os.O_RDWR|os.O_APPEND|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_RDWR|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_APPEND|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_RDWR|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_CREATE|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_RDWR|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_EXCL|os.O_TRUNC|os.O_RDWR|os.O_SYNC|os.O_RDWR|os.O_SYNC|os.O_TRUNC|os.O_RDWR|os.O_TRUNC|os.O_WRONLY|os.O_WRONLY|os.O_APPEND|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_WRONLY|os.O_APPEND|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_APPEND|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_WRONLY|os.O_CREATE|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_CREATE|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_WRONLY|os.O_EXCL|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_EXCL|os.O_TRUNC|os.O_WRONLY|os.O_SYNC|os.O_WRONLY|os.O_SYNC|os.O_TRUNC|os.O_WRONLY|os.O_TRUNC)$'" - Finished OK in 10m1.046129293s (try 2/5)