"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseSensitivity|TestDirCreate|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMetadataExtension|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSOpenFile|TestVFSRename|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$'" - Starting (try 3/5) 2025/10/08 03:23:52 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-jujaqaw2wiqi" 2025/10/08 03:23:52 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/08 03:23:52 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': Has cached credentials 2025/10/08 03:23:55 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': Used cached credential to initialize the ProtonDrive API 2025/10/08 03:23:55 DEBUG : Creating backend with remote "/tmp/rclone138754619" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:23:55 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:23:55 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:00.501446 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:00.501486 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:00 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:00 DEBUG : Looking for writers 2025/10/08 03:24:00 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (6.70s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:02 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:02 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:04.424996 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:04.425035 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:04 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:04 DEBUG : Looking for writers 2025/10/08 03:24:04 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (3.91s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:06 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:06 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:08.352665 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:08.352702 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:08 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:08 DEBUG : Looking for writers 2025/10/08 03:24:08 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (3.89s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:10 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:10 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:12.363995 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:12.364032 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:12 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:12 DEBUG : Looking for writers 2025/10/08 03:24:12 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (3.95s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:14 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:14 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:16.360521 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:16.360558 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:16 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:16 DEBUG : Looking for writers 2025/10/08 03:24:16 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (3.85s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:17 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:17 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:19.700650 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:19.700679 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:19 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:19 DEBUG : Looking for writers 2025/10/08 03:24:19 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (3.58s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:21 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:21 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:23.399895 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:23.399930 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:23 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:23 DEBUG : Looking for writers 2025/10/08 03:24:23 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (3.58s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:25 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:25 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:27.134558 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:27.134589 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:27 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:27 DEBUG : Looking for writers 2025/10/08 03:24:27 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (3.72s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:28 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:28 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:30.890850 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:30.890877 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:30 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:30 DEBUG : Looking for writers 2025/10/08 03:24:30 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (4.00s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:32 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:32 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:35.057690 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:35.057747 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:35 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:35 DEBUG : Looking for writers 2025/10/08 03:24:35 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (4.12s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:36 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:36 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:38.897633 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:38.897671 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:38 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:38 DEBUG : Looking for writers 2025/10/08 03:24:38 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (3.80s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:40 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:40 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:42.679572 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:42.679603 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:42 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:42 DEBUG : Looking for writers 2025/10/08 03:24:42 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (3.89s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:44 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:44 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:46.418390 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:46.418430 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:46 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:46 DEBUG : Looking for writers 2025/10/08 03:24:46 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (3.55s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:48 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:48 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:50.315861 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:50.315894 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:50 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:50 DEBUG : Looking for writers 2025/10/08 03:24:50 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (3.70s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:51 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:51 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:54.027541 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:54.027576 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:54 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:54 DEBUG : Looking for writers 2025/10/08 03:24:54 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (3.98s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:55 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:55 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:24:58.055164 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:24:58.055191 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:24:58 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:24:58 DEBUG : Looking for writers 2025/10/08 03:24:58 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (4.01s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:24:59 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:24:59 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:02.064804 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:02.064824 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:02 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:02 DEBUG : Looking for writers 2025/10/08 03:25:02 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (4.10s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:03 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:06.274090 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:06.274140 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:06 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:06 DEBUG : Looking for writers 2025/10/08 03:25:06 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (4.09s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:08 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:08 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:10.260551 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:10.260590 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:10 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:10 DEBUG : Looking for writers 2025/10/08 03:25:10 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (4.08s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:12 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:12 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:13.993862 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:13.993894 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:13 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:13 DEBUG : Looking for writers 2025/10/08 03:25:13 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (3.64s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:15 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:15 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:17.874992 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:17.875026 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:17 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:17 DEBUG : Looking for writers 2025/10/08 03:25:17 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (3.83s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:19 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:19 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:21.581871 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:21.581906 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:21 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:21 DEBUG : Looking for writers 2025/10/08 03:25:21 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:23 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:23 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:25.495011 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:25.495049 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:25 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:25 DEBUG : Looking for writers 2025/10/08 03:25:25 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:27 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:27 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:29.341425 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:29.341467 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:29 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:29 DEBUG : Looking for writers 2025/10/08 03:25:29 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:30 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:30 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:25:30 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:30 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:30 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:25:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:30 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:25:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:30 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:25:32.940422 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:32.940457 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:32 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:32 DEBUG : Looking for writers 2025/10/08 03:25:32 DEBUG : >WaitForWriters: 2025/10/08 03:25:32 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:34 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:34 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:25:34 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:34 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:25:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:25:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:34 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:25:36.484052 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:36.484096 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:36 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:36 DEBUG : Looking for writers 2025/10/08 03:25:36 DEBUG : >WaitForWriters: 2025/10/08 03:25:36 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:38 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:38 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:25:38 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:38 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:25:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:25:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:25:38 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:25:40.428615 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:40.428644 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:40 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:40 DEBUG : Looking for writers 2025/10/08 03:25:40 DEBUG : >WaitForWriters: 2025/10/08 03:25:40 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (22.65s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (3.81s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (3.74s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (3.83s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (3.77s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (3.60s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (3.88s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:42 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:42 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:44.278230 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:44.278268 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:44 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:44 DEBUG : Looking for writers 2025/10/08 03:25:44 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (3.68s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:45 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:45 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:48.205966 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:48.206015 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:48 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:48 DEBUG : Looking for writers 2025/10/08 03:25:48 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (3.95s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:49 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:49 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:52.212848 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:52.212891 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:52 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:52 DEBUG : Looking for writers 2025/10/08 03:25:52 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (4.18s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:54 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:54 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:56.018783 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:56.018836 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:56 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:56 DEBUG : Looking for writers 2025/10/08 03:25:56 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (3.74s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:25:57 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:25:57 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:25:59.888347 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:25:59.888389 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:25:59 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:25:59 DEBUG : Looking for writers 2025/10/08 03:25:59 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (3.91s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:01 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:01 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:26:03.772670 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:03.772743 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:03 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:03 DEBUG : Looking for writers 2025/10/08 03:26:03 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:05 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:05 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:26:05 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:26:05 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:05 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:05 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:26:07.402522 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:07.402562 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:07 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:07 DEBUG : Looking for writers 2025/10/08 03:26:07 DEBUG : >WaitForWriters: 2025/10/08 03:26:07 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:09 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:09 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:26:09 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:26:09 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:09 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:09 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:26:11.535041 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:11.535072 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:11 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:11 DEBUG : Looking for writers 2025/10/08 03:26:11 DEBUG : >WaitForWriters: 2025/10/08 03:26:11 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:13 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:13 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:26:13 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:13 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:13 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:26:15.748029 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:15.748065 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:15 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:15 DEBUG : Looking for writers 2025/10/08 03:26:15 DEBUG : >WaitForWriters: 2025/10/08 03:26:15 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:17 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:17 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:26:17 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:17 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:17 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:26:19.853004 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:19.853045 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:19 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:19 DEBUG : Looking for writers 2025/10/08 03:26:19 DEBUG : >WaitForWriters: 2025/10/08 03:26:19 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:21 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:21 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:26:21 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:21 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:21 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:26:23.878998 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:23.879039 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:23 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:23 DEBUG : Looking for writers 2025/10/08 03:26:23 DEBUG : >WaitForWriters: 2025/10/08 03:26:23 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestFileRename (24.06s) --- FAIL: TestFileRename/off,forceCache=false (3.77s) --- FAIL: TestFileRename/minimal,forceCache=false (3.81s) --- FAIL: TestFileRename/minimal,forceCache=true (4.08s) --- FAIL: TestFileRename/writes,forceCache=false (4.24s) --- FAIL: TestFileRename/writes,forceCache=true (4.00s) --- FAIL: TestFileRename/full,forceCache=false (4.16s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:25 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:25 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:26:28.000933 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:28.000969 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:28 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:28 DEBUG : Looking for writers 2025/10/08 03:26:28 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (3.98s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:29 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:29 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:26:31.947605 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:31.947661 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:31 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:31 DEBUG : Looking for writers 2025/10/08 03:26:31 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (3.92s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:33 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:33 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:26:35.653281 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:35.653319 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:35 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:35 DEBUG : Looking for writers 2025/10/08 03:26:35 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (3.83s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:37 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:37 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:26:39.775884 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:39.775959 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:39 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:39 DEBUG : Looking for writers 2025/10/08 03:26:39 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (4.14s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:41 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:41 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:26:43.472453 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:43.472486 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:43 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:43 DEBUG : Looking for writers 2025/10/08 03:26:43 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (3.63s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:45 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:45 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:26:45 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:45 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:45 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:26:47.310103 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:47.310135 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:47 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:47 DEBUG : Looking for writers 2025/10/08 03:26:47 DEBUG : >WaitForWriters: 2025/10/08 03:26:47 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (3.67s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:48 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:48 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:26:48 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:48 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:48 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:26:50.794634 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:50.794665 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:50 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:50 DEBUG : Looking for writers 2025/10/08 03:26:50 DEBUG : >WaitForWriters: 2025/10/08 03:26:50 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (3.49s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:52 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:52 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:26:52 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:52 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:52 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:26:54.284771 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:54.284809 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:54 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:54 DEBUG : Looking for writers 2025/10/08 03:26:54 DEBUG : >WaitForWriters: 2025/10/08 03:26:54 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (3.63s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:56 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:56 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:26:56 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:56 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:56 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:26:58.036850 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:26:58.036886 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:26:58 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:26:58 DEBUG : Looking for writers 2025/10/08 03:26:58 DEBUG : >WaitForWriters: 2025/10/08 03:26:58 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (3.86s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:26:59 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:26:59 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:26:59 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:59 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:26:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:26:59 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:27:02.193937 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:27:02.193961 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:27:02 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:27:02 DEBUG : Looking for writers 2025/10/08 03:27:02 DEBUG : >WaitForWriters: 2025/10/08 03:27:02 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (3.94s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:27:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:27:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:27:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:27:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:27:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:27:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:27:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:27:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:27:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:27:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:27:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:27:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:27:04 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:27:04 DEBUG : file1: newRWFileHandle: 2025/10/08 03:27:04 DEBUG : file1(0xc0009fe480): openPending: 2025/10/08 03:27:04 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/08 03:27:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:27:04 DEBUG : file1(0xc0009fe480): >openPending: err= 2025/10/08 03:27:04 DEBUG : file1: >newRWFileHandle: err= 2025/10/08 03:27:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:27:04 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/08 03:27:04 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/08 03:27:04 DEBUG : file1(0xc0009fe480): _writeAt: size=5, off=0 2025/10/08 03:27:04 DEBUG : file1(0xc0009fe480): >_writeAt: n=5, err= 2025/10/08 03:27:04 DEBUG : file1(0xc0009fe480): _writeAt: size=7, off=5 2025/10/08 03:27:04 DEBUG : file1(0xc0009fe480): >_writeAt: n=7, err= 2025/10/08 03:27:04 DEBUG : file1: vfs cache: truncate to size=11 2025/10/08 03:27:04 DEBUG : file1(0xc0009fe480): close: 2025/10/08 03:27:04 DEBUG : file1: vfs cache: setting modification time to 2025-10-08 03:27:04.25300454 +0000 UTC m=+191.473130805 2025/10/08 03:27:04 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/08 03:27:04 DEBUG : file1(0xc0009fe480): >close: err= 2025/10/08 03:27:04 DEBUG : file1(0xc0009fe480): close: 2025/10/08 03:27:04 DEBUG : file1(0xc0009fe480): >close: err=file already closed 2025/10/08 03:27:04 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:27:04 DEBUG : Looking for writers 2025/10/08 03:27:04 DEBUG : file1: reading active writers 2025/10/08 03:27:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/08 03:27:04 DEBUG : Looking for writers 2025/10/08 03:27:04 DEBUG : file1: reading active writers 2025/10/08 03:27:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/08 03:27:04 DEBUG : Looking for writers 2025/10/08 03:27:04 DEBUG : file1: reading active writers 2025/10/08 03:27:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/08 03:27:04 DEBUG : Looking for writers 2025/10/08 03:27:04 DEBUG : file1: reading active writers 2025/10/08 03:27:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/08 03:27:04 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:27:04 DEBUG : Looking for writers 2025/10/08 03:27:04 DEBUG : file1: reading active writers 2025/10/08 03:27:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/08 03:27:04 DEBUG : Looking for writers 2025/10/08 03:27:04 DEBUG : file1: reading active writers 2025/10/08 03:27:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/08 03:27:04 DEBUG : Looking for writers 2025/10/08 03:27:04 DEBUG : file1: reading active writers 2025/10/08 03:27:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/08 03:27:05.502532 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:27:05.502565 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:27:05 ERROR : file1: Failed to copy: 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:27:05 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:27:05 DEBUG : Looking for writers 2025/10/08 03:27:05 DEBUG : file1: reading active writers 2025/10/08 03:27:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:05 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:27:06 DEBUG : Looking for writers 2025/10/08 03:27:06 DEBUG : file1: reading active writers 2025/10/08 03:27:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:06.594427 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 2025/10/08 03:27:06.594469 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) 2025/10/08 03:27:07 DEBUG : Looking for writers 2025/10/08 03:27:07 DEBUG : file1: reading active writers 2025/10/08 03:27:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:07 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:27:07 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:27:08 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:27:08 DEBUG : Looking for writers 2025/10/08 03:27:08 DEBUG : file1: reading active writers 2025/10/08 03:27:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:09.193892 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 2025/10/08 03:27:09.193931 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) 2025/10/08 03:27:09 DEBUG : Looking for writers 2025/10/08 03:27:09 DEBUG : file1: reading active writers 2025/10/08 03:27:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:10 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:27:10 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:27:10 DEBUG : Looking for writers 2025/10/08 03:27:10 DEBUG : file1: reading active writers 2025/10/08 03:27:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:11 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:27:11 DEBUG : Looking for writers 2025/10/08 03:27:11 DEBUG : file1: reading active writers 2025/10/08 03:27:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:12.127765 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 2025/10/08 03:27:12.127783 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) 2025/10/08 03:27:12 DEBUG : Looking for writers 2025/10/08 03:27:12 DEBUG : file1: reading active writers 2025/10/08 03:27:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:13 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:27:13 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:27:13 DEBUG : Looking for writers 2025/10/08 03:27:13 DEBUG : file1: reading active writers 2025/10/08 03:27:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:14 DEBUG : Looking for writers 2025/10/08 03:27:14 DEBUG : file1: reading active writers 2025/10/08 03:27:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:15 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:27:15 DEBUG : Looking for writers 2025/10/08 03:27:15 DEBUG : file1: reading active writers 2025/10/08 03:27:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:15.998987 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 2025/10/08 03:27:15.999024 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) 2025/10/08 03:27:16 DEBUG : Looking for writers 2025/10/08 03:27:16 DEBUG : file1: reading active writers 2025/10/08 03:27:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:17 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:27:17 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:27:17 DEBUG : Looking for writers 2025/10/08 03:27:17 DEBUG : file1: reading active writers 2025/10/08 03:27:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:18 DEBUG : Looking for writers 2025/10/08 03:27:18 DEBUG : file1: reading active writers 2025/10/08 03:27:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:19 DEBUG : Looking for writers 2025/10/08 03:27:19 DEBUG : file1: reading active writers 2025/10/08 03:27:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:20 DEBUG : Looking for writers 2025/10/08 03:27:20 DEBUG : file1: reading active writers 2025/10/08 03:27:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:20 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:27:21 DEBUG : Looking for writers 2025/10/08 03:27:21 DEBUG : file1: reading active writers 2025/10/08 03:27:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:21.550271 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 2025/10/08 03:27:21.550308 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) 2025/10/08 03:27:22 DEBUG : Looking for writers 2025/10/08 03:27:22 DEBUG : file1: reading active writers 2025/10/08 03:27:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:22 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:27:22 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:27:23 DEBUG : Looking for writers 2025/10/08 03:27:23 DEBUG : file1: reading active writers 2025/10/08 03:27:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:24 DEBUG : Looking for writers 2025/10/08 03:27:24 DEBUG : file1: reading active writers 2025/10/08 03:27:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:25 DEBUG : Looking for writers 2025/10/08 03:27:25 DEBUG : file1: reading active writers 2025/10/08 03:27:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:26 DEBUG : Looking for writers 2025/10/08 03:27:26 DEBUG : file1: reading active writers 2025/10/08 03:27:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:27 DEBUG : Looking for writers 2025/10/08 03:27:27 DEBUG : file1: reading active writers 2025/10/08 03:27:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:28 DEBUG : Looking for writers 2025/10/08 03:27:28 DEBUG : file1: reading active writers 2025/10/08 03:27:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:29 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:27:29 DEBUG : Looking for writers 2025/10/08 03:27:29 DEBUG : file1: reading active writers 2025/10/08 03:27:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:30.137923 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 2025/10/08 03:27:30.137952 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) 2025/10/08 03:27:30 DEBUG : Looking for writers 2025/10/08 03:27:30 DEBUG : file1: reading active writers 2025/10/08 03:27:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:31 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:27:31 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:27:31 DEBUG : Looking for writers 2025/10/08 03:27:31 DEBUG : file1: reading active writers 2025/10/08 03:27:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:32 DEBUG : Looking for writers 2025/10/08 03:27:32 DEBUG : file1: reading active writers 2025/10/08 03:27:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:33 DEBUG : Looking for writers 2025/10/08 03:27:33 DEBUG : file1: reading active writers 2025/10/08 03:27:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:27:34 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00094ab40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000bf4408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646255680} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993128666097552124 ext:191473130805 loc:0x4135660} ATime:{wall:13993128666097574976 ext:191473153658 loc:0x4135660} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/08 03:27:34 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/08 03:27:44 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:28:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/08 03:28:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/08 03:29:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/08 03:29:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/08 03:29:14.552278 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 2025/10/08 03:29:14.552312 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) 2025/10/08 03:29:15 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:29:15 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/08 03:29:41 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:30:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/08 03:30:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/08 03:30:53.964422 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 2025/10/08 03:30:53.964468 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) 2025/10/08 03:30:55 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:30:55 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleMethodsWrite Messages: 1 objects not found 2025/10/08 03:30:57 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:30:57 DEBUG : Looking for writers 2025/10/08 03:30:57 DEBUG : file1: reading active writers 2025/10/08 03:30:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/08 03:30:57 DEBUG : Looking for writers 2025/10/08 03:30:57 DEBUG : file1: reading active writers 2025/10/08 03:30:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/08 03:30:57 DEBUG : Looking for writers 2025/10/08 03:30:57 DEBUG : file1: reading active writers 2025/10/08 03:30:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/08 03:30:57 DEBUG : Looking for writers 2025/10/08 03:30:57 DEBUG : file1: reading active writers 2025/10/08 03:30:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/08 03:30:57 DEBUG : Looking for writers 2025/10/08 03:30:57 DEBUG : file1: reading active writers 2025/10/08 03:30:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/08 03:30:57 DEBUG : Looking for writers 2025/10/08 03:30:57 DEBUG : file1: reading active writers 2025/10/08 03:30:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/08 03:30:57 DEBUG : Looking for writers 2025/10/08 03:30:57 DEBUG : file1: reading active writers 2025/10/08 03:30:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/08 03:30:58 DEBUG : Looking for writers 2025/10/08 03:30:58 DEBUG : file1: reading active writers 2025/10/08 03:30:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:30:59 DEBUG : Looking for writers 2025/10/08 03:30:59 DEBUG : file1: reading active writers 2025/10/08 03:30:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:00 DEBUG : Looking for writers 2025/10/08 03:31:00 DEBUG : file1: reading active writers 2025/10/08 03:31:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:01 DEBUG : Looking for writers 2025/10/08 03:31:01 DEBUG : file1: reading active writers 2025/10/08 03:31:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:02 DEBUG : Looking for writers 2025/10/08 03:31:02 DEBUG : file1: reading active writers 2025/10/08 03:31:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:03 DEBUG : Looking for writers 2025/10/08 03:31:03 DEBUG : file1: reading active writers 2025/10/08 03:31:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/08 03:31:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/08 03:31:04 DEBUG : Looking for writers 2025/10/08 03:31:04 DEBUG : file1: reading active writers 2025/10/08 03:31:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:05 DEBUG : Looking for writers 2025/10/08 03:31:05 DEBUG : file1: reading active writers 2025/10/08 03:31:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:06 DEBUG : Looking for writers 2025/10/08 03:31:06 DEBUG : file1: reading active writers 2025/10/08 03:31:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:07 DEBUG : Looking for writers 2025/10/08 03:31:07 DEBUG : file1: reading active writers 2025/10/08 03:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:08 DEBUG : Looking for writers 2025/10/08 03:31:08 DEBUG : file1: reading active writers 2025/10/08 03:31:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:09 DEBUG : Looking for writers 2025/10/08 03:31:09 DEBUG : file1: reading active writers 2025/10/08 03:31:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:10 DEBUG : Looking for writers 2025/10/08 03:31:10 DEBUG : file1: reading active writers 2025/10/08 03:31:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:11 DEBUG : Looking for writers 2025/10/08 03:31:11 DEBUG : file1: reading active writers 2025/10/08 03:31:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:12 DEBUG : Looking for writers 2025/10/08 03:31:12 DEBUG : file1: reading active writers 2025/10/08 03:31:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:13 DEBUG : Looking for writers 2025/10/08 03:31:13 DEBUG : file1: reading active writers 2025/10/08 03:31:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:14 DEBUG : Looking for writers 2025/10/08 03:31:14 DEBUG : file1: reading active writers 2025/10/08 03:31:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:15 DEBUG : Looking for writers 2025/10/08 03:31:15 DEBUG : file1: reading active writers 2025/10/08 03:31:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:16 DEBUG : Looking for writers 2025/10/08 03:31:16 DEBUG : file1: reading active writers 2025/10/08 03:31:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:17 DEBUG : Looking for writers 2025/10/08 03:31:17 DEBUG : file1: reading active writers 2025/10/08 03:31:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:18 DEBUG : Looking for writers 2025/10/08 03:31:18 DEBUG : file1: reading active writers 2025/10/08 03:31:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:19 DEBUG : Looking for writers 2025/10/08 03:31:19 DEBUG : file1: reading active writers 2025/10/08 03:31:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:20 DEBUG : Looking for writers 2025/10/08 03:31:20 DEBUG : file1: reading active writers 2025/10/08 03:31:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:21 DEBUG : Looking for writers 2025/10/08 03:31:21 DEBUG : file1: reading active writers 2025/10/08 03:31:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:22 DEBUG : Looking for writers 2025/10/08 03:31:22 DEBUG : file1: reading active writers 2025/10/08 03:31:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:23 DEBUG : Looking for writers 2025/10/08 03:31:23 DEBUG : file1: reading active writers 2025/10/08 03:31:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:24 DEBUG : Looking for writers 2025/10/08 03:31:24 DEBUG : file1: reading active writers 2025/10/08 03:31:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:25 DEBUG : Looking for writers 2025/10/08 03:31:25 DEBUG : file1: reading active writers 2025/10/08 03:31:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:26 DEBUG : Looking for writers 2025/10/08 03:31:26 DEBUG : file1: reading active writers 2025/10/08 03:31:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:31:27 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00094ab40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000bf4408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646255680} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993128666097552124 ext:191473130805 loc:0x4135660} ATime:{wall:13993128666097574976 ext:191473153658 loc:0x4135660} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/08 03:31:27 DEBUG : >WaitForWriters: 2025/10/08 03:31:27 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (360.05s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:33:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:33:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:33:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:33:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:33:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:33:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:33:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:33:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:33:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:33:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:33:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:33:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:33:04 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:33:04 DEBUG : file1: newRWFileHandle: 2025/10/08 03:33:04 DEBUG : file1(0xc000868900): openPending: 2025/10/08 03:33:04 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/08 03:33:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:33:04 DEBUG : file1(0xc000868900): >openPending: err= 2025/10/08 03:33:04 DEBUG : file1: >newRWFileHandle: err= 2025/10/08 03:33:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:33:04 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/08 03:33:04 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/08 03:33:04 DEBUG : file1(0xc000868900): _writeAt: size=7, off=0 2025/10/08 03:33:04 DEBUG : file1(0xc000868900): >_writeAt: n=7, err= 2025/10/08 03:33:04 DEBUG : file1(0xc000868900): _writeAt: size=6, off=5 2025/10/08 03:33:04 DEBUG : file1(0xc000868900): >_writeAt: n=6, err= 2025/10/08 03:33:04 DEBUG : file1(0xc000868900): close: 2025/10/08 03:33:04 DEBUG : file1: vfs cache: setting modification time to 2025-10-08 03:33:04.236625287 +0000 UTC m=+551.456751573 2025/10/08 03:33:04 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/08 03:33:04 DEBUG : file1(0xc000868900): >close: err= 2025/10/08 03:33:04 DEBUG : file1(0xc000868900): _writeAt: size=5, off=0 2025/10/08 03:33:04 DEBUG : file1(0xc000868900): >_writeAt: n=0, err=file already closed 2025/10/08 03:33:04 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:33:04 DEBUG : Looking for writers 2025/10/08 03:33:04 DEBUG : file1: reading active writers 2025/10/08 03:33:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/08 03:33:04 DEBUG : Looking for writers 2025/10/08 03:33:04 DEBUG : file1: reading active writers 2025/10/08 03:33:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/08 03:33:04 DEBUG : Looking for writers 2025/10/08 03:33:04 DEBUG : file1: reading active writers 2025/10/08 03:33:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/08 03:33:04 DEBUG : Looking for writers 2025/10/08 03:33:04 DEBUG : file1: reading active writers 2025/10/08 03:33:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/08 03:33:04 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:33:04 DEBUG : Looking for writers 2025/10/08 03:33:04 DEBUG : file1: reading active writers 2025/10/08 03:33:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/08 03:33:04 DEBUG : Looking for writers 2025/10/08 03:33:04 DEBUG : file1: reading active writers 2025/10/08 03:33:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/08 03:33:04 DEBUG : Looking for writers 2025/10/08 03:33:04 DEBUG : file1: reading active writers 2025/10/08 03:33:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/08 03:33:05.096007 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 2025/10/08 03:33:05.096041 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) 2025/10/08 03:33:05 DEBUG : Looking for writers 2025/10/08 03:33:05 DEBUG : file1: reading active writers 2025/10/08 03:33:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:06 DEBUG : Looking for writers 2025/10/08 03:33:06 DEBUG : file1: reading active writers 2025/10/08 03:33:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:06 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:06 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:06 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:33:07.435882 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 2025/10/08 03:33:07.435902 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) 2025/10/08 03:33:07 DEBUG : Looking for writers 2025/10/08 03:33:07 DEBUG : file1: reading active writers 2025/10/08 03:33:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:08 DEBUG : Looking for writers 2025/10/08 03:33:08 DEBUG : file1: reading active writers 2025/10/08 03:33:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:08 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:08 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:09 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:33:09 DEBUG : Looking for writers 2025/10/08 03:33:09 DEBUG : file1: reading active writers 2025/10/08 03:33:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:09.779606 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 2025/10/08 03:33:09.779635 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) 2025/10/08 03:33:10 DEBUG : Looking for writers 2025/10/08 03:33:10 DEBUG : file1: reading active writers 2025/10/08 03:33:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:11 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:11 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:11 DEBUG : Looking for writers 2025/10/08 03:33:11 DEBUG : file1: reading active writers 2025/10/08 03:33:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:11 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:33:12 DEBUG : Looking for writers 2025/10/08 03:33:12 DEBUG : file1: reading active writers 2025/10/08 03:33:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:12.573937 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 2025/10/08 03:33:12.573959 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) 2025/10/08 03:33:13 DEBUG : Looking for writers 2025/10/08 03:33:13 DEBUG : file1: reading active writers 2025/10/08 03:33:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:13 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:13 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:14 DEBUG : Looking for writers 2025/10/08 03:33:14 DEBUG : file1: reading active writers 2025/10/08 03:33:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:15 DEBUG : Looking for writers 2025/10/08 03:33:15 DEBUG : file1: reading active writers 2025/10/08 03:33:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:15 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:33:16.459255 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 2025/10/08 03:33:16.459293 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) 2025/10/08 03:33:16 DEBUG : Looking for writers 2025/10/08 03:33:16 DEBUG : file1: reading active writers 2025/10/08 03:33:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:17 DEBUG : Looking for writers 2025/10/08 03:33:17 DEBUG : file1: reading active writers 2025/10/08 03:33:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:17 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:17 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:18 DEBUG : Looking for writers 2025/10/08 03:33:18 DEBUG : file1: reading active writers 2025/10/08 03:33:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:19 DEBUG : Looking for writers 2025/10/08 03:33:19 DEBUG : file1: reading active writers 2025/10/08 03:33:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:20 DEBUG : Looking for writers 2025/10/08 03:33:20 DEBUG : file1: reading active writers 2025/10/08 03:33:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:20 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:33:21 DEBUG : Looking for writers 2025/10/08 03:33:21 DEBUG : file1: reading active writers 2025/10/08 03:33:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:21.893809 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 2025/10/08 03:33:21.893832 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) 2025/10/08 03:33:22 DEBUG : Looking for writers 2025/10/08 03:33:22 DEBUG : file1: reading active writers 2025/10/08 03:33:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:23 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:23 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:23 DEBUG : Looking for writers 2025/10/08 03:33:23 DEBUG : file1: reading active writers 2025/10/08 03:33:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:24 DEBUG : Looking for writers 2025/10/08 03:33:24 DEBUG : file1: reading active writers 2025/10/08 03:33:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:25 DEBUG : Looking for writers 2025/10/08 03:33:25 DEBUG : file1: reading active writers 2025/10/08 03:33:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:26 DEBUG : Looking for writers 2025/10/08 03:33:26 DEBUG : file1: reading active writers 2025/10/08 03:33:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:27 DEBUG : Looking for writers 2025/10/08 03:33:27 DEBUG : file1: reading active writers 2025/10/08 03:33:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:28 DEBUG : Looking for writers 2025/10/08 03:33:28 DEBUG : file1: reading active writers 2025/10/08 03:33:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:29 DEBUG : Looking for writers 2025/10/08 03:33:29 DEBUG : file1: reading active writers 2025/10/08 03:33:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:29 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:33:30.361837 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 2025/10/08 03:33:30.361872 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) 2025/10/08 03:33:30 DEBUG : Looking for writers 2025/10/08 03:33:30 DEBUG : file1: reading active writers 2025/10/08 03:33:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:31 DEBUG : Looking for writers 2025/10/08 03:33:31 DEBUG : file1: reading active writers 2025/10/08 03:33:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:31 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:31 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:33:32 DEBUG : Looking for writers 2025/10/08 03:33:32 DEBUG : file1: reading active writers 2025/10/08 03:33:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:33 DEBUG : Looking for writers 2025/10/08 03:33:33 DEBUG : file1: reading active writers 2025/10/08 03:33:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:33:34 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00094a780 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000bf4d08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646257984} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993129052628229511 ext:551456751573 loc:0x4135660} ATime:{wall:13993129052628281380 ext:551456803441 loc:0x4135660} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/08 03:33:34 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/08 03:33:44 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:33:55 DEBUG : forgetting directory cache 2025/10/08 03:34:02 DEBUG : forgetting directory cache 2025/10/08 03:34:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/08 03:34:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/08 03:34:06 DEBUG : forgetting directory cache 2025/10/08 03:34:10 DEBUG : forgetting directory cache 2025/10/08 03:34:14 DEBUG : forgetting directory cache 2025/10/08 03:34:17 DEBUG : forgetting directory cache 2025/10/08 03:34:21 DEBUG : forgetting directory cache 2025/10/08 03:34:25 DEBUG : forgetting directory cache 2025/10/08 03:34:28 DEBUG : forgetting directory cache 2025/10/08 03:34:32 DEBUG : forgetting directory cache 2025/10/08 03:34:35.417122 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=149&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401), Attempt 1 2025/10/08 03:34:35.417153 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=149&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401) 2025/10/08 03:34:35 DEBUG : Saving config "client_uid" in section "TestProtonDrive" of the config file 2025/10/08 03:34:35 DEBUG : Saving config "client_access_token" in section "TestProtonDrive" of the config file 2025/10/08 03:34:35 DEBUG : Saving config "client_refresh_token" in section "TestProtonDrive" of the config file 2025/10/08 03:34:35 DEBUG : Saving config "client_salted_key_pass" in section "TestProtonDrive" of the config file 2025/10/08 03:34:36 DEBUG : forgetting directory cache 2025/10/08 03:34:40 DEBUG : forgetting directory cache 2025/10/08 03:34:44 DEBUG : forgetting directory cache 2025/10/08 03:34:48 DEBUG : forgetting directory cache 2025/10/08 03:34:51 DEBUG : forgetting directory cache 2025/10/08 03:34:55 DEBUG : forgetting directory cache 2025/10/08 03:34:59 DEBUG : forgetting directory cache 2025/10/08 03:35:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/08 03:35:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/08 03:35:03 DEBUG : forgetting directory cache 2025/10/08 03:35:08 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/08 03:35:12 DEBUG : forgetting directory cache 2025/10/08 03:35:12.798252 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 2025/10/08 03:35:12.798287 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) 2025/10/08 03:35:14 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:35:14 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/08 03:35:15 DEBUG : forgetting directory cache 2025/10/08 03:35:19 DEBUG : forgetting directory cache 2025/10/08 03:35:23 DEBUG : forgetting directory cache 2025/10/08 03:35:27 DEBUG : forgetting directory cache 2025/10/08 03:35:30 DEBUG : forgetting directory cache 2025/10/08 03:35:34 DEBUG : forgetting directory cache 2025/10/08 03:35:38 DEBUG : forgetting directory cache 2025/10/08 03:35:39 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:35:42 DEBUG : forgetting directory cache 2025/10/08 03:35:45 DEBUG : forgetting directory cache 2025/10/08 03:35:49 DEBUG : forgetting directory cache 2025/10/08 03:35:54 DEBUG : forgetting directory cache 2025/10/08 03:35:57 DEBUG : forgetting directory cache 2025/10/08 03:36:01 DEBUG : forgetting directory cache 2025/10/08 03:36:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/08 03:36:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/08 03:36:05 DEBUG : forgetting directory cache 2025/10/08 03:36:09 DEBUG : forgetting directory cache 2025/10/08 03:36:13 DEBUG : forgetting directory cache 2025/10/08 03:36:17 DEBUG : forgetting directory cache 2025/10/08 03:36:21 DEBUG : forgetting directory cache 2025/10/08 03:36:25 DEBUG : forgetting directory cache 2025/10/08 03:36:29 DEBUG : forgetting directory cache 2025/10/08 03:36:33 DEBUG : forgetting directory cache 2025/10/08 03:36:37 DEBUG : forgetting directory cache 2025/10/08 03:36:41 DEBUG : forgetting directory cache 2025/10/08 03:36:45 DEBUG : forgetting directory cache 2025/10/08 03:36:48 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/08 03:36:50.116901 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 2025/10/08 03:36:50.116937 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) 2025/10/08 03:36:51 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:36:51 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:36:52 DEBUG : forgetting directory cache fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteAt Messages: 1 objects not found 2025/10/08 03:36:53 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:36:53 DEBUG : Looking for writers 2025/10/08 03:36:53 DEBUG : file1: reading active writers 2025/10/08 03:36:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/08 03:36:53 DEBUG : Looking for writers 2025/10/08 03:36:53 DEBUG : file1: reading active writers 2025/10/08 03:36:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/08 03:36:53 DEBUG : Looking for writers 2025/10/08 03:36:53 DEBUG : file1: reading active writers 2025/10/08 03:36:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/08 03:36:53 DEBUG : Looking for writers 2025/10/08 03:36:53 DEBUG : file1: reading active writers 2025/10/08 03:36:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/08 03:36:53 DEBUG : Looking for writers 2025/10/08 03:36:53 DEBUG : file1: reading active writers 2025/10/08 03:36:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/08 03:36:54 DEBUG : Looking for writers 2025/10/08 03:36:54 DEBUG : file1: reading active writers 2025/10/08 03:36:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/08 03:36:54 DEBUG : Looking for writers 2025/10/08 03:36:54 DEBUG : file1: reading active writers 2025/10/08 03:36:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/08 03:36:55 DEBUG : Looking for writers 2025/10/08 03:36:55 DEBUG : file1: reading active writers 2025/10/08 03:36:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:36:56 DEBUG : Looking for writers 2025/10/08 03:36:56 DEBUG : file1: reading active writers 2025/10/08 03:36:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:36:56 DEBUG : forgetting directory cache 2025/10/08 03:36:57 DEBUG : Looking for writers 2025/10/08 03:36:57 DEBUG : file1: reading active writers 2025/10/08 03:36:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:36:58 DEBUG : Looking for writers 2025/10/08 03:36:58 DEBUG : file1: reading active writers 2025/10/08 03:36:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:36:59 DEBUG : Looking for writers 2025/10/08 03:36:59 DEBUG : file1: reading active writers 2025/10/08 03:36:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:36:59 DEBUG : forgetting directory cache 2025/10/08 03:37:00 DEBUG : Looking for writers 2025/10/08 03:37:00 DEBUG : file1: reading active writers 2025/10/08 03:37:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:01 DEBUG : Looking for writers 2025/10/08 03:37:01 DEBUG : file1: reading active writers 2025/10/08 03:37:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:02 DEBUG : Looking for writers 2025/10/08 03:37:02 DEBUG : file1: reading active writers 2025/10/08 03:37:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:03 DEBUG : Looking for writers 2025/10/08 03:37:03 DEBUG : file1: reading active writers 2025/10/08 03:37:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:03 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/08 03:37:03 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/08 03:37:04 DEBUG : Looking for writers 2025/10/08 03:37:04 DEBUG : file1: reading active writers 2025/10/08 03:37:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:04 DEBUG : forgetting directory cache 2025/10/08 03:37:05 DEBUG : Looking for writers 2025/10/08 03:37:05 DEBUG : file1: reading active writers 2025/10/08 03:37:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:06 DEBUG : Looking for writers 2025/10/08 03:37:06 DEBUG : file1: reading active writers 2025/10/08 03:37:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:07 DEBUG : Looking for writers 2025/10/08 03:37:07 DEBUG : file1: reading active writers 2025/10/08 03:37:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:08 DEBUG : Looking for writers 2025/10/08 03:37:08 DEBUG : file1: reading active writers 2025/10/08 03:37:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:09 DEBUG : Looking for writers 2025/10/08 03:37:09 DEBUG : file1: reading active writers 2025/10/08 03:37:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:10 DEBUG : Looking for writers 2025/10/08 03:37:10 DEBUG : file1: reading active writers 2025/10/08 03:37:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:11 DEBUG : Looking for writers 2025/10/08 03:37:11 DEBUG : file1: reading active writers 2025/10/08 03:37:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:12 DEBUG : Looking for writers 2025/10/08 03:37:12 DEBUG : file1: reading active writers 2025/10/08 03:37:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:13 DEBUG : Looking for writers 2025/10/08 03:37:13 DEBUG : file1: reading active writers 2025/10/08 03:37:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:14 DEBUG : Looking for writers 2025/10/08 03:37:14 DEBUG : file1: reading active writers 2025/10/08 03:37:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:15 DEBUG : Looking for writers 2025/10/08 03:37:15 DEBUG : file1: reading active writers 2025/10/08 03:37:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:16 DEBUG : Looking for writers 2025/10/08 03:37:16 DEBUG : file1: reading active writers 2025/10/08 03:37:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:17 DEBUG : Looking for writers 2025/10/08 03:37:17 DEBUG : file1: reading active writers 2025/10/08 03:37:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:18 DEBUG : Looking for writers 2025/10/08 03:37:18 DEBUG : file1: reading active writers 2025/10/08 03:37:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:19 DEBUG : Looking for writers 2025/10/08 03:37:19 DEBUG : file1: reading active writers 2025/10/08 03:37:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:20 DEBUG : Looking for writers 2025/10/08 03:37:20 DEBUG : file1: reading active writers 2025/10/08 03:37:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:21 DEBUG : Looking for writers 2025/10/08 03:37:21 DEBUG : file1: reading active writers 2025/10/08 03:37:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:22 DEBUG : Looking for writers 2025/10/08 03:37:22 DEBUG : file1: reading active writers 2025/10/08 03:37:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:23 DEBUG : Looking for writers 2025/10/08 03:37:23 DEBUG : file1: reading active writers 2025/10/08 03:37:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:37:23 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00094a780 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000bf4d08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646257984} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993129052628229511 ext:551456751573 loc:0x4135660} ATime:{wall:13993129052628281380 ext:551456803441 loc:0x4135660} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/08 03:37:23 DEBUG : >WaitForWriters: 2025/10/08 03:37:23 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteAt (356.61s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:39:00 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:39:00 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:39:00 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:39:00 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:39:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:39:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:39:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:39:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:39:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:39:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:39:00 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:39:00 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:39:00 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:39:00 DEBUG : file1: newRWFileHandle: 2025/10/08 03:39:00 DEBUG : file1(0xc0090280c0): openPending: 2025/10/08 03:39:00 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/08 03:39:00 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:39:00 DEBUG : file1(0xc0090280c0): >openPending: err= 2025/10/08 03:39:00 DEBUG : file1: >newRWFileHandle: err= 2025/10/08 03:39:00 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:39:00 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/08 03:39:00 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/08 03:39:00 DEBUG : file1(0xc0090280c0): close: 2025/10/08 03:39:00 DEBUG : file1: vfs cache: setting modification time to 2025-10-08 03:39:00.857684358 +0000 UTC m=+908.077810625 2025/10/08 03:39:00 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/08 03:39:00 DEBUG : file1(0xc0090280c0): >close: err= 2025/10/08 03:39:00 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/08 03:39:00 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/08 03:39:00 DEBUG : file2: newRWFileHandle: 2025/10/08 03:39:00 DEBUG : file2(0xc0090285c0): openPending: 2025/10/08 03:39:00 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/08 03:39:00 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/08 03:39:00 DEBUG : file2(0xc0090285c0): >openPending: err= 2025/10/08 03:39:00 DEBUG : file2: >newRWFileHandle: err= 2025/10/08 03:39:00 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/08 03:39:00 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/08 03:39:00 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/08 03:39:00 DEBUG : file2(0xc0090285c0): RWFileHandle.Flush 2025/10/08 03:39:00 DEBUG : file2(0xc0090285c0): RWFileHandle.Release 2025/10/08 03:39:00 DEBUG : file2(0xc0090285c0): close: 2025/10/08 03:39:00 DEBUG : file2: vfs cache: setting modification time to 2025-10-08 03:39:00.858774627 +0000 UTC m=+908.078900883 2025/10/08 03:39:00 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/08 03:39:00 DEBUG : file2(0xc0090285c0): >close: err= 2025/10/08 03:39:00 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:39:00 DEBUG : Looking for writers 2025/10/08 03:39:00 DEBUG : file1: reading active writers 2025/10/08 03:39:00 DEBUG : file2: reading active writers 2025/10/08 03:39:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/08 03:39:00 DEBUG : Looking for writers 2025/10/08 03:39:00 DEBUG : file1: reading active writers 2025/10/08 03:39:00 DEBUG : file2: reading active writers 2025/10/08 03:39:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/08 03:39:00 DEBUG : Looking for writers 2025/10/08 03:39:00 DEBUG : file1: reading active writers 2025/10/08 03:39:00 DEBUG : file2: reading active writers 2025/10/08 03:39:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/08 03:39:00 DEBUG : Looking for writers 2025/10/08 03:39:00 DEBUG : file1: reading active writers 2025/10/08 03:39:00 DEBUG : file2: reading active writers 2025/10/08 03:39:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/08 03:39:00 DEBUG : file2: vfs cache: starting upload 2025/10/08 03:39:00 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:39:01 DEBUG : Looking for writers 2025/10/08 03:39:01 DEBUG : file1: reading active writers 2025/10/08 03:39:01 DEBUG : file2: reading active writers 2025/10/08 03:39:01 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/08 03:39:01 DEBUG : Looking for writers 2025/10/08 03:39:01 DEBUG : file1: reading active writers 2025/10/08 03:39:01 DEBUG : file2: reading active writers 2025/10/08 03:39:01 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/08 03:39:01 DEBUG : Looking for writers 2025/10/08 03:39:01 DEBUG : file1: reading active writers 2025/10/08 03:39:01 DEBUG : file2: reading active writers 2025/10/08 03:39:01 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/10/08 03:39:01 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/08 03:39:01 INFO : file2: Copied (new) 2025/10/08 03:39:01 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-08 03:39:00.858774627 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/08 03:39:01 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/08 03:39:01 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/08 03:39:01 INFO : file2: vfs cache: upload succeeded try #1 2025/10/08 03:39:01.905275 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 2025/10/08 03:39:01.905301 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) 2025/10/08 03:39:02 DEBUG : Looking for writers 2025/10/08 03:39:02 DEBUG : file2: reading active writers 2025/10/08 03:39:02 DEBUG : file1: reading active writers 2025/10/08 03:39:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:03 DEBUG : Looking for writers 2025/10/08 03:39:03 DEBUG : file1: reading active writers 2025/10/08 03:39:03 DEBUG : file2: reading active writers 2025/10/08 03:39:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:03 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:03 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:03 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:39:04 DEBUG : Looking for writers 2025/10/08 03:39:04 DEBUG : file2: reading active writers 2025/10/08 03:39:04 DEBUG : file1: reading active writers 2025/10/08 03:39:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:04.506975 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 2025/10/08 03:39:04.507007 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) 2025/10/08 03:39:05 DEBUG : Looking for writers 2025/10/08 03:39:05 DEBUG : file2: reading active writers 2025/10/08 03:39:05 DEBUG : file1: reading active writers 2025/10/08 03:39:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:05 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:05 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:06 DEBUG : Looking for writers 2025/10/08 03:39:06 DEBUG : file1: reading active writers 2025/10/08 03:39:06 DEBUG : file2: reading active writers 2025/10/08 03:39:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:06 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:39:07 DEBUG : Looking for writers 2025/10/08 03:39:07 DEBUG : file1: reading active writers 2025/10/08 03:39:07 DEBUG : file2: reading active writers 2025/10/08 03:39:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:07.302915 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 2025/10/08 03:39:07.302952 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) 2025/10/08 03:39:08 DEBUG : Looking for writers 2025/10/08 03:39:08 DEBUG : file1: reading active writers 2025/10/08 03:39:08 DEBUG : file2: reading active writers 2025/10/08 03:39:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:08 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:08 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:09 DEBUG : Looking for writers 2025/10/08 03:39:09 DEBUG : file1: reading active writers 2025/10/08 03:39:09 DEBUG : file2: reading active writers 2025/10/08 03:39:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:09 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:39:09.984748 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 2025/10/08 03:39:09.984789 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) 2025/10/08 03:39:10 DEBUG : Looking for writers 2025/10/08 03:39:10 DEBUG : file1: reading active writers 2025/10/08 03:39:10 DEBUG : file2: reading active writers 2025/10/08 03:39:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:11 DEBUG : Looking for writers 2025/10/08 03:39:11 DEBUG : file1: reading active writers 2025/10/08 03:39:11 DEBUG : file2: reading active writers 2025/10/08 03:39:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:11 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:11 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:12 DEBUG : Looking for writers 2025/10/08 03:39:12 DEBUG : file1: reading active writers 2025/10/08 03:39:12 DEBUG : file2: reading active writers 2025/10/08 03:39:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:12 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:39:13 DEBUG : Looking for writers 2025/10/08 03:39:13 DEBUG : file1: reading active writers 2025/10/08 03:39:13 DEBUG : file2: reading active writers 2025/10/08 03:39:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:13.989866 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 2025/10/08 03:39:13.989935 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) 2025/10/08 03:39:14 DEBUG : Looking for writers 2025/10/08 03:39:14 DEBUG : file1: reading active writers 2025/10/08 03:39:14 DEBUG : file2: reading active writers 2025/10/08 03:39:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:15 DEBUG : Looking for writers 2025/10/08 03:39:15 DEBUG : file1: reading active writers 2025/10/08 03:39:15 DEBUG : file2: reading active writers 2025/10/08 03:39:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:15 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:15 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:16 DEBUG : Looking for writers 2025/10/08 03:39:16 DEBUG : file1: reading active writers 2025/10/08 03:39:16 DEBUG : file2: reading active writers 2025/10/08 03:39:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:17 DEBUG : Looking for writers 2025/10/08 03:39:17 DEBUG : file1: reading active writers 2025/10/08 03:39:17 DEBUG : file2: reading active writers 2025/10/08 03:39:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:18 DEBUG : Looking for writers 2025/10/08 03:39:18 DEBUG : file1: reading active writers 2025/10/08 03:39:18 DEBUG : file2: reading active writers 2025/10/08 03:39:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:18 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:39:19 DEBUG : Looking for writers 2025/10/08 03:39:19 DEBUG : file1: reading active writers 2025/10/08 03:39:19 DEBUG : file2: reading active writers 2025/10/08 03:39:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:19.222701 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 2025/10/08 03:39:19.222763 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) 2025/10/08 03:39:20 DEBUG : Looking for writers 2025/10/08 03:39:20 DEBUG : file1: reading active writers 2025/10/08 03:39:20 DEBUG : file2: reading active writers 2025/10/08 03:39:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:20 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:20 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:21 DEBUG : Looking for writers 2025/10/08 03:39:21 DEBUG : file1: reading active writers 2025/10/08 03:39:21 DEBUG : file2: reading active writers 2025/10/08 03:39:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:22 DEBUG : Looking for writers 2025/10/08 03:39:22 DEBUG : file1: reading active writers 2025/10/08 03:39:22 DEBUG : file2: reading active writers 2025/10/08 03:39:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:23 DEBUG : Looking for writers 2025/10/08 03:39:23 DEBUG : file1: reading active writers 2025/10/08 03:39:23 DEBUG : file2: reading active writers 2025/10/08 03:39:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:24 DEBUG : Looking for writers 2025/10/08 03:39:24 DEBUG : file1: reading active writers 2025/10/08 03:39:24 DEBUG : file2: reading active writers 2025/10/08 03:39:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:25 DEBUG : Looking for writers 2025/10/08 03:39:25 DEBUG : file1: reading active writers 2025/10/08 03:39:25 DEBUG : file2: reading active writers 2025/10/08 03:39:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:26 DEBUG : Looking for writers 2025/10/08 03:39:26 DEBUG : file1: reading active writers 2025/10/08 03:39:26 DEBUG : file2: reading active writers 2025/10/08 03:39:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:26 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:39:27 DEBUG : Looking for writers 2025/10/08 03:39:27 DEBUG : file1: reading active writers 2025/10/08 03:39:27 DEBUG : file2: reading active writers 2025/10/08 03:39:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:27.559782 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 2025/10/08 03:39:27.559814 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) 2025/10/08 03:39:28 DEBUG : Looking for writers 2025/10/08 03:39:28 DEBUG : file1: reading active writers 2025/10/08 03:39:28 DEBUG : file2: reading active writers 2025/10/08 03:39:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:28 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:28 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:39:29 DEBUG : Looking for writers 2025/10/08 03:39:29 DEBUG : file1: reading active writers 2025/10/08 03:39:29 DEBUG : file2: reading active writers 2025/10/08 03:39:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:30 DEBUG : Looking for writers 2025/10/08 03:39:30 DEBUG : file1: reading active writers 2025/10/08 03:39:30 DEBUG : file2: reading active writers 2025/10/08 03:39:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:39:30 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a7a2d0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009786e08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824792608320} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993129435501377926 ext:908077810625 loc:0x4135660} ATime:{wall:13993129435501657492 ext:908078090180 loc:0x4135660} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000a7a2d0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009786f08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824792608576} name:file2 opens:0 downloaders: o:0xc000595b80 fd: info:{ModTime:{wall:13993129435502468195 ext:908078900883 loc:0x4135660} ATime:{wall:13993129435502673761 ext:908079106450 loc:0x4135660} Size:0 Rs:[] Fingerprint:0,2025-10-08 03:39:00.858774627 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/08 03:39:30 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/08 03:39:41 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:40:00 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/08 03:40:00 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/08 03:40:00 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/08 03:41:00 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/08 03:41:00 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/08 03:41:00 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/08 03:41:11.153418 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 2025/10/08 03:41:11.153439 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) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/08 03:41:12 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:41:12 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/08 03:41:38 DEBUG : file1: vfs cache: starting upload 2025/10/08 03:42:00 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/08 03:42:00 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/08 03:42:00 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/08 03:42:50.768194 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 2025/10/08 03:42:50.768248 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) 2025/10/08 03:42:52 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:42:52 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got file2 (0) fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteNoWrite Messages: 1 objects not found 2025/10/08 03:42:54 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:42:54 DEBUG : Looking for writers 2025/10/08 03:42:54 DEBUG : file2: reading active writers 2025/10/08 03:42:54 DEBUG : file1: reading active writers 2025/10/08 03:42:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/08 03:42:54 DEBUG : Looking for writers 2025/10/08 03:42:54 DEBUG : file1: reading active writers 2025/10/08 03:42:54 DEBUG : file2: reading active writers 2025/10/08 03:42:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/08 03:42:54 DEBUG : Looking for writers 2025/10/08 03:42:54 DEBUG : file1: reading active writers 2025/10/08 03:42:54 DEBUG : file2: reading active writers 2025/10/08 03:42:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/08 03:42:54 DEBUG : Looking for writers 2025/10/08 03:42:54 DEBUG : file1: reading active writers 2025/10/08 03:42:54 DEBUG : file2: reading active writers 2025/10/08 03:42:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/08 03:42:54 DEBUG : Looking for writers 2025/10/08 03:42:54 DEBUG : file1: reading active writers 2025/10/08 03:42:54 DEBUG : file2: reading active writers 2025/10/08 03:42:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/08 03:42:54 DEBUG : Looking for writers 2025/10/08 03:42:54 DEBUG : file2: reading active writers 2025/10/08 03:42:54 DEBUG : file1: reading active writers 2025/10/08 03:42:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/08 03:42:55 DEBUG : Looking for writers 2025/10/08 03:42:55 DEBUG : file1: reading active writers 2025/10/08 03:42:55 DEBUG : file2: reading active writers 2025/10/08 03:42:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/08 03:42:55 DEBUG : Looking for writers 2025/10/08 03:42:55 DEBUG : file1: reading active writers 2025/10/08 03:42:55 DEBUG : file2: reading active writers 2025/10/08 03:42:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:42:56 DEBUG : Looking for writers 2025/10/08 03:42:56 DEBUG : file1: reading active writers 2025/10/08 03:42:56 DEBUG : file2: reading active writers 2025/10/08 03:42:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:42:57 DEBUG : Looking for writers 2025/10/08 03:42:57 DEBUG : file1: reading active writers 2025/10/08 03:42:57 DEBUG : file2: reading active writers 2025/10/08 03:42:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:42:58 DEBUG : Looking for writers 2025/10/08 03:42:58 DEBUG : file1: reading active writers 2025/10/08 03:42:58 DEBUG : file2: reading active writers 2025/10/08 03:42:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:42:59 DEBUG : Looking for writers 2025/10/08 03:42:59 DEBUG : file1: reading active writers 2025/10/08 03:42:59 DEBUG : file2: reading active writers 2025/10/08 03:42:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:00 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/08 03:43:00 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/08 03:43:00 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 1, uploading 0, total size 0 (was 0) 2025/10/08 03:43:00 DEBUG : Looking for writers 2025/10/08 03:43:00 DEBUG : file1: reading active writers 2025/10/08 03:43:00 DEBUG : file2: reading active writers 2025/10/08 03:43:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:01 DEBUG : Looking for writers 2025/10/08 03:43:01 DEBUG : file1: reading active writers 2025/10/08 03:43:01 DEBUG : file2: reading active writers 2025/10/08 03:43:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:02 DEBUG : Looking for writers 2025/10/08 03:43:02 DEBUG : file1: reading active writers 2025/10/08 03:43:02 DEBUG : file2: reading active writers 2025/10/08 03:43:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:03 DEBUG : Looking for writers 2025/10/08 03:43:03 DEBUG : file1: reading active writers 2025/10/08 03:43:03 DEBUG : file2: reading active writers 2025/10/08 03:43:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:04 DEBUG : forgetting directory cache 2025/10/08 03:43:04 DEBUG : Looking for writers 2025/10/08 03:43:04 DEBUG : file1: reading active writers 2025/10/08 03:43:04 DEBUG : file2: reading active writers 2025/10/08 03:43:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:05 DEBUG : Looking for writers 2025/10/08 03:43:05 DEBUG : file1: reading active writers 2025/10/08 03:43:05 DEBUG : file2: reading active writers 2025/10/08 03:43:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:06 DEBUG : Looking for writers 2025/10/08 03:43:06 DEBUG : file1: reading active writers 2025/10/08 03:43:06 DEBUG : file2: reading active writers 2025/10/08 03:43:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:07 DEBUG : Looking for writers 2025/10/08 03:43:07 DEBUG : file1: reading active writers 2025/10/08 03:43:07 DEBUG : file2: reading active writers 2025/10/08 03:43:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:08 DEBUG : Looking for writers 2025/10/08 03:43:08 DEBUG : file1: reading active writers 2025/10/08 03:43:08 DEBUG : file2: reading active writers 2025/10/08 03:43:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:09 DEBUG : Looking for writers 2025/10/08 03:43:09 DEBUG : file1: reading active writers 2025/10/08 03:43:09 DEBUG : file2: reading active writers 2025/10/08 03:43:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:10 DEBUG : Looking for writers 2025/10/08 03:43:10 DEBUG : file1: reading active writers 2025/10/08 03:43:10 DEBUG : file2: reading active writers 2025/10/08 03:43:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:11 DEBUG : Looking for writers 2025/10/08 03:43:11 DEBUG : file1: reading active writers 2025/10/08 03:43:11 DEBUG : file2: reading active writers 2025/10/08 03:43:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:12 DEBUG : Looking for writers 2025/10/08 03:43:12 DEBUG : file2: reading active writers 2025/10/08 03:43:12 DEBUG : file1: reading active writers 2025/10/08 03:43:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:13 DEBUG : Looking for writers 2025/10/08 03:43:13 DEBUG : file1: reading active writers 2025/10/08 03:43:13 DEBUG : file2: reading active writers 2025/10/08 03:43:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:14 DEBUG : Looking for writers 2025/10/08 03:43:14 DEBUG : file1: reading active writers 2025/10/08 03:43:14 DEBUG : file2: reading active writers 2025/10/08 03:43:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:15 DEBUG : Looking for writers 2025/10/08 03:43:15 DEBUG : file1: reading active writers 2025/10/08 03:43:15 DEBUG : file2: reading active writers 2025/10/08 03:43:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:16 DEBUG : Looking for writers 2025/10/08 03:43:16 DEBUG : file1: reading active writers 2025/10/08 03:43:16 DEBUG : file2: reading active writers 2025/10/08 03:43:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:17 DEBUG : Looking for writers 2025/10/08 03:43:17 DEBUG : file1: reading active writers 2025/10/08 03:43:17 DEBUG : file2: reading active writers 2025/10/08 03:43:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:18 DEBUG : Looking for writers 2025/10/08 03:43:18 DEBUG : file1: reading active writers 2025/10/08 03:43:18 DEBUG : file2: reading active writers 2025/10/08 03:43:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:19 DEBUG : Looking for writers 2025/10/08 03:43:19 DEBUG : file2: reading active writers 2025/10/08 03:43:19 DEBUG : file1: reading active writers 2025/10/08 03:43:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:20 DEBUG : Looking for writers 2025/10/08 03:43:20 DEBUG : file1: reading active writers 2025/10/08 03:43:20 DEBUG : file2: reading active writers 2025/10/08 03:43:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:21 DEBUG : Looking for writers 2025/10/08 03:43:21 DEBUG : file1: reading active writers 2025/10/08 03:43:21 DEBUG : file2: reading active writers 2025/10/08 03:43:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:22 DEBUG : Looking for writers 2025/10/08 03:43:22 DEBUG : file1: reading active writers 2025/10/08 03:43:22 DEBUG : file2: reading active writers 2025/10/08 03:43:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:23 DEBUG : Looking for writers 2025/10/08 03:43:23 DEBUG : file1: reading active writers 2025/10/08 03:43:23 DEBUG : file2: reading active writers 2025/10/08 03:43:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:43:24 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a7a2d0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009786e08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824792608320} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993129435501377926 ext:908077810625 loc:0x4135660} ATime:{wall:13993129435501657492 ext:908078090180 loc:0x4135660} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000a7a2d0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009786f08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824792608576} name:file2 opens:0 downloaders: o:0xc000595b80 fd: info:{ModTime:{wall:13993129435502468195 ext:908078900883 loc:0x4135660} ATime:{wall:13993129435502673761 ext:908079106450 loc:0x4135660} Size:0 Rs:[] Fingerprint:0,2025-10-08 03:39:00.858774627 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/08 03:43:24 DEBUG : >WaitForWriters: 2025/10/08 03:43:24 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteNoWrite (362.23s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:45:02 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:45:02 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:45:02 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:02 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:45:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:45:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:02 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:45:05.159082 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:45:05.159117 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:45:05 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:45:05 DEBUG : Looking for writers 2025/10/08 03:45:05 DEBUG : >WaitForWriters: 2025/10/08 03:45:05 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (4.31s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:45:07 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:45:07 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:45:07 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:07 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:45:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:45:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:07 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:45:09.354838 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:45:09.354884 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:45:09 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:45:09 DEBUG : Looking for writers 2025/10/08 03:45:09 DEBUG : >WaitForWriters: 2025/10/08 03:45:09 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (4.09s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:45:11 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:45:11 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:45:11 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:11 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:45:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:45:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:45:11 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:45:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:45:11 DEBUG : file1: newRWFileHandle: 2025/10/08 03:45:11 DEBUG : file1(0xc008f712c0): openPending: 2025/10/08 03:45:11 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/08 03:45:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:45:11 DEBUG : file1(0xc008f712c0): >openPending: err= 2025/10/08 03:45:11 DEBUG : file1: >newRWFileHandle: err= 2025/10/08 03:45:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:45:11 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/08 03:45:11 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/08 03:45:12.632195 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:45:12.632285 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "time_test" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:45:12 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:45:12 DEBUG : Looking for writers 2025/10/08 03:45:12 DEBUG : file1: reading active writers 2025/10/08 03:45:12 DEBUG : file1: active writers 1 2025/10/08 03:45:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/08 03:45:12 DEBUG : Looking for writers 2025/10/08 03:45:12 DEBUG : file1: reading active writers 2025/10/08 03:45:12 DEBUG : file1: active writers 1 2025/10/08 03:45:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/08 03:45:12 DEBUG : Looking for writers 2025/10/08 03:45:12 DEBUG : file1: reading active writers 2025/10/08 03:45:12 DEBUG : file1: active writers 1 2025/10/08 03:45:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/08 03:45:12 DEBUG : Looking for writers 2025/10/08 03:45:12 DEBUG : file1: reading active writers 2025/10/08 03:45:12 DEBUG : file1: active writers 1 2025/10/08 03:45:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/08 03:45:12 DEBUG : Looking for writers 2025/10/08 03:45:12 DEBUG : file1: reading active writers 2025/10/08 03:45:12 DEBUG : file1: active writers 1 2025/10/08 03:45:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/08 03:45:12 DEBUG : Looking for writers 2025/10/08 03:45:12 DEBUG : file1: reading active writers 2025/10/08 03:45:12 DEBUG : file1: active writers 1 2025/10/08 03:45:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/08 03:45:13 DEBUG : Looking for writers 2025/10/08 03:45:13 DEBUG : file1: reading active writers 2025/10/08 03:45:13 DEBUG : file1: active writers 1 2025/10/08 03:45:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/08 03:45:13 DEBUG : Looking for writers 2025/10/08 03:45:13 DEBUG : file1: reading active writers 2025/10/08 03:45:13 DEBUG : file1: active writers 1 2025/10/08 03:45:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:14 DEBUG : Looking for writers 2025/10/08 03:45:14 DEBUG : file1: reading active writers 2025/10/08 03:45:14 DEBUG : file1: active writers 1 2025/10/08 03:45:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:15 DEBUG : Looking for writers 2025/10/08 03:45:15 DEBUG : file1: reading active writers 2025/10/08 03:45:15 DEBUG : file1: active writers 1 2025/10/08 03:45:15 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:16 DEBUG : Looking for writers 2025/10/08 03:45:16 DEBUG : file1: reading active writers 2025/10/08 03:45:16 DEBUG : file1: active writers 1 2025/10/08 03:45:16 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:17 DEBUG : Looking for writers 2025/10/08 03:45:17 DEBUG : file1: reading active writers 2025/10/08 03:45:17 DEBUG : file1: active writers 1 2025/10/08 03:45:17 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:18 DEBUG : Looking for writers 2025/10/08 03:45:18 DEBUG : file1: reading active writers 2025/10/08 03:45:18 DEBUG : file1: active writers 1 2025/10/08 03:45:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:19 DEBUG : Looking for writers 2025/10/08 03:45:19 DEBUG : file1: reading active writers 2025/10/08 03:45:19 DEBUG : file1: active writers 1 2025/10/08 03:45:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:20 DEBUG : Looking for writers 2025/10/08 03:45:20 DEBUG : file1: reading active writers 2025/10/08 03:45:20 DEBUG : file1: active writers 1 2025/10/08 03:45:20 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:21 DEBUG : Looking for writers 2025/10/08 03:45:21 DEBUG : file1: reading active writers 2025/10/08 03:45:21 DEBUG : file1: active writers 1 2025/10/08 03:45:21 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:22 DEBUG : Looking for writers 2025/10/08 03:45:22 DEBUG : file1: reading active writers 2025/10/08 03:45:22 DEBUG : file1: active writers 1 2025/10/08 03:45:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:23 DEBUG : Looking for writers 2025/10/08 03:45:23 DEBUG : file1: reading active writers 2025/10/08 03:45:23 DEBUG : file1: active writers 1 2025/10/08 03:45:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:24 DEBUG : Looking for writers 2025/10/08 03:45:24 DEBUG : file1: reading active writers 2025/10/08 03:45:24 DEBUG : file1: active writers 1 2025/10/08 03:45:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:25 DEBUG : Looking for writers 2025/10/08 03:45:25 DEBUG : file1: reading active writers 2025/10/08 03:45:25 DEBUG : file1: active writers 1 2025/10/08 03:45:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:26 DEBUG : Looking for writers 2025/10/08 03:45:26 DEBUG : file1: reading active writers 2025/10/08 03:45:26 DEBUG : file1: active writers 1 2025/10/08 03:45:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:27 DEBUG : Looking for writers 2025/10/08 03:45:27 DEBUG : file1: reading active writers 2025/10/08 03:45:27 DEBUG : file1: active writers 1 2025/10/08 03:45:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:28 DEBUG : Looking for writers 2025/10/08 03:45:28 DEBUG : file1: reading active writers 2025/10/08 03:45:28 DEBUG : file1: active writers 1 2025/10/08 03:45:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:29 DEBUG : Looking for writers 2025/10/08 03:45:29 DEBUG : file1: reading active writers 2025/10/08 03:45:29 DEBUG : file1: active writers 1 2025/10/08 03:45:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:30 DEBUG : Looking for writers 2025/10/08 03:45:30 DEBUG : file1: reading active writers 2025/10/08 03:45:30 DEBUG : file1: active writers 1 2025/10/08 03:45:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:31 DEBUG : Looking for writers 2025/10/08 03:45:31 DEBUG : file1: reading active writers 2025/10/08 03:45:31 DEBUG : file1: active writers 1 2025/10/08 03:45:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:32 DEBUG : Looking for writers 2025/10/08 03:45:32 DEBUG : file1: reading active writers 2025/10/08 03:45:32 DEBUG : file1: active writers 1 2025/10/08 03:45:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:33 DEBUG : Looking for writers 2025/10/08 03:45:33 DEBUG : file1: reading active writers 2025/10/08 03:45:33 DEBUG : file1: active writers 1 2025/10/08 03:45:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:34 DEBUG : Looking for writers 2025/10/08 03:45:34 DEBUG : file1: reading active writers 2025/10/08 03:45:34 DEBUG : file1: active writers 1 2025/10/08 03:45:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:35 DEBUG : Looking for writers 2025/10/08 03:45:35 DEBUG : file1: reading active writers 2025/10/08 03:45:35 DEBUG : file1: active writers 1 2025/10/08 03:45:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:36 DEBUG : Looking for writers 2025/10/08 03:45:36 DEBUG : file1: reading active writers 2025/10/08 03:45:36 DEBUG : file1: active writers 1 2025/10/08 03:45:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:37 DEBUG : Looking for writers 2025/10/08 03:45:37 DEBUG : file1: reading active writers 2025/10/08 03:45:37 DEBUG : file1: active writers 1 2025/10/08 03:45:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:38 DEBUG : Looking for writers 2025/10/08 03:45:38 DEBUG : file1: reading active writers 2025/10/08 03:45:38 DEBUG : file1: active writers 1 2025/10/08 03:45:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:39 DEBUG : Looking for writers 2025/10/08 03:45:39 DEBUG : file1: reading active writers 2025/10/08 03:45:39 DEBUG : file1: active writers 1 2025/10/08 03:45:39 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:40 DEBUG : Looking for writers 2025/10/08 03:45:40 DEBUG : file1: reading active writers 2025/10/08 03:45:40 DEBUG : file1: active writers 1 2025/10/08 03:45:40 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:41 DEBUG : Looking for writers 2025/10/08 03:45:41 DEBUG : file1: reading active writers 2025/10/08 03:45:41 DEBUG : file1: active writers 1 2025/10/08 03:45:41 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/08 03:45:42 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc008f18a50 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009289008 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824787374144} name:file1 opens:1 downloaders: o: fd:0xc000606a10 info:{ModTime:{wall:13993129833517301194 ext:1278735517168 loc:0x4135660} ATime:{wall:13993129833517301194 ext:1278735517168 loc:0x4135660} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/08 03:45:42 DEBUG : >WaitForWriters: 2025/10/08 03:45:42 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (32.34s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:45:43 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:45:43 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/08 03:45:43 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:43 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:43 DEBUG : Config file has changed externally - reloading 2025/10/08 03:45:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:45:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/08 03:45:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jujaqaw2wiqi" 2025/10/08 03:45:43 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/08 03:45:43 DEBUG : forgetting directory cache 2025/10/08 03:45:44.772103 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:45:44.772126 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "TestRWCacheUpdate" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:45:44 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:45:44 DEBUG : Looking for writers 2025/10/08 03:45:44 DEBUG : >WaitForWriters: 2025/10/08 03:45:44 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (2.07s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:45:46.667879 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:45:46.667899 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "FiLeA" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (1.86s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:45:48.478011 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:45:48.478035 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "normal name with no special characters.txt" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.81s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:45:49 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:45:49 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:45:50.156171 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 2025/10/08 03:45:50.156281 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) run.go:285: Failed to put "file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:45:51 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:45:51 DEBUG : Looking for writers 2025/10/08 03:45:51 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (2.79s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:45:52 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:45:52 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:45:53.006406 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 2025/10/08 03:45:53.006434 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) run.go:285: Failed to put "file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:45:54 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:45:54 DEBUG : Looking for writers 2025/10/08 03:45:54 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (3.15s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:45:55 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:45:55 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:45:56.018442 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 2025/10/08 03:45:56.018477 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) run.go:285: Failed to put "file1" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:45:57 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:45:57 DEBUG : Looking for writers 2025/10/08 03:45:57 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (2.86s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:45:58 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:45:58 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:46:00.424894 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:46:00.424927 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file2" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:46:00 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:46:00 DEBUG : Looking for writers 2025/10/08 03:46:00 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (4.24s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:46:02 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:46:02 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:46:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:46:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:46:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:46:02 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/08 03:46:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/08 03:46:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:46:02 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/08 03:46:02 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/08 03:46:02 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/08 03:46:02 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': File to upload is small (5 bytes), uploading instead of streaming 2025/10/08 03:46:03.625087 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 2025/10/08 03:46:03.625110 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) 2025/10/08 03:46:04 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:46:04 DEBUG : file1: Remove: 2025/10/08 03:46:04 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/08 03:46:04 DEBUG : file1: >Remove: err= write_test.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:144 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:153 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/08 03:47:04 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/08 03:49:00 DEBUG : forgetting directory cache 2025/10/08 03:49:00 DEBUG : Removed virtual directory entry vAddFile: "file2" fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want file1 (5) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleMethods Messages: 1 objects not found 2025/10/08 03:49:26 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:49:26 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:49:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:49:26 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/08 03:49:26 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/08 03:49:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:49:26 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': File to upload is small (0 bytes), uploading instead of streaming 2025/10/08 03:51:05.493552 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 2025/10/08 03:51:05.493571 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) 2025/10/08 03:51:06 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:51:06 DEBUG : file1: Remove: 2025/10/08 03:51:06 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/08 03:51:06 DEBUG : file1: >Remove: err= write_test.go:163: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:163 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods 2025/10/08 03:51:06 DEBUG : Re-reading directory (5m4.086243989s old) 2025/10/08 03:51:07 DEBUG : Removed virtual directory entry vDel: "file1" dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:164 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods 2025/10/08 03:51:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:51:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:51:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:51:07 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/08 03:51:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/08 03:51:07 DEBUG : Added virtual directory entry vAddFile: "file1" write_test.go:171: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:171 Error: Not equal: expected: *errors.errorString(&errors.errorString{s:"permission denied"}) actual : () Test: TestWriteFileHandleMethods 2025/10/08 03:51:07 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:51:07 DEBUG : Looking for writers 2025/10/08 03:51:07 DEBUG : file1: reading active writers 2025/10/08 03:51:07 DEBUG : file1: active writers 1 2025/10/08 03:51:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/08 03:51:07 DEBUG : Looking for writers 2025/10/08 03:51:07 DEBUG : file1: reading active writers 2025/10/08 03:51:07 DEBUG : file1: active writers 1 2025/10/08 03:51:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/08 03:51:07 DEBUG : Looking for writers 2025/10/08 03:51:07 DEBUG : file1: reading active writers 2025/10/08 03:51:07 DEBUG : file1: active writers 1 2025/10/08 03:51:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/08 03:51:07 DEBUG : Looking for writers 2025/10/08 03:51:07 DEBUG : file1: reading active writers 2025/10/08 03:51:07 DEBUG : file1: active writers 1 2025/10/08 03:51:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/08 03:51:07 DEBUG : Looking for writers 2025/10/08 03:51:07 DEBUG : file1: reading active writers 2025/10/08 03:51:07 DEBUG : file1: active writers 1 2025/10/08 03:51:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/08 03:51:07 DEBUG : Looking for writers 2025/10/08 03:51:07 DEBUG : file1: reading active writers 2025/10/08 03:51:07 DEBUG : file1: active writers 1 2025/10/08 03:51:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/08 03:51:07 DEBUG : Looking for writers 2025/10/08 03:51:07 DEBUG : file1: reading active writers 2025/10/08 03:51:07 DEBUG : file1: active writers 1 2025/10/08 03:51:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/08 03:51:08 DEBUG : Looking for writers 2025/10/08 03:51:08 DEBUG : file1: reading active writers 2025/10/08 03:51:08 DEBUG : file1: active writers 1 2025/10/08 03:51:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:09 DEBUG : Looking for writers 2025/10/08 03:51:09 DEBUG : file1: reading active writers 2025/10/08 03:51:09 DEBUG : file1: active writers 1 2025/10/08 03:51:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:10 DEBUG : Looking for writers 2025/10/08 03:51:10 DEBUG : file1: reading active writers 2025/10/08 03:51:10 DEBUG : file1: active writers 1 2025/10/08 03:51:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:11 DEBUG : Looking for writers 2025/10/08 03:51:11 DEBUG : file1: reading active writers 2025/10/08 03:51:11 DEBUG : file1: active writers 1 2025/10/08 03:51:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:12 DEBUG : Looking for writers 2025/10/08 03:51:12 DEBUG : file1: reading active writers 2025/10/08 03:51:12 DEBUG : file1: active writers 1 2025/10/08 03:51:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:13 DEBUG : Looking for writers 2025/10/08 03:51:13 DEBUG : file1: reading active writers 2025/10/08 03:51:13 DEBUG : file1: active writers 1 2025/10/08 03:51:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:14 DEBUG : Looking for writers 2025/10/08 03:51:14 DEBUG : file1: reading active writers 2025/10/08 03:51:14 DEBUG : file1: active writers 1 2025/10/08 03:51:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:15 DEBUG : Looking for writers 2025/10/08 03:51:15 DEBUG : file1: reading active writers 2025/10/08 03:51:15 DEBUG : file1: active writers 1 2025/10/08 03:51:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:16 DEBUG : Looking for writers 2025/10/08 03:51:16 DEBUG : file1: reading active writers 2025/10/08 03:51:16 DEBUG : file1: active writers 1 2025/10/08 03:51:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:17 DEBUG : Looking for writers 2025/10/08 03:51:17 DEBUG : file1: reading active writers 2025/10/08 03:51:17 DEBUG : file1: active writers 1 2025/10/08 03:51:17 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:18 DEBUG : Looking for writers 2025/10/08 03:51:18 DEBUG : file1: reading active writers 2025/10/08 03:51:18 DEBUG : file1: active writers 1 2025/10/08 03:51:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:19 DEBUG : Looking for writers 2025/10/08 03:51:19 DEBUG : file1: reading active writers 2025/10/08 03:51:19 DEBUG : file1: active writers 1 2025/10/08 03:51:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:20 DEBUG : Looking for writers 2025/10/08 03:51:20 DEBUG : file1: reading active writers 2025/10/08 03:51:20 DEBUG : file1: active writers 1 2025/10/08 03:51:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:21 DEBUG : Looking for writers 2025/10/08 03:51:21 DEBUG : file1: reading active writers 2025/10/08 03:51:21 DEBUG : file1: active writers 1 2025/10/08 03:51:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:22 DEBUG : Looking for writers 2025/10/08 03:51:22 DEBUG : file1: reading active writers 2025/10/08 03:51:22 DEBUG : file1: active writers 1 2025/10/08 03:51:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:23 DEBUG : Looking for writers 2025/10/08 03:51:23 DEBUG : file1: reading active writers 2025/10/08 03:51:23 DEBUG : file1: active writers 1 2025/10/08 03:51:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:24 DEBUG : Looking for writers 2025/10/08 03:51:24 DEBUG : file1: reading active writers 2025/10/08 03:51:24 DEBUG : file1: active writers 1 2025/10/08 03:51:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:25 DEBUG : Looking for writers 2025/10/08 03:51:25 DEBUG : file1: reading active writers 2025/10/08 03:51:25 DEBUG : file1: active writers 1 2025/10/08 03:51:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:26 DEBUG : Looking for writers 2025/10/08 03:51:26 DEBUG : file1: reading active writers 2025/10/08 03:51:26 DEBUG : file1: active writers 1 2025/10/08 03:51:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:27 DEBUG : Looking for writers 2025/10/08 03:51:27 DEBUG : file1: reading active writers 2025/10/08 03:51:27 DEBUG : file1: active writers 1 2025/10/08 03:51:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:28 DEBUG : Looking for writers 2025/10/08 03:51:28 DEBUG : file1: reading active writers 2025/10/08 03:51:28 DEBUG : file1: active writers 1 2025/10/08 03:51:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:29 DEBUG : Looking for writers 2025/10/08 03:51:29 DEBUG : file1: reading active writers 2025/10/08 03:51:29 DEBUG : file1: active writers 1 2025/10/08 03:51:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:30 DEBUG : Looking for writers 2025/10/08 03:51:30 DEBUG : file1: reading active writers 2025/10/08 03:51:30 DEBUG : file1: active writers 1 2025/10/08 03:51:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:31 DEBUG : Looking for writers 2025/10/08 03:51:31 DEBUG : file1: reading active writers 2025/10/08 03:51:31 DEBUG : file1: active writers 1 2025/10/08 03:51:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:32 DEBUG : Looking for writers 2025/10/08 03:51:32 DEBUG : file1: reading active writers 2025/10/08 03:51:32 DEBUG : file1: active writers 1 2025/10/08 03:51:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:33 DEBUG : Looking for writers 2025/10/08 03:51:33 DEBUG : file1: reading active writers 2025/10/08 03:51:33 DEBUG : file1: active writers 1 2025/10/08 03:51:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:34 DEBUG : Looking for writers 2025/10/08 03:51:34 DEBUG : file1: reading active writers 2025/10/08 03:51:34 DEBUG : file1: active writers 1 2025/10/08 03:51:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:35 DEBUG : Looking for writers 2025/10/08 03:51:35 DEBUG : file1: reading active writers 2025/10/08 03:51:35 DEBUG : file1: active writers 1 2025/10/08 03:51:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:36 DEBUG : Looking for writers 2025/10/08 03:51:36 DEBUG : file1: reading active writers 2025/10/08 03:51:36 DEBUG : file1: active writers 1 2025/10/08 03:51:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/08 03:51:37 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/08 03:51:37 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (335.56s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:51:37 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:51:37 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:51:37 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:51:38 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:51:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:51:38 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/08 03:51:38 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/08 03:51:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:51:38 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/08 03:51:39 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/08 03:51:39 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/08 03:51:39 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/08 03:51:39 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': File to upload is small (11 bytes), uploading instead of streaming 2025/10/08 03:51:40.074590 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 2025/10/08 03:51:40.074624 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) 2025/10/08 03:51:41 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:51:41 DEBUG : file1: Remove: 2025/10/08 03:51:41 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/08 03:51:41 DEBUG : file1: >Remove: err= write_test.go:221: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:221 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleWriteAt 2025/10/08 03:51:41 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:231 Error: Not equal: expected: []string{"file1,11,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" -} +([]string) Test: TestWriteFileHandleWriteAt fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/08 03:53:04 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleWriteAt Messages: 1 objects not found 2025/10/08 03:55:00 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:55:00 DEBUG : Looking for writers 2025/10/08 03:55:00 DEBUG : >WaitForWriters: 2025/10/08 03:55:02 DEBUG : forgetting directory cache 2025/10/08 03:55:07 DEBUG : forgetting directory cache 2025/10/08 03:55:11 DEBUG : forgetting directory cache 2025/10/08 03:55:49 DEBUG : forgetting directory cache 2025/10/08 03:55:52 DEBUG : forgetting directory cache 2025/10/08 03:55:55 DEBUG : forgetting directory cache 2025/10/08 03:55:58 DEBUG : forgetting directory cache --- FAIL: TestWriteFileHandleWriteAt (300.59s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:56:38 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:56:38 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:56:38 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:56:38 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:56:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:56:38 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/08 03:56:38 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/08 03:56:38 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/08 03:56:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:56:38 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': File to upload is small (5 bytes), uploading instead of streaming 2025/10/08 03:56:39.711467 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 2025/10/08 03:56:39.711493 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) 2025/10/08 03:56:40 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:56:40 DEBUG : file1: Remove: 2025/10/08 03:56:40 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/08 03:56:40 DEBUG : file1: >Remove: err= 2025/10/08 03:56:40 ERROR : file1: WriteFileHandle.Flush error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft write_test.go:256: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:256 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleFlush 2025/10/08 03:56:40 DEBUG : file1: WriteFileHandle.Flush nothing to do dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:267 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleFlush 2025/10/08 03:56:40 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:56:40 DEBUG : Looking for writers 2025/10/08 03:56:40 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (3.28s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:56:41 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:56:41 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:56:41 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:56:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:56:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:56:42 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/08 03:56:42 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/08 03:56:42 DEBUG : file1: WriteFileHandle.Release closing 2025/10/08 03:56:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:56:42 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': File to upload is small (0 bytes), uploading instead of streaming 2025/10/08 03:56:42.794584 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 2025/10/08 03:56:42.794618 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) 2025/10/08 03:56:44 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:56:44 DEBUG : file1: Remove: 2025/10/08 03:56:44 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/08 03:56:44 DEBUG : file1: >Remove: err= 2025/10/08 03:56:44 ERROR : file1: WriteFileHandle.Release error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft write_test.go:279: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:279 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleRelease 2025/10/08 03:56:44 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/08 03:56:44 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:56:44 DEBUG : Looking for writers 2025/10/08 03:56:44 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (3.13s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:56:44 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:56:44 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:56:44 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:56:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:56:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:56:45 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/08 03:56:45 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/08 03:56:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:56:45 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': File to upload is small (2 bytes), uploading instead of streaming 2025/10/08 03:56:46.174275 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 2025/10/08 03:56:46.174297 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) 2025/10/08 03:56:47 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:56:47 DEBUG : file1: Remove: 2025/10/08 03:56:47 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/08 03:56:47 DEBUG : file1: >Remove: err= write_test.go:333: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:333 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileModTimeWithOpenWriters 2025/10/08 03:56:47 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:56:47 DEBUG : Looking for writers 2025/10/08 03:56:47 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (3.31s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:56:48 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:56:48 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:56:48 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:56:48 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:56:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:56:48 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/08 03:56:48 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/08 03:56:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:56:48 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': File to upload is small (0 bytes), uploading instead of streaming 2025/10/08 03:56:49.502456 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 2025/10/08 03:56:49.502485 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) 2025/10/08 03:56:50 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:56:50 DEBUG : file1: Remove: 2025/10/08 03:56:50 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/08 03:56:50 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestFileReadAtZeroLength 2025/10/08 03:56:50 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/08 03:56:50 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: file does not exist Test: TestFileReadAtZeroLength 2025/10/08 03:56:50 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:56:50 DEBUG : Looking for writers 2025/10/08 03:56:50 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (3.48s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:56:51 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:56:51 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:56:51 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/08 03:56:51 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/08 03:56:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:56:51 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/08 03:56:51 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/08 03:56:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/08 03:56:51 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': File to upload is small (100 bytes), uploading instead of streaming 2025/10/08 03:56:52.658730 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 2025/10/08 03:56:52.658758 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) 2025/10/08 03:56:53 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/08 03:56:53 DEBUG : file1: Remove: 2025/10/08 03:56:53 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/08 03:56:53 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestFileReadAtNonZeroLength 2025/10/08 03:56:53 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/08 03:56:53 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: file does not exist Test: TestFileReadAtNonZeroLength 2025/10/08 03:56:53 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:56:53 DEBUG : Looking for writers 2025/10/08 03:56:53 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (2.86s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:56:54 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:56:54 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:56:56.760869 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:56:56.760893 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "flat/f000.txt" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:56:56 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:56:56 DEBUG : Looking for writers 2025/10/08 03:56:56 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (4.00s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:56:58 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:56:58 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:57:00.747080 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:57:00.747230 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "a/top.txt" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:57:00 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:57:00 DEBUG : Looking for writers 2025/10/08 03:57:00 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (4.07s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:57:02 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:57:02 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:57:04 DEBUG : forgetting directory cache 2025/10/08 03:57:05.053409 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:57:05.053431 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "bigdir/big.bin" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:57:05 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:57:05 DEBUG : Looking for writers 2025/10/08 03:57:05 DEBUG : >WaitForWriters: 2025/10/08 03:57:05.409753 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:57:05.409798 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (4.58s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-jujaqaw2wiqi'", Local "Local file system at /tmp/rclone138754619", Modify Window "1s" 2025/10/08 03:57:07 INFO : proton drive root link ID 'rclone-test-jujaqaw2wiqi': poll-interval is not supported by this remote 2025/10/08 03:57:07 NOTICE: proton drive root link ID 'rclone-test-jujaqaw2wiqi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/08 03:57:09.108823 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/08 03:57:09.108851 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir1/a.txt" to "proton drive root link ID 'rclone-test-jujaqaw2wiqi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/08 03:57:09 DEBUG : WaitForWriters: timeout=30s 2025/10/08 03:57:09 DEBUG : Looking for writers 2025/10/08 03:57:09 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (3.80s) FAIL 2025/10/08 03:57:10 DEBUG : proton drive root link ID 'rclone-test-jujaqaw2wiqi': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseSensitivity|TestDirCreate|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMetadataExtension|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSOpenFile|TestVFSRename|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$'" - Finished ERROR in 33m18.941186378s (try 3/5): exit status 1: Failed [TestDirHandleMethods TestDirHandleReaddir TestDirHandleReaddirnames TestDirMethods TestDirForgetAll TestDirForgetPath TestDirWalk TestDirSetModTime TestDirStat TestDirReadDirAll TestDirOpen TestDirCreate TestDirMkdir TestDirMkdirSub TestDirRemove TestDirRemoveAll TestDirRemoveName TestDirRename TestDirFileOpen TestDirMetadataExtension TestFileMethods TestFileSetModTime/cache=off,open=false,write=false TestFileSetModTime/cache=off,open=true,write=false TestFileSetModTime/cache=off,open=true,write=true TestFileSetModTime/cache=full,open=false,write=false TestFileSetModTime/cache=full,open=true,write=false TestFileSetModTime/cache=full,open=true,write=true TestFileOpenRead TestFileOpenWrite TestFileRemove TestFileRemoveAll TestFileOpen TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestReadFileHandleMethods TestReadFileHandleSeek TestReadFileHandleReadAt TestReadFileHandleFlush TestReadFileHandleRelease TestRWFileHandleMethodsRead TestRWFileHandleSeek TestRWFileHandleReadAt TestRWFileHandleFlushRead TestRWFileHandleReleaseRead TestRWFileHandleMethodsWrite TestRWFileHandleWriteAt TestRWFileHandleWriteNoWrite TestRWFileHandleSizeTruncateExisting TestRWFileHandleSizeCreateExisting TestRWFileModTimeWithOpenWriters TestRWCacheUpdate TestCaseSensitivity TestUnicodeNormalization TestVFSStat TestVFSStatParent TestVFSOpenFile TestVFSRename TestWriteFileHandleMethods TestWriteFileHandleWriteAt TestWriteFileHandleFlush TestWriteFileHandleRelease TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestFileReadAtNonZeroLength TestZipManyFiles TestZipManySubDirs TestZipLargeFiles TestZipDirsInRoot]