"./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/06 04:43:42 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-nofojav1kexu" 2025/10/06 04:43:42 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/06 04:43:42 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': Has cached credentials 2025/10/06 04:43:44 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': Used cached credential to initialize the ProtonDrive API 2025/10/06 04:43:45 DEBUG : Creating backend with remote "/tmp/rclone3219691941" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:43:45 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:43:45 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:43:48.903543 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:43:48.903567 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:43:48 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:43:48 DEBUG : Looking for writers 2025/10/06 04:43:48 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (5.12s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:43:50 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:43:50 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:43:52.718037 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:43:52.718076 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-nofojav1kexu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:43:52 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:43:52 DEBUG : Looking for writers 2025/10/06 04:43:52 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (3.76s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:43:54 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:43:54 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:43:56.281229 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:43:56.281268 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:43:56 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:43:56 DEBUG : Looking for writers 2025/10/06 04:43:56 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (3.53s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:43:57 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:43:57 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:00.214559 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:00.214588 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:00 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:00 DEBUG : Looking for writers 2025/10/06 04:44:00 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (4.01s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:01 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:01 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:04.213088 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:04.213125 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:04 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:04 DEBUG : Looking for writers 2025/10/06 04:44:04 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (3.97s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:05 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:05 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:08.045340 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:08.045369 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:08 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:08 DEBUG : Looking for writers 2025/10/06 04:44:08 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (3.88s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:09 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:09 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:11.639938 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:11.639971 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:11 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:11 DEBUG : Looking for writers 2025/10/06 04:44:11 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (3.56s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:13 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:13 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:15.238644 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:15.238698 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:15 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:15 DEBUG : Looking for writers 2025/10/06 04:44:15 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (3.44s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:16 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:16 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:18.826570 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:18.826601 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:18 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:18 DEBUG : Looking for writers 2025/10/06 04:44:18 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (3.78s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:20 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:20 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:22.789104 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:22.789135 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:22 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:22 DEBUG : Looking for writers 2025/10/06 04:44:22 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (3.99s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:24 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:24 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:26.355688 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:26.355766 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:26 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:26 DEBUG : Looking for writers 2025/10/06 04:44:26 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (3.52s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:28 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:28 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:29.871042 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:29.871074 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:29 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:29 DEBUG : Looking for writers 2025/10/06 04:44:29 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (3.42s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:31 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:31 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:33.092616 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:33.092725 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:33 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:33 DEBUG : Looking for writers 2025/10/06 04:44:33 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (3.37s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:34 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:34 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:36.829746 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:36.829783 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:36 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:36 DEBUG : Looking for writers 2025/10/06 04:44:36 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (3.57s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:38 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:38 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:40.511277 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:40.511299 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:40 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:40 DEBUG : Looking for writers 2025/10/06 04:44:40 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (3.85s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:42 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:42 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:44.273141 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:44.273176 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:44 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:44 DEBUG : Looking for writers 2025/10/06 04:44:44 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (3.79s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:46 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:46 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:48.252266 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:48.252295 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:48 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:48 DEBUG : Looking for writers 2025/10/06 04:44:48 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (3.88s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:49 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:49 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:51.974742 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:51.974779 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:51 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:51 DEBUG : Looking for writers 2025/10/06 04:44:51 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (3.80s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:53 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:53 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:55.796864 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:55.796904 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:55 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:55 DEBUG : Looking for writers 2025/10/06 04:44:55 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (4.07s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:44:57 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:44:57 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:44:59.974542 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:44:59.974587 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:44:59 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:44:59 DEBUG : Looking for writers 2025/10/06 04:44:59 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (3.70s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:01 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:01 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:45:03.346884 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:03.346929 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:03 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:03 DEBUG : Looking for writers 2025/10/06 04:45:03 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (3.78s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:05 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:05 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:45:07.605933 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:07.605961 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-nofojav1kexu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:07 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:07 DEBUG : Looking for writers 2025/10/06 04:45:07 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:09 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:09 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:45:11.390856 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:11.390889 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-nofojav1kexu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:11 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:11 DEBUG : Looking for writers 2025/10/06 04:45:11 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:13 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:13 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:45:14.668182 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:14.668221 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:14 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:14 DEBUG : Looking for writers 2025/10/06 04:45:14 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:16 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:16 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:45:16 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:16 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:45:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:45:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:16 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:45:18.507618 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:18.507681 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:18 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:18 DEBUG : Looking for writers 2025/10/06 04:45:18 DEBUG : >WaitForWriters: 2025/10/06 04:45:18 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:20 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:20 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:45:20 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:20 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:45:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:45:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:20 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:45:22.370805 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:22.370831 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:22 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:22 DEBUG : Looking for writers 2025/10/06 04:45:22 DEBUG : >WaitForWriters: 2025/10/06 04:45:22 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:24 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:24 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:45:24 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:24 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:45:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:45:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:24 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:45:26.216756 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:26.216799 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:26 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:26 DEBUG : Looking for writers 2025/10/06 04:45:26 DEBUG : >WaitForWriters: 2025/10/06 04:45:26 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (22.48s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (4.20s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (3.51s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (3.76s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (3.48s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (4.01s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (3.52s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:27 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:27 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:45:29.809001 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:29.809046 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:29 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:29 DEBUG : Looking for writers 2025/10/06 04:45:29 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (3.60s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:31 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:31 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:45:33.876302 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:33.876374 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-nofojav1kexu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:33 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:33 DEBUG : Looking for writers 2025/10/06 04:45:33 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (4.40s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:35 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:35 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:45:38.027776 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:38.027832 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:38 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:38 DEBUG : Looking for writers 2025/10/06 04:45:38 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (4.01s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:39 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:39 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:45:41.972969 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:41.973004 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:41 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:41 DEBUG : Looking for writers 2025/10/06 04:45:41 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (3.99s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:43 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:43 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:45:45.891857 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:45.891940 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:45 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:45 DEBUG : Looking for writers 2025/10/06 04:45:45 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (3.84s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:47 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:47 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:45:49.763049 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:49.763091 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:49 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:49 DEBUG : Looking for writers 2025/10/06 04:45:49 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:51 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:51 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:45:51 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:45:51 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:51 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:45:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:45:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:51 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:45:53.573479 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:53.573515 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:53 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:53 DEBUG : Looking for writers 2025/10/06 04:45:53 DEBUG : >WaitForWriters: 2025/10/06 04:45:53 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:55 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:55 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:45:55 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:45:55 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:55 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:45:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:45:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:55 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:45:57.104189 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:45:57.104231 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:45:57 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:45:57 DEBUG : Looking for writers 2025/10/06 04:45:57 DEBUG : >WaitForWriters: 2025/10/06 04:45:57 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:45:58 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:45:58 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:45:58 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:58 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:45:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:45:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:45:58 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:46:00.965898 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:00.965940 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:00 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:00 DEBUG : Looking for writers 2025/10/06 04:46:00 DEBUG : >WaitForWriters: 2025/10/06 04:46:00 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:02 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:02 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:46:02 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:02 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:02 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:46:04.770369 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:04.770434 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:04 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:04 DEBUG : Looking for writers 2025/10/06 04:46:04 DEBUG : >WaitForWriters: 2025/10/06 04:46:04 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:06 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:06 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:46:06 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:06 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:06 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:46:08.378244 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:08.378279 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:08 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:08 DEBUG : Looking for writers 2025/10/06 04:46:08 DEBUG : >WaitForWriters: 2025/10/06 04:46:08 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestFileRename (22.57s) --- FAIL: TestFileRename/off,forceCache=false (3.93s) --- FAIL: TestFileRename/minimal,forceCache=false (3.64s) --- FAIL: TestFileRename/minimal,forceCache=true (3.61s) --- FAIL: TestFileRename/writes,forceCache=false (3.70s) --- FAIL: TestFileRename/writes,forceCache=true (3.84s) --- FAIL: TestFileRename/full,forceCache=false (3.85s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:10 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:10 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:46:12.210764 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:12.210799 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:12 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:12 DEBUG : Looking for writers 2025/10/06 04:46:12 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (3.75s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:13 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:13 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:46:16.194217 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:16.194257 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-nofojav1kexu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:16 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:16 DEBUG : Looking for writers 2025/10/06 04:46:16 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (4.01s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:17 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:17 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:46:20.178907 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:20.178949 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-nofojav1kexu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:20 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:20 DEBUG : Looking for writers 2025/10/06 04:46:20 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (4.03s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:22 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:22 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:46:24.202300 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:24.202371 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:24 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:24 DEBUG : Looking for writers 2025/10/06 04:46:24 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (4.04s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:26 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:26 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 04:46:28.029247 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:28.029311 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:28 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:28 DEBUG : Looking for writers 2025/10/06 04:46:28 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (3.67s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:29 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:29 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:46:29 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:29 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:29 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:46:31.873122 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:31.873150 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:31 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:31 DEBUG : Looking for writers 2025/10/06 04:46:31 DEBUG : >WaitForWriters: 2025/10/06 04:46:31 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (3.79s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:33 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:33 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:46:33 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:33 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:33 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:46:35.731489 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:35.731524 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:35 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:35 DEBUG : Looking for writers 2025/10/06 04:46:35 DEBUG : >WaitForWriters: 2025/10/06 04:46:35 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (3.86s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:37 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:37 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:46:37 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:37 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:37 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:46:39.315037 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:39.315080 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:39 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:39 DEBUG : Looking for writers 2025/10/06 04:46:39 DEBUG : >WaitForWriters: 2025/10/06 04:46:39 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (3.69s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:41 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:41 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:46:41 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:41 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:41 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:46:43.268244 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:43.268279 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:43 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:43 DEBUG : Looking for writers 2025/10/06 04:46:43 DEBUG : >WaitForWriters: 2025/10/06 04:46:43 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (3.90s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:44 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:44 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:46:44 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:44 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:45 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:46:46.832440 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:46.832480 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:46 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:46 DEBUG : Looking for writers 2025/10/06 04:46:46 DEBUG : >WaitForWriters: 2025/10/06 04:46:46 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (3.56s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:46:48 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:46:48 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:46:48 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:48 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:46:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:46:48 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 04:46:48 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:46:48 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 04:46:48 DEBUG : file1: newRWFileHandle: 2025/10/06 04:46:48 DEBUG : file1(0xc000a189c0): openPending: 2025/10/06 04:46:48 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/06 04:46:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 04:46:48 DEBUG : file1(0xc000a189c0): >openPending: err= 2025/10/06 04:46:48 DEBUG : file1: >newRWFileHandle: err= 2025/10/06 04:46:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 04:46:48 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/06 04:46:48 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/06 04:46:48 DEBUG : file1(0xc000a189c0): _writeAt: size=5, off=0 2025/10/06 04:46:48 DEBUG : file1(0xc000a189c0): >_writeAt: n=5, err= 2025/10/06 04:46:48 DEBUG : file1(0xc000a189c0): _writeAt: size=7, off=5 2025/10/06 04:46:48 DEBUG : file1(0xc000a189c0): >_writeAt: n=7, err= 2025/10/06 04:46:48 DEBUG : file1: vfs cache: truncate to size=11 2025/10/06 04:46:48 DEBUG : file1(0xc000a189c0): close: 2025/10/06 04:46:48 DEBUG : file1: vfs cache: setting modification time to 2025-10-06 04:46:48.94785907 +0000 UTC m=+186.134868957 2025/10/06 04:46:48 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/06 04:46:48 DEBUG : file1(0xc000a189c0): >close: err= 2025/10/06 04:46:48 DEBUG : file1(0xc000a189c0): close: 2025/10/06 04:46:48 DEBUG : file1(0xc000a189c0): >close: err=file already closed 2025/10/06 04:46:48 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:46:48 DEBUG : Looking for writers 2025/10/06 04:46:48 DEBUG : file1: reading active writers 2025/10/06 04:46:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 04:46:48 DEBUG : Looking for writers 2025/10/06 04:46:48 DEBUG : file1: reading active writers 2025/10/06 04:46:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 04:46:48 DEBUG : Looking for writers 2025/10/06 04:46:48 DEBUG : file1: reading active writers 2025/10/06 04:46:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 04:46:49 DEBUG : Looking for writers 2025/10/06 04:46:49 DEBUG : file1: reading active writers 2025/10/06 04:46:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 04:46:49 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:46:49 DEBUG : Looking for writers 2025/10/06 04:46:49 DEBUG : file1: reading active writers 2025/10/06 04:46:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 04:46:49 DEBUG : Looking for writers 2025/10/06 04:46:49 DEBUG : file1: reading active writers 2025/10/06 04:46:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 04:46:49 DEBUG : Looking for writers 2025/10/06 04:46:49 DEBUG : file1: reading active writers 2025/10/06 04:46:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 04:46:50 DEBUG : Looking for writers 2025/10/06 04:46:50 DEBUG : file1: reading active writers 2025/10/06 04:46:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:46:50.227807 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 04:46:50.227839 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:50 ERROR : file1: Failed to copy: 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 04:46:50 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/06 04:46:50 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:46:51.088598 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/06 04:46:51.088690 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/06 04:46:51 DEBUG : Looking for writers 2025/10/06 04:46:51 DEBUG : file1: reading active writers 2025/10/06 04:46:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:46:52 DEBUG : Looking for writers 2025/10/06 04:46:52 DEBUG : file1: reading active writers 2025/10/06 04:46:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:46: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/06 04:46:52 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/06 04:46:52 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:46:53 DEBUG : Looking for writers 2025/10/06 04:46:53 DEBUG : file1: reading active writers 2025/10/06 04:46:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:46:53.629343 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/06 04:46:53.629368 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/06 04:46:54 DEBUG : Looking for writers 2025/10/06 04:46:54 DEBUG : file1: reading active writers 2025/10/06 04:46:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:46:54 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/06 04:46:54 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/06 04:46:55 DEBUG : Looking for writers 2025/10/06 04:46:55 DEBUG : file1: reading active writers 2025/10/06 04:46:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:46:55 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:46:56 DEBUG : Looking for writers 2025/10/06 04:46:56 DEBUG : file1: reading active writers 2025/10/06 04:46:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:46:56.388130 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/06 04:46:56.388156 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/06 04:46:57 DEBUG : Looking for writers 2025/10/06 04:46:57 DEBUG : file1: reading active writers 2025/10/06 04:46:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:46:57 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/06 04:46:57 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/06 04:46:58 DEBUG : Looking for writers 2025/10/06 04:46:58 DEBUG : file1: reading active writers 2025/10/06 04:46:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:46:59 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:46:59 DEBUG : Looking for writers 2025/10/06 04:46:59 DEBUG : file1: reading active writers 2025/10/06 04:46:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:00.065571 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/06 04:47:00.065606 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/06 04:47:00 DEBUG : Looking for writers 2025/10/06 04:47:00 DEBUG : file1: reading active writers 2025/10/06 04:47:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:01 DEBUG : Looking for writers 2025/10/06 04:47:01 DEBUG : file1: reading active writers 2025/10/06 04:47:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:01 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/06 04:47:01 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/06 04:47:02 DEBUG : Looking for writers 2025/10/06 04:47:02 DEBUG : file1: reading active writers 2025/10/06 04:47:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:03 DEBUG : Looking for writers 2025/10/06 04:47:03 DEBUG : file1: reading active writers 2025/10/06 04:47:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:04 DEBUG : Looking for writers 2025/10/06 04:47:04 DEBUG : file1: reading active writers 2025/10/06 04:47:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:04 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:47:05 DEBUG : Looking for writers 2025/10/06 04:47:05 DEBUG : file1: reading active writers 2025/10/06 04:47:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:05.525200 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/06 04:47:05.525233 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/06 04:47:06 DEBUG : Looking for writers 2025/10/06 04:47:06 DEBUG : file1: reading active writers 2025/10/06 04:47:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47: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/06 04:47:06 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/06 04:47:07 DEBUG : Looking for writers 2025/10/06 04:47:07 DEBUG : file1: reading active writers 2025/10/06 04:47:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:08 DEBUG : Looking for writers 2025/10/06 04:47:08 DEBUG : file1: reading active writers 2025/10/06 04:47:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:09 DEBUG : Looking for writers 2025/10/06 04:47:09 DEBUG : file1: reading active writers 2025/10/06 04:47:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:10 DEBUG : Looking for writers 2025/10/06 04:47:10 DEBUG : file1: reading active writers 2025/10/06 04:47:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:11 DEBUG : Looking for writers 2025/10/06 04:47:11 DEBUG : file1: reading active writers 2025/10/06 04:47:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:12 DEBUG : Looking for writers 2025/10/06 04:47:12 DEBUG : file1: reading active writers 2025/10/06 04:47:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:13 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:47:13 DEBUG : Looking for writers 2025/10/06 04:47:13 DEBUG : file1: reading active writers 2025/10/06 04:47:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:14.104435 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/06 04:47:14.104467 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/06 04:47:14 DEBUG : Looking for writers 2025/10/06 04:47:14 DEBUG : file1: reading active writers 2025/10/06 04:47:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:15 DEBUG : Looking for writers 2025/10/06 04:47:15 DEBUG : file1: reading active writers 2025/10/06 04:47:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47: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/06 04:47:15 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/06 04:47:16 DEBUG : Looking for writers 2025/10/06 04:47:16 DEBUG : file1: reading active writers 2025/10/06 04:47:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:17 DEBUG : Looking for writers 2025/10/06 04:47:17 DEBUG : file1: reading active writers 2025/10/06 04:47:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:18 DEBUG : Looking for writers 2025/10/06 04:47:18 DEBUG : file1: reading active writers 2025/10/06 04:47:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:47:18 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00060d1d0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0001f6a08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635779648} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992948260986105470 ext:186134868957 loc:0x4132400} ATime:{wall:13992948260986128573 ext:186134892060 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/06 04:47:18 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/06 04:47:28 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:47:48 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/06 04:47:48 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/06 04:48:48 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/06 04:48:48 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': 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/06 04:49:00.653113 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/06 04:49:00.653189 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/06 04:49:01 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/06 04:49:01 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/06 04:49:27 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:49:48 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/06 04:49:48 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': 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/06 04:50:42.471679 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/06 04:50:42.471719 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/06 04:50:43 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/06 04:50:43 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/06 04:50:46 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:50:46 DEBUG : Looking for writers 2025/10/06 04:50:46 DEBUG : file1: reading active writers 2025/10/06 04:50:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 04:50:46 DEBUG : Looking for writers 2025/10/06 04:50:46 DEBUG : file1: reading active writers 2025/10/06 04:50:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 04:50:46 DEBUG : Looking for writers 2025/10/06 04:50:46 DEBUG : file1: reading active writers 2025/10/06 04:50:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 04:50:46 DEBUG : Looking for writers 2025/10/06 04:50:46 DEBUG : file1: reading active writers 2025/10/06 04:50:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 04:50:46 DEBUG : Looking for writers 2025/10/06 04:50:46 DEBUG : file1: reading active writers 2025/10/06 04:50:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 04:50:46 DEBUG : Looking for writers 2025/10/06 04:50:46 DEBUG : file1: reading active writers 2025/10/06 04:50:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 04:50:46 DEBUG : Looking for writers 2025/10/06 04:50:46 DEBUG : file1: reading active writers 2025/10/06 04:50:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 04:50:47 DEBUG : Looking for writers 2025/10/06 04:50:47 DEBUG : file1: reading active writers 2025/10/06 04:50:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:50:48 DEBUG : Looking for writers 2025/10/06 04:50:48 DEBUG : file1: reading active writers 2025/10/06 04:50:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:50:48 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/06 04:50:48 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/06 04:50:49 DEBUG : Looking for writers 2025/10/06 04:50:49 DEBUG : file1: reading active writers 2025/10/06 04:50:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:50:50 DEBUG : Looking for writers 2025/10/06 04:50:50 DEBUG : file1: reading active writers 2025/10/06 04:50:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:50:51 DEBUG : Looking for writers 2025/10/06 04:50:51 DEBUG : file1: reading active writers 2025/10/06 04:50:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:50:52 DEBUG : Looking for writers 2025/10/06 04:50:52 DEBUG : file1: reading active writers 2025/10/06 04:50:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:50:53 DEBUG : Looking for writers 2025/10/06 04:50:53 DEBUG : file1: reading active writers 2025/10/06 04:50:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:50:54 DEBUG : Looking for writers 2025/10/06 04:50:54 DEBUG : file1: reading active writers 2025/10/06 04:50:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:50:55 DEBUG : Looking for writers 2025/10/06 04:50:55 DEBUG : file1: reading active writers 2025/10/06 04:50:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:50:56 DEBUG : Looking for writers 2025/10/06 04:50:56 DEBUG : file1: reading active writers 2025/10/06 04:50:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:50:57 DEBUG : Looking for writers 2025/10/06 04:50:57 DEBUG : file1: reading active writers 2025/10/06 04:50:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:50:58 DEBUG : Looking for writers 2025/10/06 04:50:58 DEBUG : file1: reading active writers 2025/10/06 04:50:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:50:59 DEBUG : Looking for writers 2025/10/06 04:50:59 DEBUG : file1: reading active writers 2025/10/06 04:50:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:00 DEBUG : Looking for writers 2025/10/06 04:51:00 DEBUG : file1: reading active writers 2025/10/06 04:51:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:01 DEBUG : Looking for writers 2025/10/06 04:51:01 DEBUG : file1: reading active writers 2025/10/06 04:51:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:02 DEBUG : Looking for writers 2025/10/06 04:51:02 DEBUG : file1: reading active writers 2025/10/06 04:51:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:03 DEBUG : Looking for writers 2025/10/06 04:51:03 DEBUG : file1: reading active writers 2025/10/06 04:51:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:04 DEBUG : Looking for writers 2025/10/06 04:51:04 DEBUG : file1: reading active writers 2025/10/06 04:51:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:05 DEBUG : Looking for writers 2025/10/06 04:51:05 DEBUG : file1: reading active writers 2025/10/06 04:51:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:06 DEBUG : Looking for writers 2025/10/06 04:51:06 DEBUG : file1: reading active writers 2025/10/06 04:51:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:07 DEBUG : Looking for writers 2025/10/06 04:51:07 DEBUG : file1: reading active writers 2025/10/06 04:51:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:08 DEBUG : Looking for writers 2025/10/06 04:51:08 DEBUG : file1: reading active writers 2025/10/06 04:51:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:09 DEBUG : Looking for writers 2025/10/06 04:51:09 DEBUG : file1: reading active writers 2025/10/06 04:51:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:10 DEBUG : Looking for writers 2025/10/06 04:51:10 DEBUG : file1: reading active writers 2025/10/06 04:51:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:11 DEBUG : Looking for writers 2025/10/06 04:51:11 DEBUG : file1: reading active writers 2025/10/06 04:51:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:12 DEBUG : Looking for writers 2025/10/06 04:51:12 DEBUG : file1: reading active writers 2025/10/06 04:51:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:13 DEBUG : Looking for writers 2025/10/06 04:51:13 DEBUG : file1: reading active writers 2025/10/06 04:51:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:14 DEBUG : Looking for writers 2025/10/06 04:51:14 DEBUG : file1: reading active writers 2025/10/06 04:51:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:15 DEBUG : Looking for writers 2025/10/06 04:51:15 DEBUG : file1: reading active writers 2025/10/06 04:51:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:51:16 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00060d1d0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0001f6a08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635779648} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992948260986105470 ext:186134868957 loc:0x4132400} ATime:{wall:13992948260986128573 ext:186134892060 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/06 04:51:16 DEBUG : >WaitForWriters: 2025/10/06 04:51:16 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (367.68s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:52:56 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:52:56 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:52:56 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:52:56 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:52:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:52:56 DEBUG : Config file has changed externally - reloading 2025/10/06 04:52:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:52:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:52:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:52:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:52:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:52:56 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 04:52:56 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:52:56 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 04:52:56 DEBUG : file1: newRWFileHandle: 2025/10/06 04:52:56 DEBUG : file1(0xc000411c00): openPending: 2025/10/06 04:52:56 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/06 04:52:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 04:52:56 DEBUG : file1(0xc000411c00): >openPending: err= 2025/10/06 04:52:56 DEBUG : file1: >newRWFileHandle: err= 2025/10/06 04:52:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 04:52:56 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/06 04:52:56 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/06 04:52:56 DEBUG : file1(0xc000411c00): _writeAt: size=7, off=0 2025/10/06 04:52:56 DEBUG : file1(0xc000411c00): >_writeAt: n=7, err= 2025/10/06 04:52:56 DEBUG : file1(0xc000411c00): _writeAt: size=6, off=5 2025/10/06 04:52:56 DEBUG : file1(0xc000411c00): >_writeAt: n=6, err= 2025/10/06 04:52:56 DEBUG : file1(0xc000411c00): close: 2025/10/06 04:52:56 DEBUG : file1: vfs cache: setting modification time to 2025-10-06 04:52:56.639596623 +0000 UTC m=+553.826606469 2025/10/06 04:52:56 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/06 04:52:56 DEBUG : file1(0xc000411c00): >close: err= 2025/10/06 04:52:56 DEBUG : file1(0xc000411c00): _writeAt: size=5, off=0 2025/10/06 04:52:56 DEBUG : file1(0xc000411c00): >_writeAt: n=0, err=file already closed 2025/10/06 04:52:56 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:52:56 DEBUG : Looking for writers 2025/10/06 04:52:56 DEBUG : file1: reading active writers 2025/10/06 04:52:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 04:52:56 DEBUG : Looking for writers 2025/10/06 04:52:56 DEBUG : file1: reading active writers 2025/10/06 04:52:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 04:52:56 DEBUG : Looking for writers 2025/10/06 04:52:56 DEBUG : file1: reading active writers 2025/10/06 04:52:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 04:52:56 DEBUG : Looking for writers 2025/10/06 04:52:56 DEBUG : file1: reading active writers 2025/10/06 04:52:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 04:52:56 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:52:56 DEBUG : Looking for writers 2025/10/06 04:52:56 DEBUG : file1: reading active writers 2025/10/06 04:52:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 04:52:56 DEBUG : Looking for writers 2025/10/06 04:52:56 DEBUG : file1: reading active writers 2025/10/06 04:52:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 04:52:57 DEBUG : Looking for writers 2025/10/06 04:52:57 DEBUG : file1: reading active writers 2025/10/06 04:52:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 04:52:57.547351 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/06 04:52:57.547380 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/06 04:52:57 DEBUG : Looking for writers 2025/10/06 04:52:57 DEBUG : file1: reading active writers 2025/10/06 04:52:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:52:58 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/06 04:52:58 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/06 04:52:58 DEBUG : Looking for writers 2025/10/06 04:52:58 DEBUG : file1: reading active writers 2025/10/06 04:52:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:52:59 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:52:59 DEBUG : Looking for writers 2025/10/06 04:52:59 DEBUG : file1: reading active writers 2025/10/06 04:52:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:00.006004 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/06 04:53:00.006030 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/06 04:53:00 DEBUG : Looking for writers 2025/10/06 04:53:00 DEBUG : file1: reading active writers 2025/10/06 04:53:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:01 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/06 04:53:01 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/06 04:53:01 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:53:01 DEBUG : Looking for writers 2025/10/06 04:53:01 DEBUG : file1: reading active writers 2025/10/06 04:53:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:02.262170 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/06 04:53:02.262190 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/06 04:53:02 DEBUG : Looking for writers 2025/10/06 04:53:02 DEBUG : file1: reading active writers 2025/10/06 04:53:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53: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/06 04:53:03 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/06 04:53:03 DEBUG : Looking for writers 2025/10/06 04:53:03 DEBUG : file1: reading active writers 2025/10/06 04:53:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:04 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:53:04 DEBUG : Looking for writers 2025/10/06 04:53:04 DEBUG : file1: reading active writers 2025/10/06 04:53:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:05.415895 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/06 04:53:05.415919 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/06 04:53:05 DEBUG : Looking for writers 2025/10/06 04:53:05 DEBUG : file1: reading active writers 2025/10/06 04:53:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53: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/06 04:53:06 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/06 04:53:06 DEBUG : Looking for writers 2025/10/06 04:53:06 DEBUG : file1: reading active writers 2025/10/06 04:53:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:07 DEBUG : Looking for writers 2025/10/06 04:53:07 DEBUG : file1: reading active writers 2025/10/06 04:53:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:08 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:53:08 DEBUG : Looking for writers 2025/10/06 04:53:08 DEBUG : file1: reading active writers 2025/10/06 04:53:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:09.213114 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/06 04:53:09.213192 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/06 04:53:09 DEBUG : Looking for writers 2025/10/06 04:53:09 DEBUG : file1: reading active writers 2025/10/06 04:53:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53: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/06 04:53:10 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/06 04:53:10 DEBUG : Looking for writers 2025/10/06 04:53:10 DEBUG : file1: reading active writers 2025/10/06 04:53:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:11 DEBUG : Looking for writers 2025/10/06 04:53:11 DEBUG : file1: reading active writers 2025/10/06 04:53:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:12 DEBUG : Looking for writers 2025/10/06 04:53:12 DEBUG : file1: reading active writers 2025/10/06 04:53:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:13 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:53:13 DEBUG : Looking for writers 2025/10/06 04:53:13 DEBUG : file1: reading active writers 2025/10/06 04:53:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:14.701799 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/06 04:53:14.701837 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/06 04:53:14 DEBUG : Looking for writers 2025/10/06 04:53:14 DEBUG : file1: reading active writers 2025/10/06 04:53:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:15 DEBUG : Looking for writers 2025/10/06 04:53:15 DEBUG : file1: reading active writers 2025/10/06 04:53:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53: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/06 04:53:15 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/06 04:53:16 DEBUG : Looking for writers 2025/10/06 04:53:16 DEBUG : file1: reading active writers 2025/10/06 04:53:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:17 DEBUG : Looking for writers 2025/10/06 04:53:17 DEBUG : file1: reading active writers 2025/10/06 04:53:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:18 DEBUG : Looking for writers 2025/10/06 04:53:18 DEBUG : file1: reading active writers 2025/10/06 04:53:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:19 DEBUG : Looking for writers 2025/10/06 04:53:19 DEBUG : file1: reading active writers 2025/10/06 04:53:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:20 DEBUG : Looking for writers 2025/10/06 04:53:20 DEBUG : file1: reading active writers 2025/10/06 04:53:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:21 DEBUG : Looking for writers 2025/10/06 04:53:21 DEBUG : file1: reading active writers 2025/10/06 04:53:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:22 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:53:22 DEBUG : Looking for writers 2025/10/06 04:53:22 DEBUG : file1: reading active writers 2025/10/06 04:53:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:23.079347 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/06 04:53:23.079423 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/06 04:53:23 DEBUG : Looking for writers 2025/10/06 04:53:23 DEBUG : file1: reading active writers 2025/10/06 04:53:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:24 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/06 04:53:24 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/06 04:53:24 DEBUG : Looking for writers 2025/10/06 04:53:24 DEBUG : file1: reading active writers 2025/10/06 04:53:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:25 DEBUG : Looking for writers 2025/10/06 04:53:25 DEBUG : file1: reading active writers 2025/10/06 04:53:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:53:26 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0009a50e0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000173d08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635243840} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992948655814834255 ext:553826606469 loc:0x4132400} ATime:{wall:13992948655814857258 ext:553826629462 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/06 04:53:26 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/06 04:53:37 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:53:45 DEBUG : forgetting directory cache 2025/10/06 04:53:50 DEBUG : forgetting directory cache 2025/10/06 04:53:54 DEBUG : forgetting directory cache 2025/10/06 04:53:56 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/06 04:53:56 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/06 04:53:57 DEBUG : forgetting directory cache 2025/10/06 04:54:01 DEBUG : forgetting directory cache 2025/10/06 04:54:05 DEBUG : forgetting directory cache 2025/10/06 04:54:09 DEBUG : forgetting directory cache 2025/10/06 04:54:13 DEBUG : forgetting directory cache 2025/10/06 04:54:16 DEBUG : forgetting directory cache 2025/10/06 04:54:20 DEBUG : forgetting directory cache 2025/10/06 04:54:24 DEBUG : forgetting directory cache 2025/10/06 04:54:28 DEBUG : forgetting directory cache 2025/10/06 04:54:31 DEBUG : forgetting directory cache 2025/10/06 04:54:34 DEBUG : forgetting directory cache 2025/10/06 04:54:38 DEBUG : forgetting directory cache 2025/10/06 04:54:42 DEBUG : forgetting directory cache 2025/10/06 04:54:46 DEBUG : forgetting directory cache 2025/10/06 04:54:49 DEBUG : forgetting directory cache 2025/10/06 04:54:53 DEBUG : forgetting directory cache 2025/10/06 04:54:56 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/06 04:54:56 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/06 04:54:57 DEBUG : forgetting directory cache 2025/10/06 04:55:01 DEBUG : forgetting directory cache 2025/10/06 04:55:05 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/06 04:55:07.171590 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/06 04:55:07.171617 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/06 04:55: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/06 04:55:08 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/06 04:55:09 DEBUG : forgetting directory cache 2025/10/06 04:55:13 DEBUG : forgetting directory cache 2025/10/06 04:55:16 DEBUG : forgetting directory cache 2025/10/06 04:55:20 DEBUG : forgetting directory cache 2025/10/06 04:55:24 DEBUG : forgetting directory cache 2025/10/06 04:55:27 DEBUG : forgetting directory cache 2025/10/06 04:55:31 DEBUG : forgetting directory cache 2025/10/06 04:55:33 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:55:35 DEBUG : forgetting directory cache 2025/10/06 04:55:39 DEBUG : forgetting directory cache 2025/10/06 04:55:43 DEBUG : forgetting directory cache 2025/10/06 04:55:47 DEBUG : forgetting directory cache 2025/10/06 04:55:51 DEBUG : forgetting directory cache 2025/10/06 04:55:55 DEBUG : forgetting directory cache 2025/10/06 04:55:56 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/06 04:55:56 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/06 04:55:58 DEBUG : forgetting directory cache 2025/10/06 04:56:02 DEBUG : forgetting directory cache 2025/10/06 04:56:06 DEBUG : forgetting directory cache 2025/10/06 04:56:10 DEBUG : forgetting directory cache 2025/10/06 04:56:13 DEBUG : forgetting directory cache 2025/10/06 04:56:17 DEBUG : forgetting directory cache 2025/10/06 04:56:22 DEBUG : forgetting directory cache 2025/10/06 04:56:26 DEBUG : forgetting directory cache 2025/10/06 04:56:29 DEBUG : forgetting directory cache 2025/10/06 04:56:33 DEBUG : forgetting directory cache 2025/10/06 04:56:37 DEBUG : forgetting directory cache 2025/10/06 04:56:41 DEBUG : forgetting directory cache 2025/10/06 04:56:44 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/06 04:56:47.819428 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/06 04:56:47.819454 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/06 04:56:48 DEBUG : forgetting directory cache 2025/10/06 04:56:49 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/06 04:56:49 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: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/06 04:56:51 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:56:51 DEBUG : Looking for writers 2025/10/06 04:56:51 DEBUG : file1: reading active writers 2025/10/06 04:56:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 04:56:51 DEBUG : Looking for writers 2025/10/06 04:56:51 DEBUG : file1: reading active writers 2025/10/06 04:56:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 04:56:51 DEBUG : Looking for writers 2025/10/06 04:56:51 DEBUG : file1: reading active writers 2025/10/06 04:56:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 04:56:51 DEBUG : Looking for writers 2025/10/06 04:56:51 DEBUG : file1: reading active writers 2025/10/06 04:56:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 04:56:51 DEBUG : Looking for writers 2025/10/06 04:56:51 DEBUG : file1: reading active writers 2025/10/06 04:56:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 04:56:51 DEBUG : Looking for writers 2025/10/06 04:56:51 DEBUG : file1: reading active writers 2025/10/06 04:56:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 04:56:51 DEBUG : Looking for writers 2025/10/06 04:56:51 DEBUG : file1: reading active writers 2025/10/06 04:56:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 04:56:52 DEBUG : Looking for writers 2025/10/06 04:56:52 DEBUG : file1: reading active writers 2025/10/06 04:56:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:56:53 DEBUG : Looking for writers 2025/10/06 04:56:53 DEBUG : file1: reading active writers 2025/10/06 04:56:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:56:54 DEBUG : Looking for writers 2025/10/06 04:56:54 DEBUG : file1: reading active writers 2025/10/06 04:56:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:56:55 DEBUG : Looking for writers 2025/10/06 04:56:55 DEBUG : file1: reading active writers 2025/10/06 04:56:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:56:56 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/06 04:56:56 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/06 04:56:56 DEBUG : Looking for writers 2025/10/06 04:56:56 DEBUG : file1: reading active writers 2025/10/06 04:56:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:56:57 DEBUG : Looking for writers 2025/10/06 04:56:57 DEBUG : file1: reading active writers 2025/10/06 04:56:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:56:58 DEBUG : Looking for writers 2025/10/06 04:56:58 DEBUG : file1: reading active writers 2025/10/06 04:56:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:56:59 DEBUG : Looking for writers 2025/10/06 04:56:59 DEBUG : file1: reading active writers 2025/10/06 04:56:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:00 DEBUG : Looking for writers 2025/10/06 04:57:00 DEBUG : file1: reading active writers 2025/10/06 04:57:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:01 DEBUG : Looking for writers 2025/10/06 04:57:01 DEBUG : file1: reading active writers 2025/10/06 04:57:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:02 DEBUG : Looking for writers 2025/10/06 04:57:02 DEBUG : file1: reading active writers 2025/10/06 04:57:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:03 DEBUG : Looking for writers 2025/10/06 04:57:03 DEBUG : file1: reading active writers 2025/10/06 04:57:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:04 DEBUG : Looking for writers 2025/10/06 04:57:04 DEBUG : file1: reading active writers 2025/10/06 04:57:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:05 DEBUG : Looking for writers 2025/10/06 04:57:05 DEBUG : file1: reading active writers 2025/10/06 04:57:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:06 DEBUG : Looking for writers 2025/10/06 04:57:06 DEBUG : file1: reading active writers 2025/10/06 04:57:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:07 DEBUG : Looking for writers 2025/10/06 04:57:07 DEBUG : file1: reading active writers 2025/10/06 04:57:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:08 DEBUG : Looking for writers 2025/10/06 04:57:08 DEBUG : file1: reading active writers 2025/10/06 04:57:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:09 DEBUG : Looking for writers 2025/10/06 04:57:09 DEBUG : file1: reading active writers 2025/10/06 04:57:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:10 DEBUG : Looking for writers 2025/10/06 04:57:10 DEBUG : file1: reading active writers 2025/10/06 04:57:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:11 DEBUG : Looking for writers 2025/10/06 04:57:11 DEBUG : file1: reading active writers 2025/10/06 04:57:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:12 DEBUG : Looking for writers 2025/10/06 04:57:12 DEBUG : file1: reading active writers 2025/10/06 04:57:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:13 DEBUG : Looking for writers 2025/10/06 04:57:13 DEBUG : file1: reading active writers 2025/10/06 04:57:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:14 DEBUG : Looking for writers 2025/10/06 04:57:14 DEBUG : file1: reading active writers 2025/10/06 04:57:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:15 DEBUG : Looking for writers 2025/10/06 04:57:15 DEBUG : file1: reading active writers 2025/10/06 04:57:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:16 DEBUG : Looking for writers 2025/10/06 04:57:16 DEBUG : file1: reading active writers 2025/10/06 04:57:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:17 DEBUG : Looking for writers 2025/10/06 04:57:17 DEBUG : file1: reading active writers 2025/10/06 04:57:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:18 DEBUG : Looking for writers 2025/10/06 04:57:18 DEBUG : file1: reading active writers 2025/10/06 04:57:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:19 DEBUG : Looking for writers 2025/10/06 04:57:19 DEBUG : file1: reading active writers 2025/10/06 04:57:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:20 DEBUG : Looking for writers 2025/10/06 04:57:20 DEBUG : file1: reading active writers 2025/10/06 04:57:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:57:21 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0009a50e0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000173d08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635243840} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992948655814834255 ext:553826606469 loc:0x4132400} ATime:{wall:13992948655814857258 ext:553826629462 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/06 04:57:21 DEBUG : >WaitForWriters: 2025/10/06 04:57:21 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteAt (365.69s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 04:59:01 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 04:59:01 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 04:59:01 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:59:01 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:59:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:59:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:59:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:59:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:59:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 04:59:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 04:59:01 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 04:59:01 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 04:59:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 04:59:02 DEBUG : file1: newRWFileHandle: 2025/10/06 04:59:02 DEBUG : file1(0xc000713d00): openPending: 2025/10/06 04:59:02 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/06 04:59:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 04:59:02 DEBUG : file1(0xc000713d00): >openPending: err= 2025/10/06 04:59:02 DEBUG : file1: >newRWFileHandle: err= 2025/10/06 04:59:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 04:59:02 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/06 04:59:02 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/06 04:59:02 DEBUG : file1(0xc000713d00): close: 2025/10/06 04:59:02 DEBUG : file1: vfs cache: setting modification time to 2025-10-06 04:59:02.276736122 +0000 UTC m=+919.463745968 2025/10/06 04:59:02 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/06 04:59:02 DEBUG : file1(0xc000713d00): >close: err= 2025/10/06 04:59:02 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/06 04:59:02 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/06 04:59:02 DEBUG : file2: newRWFileHandle: 2025/10/06 04:59:02 DEBUG : file2(0xc00048c780): openPending: 2025/10/06 04:59:02 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/06 04:59:02 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/06 04:59:02 DEBUG : file2(0xc00048c780): >openPending: err= 2025/10/06 04:59:02 DEBUG : file2: >newRWFileHandle: err= 2025/10/06 04:59:02 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/06 04:59:02 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/06 04:59:02 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/06 04:59:02 DEBUG : file2(0xc00048c780): RWFileHandle.Flush 2025/10/06 04:59:02 DEBUG : file2(0xc00048c780): RWFileHandle.Release 2025/10/06 04:59:02 DEBUG : file2(0xc00048c780): close: 2025/10/06 04:59:02 DEBUG : file2: vfs cache: setting modification time to 2025-10-06 04:59:02.278092888 +0000 UTC m=+919.465102734 2025/10/06 04:59:02 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/06 04:59:02 DEBUG : file2(0xc00048c780): >close: err= 2025/10/06 04:59:02 DEBUG : WaitForWriters: timeout=30s 2025/10/06 04:59:02 DEBUG : Looking for writers 2025/10/06 04:59:02 DEBUG : file1: reading active writers 2025/10/06 04:59:02 DEBUG : file2: reading active writers 2025/10/06 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/06 04:59:02 DEBUG : Looking for writers 2025/10/06 04:59:02 DEBUG : file1: reading active writers 2025/10/06 04:59:02 DEBUG : file2: reading active writers 2025/10/06 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/06 04:59:02 DEBUG : Looking for writers 2025/10/06 04:59:02 DEBUG : file2: reading active writers 2025/10/06 04:59:02 DEBUG : file1: reading active writers 2025/10/06 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/06 04:59:02 DEBUG : Looking for writers 2025/10/06 04:59:02 DEBUG : file2: reading active writers 2025/10/06 04:59:02 DEBUG : file1: reading active writers 2025/10/06 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/06 04:59:02 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:59:02 DEBUG : file2: vfs cache: starting upload 2025/10/06 04:59:02 DEBUG : Looking for writers 2025/10/06 04:59:02 DEBUG : file1: reading active writers 2025/10/06 04:59:02 DEBUG : file2: reading active writers 2025/10/06 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/06 04:59:02 DEBUG : Looking for writers 2025/10/06 04:59:02 DEBUG : file2: reading active writers 2025/10/06 04:59:02 DEBUG : file1: reading active writers 2025/10/06 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/06 04:59:02 DEBUG : Looking for writers 2025/10/06 04:59:02 DEBUG : file1: reading active writers 2025/10/06 04:59:02 DEBUG : file2: reading active writers 2025/10/06 04:59:02 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/10/06 04:59:03.097088 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/06 04:59:03.097126 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/06 04:59:03 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/06 04:59:03 INFO : file2: Copied (new) 2025/10/06 04:59:03 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-06 04:59:02.278092888 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/06 04:59:03 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/06 04:59:03 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/06 04:59:03 INFO : file2: vfs cache: upload succeeded try #1 2025/10/06 04:59:03 DEBUG : Looking for writers 2025/10/06 04:59:03 DEBUG : file1: reading active writers 2025/10/06 04:59:03 DEBUG : file2: reading active writers 2025/10/06 04:59:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:04 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/06 04:59:04 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/06 04:59:04 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:59:04 DEBUG : Looking for writers 2025/10/06 04:59:04 DEBUG : file2: reading active writers 2025/10/06 04:59:04 DEBUG : file1: reading active writers 2025/10/06 04:59:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:05.437911 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/06 04:59:05.437957 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/06 04:59:05 DEBUG : Looking for writers 2025/10/06 04:59:05 DEBUG : file1: reading active writers 2025/10/06 04:59:05 DEBUG : file2: reading active writers 2025/10/06 04:59:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:06 DEBUG : Looking for writers 2025/10/06 04:59:06 DEBUG : file1: reading active writers 2025/10/06 04:59:06 DEBUG : file2: reading active writers 2025/10/06 04:59:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59: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/06 04:59:06 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/06 04:59:07 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:59:07 DEBUG : Looking for writers 2025/10/06 04:59:07 DEBUG : file2: reading active writers 2025/10/06 04:59:07 DEBUG : file1: reading active writers 2025/10/06 04:59:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:07.750230 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/06 04:59:07.750253 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/06 04:59:08 DEBUG : Looking for writers 2025/10/06 04:59:08 DEBUG : file1: reading active writers 2025/10/06 04:59:08 DEBUG : file2: reading active writers 2025/10/06 04:59:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59: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/06 04:59: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/06 04:59:09 DEBUG : Looking for writers 2025/10/06 04:59:09 DEBUG : file1: reading active writers 2025/10/06 04:59:09 DEBUG : file2: reading active writers 2025/10/06 04:59:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:09 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:59:10.455302 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/06 04:59:10.455337 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/06 04:59:10 DEBUG : Looking for writers 2025/10/06 04:59:10 DEBUG : file1: reading active writers 2025/10/06 04:59:10 DEBUG : file2: reading active writers 2025/10/06 04:59:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:11 DEBUG : Looking for writers 2025/10/06 04:59:11 DEBUG : file1: reading active writers 2025/10/06 04:59:11 DEBUG : file2: reading active writers 2025/10/06 04:59:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59: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/06 04:59: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/06 04:59:12 DEBUG : Looking for writers 2025/10/06 04:59:12 DEBUG : file1: reading active writers 2025/10/06 04:59:12 DEBUG : file2: reading active writers 2025/10/06 04:59:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:13 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:59:13 DEBUG : Looking for writers 2025/10/06 04:59:13 DEBUG : file1: reading active writers 2025/10/06 04:59:13 DEBUG : file2: reading active writers 2025/10/06 04:59:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:14.177072 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/06 04:59:14.177135 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/06 04:59:14 DEBUG : Looking for writers 2025/10/06 04:59:14 DEBUG : file1: reading active writers 2025/10/06 04:59:14 DEBUG : file2: reading active writers 2025/10/06 04:59:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:15 DEBUG : Looking for writers 2025/10/06 04:59:15 DEBUG : file2: reading active writers 2025/10/06 04:59:15 DEBUG : file1: reading active writers 2025/10/06 04:59:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59: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/06 04:59: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/06 04:59:16 DEBUG : Looking for writers 2025/10/06 04:59:16 DEBUG : file2: reading active writers 2025/10/06 04:59:16 DEBUG : file1: reading active writers 2025/10/06 04:59:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:17 DEBUG : Looking for writers 2025/10/06 04:59:17 DEBUG : file1: reading active writers 2025/10/06 04:59:17 DEBUG : file2: reading active writers 2025/10/06 04:59:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:18 DEBUG : Looking for writers 2025/10/06 04:59:18 DEBUG : file1: reading active writers 2025/10/06 04:59:18 DEBUG : file2: reading active writers 2025/10/06 04:59:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:18 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:59:19 DEBUG : Looking for writers 2025/10/06 04:59:19 DEBUG : file1: reading active writers 2025/10/06 04:59:19 DEBUG : file2: reading active writers 2025/10/06 04:59:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:19.770254 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/06 04:59:19.770294 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/06 04:59:20 DEBUG : Looking for writers 2025/10/06 04:59:20 DEBUG : file2: reading active writers 2025/10/06 04:59:20 DEBUG : file1: reading active writers 2025/10/06 04:59:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59: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/06 04:59: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/06 04:59:21 DEBUG : Looking for writers 2025/10/06 04:59:21 DEBUG : file1: reading active writers 2025/10/06 04:59:21 DEBUG : file2: reading active writers 2025/10/06 04:59:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:22 DEBUG : Looking for writers 2025/10/06 04:59:22 DEBUG : file1: reading active writers 2025/10/06 04:59:22 DEBUG : file2: reading active writers 2025/10/06 04:59:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:23 DEBUG : Looking for writers 2025/10/06 04:59:23 DEBUG : file1: reading active writers 2025/10/06 04:59:23 DEBUG : file2: reading active writers 2025/10/06 04:59:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:24 DEBUG : Looking for writers 2025/10/06 04:59:24 DEBUG : file1: reading active writers 2025/10/06 04:59:24 DEBUG : file2: reading active writers 2025/10/06 04:59:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:25 DEBUG : Looking for writers 2025/10/06 04:59:25 DEBUG : file1: reading active writers 2025/10/06 04:59:25 DEBUG : file2: reading active writers 2025/10/06 04:59:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:26 DEBUG : Looking for writers 2025/10/06 04:59:26 DEBUG : file1: reading active writers 2025/10/06 04:59:26 DEBUG : file2: reading active writers 2025/10/06 04:59:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:27 DEBUG : file1: vfs cache: starting upload 2025/10/06 04:59:27 DEBUG : Looking for writers 2025/10/06 04:59:27 DEBUG : file1: reading active writers 2025/10/06 04:59:27 DEBUG : file2: reading active writers 2025/10/06 04:59:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:28.314592 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/06 04:59:28.314627 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/06 04:59:28 DEBUG : Looking for writers 2025/10/06 04:59:28 DEBUG : file1: reading active writers 2025/10/06 04:59:28 DEBUG : file2: reading active writers 2025/10/06 04:59:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:29 DEBUG : Looking for writers 2025/10/06 04:59:29 DEBUG : file1: reading active writers 2025/10/06 04:59:29 DEBUG : file2: reading active writers 2025/10/06 04:59:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:29 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/06 04:59:29 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/06 04:59:30 DEBUG : Looking for writers 2025/10/06 04:59:30 DEBUG : file2: reading active writers 2025/10/06 04:59:30 DEBUG : file1: reading active writers 2025/10/06 04:59:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:31 DEBUG : Looking for writers 2025/10/06 04:59:31 DEBUG : file1: reading active writers 2025/10/06 04:59:31 DEBUG : file2: reading active writers 2025/10/06 04:59:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 04:59:32 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0009c0960 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009272508 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824787281216} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992949048441481338 ext:919463745968 loc:0x4132400} ATime:{wall:13992949048441702713 ext:919463967343 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc0009c0960 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009272608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824787281472} name:file2 opens:0 downloaders: o:0xc00098efa0 fd: info:{ModTime:{wall:13992949048442838104 ext:919465102734 loc:0x4132400} ATime:{wall:13992949048442991842 ext:919465256472 loc:0x4132400} Size:0 Rs:[] Fingerprint:0,2025-10-06 04:59:02.278092888 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/06 04:59:32 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/06 04:59:42 DEBUG : file1: vfs cache: starting upload 2025/10/06 05:00:01 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/06 05:00:01 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/06 05:00:01 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/06 05:01:01 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/06 05:01:01 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/06 05:01:01 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': 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 2s for list eventual consistency: 2/3 2025/10/06 05:01:15.176543 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/06 05:01:15.176586 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/06 05:01:16 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/06 05:01:16 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/06 05:01:42 DEBUG : file1: vfs cache: starting upload 2025/10/06 05:02:01 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/06 05:02:01 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/06 05:02:01 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': 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/06 05:02:52.903033 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/06 05:02:52.903071 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/06 05:02:54 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/06 05:02:54 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/06 05:02:56 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:02:56 DEBUG : Looking for writers 2025/10/06 05:02:56 DEBUG : file1: reading active writers 2025/10/06 05:02:56 DEBUG : file2: reading active writers 2025/10/06 05:02:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/06 05:02:56 DEBUG : forgetting directory cache 2025/10/06 05:02:56 DEBUG : Looking for writers 2025/10/06 05:02:56 DEBUG : file2: reading active writers 2025/10/06 05:02:56 DEBUG : file1: reading active writers 2025/10/06 05:02:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/06 05:02:56 DEBUG : Looking for writers 2025/10/06 05:02:56 DEBUG : file1: reading active writers 2025/10/06 05:02:56 DEBUG : file2: reading active writers 2025/10/06 05:02:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/06 05:02:56 DEBUG : Looking for writers 2025/10/06 05:02:56 DEBUG : file1: reading active writers 2025/10/06 05:02:56 DEBUG : file2: reading active writers 2025/10/06 05:02:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/06 05:02:56 DEBUG : Looking for writers 2025/10/06 05:02:56 DEBUG : file1: reading active writers 2025/10/06 05:02:56 DEBUG : file2: reading active writers 2025/10/06 05:02:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/06 05:02:56 DEBUG : Looking for writers 2025/10/06 05:02:56 DEBUG : file1: reading active writers 2025/10/06 05:02:56 DEBUG : file2: reading active writers 2025/10/06 05:02:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/06 05:02:57 DEBUG : Looking for writers 2025/10/06 05:02:57 DEBUG : file1: reading active writers 2025/10/06 05:02:57 DEBUG : file2: reading active writers 2025/10/06 05:02:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/06 05:02:57 DEBUG : Looking for writers 2025/10/06 05:02:57 DEBUG : file1: reading active writers 2025/10/06 05:02:57 DEBUG : file2: reading active writers 2025/10/06 05:02:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:02:58 DEBUG : Looking for writers 2025/10/06 05:02:58 DEBUG : file1: reading active writers 2025/10/06 05:02:58 DEBUG : file2: reading active writers 2025/10/06 05:02:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:02:59 DEBUG : Looking for writers 2025/10/06 05:02:59 DEBUG : file1: reading active writers 2025/10/06 05:02:59 DEBUG : file2: reading active writers 2025/10/06 05:02:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:00 DEBUG : Looking for writers 2025/10/06 05:03:00 DEBUG : file1: reading active writers 2025/10/06 05:03:00 DEBUG : file2: reading active writers 2025/10/06 05:03:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:01 DEBUG : Looking for writers 2025/10/06 05:03:01 DEBUG : file2: reading active writers 2025/10/06 05:03:01 DEBUG : file1: reading active writers 2025/10/06 05:03:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:01 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/06 05:03:01 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/06 05:03:01 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 1, uploading 0, total size 0 (was 0) 2025/10/06 05:03:02 DEBUG : Looking for writers 2025/10/06 05:03:02 DEBUG : file1: reading active writers 2025/10/06 05:03:02 DEBUG : file2: reading active writers 2025/10/06 05:03:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:03 DEBUG : Looking for writers 2025/10/06 05:03:03 DEBUG : file1: reading active writers 2025/10/06 05:03:03 DEBUG : file2: reading active writers 2025/10/06 05:03:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:04 DEBUG : Looking for writers 2025/10/06 05:03:04 DEBUG : file1: reading active writers 2025/10/06 05:03:04 DEBUG : file2: reading active writers 2025/10/06 05:03:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:05 DEBUG : Looking for writers 2025/10/06 05:03:05 DEBUG : file1: reading active writers 2025/10/06 05:03:05 DEBUG : file2: reading active writers 2025/10/06 05:03:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:06 DEBUG : Looking for writers 2025/10/06 05:03:06 DEBUG : file1: reading active writers 2025/10/06 05:03:06 DEBUG : file2: reading active writers 2025/10/06 05:03:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:07 DEBUG : Looking for writers 2025/10/06 05:03:07 DEBUG : file1: reading active writers 2025/10/06 05:03:07 DEBUG : file2: reading active writers 2025/10/06 05:03:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:08 DEBUG : Looking for writers 2025/10/06 05:03:08 DEBUG : file1: reading active writers 2025/10/06 05:03:08 DEBUG : file2: reading active writers 2025/10/06 05:03:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:09 DEBUG : Looking for writers 2025/10/06 05:03:09 DEBUG : file2: reading active writers 2025/10/06 05:03:09 DEBUG : file1: reading active writers 2025/10/06 05:03:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:10 DEBUG : Looking for writers 2025/10/06 05:03:10 DEBUG : file1: reading active writers 2025/10/06 05:03:10 DEBUG : file2: reading active writers 2025/10/06 05:03:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:11 DEBUG : Looking for writers 2025/10/06 05:03:11 DEBUG : file1: reading active writers 2025/10/06 05:03:11 DEBUG : file2: reading active writers 2025/10/06 05:03:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:12 DEBUG : Looking for writers 2025/10/06 05:03:12 DEBUG : file1: reading active writers 2025/10/06 05:03:12 DEBUG : file2: reading active writers 2025/10/06 05:03:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:13 DEBUG : Looking for writers 2025/10/06 05:03:13 DEBUG : file1: reading active writers 2025/10/06 05:03:13 DEBUG : file2: reading active writers 2025/10/06 05:03:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:14 DEBUG : Looking for writers 2025/10/06 05:03:14 DEBUG : file1: reading active writers 2025/10/06 05:03:14 DEBUG : file2: reading active writers 2025/10/06 05:03:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:15 DEBUG : Looking for writers 2025/10/06 05:03:15 DEBUG : file1: reading active writers 2025/10/06 05:03:15 DEBUG : file2: reading active writers 2025/10/06 05:03:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:16 DEBUG : Looking for writers 2025/10/06 05:03:16 DEBUG : file1: reading active writers 2025/10/06 05:03:16 DEBUG : file2: reading active writers 2025/10/06 05:03:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:17 DEBUG : Looking for writers 2025/10/06 05:03:17 DEBUG : file1: reading active writers 2025/10/06 05:03:17 DEBUG : file2: reading active writers 2025/10/06 05:03:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:18 DEBUG : Looking for writers 2025/10/06 05:03:18 DEBUG : file1: reading active writers 2025/10/06 05:03:18 DEBUG : file2: reading active writers 2025/10/06 05:03:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:19 DEBUG : Looking for writers 2025/10/06 05:03:19 DEBUG : file1: reading active writers 2025/10/06 05:03:19 DEBUG : file2: reading active writers 2025/10/06 05:03:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:20 DEBUG : Looking for writers 2025/10/06 05:03:20 DEBUG : file1: reading active writers 2025/10/06 05:03:20 DEBUG : file2: reading active writers 2025/10/06 05:03:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:21 DEBUG : Looking for writers 2025/10/06 05:03:21 DEBUG : file1: reading active writers 2025/10/06 05:03:21 DEBUG : file2: reading active writers 2025/10/06 05:03:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:22 DEBUG : Looking for writers 2025/10/06 05:03:22 DEBUG : file1: reading active writers 2025/10/06 05:03:22 DEBUG : file2: reading active writers 2025/10/06 05:03:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:23 DEBUG : Looking for writers 2025/10/06 05:03:23 DEBUG : file1: reading active writers 2025/10/06 05:03:23 DEBUG : file2: reading active writers 2025/10/06 05:03:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:24 DEBUG : Looking for writers 2025/10/06 05:03:24 DEBUG : file1: reading active writers 2025/10/06 05:03:24 DEBUG : file2: reading active writers 2025/10/06 05:03:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:25 DEBUG : Looking for writers 2025/10/06 05:03:25 DEBUG : file1: reading active writers 2025/10/06 05:03:25 DEBUG : file2: reading active writers 2025/10/06 05:03:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:03:26 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0009c0960 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009272508 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824787281216} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992949048441481338 ext:919463745968 loc:0x4132400} ATime:{wall:13992949048441702713 ext:919463967343 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc0009c0960 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009272608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824787281472} name:file2 opens:0 downloaders: o:0xc00098efa0 fd: info:{ModTime:{wall:13992949048442838104 ext:919465102734 loc:0x4132400} ATime:{wall:13992949048442991842 ext:919465256472 loc:0x4132400} Size:0 Rs:[] Fingerprint:0,2025-10-06 04:59:02.278092888 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/06 05:03:26 DEBUG : >WaitForWriters: 2025/10/06 05:03:26 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteNoWrite (361.99s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:05:03 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:05:03 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 05:05:03 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:03 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 05:05:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 05:05:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:03 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 05:05:06.316384 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 05:05:06.316437 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-nofojav1kexu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 05:05:06 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:05:06 DEBUG : Looking for writers 2025/10/06 05:05:06 DEBUG : >WaitForWriters: 2025/10/06 05:05:06 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (4.16s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:05:08 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:05:08 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 05:05:08 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:08 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 05:05:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 05:05:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:08 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 05:05:10.351582 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 05:05:10.351612 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 05:05:10 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:05:10 DEBUG : Looking for writers 2025/10/06 05:05:10 DEBUG : >WaitForWriters: 2025/10/06 05:05:10 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (3.94s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:05:12 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:05:12 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 05:05:12 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:12 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:12 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 05:05:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:12 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 05:05:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:12 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 05:05:12 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 05:05:12 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 05:05:12 DEBUG : file1: newRWFileHandle: 2025/10/06 05:05:12 DEBUG : file1(0xc0087a2b00): openPending: 2025/10/06 05:05:12 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/06 05:05:12 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:05:12 DEBUG : file1(0xc0087a2b00): >openPending: err= 2025/10/06 05:05:12 DEBUG : file1: >newRWFileHandle: err= 2025/10/06 05:05:12 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:05:12 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/06 05:05:12 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/06 05:05:13.569462 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 05:05:13.569503 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 "time_test" to "proton drive root link ID 'rclone-test-nofojav1kexu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 05:05:13 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:05:13 DEBUG : Looking for writers 2025/10/06 05:05:13 DEBUG : file1: reading active writers 2025/10/06 05:05:13 DEBUG : file1: active writers 1 2025/10/06 05:05:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/06 05:05:13 DEBUG : Looking for writers 2025/10/06 05:05:13 DEBUG : file1: reading active writers 2025/10/06 05:05:13 DEBUG : file1: active writers 1 2025/10/06 05:05:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/06 05:05:13 DEBUG : Looking for writers 2025/10/06 05:05:13 DEBUG : file1: reading active writers 2025/10/06 05:05:13 DEBUG : file1: active writers 1 2025/10/06 05:05:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/06 05:05:13 DEBUG : Looking for writers 2025/10/06 05:05:13 DEBUG : file1: reading active writers 2025/10/06 05:05:13 DEBUG : file1: active writers 1 2025/10/06 05:05:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/06 05:05:13 DEBUG : Looking for writers 2025/10/06 05:05:13 DEBUG : file1: reading active writers 2025/10/06 05:05:13 DEBUG : file1: active writers 1 2025/10/06 05:05:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/06 05:05:13 DEBUG : Looking for writers 2025/10/06 05:05:13 DEBUG : file1: reading active writers 2025/10/06 05:05:13 DEBUG : file1: active writers 1 2025/10/06 05:05:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/06 05:05:14 DEBUG : Looking for writers 2025/10/06 05:05:14 DEBUG : file1: reading active writers 2025/10/06 05:05:14 DEBUG : file1: active writers 1 2025/10/06 05:05:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/06 05:05:14 DEBUG : Looking for writers 2025/10/06 05:05:14 DEBUG : file1: reading active writers 2025/10/06 05:05:14 DEBUG : file1: active writers 1 2025/10/06 05:05:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:15 DEBUG : Looking for writers 2025/10/06 05:05:15 DEBUG : file1: reading active writers 2025/10/06 05:05:15 DEBUG : file1: active writers 1 2025/10/06 05:05:15 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:16 DEBUG : Looking for writers 2025/10/06 05:05:16 DEBUG : file1: reading active writers 2025/10/06 05:05:16 DEBUG : file1: active writers 1 2025/10/06 05:05:16 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:17 DEBUG : Looking for writers 2025/10/06 05:05:17 DEBUG : file1: reading active writers 2025/10/06 05:05:17 DEBUG : file1: active writers 1 2025/10/06 05:05:17 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:18 DEBUG : Looking for writers 2025/10/06 05:05:18 DEBUG : file1: reading active writers 2025/10/06 05:05:18 DEBUG : file1: active writers 1 2025/10/06 05:05:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:19 DEBUG : Looking for writers 2025/10/06 05:05:19 DEBUG : file1: reading active writers 2025/10/06 05:05:19 DEBUG : file1: active writers 1 2025/10/06 05:05:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:20 DEBUG : Looking for writers 2025/10/06 05:05:20 DEBUG : file1: reading active writers 2025/10/06 05:05:20 DEBUG : file1: active writers 1 2025/10/06 05:05:20 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:21 DEBUG : Looking for writers 2025/10/06 05:05:21 DEBUG : file1: reading active writers 2025/10/06 05:05:21 DEBUG : file1: active writers 1 2025/10/06 05:05:21 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:22 DEBUG : Looking for writers 2025/10/06 05:05:22 DEBUG : file1: reading active writers 2025/10/06 05:05:22 DEBUG : file1: active writers 1 2025/10/06 05:05:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:23 DEBUG : Looking for writers 2025/10/06 05:05:23 DEBUG : file1: reading active writers 2025/10/06 05:05:23 DEBUG : file1: active writers 1 2025/10/06 05:05:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:24 DEBUG : Looking for writers 2025/10/06 05:05:24 DEBUG : file1: reading active writers 2025/10/06 05:05:24 DEBUG : file1: active writers 1 2025/10/06 05:05:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:25 DEBUG : Looking for writers 2025/10/06 05:05:25 DEBUG : file1: reading active writers 2025/10/06 05:05:25 DEBUG : file1: active writers 1 2025/10/06 05:05:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:26 DEBUG : Looking for writers 2025/10/06 05:05:26 DEBUG : file1: reading active writers 2025/10/06 05:05:26 DEBUG : file1: active writers 1 2025/10/06 05:05:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:27 DEBUG : Looking for writers 2025/10/06 05:05:27 DEBUG : file1: reading active writers 2025/10/06 05:05:27 DEBUG : file1: active writers 1 2025/10/06 05:05:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:28 DEBUG : Looking for writers 2025/10/06 05:05:28 DEBUG : file1: reading active writers 2025/10/06 05:05:28 DEBUG : file1: active writers 1 2025/10/06 05:05:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:29 DEBUG : Looking for writers 2025/10/06 05:05:29 DEBUG : file1: reading active writers 2025/10/06 05:05:29 DEBUG : file1: active writers 1 2025/10/06 05:05:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:30 DEBUG : Looking for writers 2025/10/06 05:05:30 DEBUG : file1: reading active writers 2025/10/06 05:05:30 DEBUG : file1: active writers 1 2025/10/06 05:05:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:31 DEBUG : Looking for writers 2025/10/06 05:05:31 DEBUG : file1: reading active writers 2025/10/06 05:05:31 DEBUG : file1: active writers 1 2025/10/06 05:05:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:32 DEBUG : Looking for writers 2025/10/06 05:05:32 DEBUG : file1: reading active writers 2025/10/06 05:05:32 DEBUG : file1: active writers 1 2025/10/06 05:05:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:33 DEBUG : Looking for writers 2025/10/06 05:05:33 DEBUG : file1: reading active writers 2025/10/06 05:05:33 DEBUG : file1: active writers 1 2025/10/06 05:05:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:34 DEBUG : Looking for writers 2025/10/06 05:05:34 DEBUG : file1: reading active writers 2025/10/06 05:05:34 DEBUG : file1: active writers 1 2025/10/06 05:05:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:35 DEBUG : Looking for writers 2025/10/06 05:05:35 DEBUG : file1: reading active writers 2025/10/06 05:05:35 DEBUG : file1: active writers 1 2025/10/06 05:05:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:36 DEBUG : Looking for writers 2025/10/06 05:05:36 DEBUG : file1: reading active writers 2025/10/06 05:05:36 DEBUG : file1: active writers 1 2025/10/06 05:05:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:37 DEBUG : Looking for writers 2025/10/06 05:05:37 DEBUG : file1: reading active writers 2025/10/06 05:05:37 DEBUG : file1: active writers 1 2025/10/06 05:05:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:38 DEBUG : Looking for writers 2025/10/06 05:05:38 DEBUG : file1: reading active writers 2025/10/06 05:05:38 DEBUG : file1: active writers 1 2025/10/06 05:05:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:39 DEBUG : Looking for writers 2025/10/06 05:05:39 DEBUG : file1: reading active writers 2025/10/06 05:05:39 DEBUG : file1: active writers 1 2025/10/06 05:05:39 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:40 DEBUG : Looking for writers 2025/10/06 05:05:40 DEBUG : file1: reading active writers 2025/10/06 05:05:40 DEBUG : file1: active writers 1 2025/10/06 05:05:40 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:41 DEBUG : Looking for writers 2025/10/06 05:05:41 DEBUG : file1: reading active writers 2025/10/06 05:05:41 DEBUG : file1: active writers 1 2025/10/06 05:05:41 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:42 DEBUG : Looking for writers 2025/10/06 05:05:42 DEBUG : file1: reading active writers 2025/10/06 05:05:42 DEBUG : file1: active writers 1 2025/10/06 05:05:42 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/06 05:05:43 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc007b6cb40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0087a0608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824775935552} name:file1 opens:1 downloaders: o: fd:0xc00084c380 info:{ModTime:{wall:13992949445862654686 ext:1289600444465 loc:0x4132400} ATime:{wall:13992949445862654686 ext:1289600444465 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/06 05:05:43 DEBUG : >WaitForWriters: 2025/10/06 05:05:43 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (32.33s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:05:44 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:05:44 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/06 05:05:44 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:44 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 05:05:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/06 05:05:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-nofojav1kexu" 2025/10/06 05:05:44 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/06 05:05:44 DEBUG : forgetting directory cache 2025/10/06 05:05:45.691000 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 05:05:45.691034 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 05:05:45 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:05:45 DEBUG : Looking for writers 2025/10/06 05:05:45 DEBUG : >WaitForWriters: 2025/10/06 05:05:45 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (2.07s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:05:47.538912 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 05:05:47.538953 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (1.84s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:05:49.395811 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 05:05:49.395854 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.96s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:05:50 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:05:50 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:05:50.872008 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/06 05:05:50.872043 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-nofojav1kexu'": 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/06 05:05:52 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:05:52 DEBUG : Looking for writers 2025/10/06 05:05:52 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (2.69s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:05:52 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:05:52 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:05:53.526059 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/06 05:05:53.526093 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-nofojav1kexu'": 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/06 05:05:54 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:05:54 DEBUG : Looking for writers 2025/10/06 05:05:54 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (2.71s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:05:55 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:05:55 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:05:56.593381 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/06 05:05:56.593417 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-nofojav1kexu'": 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/06 05:05:57 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:05:57 DEBUG : Looking for writers 2025/10/06 05:05:57 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (3.06s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:05:58 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:05:58 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:06:00.867811 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 05:06:00.867873 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-nofojav1kexu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 05:06:00 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:06:00 DEBUG : Looking for writers 2025/10/06 05:06:00 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (4.03s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:06:02 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:06:02 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:06:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 05:06:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 05:06:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:06:03 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/06 05:06:03 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/06 05:06:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:06:03 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/06 05:06:03 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/06 05:06:03 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/06 05:06:03 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': File to upload is small (5 bytes), uploading instead of streaming 2025/10/06 05:06:04.110005 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/06 05:06:04.110042 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/06 05:06:05 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/06 05:06:05 DEBUG : file1: Remove: 2025/10/06 05:06:05 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/06 05:06:05 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/06 05:06:48 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/06 05:09:02 DEBUG : forgetting directory cache 2025/10/06 05:09:02 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/06 05:09:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 05:09:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 05:09:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:09:31 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/06 05:09:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/06 05:09:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:09:31 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': File to upload is small (0 bytes), uploading instead of streaming 2025/10/06 05:11:09.052832 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/06 05:11:09.052918 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/06 05:11:10 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/06 05:11:10 DEBUG : file1: Remove: 2025/10/06 05:11:10 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/06 05:11:10 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/06 05:11:10 DEBUG : Re-reading directory (5m7.137987895s old) 2025/10/06 05:11:10 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/06 05:11:10 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 05:11:10 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 05:11:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:11:10 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/06 05:11:10 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/06 05:11:10 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/06 05:11:10 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:11:10 DEBUG : Looking for writers 2025/10/06 05:11:10 DEBUG : file1: reading active writers 2025/10/06 05:11:10 DEBUG : file1: active writers 1 2025/10/06 05:11:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/06 05:11:10 DEBUG : Looking for writers 2025/10/06 05:11:10 DEBUG : file1: reading active writers 2025/10/06 05:11:10 DEBUG : file1: active writers 1 2025/10/06 05:11:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/06 05:11:10 DEBUG : Looking for writers 2025/10/06 05:11:10 DEBUG : file1: reading active writers 2025/10/06 05:11:10 DEBUG : file1: active writers 1 2025/10/06 05:11:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/06 05:11:10 DEBUG : Looking for writers 2025/10/06 05:11:10 DEBUG : file1: reading active writers 2025/10/06 05:11:10 DEBUG : file1: active writers 1 2025/10/06 05:11:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/06 05:11:10 DEBUG : Looking for writers 2025/10/06 05:11:10 DEBUG : file1: reading active writers 2025/10/06 05:11:10 DEBUG : file1: active writers 1 2025/10/06 05:11:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/06 05:11:11 DEBUG : Looking for writers 2025/10/06 05:11:11 DEBUG : file1: reading active writers 2025/10/06 05:11:11 DEBUG : file1: active writers 1 2025/10/06 05:11:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/06 05:11:11 DEBUG : Looking for writers 2025/10/06 05:11:11 DEBUG : file1: reading active writers 2025/10/06 05:11:11 DEBUG : file1: active writers 1 2025/10/06 05:11:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/06 05:11:11 DEBUG : Looking for writers 2025/10/06 05:11:11 DEBUG : file1: reading active writers 2025/10/06 05:11:11 DEBUG : file1: active writers 1 2025/10/06 05:11:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:12 DEBUG : Looking for writers 2025/10/06 05:11:12 DEBUG : file1: reading active writers 2025/10/06 05:11:12 DEBUG : file1: active writers 1 2025/10/06 05:11:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:13 DEBUG : Looking for writers 2025/10/06 05:11:13 DEBUG : file1: reading active writers 2025/10/06 05:11:13 DEBUG : file1: active writers 1 2025/10/06 05:11:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:14 DEBUG : Looking for writers 2025/10/06 05:11:14 DEBUG : file1: reading active writers 2025/10/06 05:11:14 DEBUG : file1: active writers 1 2025/10/06 05:11:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:15 DEBUG : Looking for writers 2025/10/06 05:11:15 DEBUG : file1: reading active writers 2025/10/06 05:11:15 DEBUG : file1: active writers 1 2025/10/06 05:11:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:16 DEBUG : Looking for writers 2025/10/06 05:11:16 DEBUG : file1: reading active writers 2025/10/06 05:11:16 DEBUG : file1: active writers 1 2025/10/06 05:11:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:17 DEBUG : Looking for writers 2025/10/06 05:11:17 DEBUG : file1: reading active writers 2025/10/06 05:11:17 DEBUG : file1: active writers 1 2025/10/06 05:11:17 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:18 DEBUG : Looking for writers 2025/10/06 05:11:18 DEBUG : file1: reading active writers 2025/10/06 05:11:18 DEBUG : file1: active writers 1 2025/10/06 05:11:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:19 DEBUG : Looking for writers 2025/10/06 05:11:19 DEBUG : file1: reading active writers 2025/10/06 05:11:19 DEBUG : file1: active writers 1 2025/10/06 05:11:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:20 DEBUG : Looking for writers 2025/10/06 05:11:20 DEBUG : file1: reading active writers 2025/10/06 05:11:20 DEBUG : file1: active writers 1 2025/10/06 05:11:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:21 DEBUG : Looking for writers 2025/10/06 05:11:21 DEBUG : file1: reading active writers 2025/10/06 05:11:21 DEBUG : file1: active writers 1 2025/10/06 05:11:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:22 DEBUG : Looking for writers 2025/10/06 05:11:22 DEBUG : file1: reading active writers 2025/10/06 05:11:22 DEBUG : file1: active writers 1 2025/10/06 05:11:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:23 DEBUG : Looking for writers 2025/10/06 05:11:23 DEBUG : file1: reading active writers 2025/10/06 05:11:23 DEBUG : file1: active writers 1 2025/10/06 05:11:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:24 DEBUG : Looking for writers 2025/10/06 05:11:24 DEBUG : file1: reading active writers 2025/10/06 05:11:24 DEBUG : file1: active writers 1 2025/10/06 05:11:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:25 DEBUG : Looking for writers 2025/10/06 05:11:25 DEBUG : file1: reading active writers 2025/10/06 05:11:25 DEBUG : file1: active writers 1 2025/10/06 05:11:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:26 DEBUG : Looking for writers 2025/10/06 05:11:26 DEBUG : file1: reading active writers 2025/10/06 05:11:26 DEBUG : file1: active writers 1 2025/10/06 05:11:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:27 DEBUG : Looking for writers 2025/10/06 05:11:27 DEBUG : file1: reading active writers 2025/10/06 05:11:27 DEBUG : file1: active writers 1 2025/10/06 05:11:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:28 DEBUG : Looking for writers 2025/10/06 05:11:28 DEBUG : file1: reading active writers 2025/10/06 05:11:28 DEBUG : file1: active writers 1 2025/10/06 05:11:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:29 DEBUG : Looking for writers 2025/10/06 05:11:29 DEBUG : file1: reading active writers 2025/10/06 05:11:29 DEBUG : file1: active writers 1 2025/10/06 05:11:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:30 DEBUG : Looking for writers 2025/10/06 05:11:30 DEBUG : file1: reading active writers 2025/10/06 05:11:30 DEBUG : file1: active writers 1 2025/10/06 05:11:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:31 DEBUG : Looking for writers 2025/10/06 05:11:31 DEBUG : file1: reading active writers 2025/10/06 05:11:31 DEBUG : file1: active writers 1 2025/10/06 05:11:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:32 DEBUG : Looking for writers 2025/10/06 05:11:32 DEBUG : file1: reading active writers 2025/10/06 05:11:32 DEBUG : file1: active writers 1 2025/10/06 05:11:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:33 DEBUG : Looking for writers 2025/10/06 05:11:33 DEBUG : file1: reading active writers 2025/10/06 05:11:33 DEBUG : file1: active writers 1 2025/10/06 05:11:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:34 DEBUG : Looking for writers 2025/10/06 05:11:34 DEBUG : file1: reading active writers 2025/10/06 05:11:34 DEBUG : file1: active writers 1 2025/10/06 05:11:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:35 DEBUG : Looking for writers 2025/10/06 05:11:35 DEBUG : file1: reading active writers 2025/10/06 05:11:35 DEBUG : file1: active writers 1 2025/10/06 05:11:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:36 DEBUG : Looking for writers 2025/10/06 05:11:36 DEBUG : file1: reading active writers 2025/10/06 05:11:36 DEBUG : file1: active writers 1 2025/10/06 05:11:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:37 DEBUG : Looking for writers 2025/10/06 05:11:37 DEBUG : file1: reading active writers 2025/10/06 05:11:37 DEBUG : file1: active writers 1 2025/10/06 05:11:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:38 DEBUG : Looking for writers 2025/10/06 05:11:38 DEBUG : file1: reading active writers 2025/10/06 05:11:38 DEBUG : file1: active writers 1 2025/10/06 05:11:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:39 DEBUG : Looking for writers 2025/10/06 05:11:39 DEBUG : file1: reading active writers 2025/10/06 05:11:39 DEBUG : file1: active writers 1 2025/10/06 05:11:39 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/06 05:11:40 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/06 05:11:40 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (338.76s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:11:41 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:11:41 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:11:41 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 05:11:41 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 05:11:41 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:11:41 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/06 05:11:41 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/06 05:11:41 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:11:41 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/06 05:11:42 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/06 05:11:42 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/06 05:11:42 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/06 05:11:42 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': File to upload is small (11 bytes), uploading instead of streaming 2025/10/06 05:11:43.745979 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/06 05:11:43.746008 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/06 05:11:45 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/06 05:11:45 DEBUG : file1: Remove: 2025/10/06 05:11:45 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/06 05:11:45 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/06 05:11:45 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/06 05:12:56 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 2025/10/06 05:15:03 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/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/06 05:15:05 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:15:05 DEBUG : Looking for writers 2025/10/06 05:15:05 DEBUG : >WaitForWriters: 2025/10/06 05:15:08 DEBUG : forgetting directory cache 2025/10/06 05:15:12 DEBUG : forgetting directory cache 2025/10/06 05:15:50 DEBUG : forgetting directory cache 2025/10/06 05:15:52 DEBUG : forgetting directory cache 2025/10/06 05:15:55 DEBUG : forgetting directory cache 2025/10/06 05:15:58 DEBUG : forgetting directory cache --- FAIL: TestWriteFileHandleWriteAt (300.37s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:16:41 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:16:41 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:16:41 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 05:16:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 05:16:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:16:42 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/06 05:16:42 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/06 05:16:42 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/06 05:16:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:16:42 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': File to upload is small (5 bytes), uploading instead of streaming 2025/10/06 05:16:42.891761 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/06 05:16:42.891782 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/06 05:16: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/06 05:16:44 DEBUG : file1: Remove: 2025/10/06 05:16:44 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/06 05:16:44 DEBUG : file1: >Remove: err= 2025/10/06 05:16:44 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/06 05:16:44 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/06 05:16:44 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:16:44 DEBUG : Looking for writers 2025/10/06 05:16:44 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (3.38s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:16:45 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:16:45 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:16:45 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 05:16:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 05:16:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:16:45 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/06 05:16:45 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/06 05:16:45 DEBUG : file1: WriteFileHandle.Release closing 2025/10/06 05:16:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:16:45 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': File to upload is small (0 bytes), uploading instead of streaming 2025/10/06 05:16:46.606731 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/06 05:16:46.606750 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/06 05:16: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/06 05:16:47 DEBUG : file1: Remove: 2025/10/06 05:16:47 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/06 05:16:47 DEBUG : file1: >Remove: err= 2025/10/06 05:16:47 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/06 05:16:47 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/06 05:16:47 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:16:47 DEBUG : Looking for writers 2025/10/06 05:16:47 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (3.41s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:16:48 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:16:48 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:16:48 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 05:16:48 DEBUG : forgetting directory cache 2025/10/06 05:16:49 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 05:16:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:16:49 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/06 05:16:49 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/06 05:16:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:16:49 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': File to upload is small (2 bytes), uploading instead of streaming 2025/10/06 05:16:50.001687 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/06 05:16:50.001738 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/06 05:16:51 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/06 05:16:51 DEBUG : file1: Remove: 2025/10/06 05:16:51 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/06 05:16:51 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/06 05:16:51 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:16:51 DEBUG : Looking for writers 2025/10/06 05:16:51 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (3.38s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:16:52 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:16:52 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:16:52 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 05:16:52 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 05:16:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:16:52 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/06 05:16:52 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/06 05:16:52 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:16:52 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': File to upload is small (0 bytes), uploading instead of streaming 2025/10/06 05:16:53.416755 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/06 05:16:53.416786 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/06 05:16:54 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/06 05:16:54 DEBUG : file1: Remove: 2025/10/06 05:16:54 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/06 05:16:54 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/06 05:16:54 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/06 05:16:54 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/06 05:16:54 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:16:54 DEBUG : Looking for writers 2025/10/06 05:16:54 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (3.41s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:16:55 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:16:55 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:16:55 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/06 05:16:55 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/06 05:16:55 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:16:55 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/06 05:16:55 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/06 05:16:55 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/06 05:16:55 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': File to upload is small (100 bytes), uploading instead of streaming 2025/10/06 05:16:56.747429 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/06 05:16:56.747469 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/06 05:16:58 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/06 05:16:58 DEBUG : file1: Remove: 2025/10/06 05:16:58 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/06 05:16:58 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/06 05:16:58 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/06 05:16:58 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/06 05:16:58 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:16:58 DEBUG : Looking for writers 2025/10/06 05:16:58 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (3.43s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:16:58 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:16:58 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:17:00.995211 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 05:17:00.995244 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 05:17:00 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:17:00 DEBUG : Looking for writers 2025/10/06 05:17:00 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (3.86s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:17:02 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:17:02 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:17:04.885678 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 05:17:04.885751 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 05:17:04 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:17:04 DEBUG : Looking for writers 2025/10/06 05:17:04 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (3.84s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:17:06 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:17:06 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:17:08.865989 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 05:17:08.866032 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 05:17:08 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:17:08 DEBUG : Looking for writers 2025/10/06 05:17:08 DEBUG : >WaitForWriters: 2025/10/06 05:17:09.130478 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 05:17:09.130512 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (4.30s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-nofojav1kexu'", Local "Local file system at /tmp/rclone3219691941", Modify Window "1s" 2025/10/06 05:17:10 INFO : proton drive root link ID 'rclone-test-nofojav1kexu': poll-interval is not supported by this remote 2025/10/06 05:17:10 NOTICE: proton drive root link ID 'rclone-test-nofojav1kexu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/06 05:17:13.088265 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/06 05:17:13.088309 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-nofojav1kexu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/06 05:17:13 DEBUG : WaitForWriters: timeout=30s 2025/10/06 05:17:13 DEBUG : Looking for writers 2025/10/06 05:17:13 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (3.96s) FAIL 2025/10/06 05:17:14 DEBUG : proton drive root link ID 'rclone-test-nofojav1kexu': 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 33m32.622022279s (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]