"./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 4/5) 2025/10/04 04:11:35 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-laletuq7cowo" 2025/10/04 04:11:35 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/04 04:11:35 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': Has cached credentials 2025/10/04 04:11:36 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': Used cached credential to initialize the ProtonDrive API 2025/10/04 04:11:37 DEBUG : Creating backend with remote "/tmp/rclone4253509558" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:11:37 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:11:37 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:40.431844 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:11:40.431883 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:11:40 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:40 DEBUG : Looking for writers 2025/10/04 04:11:40 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (4.45s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:11:41 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:11:41 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:43.805609 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:11:43.805644 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:11:43 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:43 DEBUG : Looking for writers 2025/10/04 04:11:43 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (3.60s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:11:45 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:11:45 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:47.383763 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:11:47.383816 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:11:47 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:47 DEBUG : Looking for writers 2025/10/04 04:11:47 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (3.37s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:11:48 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:11:48 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:50.836427 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:11:50.836473 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:11:50 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:50 DEBUG : Looking for writers 2025/10/04 04:11:50 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (3.39s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:11:52 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:11:52 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:54.154643 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:11:54.154689 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:11:54 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:54 DEBUG : Looking for writers 2025/10/04 04:11:54 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (3.32s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:11:55 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:11:55 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:57.506664 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:11:57.506699 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:11:57 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:57 DEBUG : Looking for writers 2025/10/04 04:11:57 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (3.38s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:11:58 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:11:58 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:00.842253 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:00.842276 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:00 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:00 DEBUG : Looking for writers 2025/10/04 04:12:00 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (3.30s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:02 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:02 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:04.169905 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:04.169944 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:04 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:04 DEBUG : Looking for writers 2025/10/04 04:12:04 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (3.39s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:05 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:05 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:07.702210 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:07.702253 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:07 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:07 DEBUG : Looking for writers 2025/10/04 04:12:07 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (3.54s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:09 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:09 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:11.108222 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:11.108265 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:11 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:11 DEBUG : Looking for writers 2025/10/04 04:12:11 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (3.35s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:12 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:12 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:14.401889 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:14.401920 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:14 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:14 DEBUG : Looking for writers 2025/10/04 04:12:14 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (3.33s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:15 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:15 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:17.774761 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:17.774791 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:17 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:17 DEBUG : Looking for writers 2025/10/04 04:12:17 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (3.38s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:19 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:19 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:21.100667 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:21.100689 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:21 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:21 DEBUG : Looking for writers 2025/10/04 04:12:21 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (3.30s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:22 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:22 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:24.403399 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:24.403438 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:24 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:24 DEBUG : Looking for writers 2025/10/04 04:12:24 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (3.33s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:25 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:25 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:27.893701 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:27.893784 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:27 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:27 DEBUG : Looking for writers 2025/10/04 04:12:27 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (3.55s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:29 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:29 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:31.315561 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:31.315603 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:31 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:31 DEBUG : Looking for writers 2025/10/04 04:12:31 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (3.39s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:32 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:32 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:34.653129 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:34.653160 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:34 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:34 DEBUG : Looking for writers 2025/10/04 04:12:34 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (3.34s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:36 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:36 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:38.105419 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:38.105474 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:38 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:38 DEBUG : Looking for writers 2025/10/04 04:12:38 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (3.44s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:39 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:39 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:41.518009 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:41.518053 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:41 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:41 DEBUG : Looking for writers 2025/10/04 04:12:41 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (3.40s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:42 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:42 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:44.897215 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:44.897272 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:44 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:44 DEBUG : Looking for writers 2025/10/04 04:12:44 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (3.38s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:46 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:46 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:48.390269 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:48.390305 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:48 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:48 DEBUG : Looking for writers 2025/10/04 04:12:48 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (3.57s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:49 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:49 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:51.845114 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:51.845148 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:51 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:51 DEBUG : Looking for writers 2025/10/04 04:12:51 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:53 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:53 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:55.166380 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:55.166429 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:55 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:55 DEBUG : Looking for writers 2025/10/04 04:12:55 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:12:56 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:12:56 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:12:58.616813 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:12:58.616862 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:12:58 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:12:58 DEBUG : Looking for writers 2025/10/04 04:12:58 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:00 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:00 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:13:00 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:00 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:00 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:13:02.068803 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:02.068848 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:02 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:02 DEBUG : Looking for writers 2025/10/04 04:13:02 DEBUG : >WaitForWriters: 2025/10/04 04:13:02 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:03 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:03 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:13:03 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:03 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:03 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:13:05.432202 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:05.432249 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:05 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:05 DEBUG : Looking for writers 2025/10/04 04:13:05 DEBUG : >WaitForWriters: 2025/10/04 04:13:05 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:06 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:06 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:13:06 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:06 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:06 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:13:08.837422 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:08.837454 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:08 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:08 DEBUG : Looking for writers 2025/10/04 04:13:08 DEBUG : >WaitForWriters: 2025/10/04 04:13:08 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (20.40s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (3.34s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (3.42s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (3.46s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (3.36s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (3.35s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (3.46s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:10 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:10 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:13:12.189419 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:12.189455 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:12 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:12 DEBUG : Looking for writers 2025/10/04 04:13:12 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (3.29s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:13 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:13 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:13:15.622290 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:15.622358 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:15 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:15 DEBUG : Looking for writers 2025/10/04 04:13:15 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (3.52s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:17 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:17 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:13:19.141353 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:19.141379 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:19 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:19 DEBUG : Looking for writers 2025/10/04 04:13:19 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (3.39s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:20 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:20 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:13:22.375017 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:22.375049 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:22 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:22 DEBUG : Looking for writers 2025/10/04 04:13:22 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (3.27s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:23 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:23 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:13:25.688347 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:25.688384 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:25 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:25 DEBUG : Looking for writers 2025/10/04 04:13:25 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (3.35s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:27 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:27 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:13:29.093302 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:29.093353 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:29 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:29 DEBUG : Looking for writers 2025/10/04 04:13:29 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:30 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:30 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:13:30 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:13:30 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:30 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:30 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:30 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:30 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:13:32.619464 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:32.619521 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:32 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:32 DEBUG : Looking for writers 2025/10/04 04:13:32 DEBUG : >WaitForWriters: 2025/10/04 04:13:32 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:34 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:34 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:13:34 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:13:34 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:34 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:34 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:13:36.080298 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:36.080333 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:36 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:36 DEBUG : Looking for writers 2025/10/04 04:13:36 DEBUG : >WaitForWriters: 2025/10/04 04:13:36 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:37 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:37 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:13:37 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:37 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:37 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:13:39.462304 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:39.462346 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:39 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:39 DEBUG : Looking for writers 2025/10/04 04:13:39 DEBUG : >WaitForWriters: 2025/10/04 04:13:39 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:40 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:40 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:13:40 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:40 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:40 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:13:42.918627 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:42.918735 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:42 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:42 DEBUG : Looking for writers 2025/10/04 04:13:42 DEBUG : >WaitForWriters: 2025/10/04 04:13:42 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:44 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:44 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:13:44 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:44 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:13:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:13:44 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:13:46.543343 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:46.543384 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:46 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:46 DEBUG : Looking for writers 2025/10/04 04:13:46 DEBUG : >WaitForWriters: 2025/10/04 04:13:46 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestFileRename (20.97s) --- FAIL: TestFileRename/off,forceCache=false (3.48s) --- FAIL: TestFileRename/minimal,forceCache=false (3.49s) --- FAIL: TestFileRename/minimal,forceCache=true (3.46s) --- FAIL: TestFileRename/writes,forceCache=false (3.32s) --- FAIL: TestFileRename/writes,forceCache=true (3.60s) --- FAIL: TestFileRename/full,forceCache=false (3.62s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:48 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:48 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:13:50.105978 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:50.106019 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:50 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:50 DEBUG : Looking for writers 2025/10/04 04:13:50 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (3.48s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:51 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:51 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:13:53.569415 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:53.569454 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:53 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:53 DEBUG : Looking for writers 2025/10/04 04:13:53 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (3.40s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:54 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:54 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:13:56.854288 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:13:56.854323 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:13:56 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:13:56 DEBUG : Looking for writers 2025/10/04 04:13:56 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (3.27s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:13:58 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:13:58 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:14:00.139384 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:14:00.139432 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:14:00 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:14:00 DEBUG : Looking for writers 2025/10/04 04:14:00 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (3.40s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:14:01 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:14:01 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:14:03.589305 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:14:03.589347 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:14:03 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:14:03 DEBUG : Looking for writers 2025/10/04 04:14:03 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (3.47s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:14:05 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:14:05 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:14:05 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:05 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:14:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:05 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:05 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:14:05 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:05 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:14:07.047392 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:14:07.047427 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:14:07 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:14:07 DEBUG : Looking for writers 2025/10/04 04:14:07 DEBUG : >WaitForWriters: 2025/10/04 04:14:07 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (3.37s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:14:08 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:14:08 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:14:08 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:08 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:14:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:14:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:08 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:14:10.512269 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:14:10.512309 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:14:10 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:14:10 DEBUG : Looking for writers 2025/10/04 04:14:10 DEBUG : >WaitForWriters: 2025/10/04 04:14:10 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (3.48s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:14:11 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:14:11 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:14:11 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:11 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:14:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:14:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:11 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:14:13.972256 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:14:13.972302 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:14:13 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:14:13 DEBUG : Looking for writers 2025/10/04 04:14:13 DEBUG : >WaitForWriters: 2025/10/04 04:14:13 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (3.42s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:14:15 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:14:15 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:14:15 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:15 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:15 DEBUG : Config file has changed externally - reloading 2025/10/04 04:14:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:14:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:14:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:15 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:14:17.270903 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:14:17.270942 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:14:17 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:14:17 DEBUG : Looking for writers 2025/10/04 04:14:17 DEBUG : >WaitForWriters: 2025/10/04 04:14:17 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (3.33s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:14:18 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:14:18 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:14:18 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:18 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:14:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:14:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:18 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:14:20.677925 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:14:20.677964 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:14:20 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:14:20 DEBUG : Looking for writers 2025/10/04 04:14:20 DEBUG : >WaitForWriters: 2025/10/04 04:14:20 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (3.41s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:14:22 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:14:22 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:14:22 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:22 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:14:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:14:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:14:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:14:22 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:14:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:14:22 DEBUG : file1: newRWFileHandle: 2025/10/04 04:14:22 DEBUG : file1(0xc00052a680): openPending: 2025/10/04 04:14:22 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 04:14:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:14:22 DEBUG : file1(0xc00052a680): >openPending: err= 2025/10/04 04:14:22 DEBUG : file1: >newRWFileHandle: err= 2025/10/04 04:14:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:14:22 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/04 04:14:22 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/04 04:14:22 DEBUG : file1(0xc00052a680): _writeAt: size=5, off=0 2025/10/04 04:14:22 DEBUG : file1(0xc00052a680): >_writeAt: n=5, err= 2025/10/04 04:14:22 DEBUG : file1(0xc00052a680): _writeAt: size=7, off=5 2025/10/04 04:14:22 DEBUG : file1(0xc00052a680): >_writeAt: n=7, err= 2025/10/04 04:14:22 DEBUG : file1: vfs cache: truncate to size=11 2025/10/04 04:14:22 DEBUG : file1(0xc00052a680): close: 2025/10/04 04:14:22 DEBUG : file1: vfs cache: setting modification time to 2025-10-04 04:14:22.407293231 +0000 UTC m=+166.948273842 2025/10/04 04:14:22 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/04 04:14:22 DEBUG : file1(0xc00052a680): >close: err= 2025/10/04 04:14:22 DEBUG : file1(0xc00052a680): close: 2025/10/04 04:14:22 DEBUG : file1(0xc00052a680): >close: err=file already closed 2025/10/04 04:14:22 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:14:22 DEBUG : Looking for writers 2025/10/04 04:14:22 DEBUG : file1: reading active writers 2025/10/04 04:14:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 04:14:22 DEBUG : Looking for writers 2025/10/04 04:14:22 DEBUG : file1: reading active writers 2025/10/04 04:14:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 04:14:22 DEBUG : Looking for writers 2025/10/04 04:14:22 DEBUG : file1: reading active writers 2025/10/04 04:14:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 04:14:22 DEBUG : Looking for writers 2025/10/04 04:14:22 DEBUG : file1: reading active writers 2025/10/04 04:14:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 04:14:22 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:14:22 DEBUG : Looking for writers 2025/10/04 04:14:22 DEBUG : file1: reading active writers 2025/10/04 04:14:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 04:14:22 DEBUG : Looking for writers 2025/10/04 04:14:22 DEBUG : file1: reading active writers 2025/10/04 04:14:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 04:14:23 DEBUG : Looking for writers 2025/10/04 04:14:23 DEBUG : file1: reading active writers 2025/10/04 04:14:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 04:14:23.661550 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:14:23.661605 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:14:23 ERROR : file1: Failed to copy: 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:14:23 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/04 04:14:23 DEBUG : Looking for writers 2025/10/04 04:14:23 DEBUG : file1: reading active writers 2025/10/04 04:14:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:23 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:14:24.653626 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/04 04:14:24.653660 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/04 04:14:24 DEBUG : Looking for writers 2025/10/04 04:14:24 DEBUG : file1: reading active writers 2025/10/04 04:14:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:25 DEBUG : Looking for writers 2025/10/04 04:14:25 DEBUG : file1: reading active writers 2025/10/04 04:14:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:25 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/04 04:14:25 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/04 04:14:26 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:14:26 DEBUG : Looking for writers 2025/10/04 04:14:26 DEBUG : file1: reading active writers 2025/10/04 04:14:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:26.971530 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/04 04:14:26.971566 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/04 04:14:27 DEBUG : Looking for writers 2025/10/04 04:14:27 DEBUG : file1: reading active writers 2025/10/04 04:14:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:28 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:14:28 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/04 04:14:28 DEBUG : Looking for writers 2025/10/04 04:14:28 DEBUG : file1: reading active writers 2025/10/04 04:14:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:28 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:14:29 DEBUG : Looking for writers 2025/10/04 04:14:29 DEBUG : file1: reading active writers 2025/10/04 04:14:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:29.823259 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/04 04:14:29.823299 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/04 04:14:30 DEBUG : Looking for writers 2025/10/04 04:14:30 DEBUG : file1: reading active writers 2025/10/04 04:14:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:30 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/04 04:14:30 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/04 04:14:31 DEBUG : Looking for writers 2025/10/04 04:14:31 DEBUG : file1: reading active writers 2025/10/04 04:14:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:32 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:14:32 DEBUG : Looking for writers 2025/10/04 04:14:32 DEBUG : file1: reading active writers 2025/10/04 04:14:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:33.403608 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/04 04:14:33.403642 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/04 04:14:33 DEBUG : Looking for writers 2025/10/04 04:14:33 DEBUG : file1: reading active writers 2025/10/04 04:14:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:34 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/04 04:14:34 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/04 04:14:34 DEBUG : Looking for writers 2025/10/04 04:14:34 DEBUG : file1: reading active writers 2025/10/04 04:14:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:35 DEBUG : Looking for writers 2025/10/04 04:14:35 DEBUG : file1: reading active writers 2025/10/04 04:14:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:36 DEBUG : Looking for writers 2025/10/04 04:14:36 DEBUG : file1: reading active writers 2025/10/04 04:14:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:37 DEBUG : Looking for writers 2025/10/04 04:14:37 DEBUG : file1: reading active writers 2025/10/04 04:14:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:37 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:14:38.541536 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/04 04:14:38.541571 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/04 04:14:38 DEBUG : Looking for writers 2025/10/04 04:14:38 DEBUG : file1: reading active writers 2025/10/04 04:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:39 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/04 04:14:39 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/04 04:14:39 DEBUG : Looking for writers 2025/10/04 04:14:39 DEBUG : file1: reading active writers 2025/10/04 04:14:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:40 DEBUG : Looking for writers 2025/10/04 04:14:40 DEBUG : file1: reading active writers 2025/10/04 04:14:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:41 DEBUG : Looking for writers 2025/10/04 04:14:41 DEBUG : file1: reading active writers 2025/10/04 04:14:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:42 DEBUG : Looking for writers 2025/10/04 04:14:42 DEBUG : file1: reading active writers 2025/10/04 04:14:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:43 DEBUG : Looking for writers 2025/10/04 04:14:43 DEBUG : file1: reading active writers 2025/10/04 04:14:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:44 DEBUG : Looking for writers 2025/10/04 04:14:44 DEBUG : file1: reading active writers 2025/10/04 04:14:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:45 DEBUG : Looking for writers 2025/10/04 04:14:45 DEBUG : file1: reading active writers 2025/10/04 04:14:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:46 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:14:46 DEBUG : Looking for writers 2025/10/04 04:14:46 DEBUG : file1: reading active writers 2025/10/04 04:14:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:46.933959 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/04 04:14:46.934004 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/04 04:14:47 DEBUG : Looking for writers 2025/10/04 04:14:47 DEBUG : file1: reading active writers 2025/10/04 04:14:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:47 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/04 04:14:47 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/04 04:14:48 DEBUG : Looking for writers 2025/10/04 04:14:48 DEBUG : file1: reading active writers 2025/10/04 04:14:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:49 DEBUG : Looking for writers 2025/10/04 04:14:49 DEBUG : file1: reading active writers 2025/10/04 04:14:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:50 DEBUG : Looking for writers 2025/10/04 04:14:50 DEBUG : file1: reading active writers 2025/10/04 04:14:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:51 DEBUG : Looking for writers 2025/10/04 04:14:51 DEBUG : file1: reading active writers 2025/10/04 04:14:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:14:52 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a34f00 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0005b8408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639718464} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992760628356762927 ext:166948273842 loc:0x41313e0} ATime:{wall:13992760628356787733 ext:166948298659 loc:0x41313e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 04:14:52 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/04 04:15:00 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:15:22 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:15:22 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/04 04:16:22 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:16:22 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': 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/04 04:16:29.854784 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/04 04:16:29.854822 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/04 04:16:30 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/04 04:16:30 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/04 04:16:56 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:17:22 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:17:22 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': 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/04 04:18:06.891421 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/04 04:18:06.891448 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/04 04:18:07 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:18:07 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/04 04:18:10 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:18:10 DEBUG : Looking for writers 2025/10/04 04:18:10 DEBUG : file1: reading active writers 2025/10/04 04:18:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 04:18:10 DEBUG : Looking for writers 2025/10/04 04:18:10 DEBUG : file1: reading active writers 2025/10/04 04:18:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 04:18:10 DEBUG : Looking for writers 2025/10/04 04:18:10 DEBUG : file1: reading active writers 2025/10/04 04:18:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 04:18:10 DEBUG : Looking for writers 2025/10/04 04:18:10 DEBUG : file1: reading active writers 2025/10/04 04:18:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 04:18:10 DEBUG : Looking for writers 2025/10/04 04:18:10 DEBUG : file1: reading active writers 2025/10/04 04:18:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 04:18:10 DEBUG : Looking for writers 2025/10/04 04:18:10 DEBUG : file1: reading active writers 2025/10/04 04:18:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 04:18:10 DEBUG : Looking for writers 2025/10/04 04:18:10 DEBUG : file1: reading active writers 2025/10/04 04:18:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 04:18:11 DEBUG : Looking for writers 2025/10/04 04:18:11 DEBUG : file1: reading active writers 2025/10/04 04:18:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:12 DEBUG : Looking for writers 2025/10/04 04:18:12 DEBUG : file1: reading active writers 2025/10/04 04:18:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:13 DEBUG : Looking for writers 2025/10/04 04:18:13 DEBUG : file1: reading active writers 2025/10/04 04:18:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:14 DEBUG : Looking for writers 2025/10/04 04:18:14 DEBUG : file1: reading active writers 2025/10/04 04:18:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:15 DEBUG : Looking for writers 2025/10/04 04:18:15 DEBUG : file1: reading active writers 2025/10/04 04:18:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:16 DEBUG : Looking for writers 2025/10/04 04:18:16 DEBUG : file1: reading active writers 2025/10/04 04:18:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:17 DEBUG : Looking for writers 2025/10/04 04:18:17 DEBUG : file1: reading active writers 2025/10/04 04:18:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:18 DEBUG : Looking for writers 2025/10/04 04:18:18 DEBUG : file1: reading active writers 2025/10/04 04:18:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:19 DEBUG : Looking for writers 2025/10/04 04:18:19 DEBUG : file1: reading active writers 2025/10/04 04:18:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:20 DEBUG : Looking for writers 2025/10/04 04:18:20 DEBUG : file1: reading active writers 2025/10/04 04:18:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:21 DEBUG : Looking for writers 2025/10/04 04:18:21 DEBUG : file1: reading active writers 2025/10/04 04:18:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:22 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:18:22 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/04 04:18:22 DEBUG : Looking for writers 2025/10/04 04:18:22 DEBUG : file1: reading active writers 2025/10/04 04:18:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:23 DEBUG : Looking for writers 2025/10/04 04:18:23 DEBUG : file1: reading active writers 2025/10/04 04:18:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:24 DEBUG : Looking for writers 2025/10/04 04:18:24 DEBUG : file1: reading active writers 2025/10/04 04:18:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:25 DEBUG : Looking for writers 2025/10/04 04:18:25 DEBUG : file1: reading active writers 2025/10/04 04:18:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:26 DEBUG : Looking for writers 2025/10/04 04:18:26 DEBUG : file1: reading active writers 2025/10/04 04:18:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:27 DEBUG : Looking for writers 2025/10/04 04:18:27 DEBUG : file1: reading active writers 2025/10/04 04:18:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:28 DEBUG : Looking for writers 2025/10/04 04:18:28 DEBUG : file1: reading active writers 2025/10/04 04:18:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:29 DEBUG : Looking for writers 2025/10/04 04:18:29 DEBUG : file1: reading active writers 2025/10/04 04:18:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:30 DEBUG : Looking for writers 2025/10/04 04:18:30 DEBUG : file1: reading active writers 2025/10/04 04:18:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:31 DEBUG : Looking for writers 2025/10/04 04:18:31 DEBUG : file1: reading active writers 2025/10/04 04:18:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:32 DEBUG : Looking for writers 2025/10/04 04:18:32 DEBUG : file1: reading active writers 2025/10/04 04:18:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:33 DEBUG : Looking for writers 2025/10/04 04:18:33 DEBUG : file1: reading active writers 2025/10/04 04:18:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:34 DEBUG : Looking for writers 2025/10/04 04:18:34 DEBUG : file1: reading active writers 2025/10/04 04:18:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:35 DEBUG : Looking for writers 2025/10/04 04:18:35 DEBUG : file1: reading active writers 2025/10/04 04:18:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:36 DEBUG : Looking for writers 2025/10/04 04:18:36 DEBUG : file1: reading active writers 2025/10/04 04:18:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:37 DEBUG : Looking for writers 2025/10/04 04:18:37 DEBUG : file1: reading active writers 2025/10/04 04:18:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:38 DEBUG : Looking for writers 2025/10/04 04:18:38 DEBUG : file1: reading active writers 2025/10/04 04:18:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:39 DEBUG : Looking for writers 2025/10/04 04:18:39 DEBUG : file1: reading active writers 2025/10/04 04:18:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:18:40 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a34f00 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0005b8408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639718464} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992760628356762927 ext:166948273842 loc:0x41313e0} ATime:{wall:13992760628356787733 ext:166948298659 loc:0x41313e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 04:18:40 DEBUG : >WaitForWriters: 2025/10/04 04:18:40 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (354.15s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:20:16 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:20:16 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:20:16 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:20:16 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:20:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:20:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:20:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:20:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:20:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:20:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:20:16 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:20:16 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:20:16 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:20:16 DEBUG : file1: newRWFileHandle: 2025/10/04 04:20:16 DEBUG : file1(0xc000a28c80): openPending: 2025/10/04 04:20:16 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 04:20:16 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:20:16 DEBUG : file1(0xc000a28c80): >openPending: err= 2025/10/04 04:20:16 DEBUG : file1: >newRWFileHandle: err= 2025/10/04 04:20:16 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:20:16 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/04 04:20:16 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/04 04:20:16 DEBUG : file1(0xc000a28c80): _writeAt: size=7, off=0 2025/10/04 04:20:16 DEBUG : file1(0xc000a28c80): >_writeAt: n=7, err= 2025/10/04 04:20:16 DEBUG : file1(0xc000a28c80): _writeAt: size=6, off=5 2025/10/04 04:20:16 DEBUG : file1(0xc000a28c80): >_writeAt: n=6, err= 2025/10/04 04:20:16 DEBUG : file1(0xc000a28c80): close: 2025/10/04 04:20:16 DEBUG : file1: vfs cache: setting modification time to 2025-10-04 04:20:16.550651146 +0000 UTC m=+521.091631726 2025/10/04 04:20:16 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/04 04:20:16 DEBUG : file1(0xc000a28c80): >close: err= 2025/10/04 04:20:16 DEBUG : file1(0xc000a28c80): _writeAt: size=5, off=0 2025/10/04 04:20:16 DEBUG : file1(0xc000a28c80): >_writeAt: n=0, err=file already closed 2025/10/04 04:20:16 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:20:16 DEBUG : Looking for writers 2025/10/04 04:20:16 DEBUG : file1: reading active writers 2025/10/04 04:20:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 04:20:16 DEBUG : Looking for writers 2025/10/04 04:20:16 DEBUG : file1: reading active writers 2025/10/04 04:20:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 04:20:16 DEBUG : Looking for writers 2025/10/04 04:20:16 DEBUG : file1: reading active writers 2025/10/04 04:20:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 04:20:16 DEBUG : Looking for writers 2025/10/04 04:20:16 DEBUG : file1: reading active writers 2025/10/04 04:20:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 04:20:16 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:20:16 DEBUG : Looking for writers 2025/10/04 04:20:16 DEBUG : file1: reading active writers 2025/10/04 04:20:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 04:20:16 DEBUG : Looking for writers 2025/10/04 04:20:16 DEBUG : file1: reading active writers 2025/10/04 04:20:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 04:20:17 DEBUG : Looking for writers 2025/10/04 04:20:17 DEBUG : file1: reading active writers 2025/10/04 04:20:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 04:20:17.535594 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/04 04:20:17.535632 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/04 04:20:17 DEBUG : Looking for writers 2025/10/04 04:20:17 DEBUG : file1: reading active writers 2025/10/04 04:20:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:18 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/04 04:20:18 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/04 04:20:18 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:20:18 DEBUG : Looking for writers 2025/10/04 04:20:18 DEBUG : file1: reading active writers 2025/10/04 04:20:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:19.573504 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/04 04:20:19.573541 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/04 04:20:19 DEBUG : Looking for writers 2025/10/04 04:20:19 DEBUG : file1: reading active writers 2025/10/04 04:20:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20: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/04 04:20:20 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/04 04:20:20 DEBUG : Looking for writers 2025/10/04 04:20:20 DEBUG : file1: reading active writers 2025/10/04 04:20:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:21 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:20:21.822365 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/04 04:20:21.822398 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/04 04:20:21 DEBUG : Looking for writers 2025/10/04 04:20:21 DEBUG : file1: reading active writers 2025/10/04 04:20:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:22 DEBUG : Looking for writers 2025/10/04 04:20:22 DEBUG : file1: reading active writers 2025/10/04 04:20:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:22 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:20:22 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/04 04:20:23 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:20:23 DEBUG : Looking for writers 2025/10/04 04:20:23 DEBUG : file1: reading active writers 2025/10/04 04:20:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:24.584614 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/04 04:20:24.584640 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/04 04:20:24 DEBUG : Looking for writers 2025/10/04 04:20:24 DEBUG : file1: reading active writers 2025/10/04 04:20:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:25 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/04 04:20:25 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/04 04:20:25 DEBUG : Looking for writers 2025/10/04 04:20:25 DEBUG : file1: reading active writers 2025/10/04 04:20:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:26 DEBUG : Looking for writers 2025/10/04 04:20:26 DEBUG : file1: reading active writers 2025/10/04 04:20:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:27 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:20:27 DEBUG : Looking for writers 2025/10/04 04:20:27 DEBUG : file1: reading active writers 2025/10/04 04:20:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:28.090358 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/04 04:20:28.090397 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/04 04:20:28 DEBUG : Looking for writers 2025/10/04 04:20:28 DEBUG : file1: reading active writers 2025/10/04 04:20:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20: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/04 04:20:29 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/04 04:20:29 DEBUG : Looking for writers 2025/10/04 04:20:29 DEBUG : file1: reading active writers 2025/10/04 04:20:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:30 DEBUG : Looking for writers 2025/10/04 04:20:30 DEBUG : file1: reading active writers 2025/10/04 04:20:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:31 DEBUG : Looking for writers 2025/10/04 04:20:31 DEBUG : file1: reading active writers 2025/10/04 04:20:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:32 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:20:32 DEBUG : Looking for writers 2025/10/04 04:20:32 DEBUG : file1: reading active writers 2025/10/04 04:20:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:33.301894 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/04 04:20:33.301935 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/04 04:20:33 DEBUG : Looking for writers 2025/10/04 04:20:33 DEBUG : file1: reading active writers 2025/10/04 04:20:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:34 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/04 04:20:34 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/04 04:20:34 DEBUG : Looking for writers 2025/10/04 04:20:34 DEBUG : file1: reading active writers 2025/10/04 04:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:35 DEBUG : Looking for writers 2025/10/04 04:20:35 DEBUG : file1: reading active writers 2025/10/04 04:20:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:36 DEBUG : Looking for writers 2025/10/04 04:20:36 DEBUG : file1: reading active writers 2025/10/04 04:20:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:37 DEBUG : Looking for writers 2025/10/04 04:20:37 DEBUG : file1: reading active writers 2025/10/04 04:20:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:38 DEBUG : Looking for writers 2025/10/04 04:20:38 DEBUG : file1: reading active writers 2025/10/04 04:20:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:39 DEBUG : Looking for writers 2025/10/04 04:20:39 DEBUG : file1: reading active writers 2025/10/04 04:20:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:40 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:20:40 DEBUG : Looking for writers 2025/10/04 04:20:40 DEBUG : file1: reading active writers 2025/10/04 04:20:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:41.544871 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/04 04:20:41.544911 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/04 04:20:41 DEBUG : Looking for writers 2025/10/04 04:20:41 DEBUG : file1: reading active writers 2025/10/04 04:20:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:42 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/04 04:20:42 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/04 04:20:42 DEBUG : Looking for writers 2025/10/04 04:20:42 DEBUG : file1: reading active writers 2025/10/04 04:20:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:43 DEBUG : Looking for writers 2025/10/04 04:20:43 DEBUG : file1: reading active writers 2025/10/04 04:20:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:44 DEBUG : Looking for writers 2025/10/04 04:20:44 DEBUG : file1: reading active writers 2025/10/04 04:20:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:45 DEBUG : Looking for writers 2025/10/04 04:20:45 DEBUG : file1: reading active writers 2025/10/04 04:20:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:20:46 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a34690 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0005b8d08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639720768} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992761008604726538 ext:521091631726 loc:0x41313e0} ATime:{wall:13992761008604741947 ext:521091647136 loc:0x41313e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 04:20:46 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/04 04:20:55 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:21:16 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:21:16 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/04 04:21:37 DEBUG : forgetting directory cache 2025/10/04 04:21:41 DEBUG : forgetting directory cache 2025/10/04 04:21:45 DEBUG : forgetting directory cache 2025/10/04 04:21:48 DEBUG : forgetting directory cache 2025/10/04 04:21:52 DEBUG : forgetting directory cache 2025/10/04 04:21:55 DEBUG : forgetting directory cache 2025/10/04 04:21:58 DEBUG : forgetting directory cache 2025/10/04 04:22:02 DEBUG : forgetting directory cache 2025/10/04 04:22:05 DEBUG : forgetting directory cache 2025/10/04 04:22:09 DEBUG : forgetting directory cache 2025/10/04 04:22:12 DEBUG : forgetting directory cache 2025/10/04 04:22:15 DEBUG : forgetting directory cache 2025/10/04 04:22:16 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:22:16 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/04 04:22:19 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/04 04:22:22.237029 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/04 04:22:22.237104 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/04 04:22:22 DEBUG : forgetting directory cache 2025/10/04 04:22:23 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:22:23 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/04 04:22:25 DEBUG : forgetting directory cache 2025/10/04 04:22:29 DEBUG : forgetting directory cache 2025/10/04 04:22:32 DEBUG : forgetting directory cache 2025/10/04 04:22:36 DEBUG : forgetting directory cache 2025/10/04 04:22:39 DEBUG : forgetting directory cache 2025/10/04 04:22:42 DEBUG : forgetting directory cache 2025/10/04 04:22:46 DEBUG : forgetting directory cache 2025/10/04 04:22:48 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:22:49 DEBUG : forgetting directory cache 2025/10/04 04:22:53 DEBUG : forgetting directory cache 2025/10/04 04:22:56 DEBUG : forgetting directory cache 2025/10/04 04:23:00 DEBUG : forgetting directory cache 2025/10/04 04:23:03 DEBUG : forgetting directory cache 2025/10/04 04:23:06 DEBUG : forgetting directory cache 2025/10/04 04:23:10 DEBUG : forgetting directory cache 2025/10/04 04:23:13 DEBUG : forgetting directory cache 2025/10/04 04:23:16 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:23:16 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/04 04:23:17 DEBUG : forgetting directory cache 2025/10/04 04:23:20 DEBUG : forgetting directory cache 2025/10/04 04:23:23 DEBUG : forgetting directory cache 2025/10/04 04:23:27 DEBUG : forgetting directory cache 2025/10/04 04:23:30 DEBUG : forgetting directory cache 2025/10/04 04:23:34 DEBUG : forgetting directory cache 2025/10/04 04:23:37 DEBUG : forgetting directory cache 2025/10/04 04:23:40 DEBUG : forgetting directory cache 2025/10/04 04:23:44 DEBUG : forgetting directory cache 2025/10/04 04:23:48 DEBUG : forgetting directory cache 2025/10/04 04:23:51 DEBUG : forgetting directory cache 2025/10/04 04:23:54 DEBUG : forgetting directory cache 2025/10/04 04:23:58 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/04 04:23:58.893634 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/04 04:23:58.893680 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/04 04:23:59 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/04 04:23:59 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:24:01 DEBUG : forgetting directory cache fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteAt Messages: 1 objects not found 2025/10/04 04:24:02 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:24:02 DEBUG : Looking for writers 2025/10/04 04:24:02 DEBUG : file1: reading active writers 2025/10/04 04:24:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 04:24:02 DEBUG : Looking for writers 2025/10/04 04:24:02 DEBUG : file1: reading active writers 2025/10/04 04:24:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 04:24:02 DEBUG : Looking for writers 2025/10/04 04:24:02 DEBUG : file1: reading active writers 2025/10/04 04:24:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 04:24:02 DEBUG : Looking for writers 2025/10/04 04:24:02 DEBUG : file1: reading active writers 2025/10/04 04:24:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 04:24:02 DEBUG : Looking for writers 2025/10/04 04:24:02 DEBUG : file1: reading active writers 2025/10/04 04:24:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 04:24:02 DEBUG : Looking for writers 2025/10/04 04:24:02 DEBUG : file1: reading active writers 2025/10/04 04:24:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 04:24:03 DEBUG : Looking for writers 2025/10/04 04:24:03 DEBUG : file1: reading active writers 2025/10/04 04:24:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 04:24:03 DEBUG : Looking for writers 2025/10/04 04:24:03 DEBUG : file1: reading active writers 2025/10/04 04:24:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:04 DEBUG : Looking for writers 2025/10/04 04:24:04 DEBUG : file1: reading active writers 2025/10/04 04:24:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:05 DEBUG : forgetting directory cache 2025/10/04 04:24:05 DEBUG : Looking for writers 2025/10/04 04:24:05 DEBUG : file1: reading active writers 2025/10/04 04:24:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:06 DEBUG : Looking for writers 2025/10/04 04:24:06 DEBUG : file1: reading active writers 2025/10/04 04:24:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:07 DEBUG : Looking for writers 2025/10/04 04:24:07 DEBUG : file1: reading active writers 2025/10/04 04:24:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:08 DEBUG : forgetting directory cache 2025/10/04 04:24:08 DEBUG : Looking for writers 2025/10/04 04:24:08 DEBUG : file1: reading active writers 2025/10/04 04:24:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:09 DEBUG : Looking for writers 2025/10/04 04:24:09 DEBUG : file1: reading active writers 2025/10/04 04:24:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:10 DEBUG : Looking for writers 2025/10/04 04:24:10 DEBUG : file1: reading active writers 2025/10/04 04:24:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:11 DEBUG : Looking for writers 2025/10/04 04:24:11 DEBUG : file1: reading active writers 2025/10/04 04:24:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:11 DEBUG : forgetting directory cache 2025/10/04 04:24:12 DEBUG : Looking for writers 2025/10/04 04:24:12 DEBUG : file1: reading active writers 2025/10/04 04:24:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:13 DEBUG : Looking for writers 2025/10/04 04:24:13 DEBUG : file1: reading active writers 2025/10/04 04:24:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:14 DEBUG : Looking for writers 2025/10/04 04:24:14 DEBUG : file1: reading active writers 2025/10/04 04:24:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:15 DEBUG : forgetting directory cache 2025/10/04 04:24:15 DEBUG : Looking for writers 2025/10/04 04:24:15 DEBUG : file1: reading active writers 2025/10/04 04:24:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:16 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:24:16 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/04 04:24:16 DEBUG : Looking for writers 2025/10/04 04:24:16 DEBUG : file1: reading active writers 2025/10/04 04:24:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:17 DEBUG : Looking for writers 2025/10/04 04:24:17 DEBUG : file1: reading active writers 2025/10/04 04:24:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:18 DEBUG : Looking for writers 2025/10/04 04:24:18 DEBUG : file1: reading active writers 2025/10/04 04:24:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:18 DEBUG : forgetting directory cache 2025/10/04 04:24:19 DEBUG : Looking for writers 2025/10/04 04:24:19 DEBUG : file1: reading active writers 2025/10/04 04:24:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:20 DEBUG : Looking for writers 2025/10/04 04:24:20 DEBUG : file1: reading active writers 2025/10/04 04:24:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:21 DEBUG : Looking for writers 2025/10/04 04:24:21 DEBUG : file1: reading active writers 2025/10/04 04:24:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:22 DEBUG : forgetting directory cache 2025/10/04 04:24:22 DEBUG : Looking for writers 2025/10/04 04:24:22 DEBUG : file1: reading active writers 2025/10/04 04:24:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:23 DEBUG : Looking for writers 2025/10/04 04:24:23 DEBUG : file1: reading active writers 2025/10/04 04:24:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:24 DEBUG : Looking for writers 2025/10/04 04:24:24 DEBUG : file1: reading active writers 2025/10/04 04:24:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:25 DEBUG : Looking for writers 2025/10/04 04:24:25 DEBUG : file1: reading active writers 2025/10/04 04:24:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:26 DEBUG : Looking for writers 2025/10/04 04:24:26 DEBUG : file1: reading active writers 2025/10/04 04:24:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:27 DEBUG : Looking for writers 2025/10/04 04:24:27 DEBUG : file1: reading active writers 2025/10/04 04:24:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:28 DEBUG : Looking for writers 2025/10/04 04:24:28 DEBUG : file1: reading active writers 2025/10/04 04:24:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:29 DEBUG : Looking for writers 2025/10/04 04:24:29 DEBUG : file1: reading active writers 2025/10/04 04:24:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:30 DEBUG : Looking for writers 2025/10/04 04:24:30 DEBUG : file1: reading active writers 2025/10/04 04:24:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:31 DEBUG : Looking for writers 2025/10/04 04:24:31 DEBUG : file1: reading active writers 2025/10/04 04:24:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:24:32 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a34690 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0005b8d08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639720768} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992761008604726538 ext:521091631726 loc:0x41313e0} ATime:{wall:13992761008604741947 ext:521091647136 loc:0x41313e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 04:24:32 DEBUG : >WaitForWriters: 2025/10/04 04:24:32 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteAt (352.84s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:26:09 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:26:09 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:26:09 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:26:09 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:26:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:26:09 DEBUG : Config file has changed externally - reloading 2025/10/04 04:26:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:26:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:26:09 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:26:09 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:26:09 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:26:09 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:26:09 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:26:09 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:26:09 DEBUG : file1: newRWFileHandle: 2025/10/04 04:26:09 DEBUG : file1(0xc000965c80): openPending: 2025/10/04 04:26:09 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 04:26:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:26:09 DEBUG : file1(0xc000965c80): >openPending: err= 2025/10/04 04:26:09 DEBUG : file1: >newRWFileHandle: err= 2025/10/04 04:26:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:26:09 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/04 04:26:09 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/04 04:26:09 DEBUG : file1(0xc000965c80): close: 2025/10/04 04:26:09 DEBUG : file1: vfs cache: setting modification time to 2025-10-04 04:26:09.359816889 +0000 UTC m=+873.900797510 2025/10/04 04:26:09 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/04 04:26:09 DEBUG : file1(0xc000965c80): >close: err= 2025/10/04 04:26:09 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/04 04:26:09 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/04 04:26:09 DEBUG : file2: newRWFileHandle: 2025/10/04 04:26:09 DEBUG : file2(0xc000122240): openPending: 2025/10/04 04:26:09 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 04:26:09 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/04 04:26:09 DEBUG : file2(0xc000122240): >openPending: err= 2025/10/04 04:26:09 DEBUG : file2: >newRWFileHandle: err= 2025/10/04 04:26:09 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/04 04:26:09 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/04 04:26:09 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/04 04:26:09 DEBUG : file2(0xc000122240): RWFileHandle.Flush 2025/10/04 04:26:09 DEBUG : file2(0xc000122240): RWFileHandle.Release 2025/10/04 04:26:09 DEBUG : file2(0xc000122240): close: 2025/10/04 04:26:09 DEBUG : file2: vfs cache: setting modification time to 2025-10-04 04:26:09.361385715 +0000 UTC m=+873.902366326 2025/10/04 04:26:09 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/04 04:26:09 DEBUG : file2(0xc000122240): >close: err= 2025/10/04 04:26:09 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:26:09 DEBUG : Looking for writers 2025/10/04 04:26:09 DEBUG : file2: reading active writers 2025/10/04 04:26:09 DEBUG : file1: reading active writers 2025/10/04 04:26:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/04 04:26:09 DEBUG : Looking for writers 2025/10/04 04:26:09 DEBUG : file2: reading active writers 2025/10/04 04:26:09 DEBUG : file1: reading active writers 2025/10/04 04:26:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/04 04:26:09 DEBUG : Looking for writers 2025/10/04 04:26:09 DEBUG : file1: reading active writers 2025/10/04 04:26:09 DEBUG : file2: reading active writers 2025/10/04 04:26:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/04 04:26:09 DEBUG : Looking for writers 2025/10/04 04:26:09 DEBUG : file1: reading active writers 2025/10/04 04:26:09 DEBUG : file2: reading active writers 2025/10/04 04:26:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/04 04:26:09 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:26:09 DEBUG : file2: vfs cache: starting upload 2025/10/04 04:26:09 DEBUG : Looking for writers 2025/10/04 04:26:09 DEBUG : file1: reading active writers 2025/10/04 04:26:09 DEBUG : file2: reading active writers 2025/10/04 04:26:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/04 04:26:09 DEBUG : Looking for writers 2025/10/04 04:26:09 DEBUG : file1: reading active writers 2025/10/04 04:26:09 DEBUG : file2: reading active writers 2025/10/04 04:26:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/04 04:26:09 DEBUG : Looking for writers 2025/10/04 04:26:09 DEBUG : file1: reading active writers 2025/10/04 04:26:09 DEBUG : file2: reading active writers 2025/10/04 04:26:09 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/10/04 04:26:10.320768 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/04 04:26:10.320807 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/04 04:26:10 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/04 04:26:10 INFO : file2: Copied (new) 2025/10/04 04:26:10 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-04 04:26:09.361385715 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/04 04:26:10 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/04 04:26:10 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/04 04:26:10 INFO : file2: vfs cache: upload succeeded try #1 2025/10/04 04:26:10 DEBUG : Looking for writers 2025/10/04 04:26:10 DEBUG : file2: reading active writers 2025/10/04 04:26:10 DEBUG : file1: reading active writers 2025/10/04 04:26:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26: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/04 04:26:11 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/04 04:26:11 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:26:11 DEBUG : Looking for writers 2025/10/04 04:26:11 DEBUG : file1: reading active writers 2025/10/04 04:26:11 DEBUG : file2: reading active writers 2025/10/04 04:26:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:12.500028 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/04 04:26:12.500067 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/04 04:26:12 DEBUG : Looking for writers 2025/10/04 04:26:12 DEBUG : file1: reading active writers 2025/10/04 04:26:12 DEBUG : file2: reading active writers 2025/10/04 04:26:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:13 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:26:13 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/04 04:26:13 DEBUG : Looking for writers 2025/10/04 04:26:13 DEBUG : file1: reading active writers 2025/10/04 04:26:13 DEBUG : file2: reading active writers 2025/10/04 04:26:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:13 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:26:14 DEBUG : Looking for writers 2025/10/04 04:26:14 DEBUG : file2: reading active writers 2025/10/04 04:26:14 DEBUG : file1: reading active writers 2025/10/04 04:26:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:14.805160 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/04 04:26:14.805193 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/04 04:26:15 DEBUG : Looking for writers 2025/10/04 04:26:15 DEBUG : file1: reading active writers 2025/10/04 04:26:15 DEBUG : file2: reading active writers 2025/10/04 04:26:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26: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/04 04:26:15 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/04 04:26:16 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:26:16 DEBUG : Looking for writers 2025/10/04 04:26:16 DEBUG : file1: reading active writers 2025/10/04 04:26:16 DEBUG : file2: reading active writers 2025/10/04 04:26:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:17 DEBUG : Looking for writers 2025/10/04 04:26:17 DEBUG : file1: reading active writers 2025/10/04 04:26:17 DEBUG : file2: reading active writers 2025/10/04 04:26:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:17.663186 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/04 04:26:17.663247 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/04 04:26:18 DEBUG : Looking for writers 2025/10/04 04:26:18 DEBUG : file1: reading active writers 2025/10/04 04:26:18 DEBUG : file2: reading active writers 2025/10/04 04:26:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:18 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/04 04:26:18 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/04 04:26:19 DEBUG : Looking for writers 2025/10/04 04:26:19 DEBUG : file1: reading active writers 2025/10/04 04:26:19 DEBUG : file2: reading active writers 2025/10/04 04:26:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:20 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:26:20 DEBUG : Looking for writers 2025/10/04 04:26:20 DEBUG : file1: reading active writers 2025/10/04 04:26:20 DEBUG : file2: reading active writers 2025/10/04 04:26:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:21.164323 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/04 04:26:21.164364 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/04 04:26:21 DEBUG : Looking for writers 2025/10/04 04:26:21 DEBUG : file1: reading active writers 2025/10/04 04:26:21 DEBUG : file2: reading active writers 2025/10/04 04:26:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:22 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:26:22 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/04 04:26:22 DEBUG : Looking for writers 2025/10/04 04:26:22 DEBUG : file1: reading active writers 2025/10/04 04:26:22 DEBUG : file2: reading active writers 2025/10/04 04:26:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:23 DEBUG : Looking for writers 2025/10/04 04:26:23 DEBUG : file1: reading active writers 2025/10/04 04:26:23 DEBUG : file2: reading active writers 2025/10/04 04:26:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:24 DEBUG : Looking for writers 2025/10/04 04:26:24 DEBUG : file2: reading active writers 2025/10/04 04:26:24 DEBUG : file1: reading active writers 2025/10/04 04:26:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:25 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:26:25 DEBUG : Looking for writers 2025/10/04 04:26:25 DEBUG : file2: reading active writers 2025/10/04 04:26:25 DEBUG : file1: reading active writers 2025/10/04 04:26:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:26.229414 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/04 04:26:26.229447 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/04 04:26:26 DEBUG : Looking for writers 2025/10/04 04:26:26 DEBUG : file1: reading active writers 2025/10/04 04:26:26 DEBUG : file2: reading active writers 2025/10/04 04:26:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:27 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/04 04:26:27 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/04 04:26:27 DEBUG : Looking for writers 2025/10/04 04:26:27 DEBUG : file1: reading active writers 2025/10/04 04:26:27 DEBUG : file2: reading active writers 2025/10/04 04:26:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:28 DEBUG : Looking for writers 2025/10/04 04:26:28 DEBUG : file1: reading active writers 2025/10/04 04:26:28 DEBUG : file2: reading active writers 2025/10/04 04:26:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:29 DEBUG : Looking for writers 2025/10/04 04:26:29 DEBUG : file1: reading active writers 2025/10/04 04:26:29 DEBUG : file2: reading active writers 2025/10/04 04:26:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:30 DEBUG : Looking for writers 2025/10/04 04:26:30 DEBUG : file1: reading active writers 2025/10/04 04:26:30 DEBUG : file2: reading active writers 2025/10/04 04:26:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:31 DEBUG : Looking for writers 2025/10/04 04:26:31 DEBUG : file1: reading active writers 2025/10/04 04:26:31 DEBUG : file2: reading active writers 2025/10/04 04:26:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:32 DEBUG : Looking for writers 2025/10/04 04:26:32 DEBUG : file1: reading active writers 2025/10/04 04:26:32 DEBUG : file2: reading active writers 2025/10/04 04:26:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:33 DEBUG : Looking for writers 2025/10/04 04:26:33 DEBUG : file1: reading active writers 2025/10/04 04:26:33 DEBUG : file2: reading active writers 2025/10/04 04:26:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:33 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:26:34.491547 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/04 04:26:34.491597 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/04 04:26:34 DEBUG : Looking for writers 2025/10/04 04:26:34 DEBUG : file1: reading active writers 2025/10/04 04:26:34 DEBUG : file2: reading active writers 2025/10/04 04:26:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:35 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/04 04:26:35 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/04 04:26:35 DEBUG : Looking for writers 2025/10/04 04:26:35 DEBUG : file1: reading active writers 2025/10/04 04:26:35 DEBUG : file2: reading active writers 2025/10/04 04:26:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:36 DEBUG : Looking for writers 2025/10/04 04:26:36 DEBUG : file1: reading active writers 2025/10/04 04:26:36 DEBUG : file2: reading active writers 2025/10/04 04:26:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:37 DEBUG : Looking for writers 2025/10/04 04:26:37 DEBUG : file1: reading active writers 2025/10/04 04:26:37 DEBUG : file2: reading active writers 2025/10/04 04:26:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:38 DEBUG : Looking for writers 2025/10/04 04:26:38 DEBUG : file1: reading active writers 2025/10/04 04:26:38 DEBUG : file2: reading active writers 2025/10/04 04:26:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:26:39 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a5c870 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0005b9008 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639721536} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992761387444756153 ext:873900797510 loc:0x41313e0} ATime:{wall:13992761387445096863 ext:873901138210 loc:0x41313e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000a5c870 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0005b9108 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639721792} name:file2 opens:0 downloaders: o:0xc000859040 fd: info:{ModTime:{wall:13992761387446324979 ext:873902366326 loc:0x41313e0} ATime:{wall:13992761387446630372 ext:873902671730 loc:0x41313e0} Size:0 Rs:[] Fingerprint:0,2025-10-04 04:26:09.361385715 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 04:26:39 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/04 04:26:48 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:27:09 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/04 04:27:09 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:27:09 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/04 04:28:09 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:28:09 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/04 04:28:09 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': 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/04 04:28:23.163600 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/04 04:28:23.163641 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/04 04:28: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/04 04:28:24 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/04 04:28:49 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:29:09 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:29:09 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/04 04:29:09 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': 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/04 04:30:01.693683 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/04 04:30:01.693742 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/04 04:30:02 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/04 04:30:02 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/04 04:30:05 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:30:05 DEBUG : Looking for writers 2025/10/04 04:30:05 DEBUG : file1: reading active writers 2025/10/04 04:30:05 DEBUG : file2: reading active writers 2025/10/04 04:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 04:30:05 DEBUG : Looking for writers 2025/10/04 04:30:05 DEBUG : file1: reading active writers 2025/10/04 04:30:05 DEBUG : file2: reading active writers 2025/10/04 04:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 04:30:05 DEBUG : Looking for writers 2025/10/04 04:30:05 DEBUG : file1: reading active writers 2025/10/04 04:30:05 DEBUG : file2: reading active writers 2025/10/04 04:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 04:30:05 DEBUG : Looking for writers 2025/10/04 04:30:05 DEBUG : file2: reading active writers 2025/10/04 04:30:05 DEBUG : file1: reading active writers 2025/10/04 04:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 04:30:05 DEBUG : Looking for writers 2025/10/04 04:30:05 DEBUG : file1: reading active writers 2025/10/04 04:30:05 DEBUG : file2: reading active writers 2025/10/04 04:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 04:30:05 DEBUG : Looking for writers 2025/10/04 04:30:05 DEBUG : file1: reading active writers 2025/10/04 04:30:05 DEBUG : file2: reading active writers 2025/10/04 04:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 04:30:05 DEBUG : Looking for writers 2025/10/04 04:30:05 DEBUG : file1: reading active writers 2025/10/04 04:30:05 DEBUG : file2: reading active writers 2025/10/04 04:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 04:30:06 DEBUG : Looking for writers 2025/10/04 04:30:06 DEBUG : file1: reading active writers 2025/10/04 04:30:06 DEBUG : file2: reading active writers 2025/10/04 04:30:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:07 DEBUG : Looking for writers 2025/10/04 04:30:07 DEBUG : file2: reading active writers 2025/10/04 04:30:07 DEBUG : file1: reading active writers 2025/10/04 04:30:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:08 DEBUG : Looking for writers 2025/10/04 04:30:08 DEBUG : file1: reading active writers 2025/10/04 04:30:08 DEBUG : file2: reading active writers 2025/10/04 04:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:09 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:30:09 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/04 04:30:09 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 1, uploading 0, total size 0 (was 0) 2025/10/04 04:30:09 DEBUG : Looking for writers 2025/10/04 04:30:09 DEBUG : file1: reading active writers 2025/10/04 04:30:09 DEBUG : file2: reading active writers 2025/10/04 04:30:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:10 DEBUG : Looking for writers 2025/10/04 04:30:10 DEBUG : file1: reading active writers 2025/10/04 04:30:10 DEBUG : file2: reading active writers 2025/10/04 04:30:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:11 DEBUG : Looking for writers 2025/10/04 04:30:11 DEBUG : file1: reading active writers 2025/10/04 04:30:11 DEBUG : file2: reading active writers 2025/10/04 04:30:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:12 DEBUG : Looking for writers 2025/10/04 04:30:12 DEBUG : file1: reading active writers 2025/10/04 04:30:12 DEBUG : file2: reading active writers 2025/10/04 04:30:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:13 DEBUG : Looking for writers 2025/10/04 04:30:13 DEBUG : file1: reading active writers 2025/10/04 04:30:13 DEBUG : file2: reading active writers 2025/10/04 04:30:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:14 DEBUG : Looking for writers 2025/10/04 04:30:14 DEBUG : file1: reading active writers 2025/10/04 04:30:14 DEBUG : file2: reading active writers 2025/10/04 04:30:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:15 DEBUG : Looking for writers 2025/10/04 04:30:15 DEBUG : file1: reading active writers 2025/10/04 04:30:15 DEBUG : file2: reading active writers 2025/10/04 04:30:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:16 DEBUG : Looking for writers 2025/10/04 04:30:16 DEBUG : file2: reading active writers 2025/10/04 04:30:16 DEBUG : file1: reading active writers 2025/10/04 04:30:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:16 DEBUG : forgetting directory cache 2025/10/04 04:30:17 DEBUG : Looking for writers 2025/10/04 04:30:17 DEBUG : file1: reading active writers 2025/10/04 04:30:17 DEBUG : file2: reading active writers 2025/10/04 04:30:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:18 DEBUG : Looking for writers 2025/10/04 04:30:18 DEBUG : file1: reading active writers 2025/10/04 04:30:18 DEBUG : file2: reading active writers 2025/10/04 04:30:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:19 DEBUG : Looking for writers 2025/10/04 04:30:19 DEBUG : file1: reading active writers 2025/10/04 04:30:19 DEBUG : file2: reading active writers 2025/10/04 04:30:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:20 DEBUG : Looking for writers 2025/10/04 04:30:20 DEBUG : file2: reading active writers 2025/10/04 04:30:20 DEBUG : file1: reading active writers 2025/10/04 04:30:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:21 DEBUG : Looking for writers 2025/10/04 04:30:21 DEBUG : file1: reading active writers 2025/10/04 04:30:21 DEBUG : file2: reading active writers 2025/10/04 04:30:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:22 DEBUG : Looking for writers 2025/10/04 04:30:22 DEBUG : file1: reading active writers 2025/10/04 04:30:22 DEBUG : file2: reading active writers 2025/10/04 04:30:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:23 DEBUG : Looking for writers 2025/10/04 04:30:23 DEBUG : file1: reading active writers 2025/10/04 04:30:23 DEBUG : file2: reading active writers 2025/10/04 04:30:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:24 DEBUG : Looking for writers 2025/10/04 04:30:24 DEBUG : file1: reading active writers 2025/10/04 04:30:24 DEBUG : file2: reading active writers 2025/10/04 04:30:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:25 DEBUG : Looking for writers 2025/10/04 04:30:25 DEBUG : file1: reading active writers 2025/10/04 04:30:25 DEBUG : file2: reading active writers 2025/10/04 04:30:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:26 DEBUG : Looking for writers 2025/10/04 04:30:26 DEBUG : file1: reading active writers 2025/10/04 04:30:26 DEBUG : file2: reading active writers 2025/10/04 04:30:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:27 DEBUG : Looking for writers 2025/10/04 04:30:27 DEBUG : file2: reading active writers 2025/10/04 04:30:27 DEBUG : file1: reading active writers 2025/10/04 04:30:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:28 DEBUG : Looking for writers 2025/10/04 04:30:28 DEBUG : file1: reading active writers 2025/10/04 04:30:28 DEBUG : file2: reading active writers 2025/10/04 04:30:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:29 DEBUG : Looking for writers 2025/10/04 04:30:29 DEBUG : file1: reading active writers 2025/10/04 04:30:29 DEBUG : file2: reading active writers 2025/10/04 04:30:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:30 DEBUG : Looking for writers 2025/10/04 04:30:30 DEBUG : file1: reading active writers 2025/10/04 04:30:30 DEBUG : file2: reading active writers 2025/10/04 04:30:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:31 DEBUG : Looking for writers 2025/10/04 04:30:31 DEBUG : file1: reading active writers 2025/10/04 04:30:31 DEBUG : file2: reading active writers 2025/10/04 04:30:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:32 DEBUG : Looking for writers 2025/10/04 04:30:32 DEBUG : file1: reading active writers 2025/10/04 04:30:32 DEBUG : file2: reading active writers 2025/10/04 04:30:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:33 DEBUG : Looking for writers 2025/10/04 04:30:33 DEBUG : file1: reading active writers 2025/10/04 04:30:33 DEBUG : file2: reading active writers 2025/10/04 04:30:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:34 DEBUG : Looking for writers 2025/10/04 04:30:34 DEBUG : file1: reading active writers 2025/10/04 04:30:34 DEBUG : file2: reading active writers 2025/10/04 04:30:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:30:35 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a5c870 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0005b9008 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639721536} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992761387444756153 ext:873900797510 loc:0x41313e0} ATime:{wall:13992761387445096863 ext:873901138210 loc:0x41313e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000a5c870 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0005b9108 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639721792} name:file2 opens:0 downloaders: o:0xc000859040 fd: info:{ModTime:{wall:13992761387446324979 ext:873902366326 loc:0x41313e0} ATime:{wall:13992761387446630372 ext:873902671730 loc:0x41313e0} Size:0 Rs:[] Fingerprint:0,2025-10-04 04:26:09.361385715 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 04:30:35 DEBUG : >WaitForWriters: 2025/10/04 04:30:35 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteNoWrite (365.52s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:32:14 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:32:14 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:32:14 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:14 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:14 DEBUG : Config file has changed externally - reloading 2025/10/04 04:32:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:32:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:32:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:14 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:32:16.710650 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:32:16.710695 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:32:16 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:32:16 DEBUG : Looking for writers 2025/10/04 04:32:16 DEBUG : >WaitForWriters: 2025/10/04 04:32:16 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (3.65s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:32:18 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:32:18 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:32:18 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:18 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:32:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:32:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:18 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:32:20.136028 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:32:20.136067 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:32:20 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:32:20 DEBUG : Looking for writers 2025/10/04 04:32:20 DEBUG : >WaitForWriters: 2025/10/04 04:32:20 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (3.39s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:32:21 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:32:21 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:32:21 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:21 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:32:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:32:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:21 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:32:21 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:32:21 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:32:21 DEBUG : file1: newRWFileHandle: 2025/10/04 04:32:21 DEBUG : file1(0xc000a29440): openPending: 2025/10/04 04:32:21 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 04:32:21 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:32:21 DEBUG : file1(0xc000a29440): >openPending: err= 2025/10/04 04:32:21 DEBUG : file1: >newRWFileHandle: err= 2025/10/04 04:32:21 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:32:21 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/04 04:32:21 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/04 04:32:23.156565 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:32:23.156615 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "time_test" to "proton drive root link ID 'rclone-test-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:32:23 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:32:23 DEBUG : Looking for writers 2025/10/04 04:32:23 DEBUG : file1: reading active writers 2025/10/04 04:32:23 DEBUG : file1: active writers 1 2025/10/04 04:32:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/04 04:32:23 DEBUG : Looking for writers 2025/10/04 04:32:23 DEBUG : file1: reading active writers 2025/10/04 04:32:23 DEBUG : file1: active writers 1 2025/10/04 04:32:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/04 04:32:23 DEBUG : Looking for writers 2025/10/04 04:32:23 DEBUG : file1: reading active writers 2025/10/04 04:32:23 DEBUG : file1: active writers 1 2025/10/04 04:32:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/04 04:32:23 DEBUG : Looking for writers 2025/10/04 04:32:23 DEBUG : file1: reading active writers 2025/10/04 04:32:23 DEBUG : file1: active writers 1 2025/10/04 04:32:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/04 04:32:23 DEBUG : Looking for writers 2025/10/04 04:32:23 DEBUG : file1: reading active writers 2025/10/04 04:32:23 DEBUG : file1: active writers 1 2025/10/04 04:32:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/04 04:32:23 DEBUG : Looking for writers 2025/10/04 04:32:23 DEBUG : file1: reading active writers 2025/10/04 04:32:23 DEBUG : file1: active writers 1 2025/10/04 04:32:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/04 04:32:23 DEBUG : Looking for writers 2025/10/04 04:32:23 DEBUG : file1: reading active writers 2025/10/04 04:32:23 DEBUG : file1: active writers 1 2025/10/04 04:32:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/04 04:32:24 DEBUG : Looking for writers 2025/10/04 04:32:24 DEBUG : file1: reading active writers 2025/10/04 04:32:24 DEBUG : file1: active writers 1 2025/10/04 04:32:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:25 DEBUG : Looking for writers 2025/10/04 04:32:25 DEBUG : file1: reading active writers 2025/10/04 04:32:25 DEBUG : file1: active writers 1 2025/10/04 04:32:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:26 DEBUG : Looking for writers 2025/10/04 04:32:26 DEBUG : file1: reading active writers 2025/10/04 04:32:26 DEBUG : file1: active writers 1 2025/10/04 04:32:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:27 DEBUG : Looking for writers 2025/10/04 04:32:27 DEBUG : file1: reading active writers 2025/10/04 04:32:27 DEBUG : file1: active writers 1 2025/10/04 04:32:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:28 DEBUG : Looking for writers 2025/10/04 04:32:28 DEBUG : file1: reading active writers 2025/10/04 04:32:28 DEBUG : file1: active writers 1 2025/10/04 04:32:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:29 DEBUG : Looking for writers 2025/10/04 04:32:29 DEBUG : file1: reading active writers 2025/10/04 04:32:29 DEBUG : file1: active writers 1 2025/10/04 04:32:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:30 DEBUG : Looking for writers 2025/10/04 04:32:30 DEBUG : file1: reading active writers 2025/10/04 04:32:30 DEBUG : file1: active writers 1 2025/10/04 04:32:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:31 DEBUG : Looking for writers 2025/10/04 04:32:31 DEBUG : file1: reading active writers 2025/10/04 04:32:31 DEBUG : file1: active writers 1 2025/10/04 04:32:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:32 DEBUG : Looking for writers 2025/10/04 04:32:32 DEBUG : file1: reading active writers 2025/10/04 04:32:32 DEBUG : file1: active writers 1 2025/10/04 04:32:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:33 DEBUG : Looking for writers 2025/10/04 04:32:33 DEBUG : file1: reading active writers 2025/10/04 04:32:33 DEBUG : file1: active writers 1 2025/10/04 04:32:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:34 DEBUG : Looking for writers 2025/10/04 04:32:34 DEBUG : file1: reading active writers 2025/10/04 04:32:34 DEBUG : file1: active writers 1 2025/10/04 04:32:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:35 DEBUG : Looking for writers 2025/10/04 04:32:35 DEBUG : file1: reading active writers 2025/10/04 04:32:35 DEBUG : file1: active writers 1 2025/10/04 04:32:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:36 DEBUG : Looking for writers 2025/10/04 04:32:36 DEBUG : file1: reading active writers 2025/10/04 04:32:36 DEBUG : file1: active writers 1 2025/10/04 04:32:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:37 DEBUG : Looking for writers 2025/10/04 04:32:37 DEBUG : file1: reading active writers 2025/10/04 04:32:37 DEBUG : file1: active writers 1 2025/10/04 04:32:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:38 DEBUG : Looking for writers 2025/10/04 04:32:38 DEBUG : file1: reading active writers 2025/10/04 04:32:38 DEBUG : file1: active writers 1 2025/10/04 04:32:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:39 DEBUG : Looking for writers 2025/10/04 04:32:39 DEBUG : file1: reading active writers 2025/10/04 04:32:39 DEBUG : file1: active writers 1 2025/10/04 04:32:39 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:40 DEBUG : Looking for writers 2025/10/04 04:32:40 DEBUG : file1: reading active writers 2025/10/04 04:32:40 DEBUG : file1: active writers 1 2025/10/04 04:32:40 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:41 DEBUG : Looking for writers 2025/10/04 04:32:41 DEBUG : file1: reading active writers 2025/10/04 04:32:41 DEBUG : file1: active writers 1 2025/10/04 04:32:41 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:42 DEBUG : Looking for writers 2025/10/04 04:32:42 DEBUG : file1: reading active writers 2025/10/04 04:32:42 DEBUG : file1: active writers 1 2025/10/04 04:32:42 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:43 DEBUG : Looking for writers 2025/10/04 04:32:43 DEBUG : file1: reading active writers 2025/10/04 04:32:43 DEBUG : file1: active writers 1 2025/10/04 04:32:43 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:44 DEBUG : Looking for writers 2025/10/04 04:32:44 DEBUG : file1: reading active writers 2025/10/04 04:32:44 DEBUG : file1: active writers 1 2025/10/04 04:32:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:45 DEBUG : Looking for writers 2025/10/04 04:32:45 DEBUG : file1: reading active writers 2025/10/04 04:32:45 DEBUG : file1: active writers 1 2025/10/04 04:32:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:46 DEBUG : Looking for writers 2025/10/04 04:32:46 DEBUG : file1: reading active writers 2025/10/04 04:32:46 DEBUG : file1: active writers 1 2025/10/04 04:32:46 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:47 DEBUG : Looking for writers 2025/10/04 04:32:47 DEBUG : file1: reading active writers 2025/10/04 04:32:47 DEBUG : file1: active writers 1 2025/10/04 04:32:47 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:48 DEBUG : Looking for writers 2025/10/04 04:32:48 DEBUG : file1: reading active writers 2025/10/04 04:32:48 DEBUG : file1: active writers 1 2025/10/04 04:32:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:49 DEBUG : Looking for writers 2025/10/04 04:32:49 DEBUG : file1: reading active writers 2025/10/04 04:32:49 DEBUG : file1: active writers 1 2025/10/04 04:32:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:50 DEBUG : Looking for writers 2025/10/04 04:32:50 DEBUG : file1: reading active writers 2025/10/04 04:32:50 DEBUG : file1: active writers 1 2025/10/04 04:32:50 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:51 DEBUG : Looking for writers 2025/10/04 04:32:51 DEBUG : file1: reading active writers 2025/10/04 04:32:51 DEBUG : file1: active writers 1 2025/10/04 04:32:51 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:52 DEBUG : Looking for writers 2025/10/04 04:32:52 DEBUG : file1: reading active writers 2025/10/04 04:32:52 DEBUG : file1: active writers 1 2025/10/04 04:32:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:32:53 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000acc1e0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc004ac1608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824712107584} name:file1 opens:1 downloaders: o: fd:0xc00008caa8 info:{ModTime:{wall:13992761787452183454 ext:1246476266274 loc:0x41313e0} ATime:{wall:13992761787452183454 ext:1246476266274 loc:0x41313e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/04 04:32:53 DEBUG : >WaitForWriters: 2025/10/04 04:32:53 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (32.07s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:32:53 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:32:53 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:32:53 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:53 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:32:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:32:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-laletuq7cowo" 2025/10/04 04:32:53 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:32:53 DEBUG : forgetting directory cache 2025/10/04 04:32:54.974095 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:32:54.974133 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:32:54 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:32:54 DEBUG : Looking for writers 2025/10/04 04:32:54 DEBUG : >WaitForWriters: 2025/10/04 04:32:54 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (1.86s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:32:56.722478 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:32:56.722528 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (1.79s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:32:58.481845 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:32:58.481889 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.70s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:32:59 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:32:59 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:32:59.929437 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/04 04:32:59.929471 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-laletuq7cowo'": 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/04 04:33:01 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:33:01 DEBUG : Looking for writers 2025/10/04 04:33:01 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (2.52s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:33:01 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:33:01 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:33:02.575544 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/04 04:33:02.575579 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-laletuq7cowo'": 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/04 04:33:03 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:33:03 DEBUG : Looking for writers 2025/10/04 04:33:03 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (2.67s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:33:04 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:33:04 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:33:05.075578 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/04 04:33:05.075614 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-laletuq7cowo'": 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/04 04:33:06 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:33:06 DEBUG : Looking for writers 2025/10/04 04:33:06 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (2.53s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:33:06 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:33:06 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:33:08.686984 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:33:08.687042 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/file2" to "proton drive root link ID 'rclone-test-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:33:08 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:33:08 DEBUG : Looking for writers 2025/10/04 04:33:08 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (3.30s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:33:10 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:33:10 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:33:10 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:33:10 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:33:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:33:10 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:33:10 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:33:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:33:10 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/04 04:33:10 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/04 04:33:10 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/04 04:33:10 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': File to upload is small (5 bytes), uploading instead of streaming 2025/10/04 04:33:11.299038 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/04 04:33:11.299075 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/04 04:33:12 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/04 04:33:12 DEBUG : file1: Remove: 2025/10/04 04:33:12 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:33:12 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/04 04:34:22 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/04 04:36:09 DEBUG : forgetting directory cache 2025/10/04 04:36:09 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/04 04:36:44 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:36:44 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:36:44 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:36:44 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:36:44 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:36:44 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:36:44 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': File to upload is small (0 bytes), uploading instead of streaming 2025/10/04 04:38:21.394413 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/04 04:38:21.394448 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/04 04:38:22 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/04 04:38:22 DEBUG : file1: Remove: 2025/10/04 04:38:22 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:38:22 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/04 04:38:22 DEBUG : Re-reading directory (5m12.124971284s old) 2025/10/04 04:38:22 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/04 04:38:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:38:22 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:38:22 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:38:22 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:38:22 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:38:22 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/04 04:38:22 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:38:22 DEBUG : Looking for writers 2025/10/04 04:38:22 DEBUG : file1: reading active writers 2025/10/04 04:38:22 DEBUG : file1: active writers 1 2025/10/04 04:38:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/04 04:38:22 DEBUG : Looking for writers 2025/10/04 04:38:22 DEBUG : file1: reading active writers 2025/10/04 04:38:22 DEBUG : file1: active writers 1 2025/10/04 04:38:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/04 04:38:22 DEBUG : Looking for writers 2025/10/04 04:38:22 DEBUG : file1: reading active writers 2025/10/04 04:38:22 DEBUG : file1: active writers 1 2025/10/04 04:38:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/04 04:38:22 DEBUG : Looking for writers 2025/10/04 04:38:22 DEBUG : file1: reading active writers 2025/10/04 04:38:22 DEBUG : file1: active writers 1 2025/10/04 04:38:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/04 04:38:22 DEBUG : Looking for writers 2025/10/04 04:38:22 DEBUG : file1: reading active writers 2025/10/04 04:38:22 DEBUG : file1: active writers 1 2025/10/04 04:38:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/04 04:38:23 DEBUG : Looking for writers 2025/10/04 04:38:23 DEBUG : file1: reading active writers 2025/10/04 04:38:23 DEBUG : file1: active writers 1 2025/10/04 04:38:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/04 04:38:23 DEBUG : Looking for writers 2025/10/04 04:38:23 DEBUG : file1: reading active writers 2025/10/04 04:38:23 DEBUG : file1: active writers 1 2025/10/04 04:38:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/04 04:38:24 DEBUG : Looking for writers 2025/10/04 04:38:24 DEBUG : file1: reading active writers 2025/10/04 04:38:24 DEBUG : file1: active writers 1 2025/10/04 04:38:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:25 DEBUG : Looking for writers 2025/10/04 04:38:25 DEBUG : file1: reading active writers 2025/10/04 04:38:25 DEBUG : file1: active writers 1 2025/10/04 04:38:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:26 DEBUG : Looking for writers 2025/10/04 04:38:26 DEBUG : file1: reading active writers 2025/10/04 04:38:26 DEBUG : file1: active writers 1 2025/10/04 04:38:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:27 DEBUG : Looking for writers 2025/10/04 04:38:27 DEBUG : file1: reading active writers 2025/10/04 04:38:27 DEBUG : file1: active writers 1 2025/10/04 04:38:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:28 DEBUG : Looking for writers 2025/10/04 04:38:28 DEBUG : file1: reading active writers 2025/10/04 04:38:28 DEBUG : file1: active writers 1 2025/10/04 04:38:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:29 DEBUG : Looking for writers 2025/10/04 04:38:29 DEBUG : file1: reading active writers 2025/10/04 04:38:29 DEBUG : file1: active writers 1 2025/10/04 04:38:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:30 DEBUG : Looking for writers 2025/10/04 04:38:30 DEBUG : file1: reading active writers 2025/10/04 04:38:30 DEBUG : file1: active writers 1 2025/10/04 04:38:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:31 DEBUG : Looking for writers 2025/10/04 04:38:31 DEBUG : file1: reading active writers 2025/10/04 04:38:31 DEBUG : file1: active writers 1 2025/10/04 04:38:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:32 DEBUG : Looking for writers 2025/10/04 04:38:32 DEBUG : file1: reading active writers 2025/10/04 04:38:32 DEBUG : file1: active writers 1 2025/10/04 04:38:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:33 DEBUG : Looking for writers 2025/10/04 04:38:33 DEBUG : file1: reading active writers 2025/10/04 04:38:33 DEBUG : file1: active writers 1 2025/10/04 04:38:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:34 DEBUG : Looking for writers 2025/10/04 04:38:34 DEBUG : file1: reading active writers 2025/10/04 04:38:34 DEBUG : file1: active writers 1 2025/10/04 04:38:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:35 DEBUG : Looking for writers 2025/10/04 04:38:35 DEBUG : file1: reading active writers 2025/10/04 04:38:35 DEBUG : file1: active writers 1 2025/10/04 04:38:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:36 DEBUG : Looking for writers 2025/10/04 04:38:36 DEBUG : file1: reading active writers 2025/10/04 04:38:36 DEBUG : file1: active writers 1 2025/10/04 04:38:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:37 DEBUG : Looking for writers 2025/10/04 04:38:37 DEBUG : file1: reading active writers 2025/10/04 04:38:37 DEBUG : file1: active writers 1 2025/10/04 04:38:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:38 DEBUG : Looking for writers 2025/10/04 04:38:38 DEBUG : file1: reading active writers 2025/10/04 04:38:38 DEBUG : file1: active writers 1 2025/10/04 04:38:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:39 DEBUG : Looking for writers 2025/10/04 04:38:39 DEBUG : file1: reading active writers 2025/10/04 04:38:39 DEBUG : file1: active writers 1 2025/10/04 04:38:39 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:40 DEBUG : Looking for writers 2025/10/04 04:38:40 DEBUG : file1: reading active writers 2025/10/04 04:38:40 DEBUG : file1: active writers 1 2025/10/04 04:38:40 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:41 DEBUG : Looking for writers 2025/10/04 04:38:41 DEBUG : file1: reading active writers 2025/10/04 04:38:41 DEBUG : file1: active writers 1 2025/10/04 04:38:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:42 DEBUG : Looking for writers 2025/10/04 04:38:42 DEBUG : file1: reading active writers 2025/10/04 04:38:42 DEBUG : file1: active writers 1 2025/10/04 04:38:42 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:43 DEBUG : Looking for writers 2025/10/04 04:38:43 DEBUG : file1: reading active writers 2025/10/04 04:38:43 DEBUG : file1: active writers 1 2025/10/04 04:38:43 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:44 DEBUG : Looking for writers 2025/10/04 04:38:44 DEBUG : file1: reading active writers 2025/10/04 04:38:44 DEBUG : file1: active writers 1 2025/10/04 04:38:44 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:45 DEBUG : Looking for writers 2025/10/04 04:38:45 DEBUG : file1: reading active writers 2025/10/04 04:38:45 DEBUG : file1: active writers 1 2025/10/04 04:38:45 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:46 DEBUG : Looking for writers 2025/10/04 04:38:46 DEBUG : file1: reading active writers 2025/10/04 04:38:46 DEBUG : file1: active writers 1 2025/10/04 04:38:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:47 DEBUG : Looking for writers 2025/10/04 04:38:47 DEBUG : file1: reading active writers 2025/10/04 04:38:47 DEBUG : file1: active writers 1 2025/10/04 04:38:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:48 DEBUG : Looking for writers 2025/10/04 04:38:48 DEBUG : file1: reading active writers 2025/10/04 04:38:48 DEBUG : file1: active writers 1 2025/10/04 04:38:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:49 DEBUG : Looking for writers 2025/10/04 04:38:49 DEBUG : file1: reading active writers 2025/10/04 04:38:49 DEBUG : file1: active writers 1 2025/10/04 04:38:49 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:50 DEBUG : Looking for writers 2025/10/04 04:38:50 DEBUG : file1: reading active writers 2025/10/04 04:38:50 DEBUG : file1: active writers 1 2025/10/04 04:38:50 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:51 DEBUG : Looking for writers 2025/10/04 04:38:51 DEBUG : file1: reading active writers 2025/10/04 04:38:51 DEBUG : file1: active writers 1 2025/10/04 04:38:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:52 DEBUG : Looking for writers 2025/10/04 04:38:52 DEBUG : file1: reading active writers 2025/10/04 04:38:52 DEBUG : file1: active writers 1 2025/10/04 04:38:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:38:52 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/04 04:38:52 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (343.37s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:38:53 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:38:53 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:38:53 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:38:53 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:38:53 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:38:53 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:38:53 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:38:53 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:38:53 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/04 04:38:54 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/04 04:38:54 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/04 04:38:54 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/04 04:38:54 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': File to upload is small (11 bytes), uploading instead of streaming 2025/10/04 04:38:55.625346 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/04 04:38:55.625409 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/04 04:38:56 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/04 04:38:56 DEBUG : file1: Remove: 2025/10/04 04:38:56 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:38:56 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/04 04:38:56 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/04 04:40:16 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/04 04:42:14 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/04 04:42:18 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/04 04:42:20 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:42:20 DEBUG : Looking for writers 2025/10/04 04:42:20 DEBUG : >WaitForWriters: 2025/10/04 04:42:21 DEBUG : forgetting directory cache 2025/10/04 04:42:59 DEBUG : forgetting directory cache 2025/10/04 04:43:01 DEBUG : forgetting directory cache 2025/10/04 04:43:04 DEBUG : forgetting directory cache 2025/10/04 04:43:06 DEBUG : forgetting directory cache --- FAIL: TestWriteFileHandleWriteAt (305.56s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:43:59 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:43:59 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:43:59 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:43:59 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:43:59 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:43:59 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:43:59 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:43:59 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/04 04:43:59 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:43:59 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': File to upload is small (5 bytes), uploading instead of streaming 2025/10/04 04:44:00.101974 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/04 04:44:00.102022 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/04 04:44:01 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/04 04:44:01 DEBUG : file1: Remove: 2025/10/04 04:44:01 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:44:01 DEBUG : file1: >Remove: err= 2025/10/04 04:44:01 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/04 04:44:01 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/04 04:44:01 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:44:01 DEBUG : Looking for writers 2025/10/04 04:44:01 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (2.68s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:44:01 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:44:01 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:44:01 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:44:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:44:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:44:02 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:44:02 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:44:02 DEBUG : file1: WriteFileHandle.Release closing 2025/10/04 04:44:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:44:02 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': File to upload is small (0 bytes), uploading instead of streaming 2025/10/04 04:44:02.913378 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/04 04:44:02.913401 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/04 04:44:04 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:44:04 DEBUG : file1: Remove: 2025/10/04 04:44:04 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:44:04 DEBUG : file1: >Remove: err= 2025/10/04 04:44:04 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/04 04:44:04 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/04 04:44:04 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:44:04 DEBUG : Looking for writers 2025/10/04 04:44:04 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (2.97s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:44:04 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:44:04 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:44:04 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:44:04 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:44:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:44:04 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:44:04 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:44:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:44:04 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': File to upload is small (2 bytes), uploading instead of streaming 2025/10/04 04:44:05.798588 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/04 04:44:05.798667 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/04 04:44:06 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:44:06 DEBUG : file1: Remove: 2025/10/04 04:44:06 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:44:06 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/04 04:44:06 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:44:06 DEBUG : Looking for writers 2025/10/04 04:44:06 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (2.73s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:44:07 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:44:07 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:44:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:44:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:44:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:44:07 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:44:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:44:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:44:07 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': File to upload is small (0 bytes), uploading instead of streaming 2025/10/04 04:44:08.602700 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/04 04:44:08.602738 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/04 04:44:09 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/04 04:44:09 DEBUG : file1: Remove: 2025/10/04 04:44:09 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:44:09 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/04 04:44:09 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/04 04:44:09 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/04 04:44:09 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:44:09 DEBUG : Looking for writers 2025/10/04 04:44:09 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (2.83s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:44:10 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:44:10 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:44:10 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:44:10 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:44:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:44:10 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:44:10 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:44:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:44:10 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': File to upload is small (100 bytes), uploading instead of streaming 2025/10/04 04:44:11.362499 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/04 04:44:11.362541 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/04 04:44:12 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/04 04:44:12 DEBUG : file1: Remove: 2025/10/04 04:44:12 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:44:12 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/04 04:44:12 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/04 04:44:12 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/04 04:44:12 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:44:12 DEBUG : Looking for writers 2025/10/04 04:44:12 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (2.84s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:44:13 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:44:13 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:44:15.185905 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:44:15.185953 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:44:15 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:44:15 DEBUG : Looking for writers 2025/10/04 04:44:15 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (3.52s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:44:16 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:44:16 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:44:18.584130 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:44:18.584158 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:44:18 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:44:18 DEBUG : Looking for writers 2025/10/04 04:44:18 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (3.50s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:44:20 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:44:20 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:44:22 DEBUG : forgetting directory cache 2025/10/04 04:44:22.578948 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:44:22.578987 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:44:22 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:44:22 DEBUG : Looking for writers 2025/10/04 04:44:22 DEBUG : >WaitForWriters: 2025/10/04 04:44:22.888230 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:44:22.888270 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (3.95s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-laletuq7cowo'", Local "Local file system at /tmp/rclone4253509558", Modify Window "1s" 2025/10/04 04:44:24 INFO : proton drive root link ID 'rclone-test-laletuq7cowo': poll-interval is not supported by this remote 2025/10/04 04:44:24 NOTICE: proton drive root link ID 'rclone-test-laletuq7cowo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:44:26.004237 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:44:26.004275 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-laletuq7cowo'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:44:26 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:44:26 DEBUG : Looking for writers 2025/10/04 04:44:26 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (3.43s) FAIL 2025/10/04 04:44:27 DEBUG : proton drive root link ID 'rclone-test-laletuq7cowo': 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 32m52.612745622s (try 4/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]