"./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/07 06:14:11 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-darotih6pita" 2025/10/07 06:14:11 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/07 06:14:11 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': Has cached credentials 2025/10/07 06:14:12 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': Used cached credential to initialize the ProtonDrive API 2025/10/07 06:14:12 DEBUG : Creating backend with remote "/tmp/rclone323934788" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:12 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:12 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:18.318970 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:18.319018 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:18 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:18 DEBUG : Looking for writers 2025/10/07 06:14:18 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (6.56s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:19 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:19 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:20.483372 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:20.483419 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:20 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:20 DEBUG : Looking for writers 2025/10/07 06:14:20 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (2.16s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:21 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:21 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:22.603657 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:22.603687 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:22 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:22 DEBUG : Looking for writers 2025/10/07 06:14:22 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (2.10s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:23 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:23 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:24.627549 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:24.627622 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:24 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:24 DEBUG : Looking for writers 2025/10/07 06:14:24 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (2.11s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:25 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:25 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:26.834030 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:26.834068 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:26 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:26 DEBUG : Looking for writers 2025/10/07 06:14:26 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (2.16s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:27 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:27 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:28.922335 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:28.922371 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:28 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:28 DEBUG : Looking for writers 2025/10/07 06:14:28 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (2.09s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:29 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:29 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:31.051995 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:31.052051 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:31 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:31 DEBUG : Looking for writers 2025/10/07 06:14:31 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (2.12s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:31 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:31 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:33.166044 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:33.166092 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:33 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:33 DEBUG : Looking for writers 2025/10/07 06:14:33 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (2.13s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:34 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:34 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:35.282857 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:35.282907 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:35 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:35 DEBUG : Looking for writers 2025/10/07 06:14:35 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (2.13s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:36 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:36 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:37.403822 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:37.403871 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:37 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:37 DEBUG : Looking for writers 2025/10/07 06:14:37 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (2.11s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:38 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:38 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:39.508901 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:39.508937 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:39 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:39 DEBUG : Looking for writers 2025/10/07 06:14:39 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (2.15s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:40 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:40 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:41.672287 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:41.672338 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:41 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:41 DEBUG : Looking for writers 2025/10/07 06:14:41 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (2.13s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:42 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:42 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:43.866395 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:43.866443 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:43 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:43 DEBUG : Looking for writers 2025/10/07 06:14:43 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (2.21s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:44 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:44 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:45.956206 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:45.956247 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:45 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:45 DEBUG : Looking for writers 2025/10/07 06:14:45 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (2.07s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:46 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:46 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:48.055377 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:48.055428 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:48 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:48 DEBUG : Looking for writers 2025/10/07 06:14:48 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (2.09s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:48 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:48 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:50.182526 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:50.182585 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:50 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:50 DEBUG : Looking for writers 2025/10/07 06:14:50 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (2.12s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:51 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:51 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:52.271774 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:52.271818 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:52 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:52 DEBUG : Looking for writers 2025/10/07 06:14:52 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (2.07s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:53 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:53 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:54.391064 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:54.391120 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:54 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:54 DEBUG : Looking for writers 2025/10/07 06:14:54 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (2.16s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:55 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:55 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:56.842920 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:56.842966 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:56 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:56 DEBUG : Looking for writers 2025/10/07 06:14:56 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (2.42s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:57 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:57 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:14:58.933404 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:14:58.933437 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:14:58 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:14:58 DEBUG : Looking for writers 2025/10/07 06:14:58 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (2.12s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:14:59 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:14:59 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:01.057617 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:01.057655 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:01 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:01 DEBUG : Looking for writers 2025/10/07 06:15:01 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (2.21s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:02 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:02 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:03.341772 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:03.341799 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:03 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:03 DEBUG : Looking for writers 2025/10/07 06:15:03 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:04 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:04 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:05.440367 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:05.440696 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:05 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:05 DEBUG : Looking for writers 2025/10/07 06:15:05 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:06 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:06 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:07.831022 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:07.831056 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:07 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:07 DEBUG : Looking for writers 2025/10/07 06:15:07 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:08 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:08 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:08 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:08 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:08 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:15:09.988280 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:09.988369 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:09 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:09 DEBUG : Looking for writers 2025/10/07 06:15:09 DEBUG : >WaitForWriters: 2025/10/07 06:15:09 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:10 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:10 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:10 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:10 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:10 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:15:12.148237 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:12.148275 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:12 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:12 DEBUG : Looking for writers 2025/10/07 06:15:12 DEBUG : >WaitForWriters: 2025/10/07 06:15:12 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:13 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:13 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:13 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:13 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:13 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:15:14.357492 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:14.357530 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:14 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:14 DEBUG : Looking for writers 2025/10/07 06:15:14 DEBUG : >WaitForWriters: 2025/10/07 06:15:14 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (13.24s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (2.20s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (2.34s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (2.17s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (2.13s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (2.26s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (2.14s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:15 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:15 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:16.581630 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:16.581663 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:16 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:16 DEBUG : Looking for writers 2025/10/07 06:15:16 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (2.16s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:17 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:17 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:18.719380 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:18.719407 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:18 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:18 DEBUG : Looking for writers 2025/10/07 06:15:18 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (2.16s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:19 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:19 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:20.878671 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:20.878785 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:20 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:20 DEBUG : Looking for writers 2025/10/07 06:15:20 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (2.20s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:21 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:21 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:23.071363 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:23.071401 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:23 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:23 DEBUG : Looking for writers 2025/10/07 06:15:23 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (2.16s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:23 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:23 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:25.255778 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:25.255834 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:25 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:25 DEBUG : Looking for writers 2025/10/07 06:15:25 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (2.17s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:26 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:26 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:27.400656 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:27.400683 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:27 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:27 DEBUG : Looking for writers 2025/10/07 06:15:27 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:28 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:28 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:28 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:28 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:28 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:28 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:28 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:28 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:15:29.533142 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:29.533192 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:29 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:29 DEBUG : Looking for writers 2025/10/07 06:15:29 DEBUG : >WaitForWriters: 2025/10/07 06:15:29 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:30 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:30 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:30 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:30 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:30 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:30 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:30 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:30 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:15:31.668530 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:31.668584 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:31 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:31 DEBUG : Looking for writers 2025/10/07 06:15:31 DEBUG : >WaitForWriters: 2025/10/07 06:15:31 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:32 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:32 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:32 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:32 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:32 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:32 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:32 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:32 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:32 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:32 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:32 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:15:33.801668 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:33.801783 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:33 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:33 DEBUG : Looking for writers 2025/10/07 06:15:33 DEBUG : >WaitForWriters: 2025/10/07 06:15:33 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:34 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:34 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:34 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:34 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:34 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:15:35.986405 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:35.986441 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:35 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:35 DEBUG : Looking for writers 2025/10/07 06:15:35 DEBUG : >WaitForWriters: 2025/10/07 06:15:35 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:36 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:36 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:36 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:36 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:36 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:15:38.227348 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:38.227387 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:38 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:38 DEBUG : Looking for writers 2025/10/07 06:15:38 DEBUG : >WaitForWriters: 2025/10/07 06:15:38 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestFileRename (13.15s) --- FAIL: TestFileRename/off,forceCache=false (2.18s) --- FAIL: TestFileRename/minimal,forceCache=false (2.10s) --- FAIL: TestFileRename/minimal,forceCache=true (2.16s) --- FAIL: TestFileRename/writes,forceCache=false (2.15s) --- FAIL: TestFileRename/writes,forceCache=true (2.16s) --- FAIL: TestFileRename/full,forceCache=false (2.40s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:39 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:39 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:40.577182 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:40.577225 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:40 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:40 DEBUG : Looking for writers 2025/10/07 06:15:40 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (2.16s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:41 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:41 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:42.696791 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:42.696827 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:42 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:42 DEBUG : Looking for writers 2025/10/07 06:15:42 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (2.12s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:43 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:43 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:44.765952 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:44.765991 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:44 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:44 DEBUG : Looking for writers 2025/10/07 06:15:44 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (2.50s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:46 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:46 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:47.275481 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:47.275517 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:47 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:47 DEBUG : Looking for writers 2025/10/07 06:15:47 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (2.11s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:48 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:48 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:15:49.471025 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:49.471073 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:49 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:49 DEBUG : Looking for writers 2025/10/07 06:15:49 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (2.18s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:50 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:50 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:50 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:50 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:50 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:15:51.751772 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:51.751808 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:51 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:51 DEBUG : Looking for writers 2025/10/07 06:15:51 DEBUG : >WaitForWriters: 2025/10/07 06:15:51 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (2.36s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:52 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:52 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:52 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:52 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:52 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:15:53.975356 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:53.975406 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:53 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:53 DEBUG : Looking for writers 2025/10/07 06:15:53 DEBUG : >WaitForWriters: 2025/10/07 06:15:53 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (2.15s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:54 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:54 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:54 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:54 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:54 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:15:56.149288 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:56.149341 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:56 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:56 DEBUG : Looking for writers 2025/10/07 06:15:56 DEBUG : >WaitForWriters: 2025/10/07 06:15:56 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (2.16s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:57 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:57 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:57 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:57 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:57 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:15:58.238862 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:15:58.238910 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:15:58 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:15:58 DEBUG : Looking for writers 2025/10/07 06:15:58 DEBUG : >WaitForWriters: 2025/10/07 06:15:58 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (2.10s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:15:59 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:15:59 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:15:59 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:59 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:15:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:15:59 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:16:00.367988 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:16:00.368035 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:16:00 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:16:00 DEBUG : Looking for writers 2025/10/07 06:16:00 DEBUG : >WaitForWriters: 2025/10/07 06:16:00 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (2.13s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:16:01 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:16:01 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:16:01 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:16:01 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:16:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:16:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:16:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:16:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:16:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:16:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:16:01 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:16:01 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:16:01 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:16:01 DEBUG : file1: newRWFileHandle: 2025/10/07 06:16:01 DEBUG : file1(0xc00061ec00): openPending: 2025/10/07 06:16:01 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/07 06:16:01 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:16:01 DEBUG : file1(0xc00061ec00): >openPending: err= 2025/10/07 06:16:01 DEBUG : file1: >newRWFileHandle: err= 2025/10/07 06:16:01 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:16:01 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/07 06:16:01 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/07 06:16:01 DEBUG : file1(0xc00061ec00): _writeAt: size=5, off=0 2025/10/07 06:16:01 DEBUG : file1(0xc00061ec00): >_writeAt: n=5, err= 2025/10/07 06:16:01 DEBUG : file1(0xc00061ec00): _writeAt: size=7, off=5 2025/10/07 06:16:01 DEBUG : file1(0xc00061ec00): >_writeAt: n=7, err= 2025/10/07 06:16:01 DEBUG : file1: vfs cache: truncate to size=11 2025/10/07 06:16:01 DEBUG : file1(0xc00061ec00): close: 2025/10/07 06:16:01 DEBUG : file1: vfs cache: setting modification time to 2025-10-07 06:16:01.495305322 +0000 UTC m=+110.376425144 2025/10/07 06:16:01 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/07 06:16:01 DEBUG : file1(0xc00061ec00): >close: err= 2025/10/07 06:16:01 DEBUG : file1(0xc00061ec00): close: 2025/10/07 06:16:01 DEBUG : file1(0xc00061ec00): >close: err=file already closed 2025/10/07 06:16:01 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:16:01 DEBUG : Looking for writers 2025/10/07 06:16:01 DEBUG : file1: reading active writers 2025/10/07 06:16:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/07 06:16:01 DEBUG : Looking for writers 2025/10/07 06:16:01 DEBUG : file1: reading active writers 2025/10/07 06:16:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/07 06:16:01 DEBUG : Looking for writers 2025/10/07 06:16:01 DEBUG : file1: reading active writers 2025/10/07 06:16:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/07 06:16:01 DEBUG : Looking for writers 2025/10/07 06:16:01 DEBUG : file1: reading active writers 2025/10/07 06:16:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/07 06:16:01 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:16:01 DEBUG : Looking for writers 2025/10/07 06:16:01 DEBUG : file1: reading active writers 2025/10/07 06:16:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/07 06:16:01 DEBUG : Looking for writers 2025/10/07 06:16:01 DEBUG : file1: reading active writers 2025/10/07 06:16:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/07 06:16:02 DEBUG : Looking for writers 2025/10/07 06:16:02 DEBUG : file1: reading active writers 2025/10/07 06:16:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/07 06:16:02.413838 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:16:02.413918 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:16:02 ERROR : file1: Failed to copy: 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:16:02 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://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:16:02 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:16:02 DEBUG : Looking for writers 2025/10/07 06:16:02 DEBUG : file1: reading active writers 2025/10/07 06:16:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:03.088858 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/07 06:16:03.088895 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/07 06:16:03 DEBUG : Looking for writers 2025/10/07 06:16:03 DEBUG : file1: reading active writers 2025/10/07 06:16:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:03 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 06:16:03 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/07 06:16:04 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:16:04.613136 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/07 06:16:04.613184 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/07 06:16:04 DEBUG : Looking for writers 2025/10/07 06:16:04 DEBUG : file1: reading active writers 2025/10/07 06:16:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:05 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 06:16:05 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/07 06:16:05 DEBUG : Looking for writers 2025/10/07 06:16:05 DEBUG : file1: reading active writers 2025/10/07 06:16:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:06 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:16:06.570091 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/07 06:16:06.570129 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/07 06:16:06 DEBUG : Looking for writers 2025/10/07 06:16:06 DEBUG : file1: reading active writers 2025/10/07 06:16:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16: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/07 06:16:07 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/07 06:16:07 DEBUG : Looking for writers 2025/10/07 06:16:07 DEBUG : file1: reading active writers 2025/10/07 06:16:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:08 DEBUG : Looking for writers 2025/10/07 06:16:08 DEBUG : file1: reading active writers 2025/10/07 06:16:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:08 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:16:09.425219 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/07 06:16:09.425244 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/07 06:16:09 DEBUG : Looking for writers 2025/10/07 06:16:09 DEBUG : file1: reading active writers 2025/10/07 06:16:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:10 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 06:16:10 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 06:16:10 DEBUG : Looking for writers 2025/10/07 06:16:10 DEBUG : file1: reading active writers 2025/10/07 06:16:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:11 DEBUG : Looking for writers 2025/10/07 06:16:11 DEBUG : file1: reading active writers 2025/10/07 06:16:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:12 DEBUG : Looking for writers 2025/10/07 06:16:12 DEBUG : file1: reading active writers 2025/10/07 06:16:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:13 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:16:13 DEBUG : Looking for writers 2025/10/07 06:16:13 DEBUG : file1: reading active writers 2025/10/07 06:16:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:13.957053 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/07 06:16:13.957093 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/07 06:16:14 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 06:16:14 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/07 06:16:14 DEBUG : Looking for writers 2025/10/07 06:16:14 DEBUG : file1: reading active writers 2025/10/07 06:16:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:15 DEBUG : Looking for writers 2025/10/07 06:16:15 DEBUG : file1: reading active writers 2025/10/07 06:16:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:16 DEBUG : Looking for writers 2025/10/07 06:16:16 DEBUG : file1: reading active writers 2025/10/07 06:16:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:17 DEBUG : Looking for writers 2025/10/07 06:16:17 DEBUG : file1: reading active writers 2025/10/07 06:16:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:18 DEBUG : Looking for writers 2025/10/07 06:16:18 DEBUG : file1: reading active writers 2025/10/07 06:16:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:19 DEBUG : Looking for writers 2025/10/07 06:16:19 DEBUG : file1: reading active writers 2025/10/07 06:16:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:20 DEBUG : Looking for writers 2025/10/07 06:16:20 DEBUG : file1: reading active writers 2025/10/07 06:16:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:21 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:16:21.611175 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/07 06:16:21.611214 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/07 06:16:21 DEBUG : Looking for writers 2025/10/07 06:16:21 DEBUG : file1: reading active writers 2025/10/07 06:16:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16: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/07 06:16:22 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/07 06:16:22 DEBUG : Looking for writers 2025/10/07 06:16:22 DEBUG : file1: reading active writers 2025/10/07 06:16:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:23 DEBUG : Looking for writers 2025/10/07 06:16:23 DEBUG : file1: reading active writers 2025/10/07 06:16:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:24 DEBUG : Looking for writers 2025/10/07 06:16:24 DEBUG : file1: reading active writers 2025/10/07 06:16:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:25 DEBUG : Looking for writers 2025/10/07 06:16:25 DEBUG : file1: reading active writers 2025/10/07 06:16:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:26 DEBUG : Looking for writers 2025/10/07 06:16:26 DEBUG : file1: reading active writers 2025/10/07 06:16:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:27 DEBUG : Looking for writers 2025/10/07 06:16:27 DEBUG : file1: reading active writers 2025/10/07 06:16:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:28 DEBUG : Looking for writers 2025/10/07 06:16:28 DEBUG : file1: reading active writers 2025/10/07 06:16:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:29 DEBUG : Looking for writers 2025/10/07 06:16:29 DEBUG : file1: reading active writers 2025/10/07 06:16:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:30 DEBUG : Looking for writers 2025/10/07 06:16:30 DEBUG : file1: reading active writers 2025/10/07 06:16:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:16:31 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a7ce10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00062b608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640190016} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993046779567129194 ext:110376425144 loc:0x4135660} ATime:{wall:13993046779567161845 ext:110376457805 loc:0x4135660} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/07 06:16:31 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/07 06:16:35 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:17:01 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 06:17:01 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/07 06:18:01 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 06:18:01 INFO : proton drive root link ID 'rclone-test-darotih6pita': 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/07 06:18:23.521974 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/07 06:18:23.522021 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/07 06:18: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/07 06:18: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/07 06:18:49 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:19:01 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 06:19:01 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/07 06:20:01 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 06:20:01 INFO : proton drive root link ID 'rclone-test-darotih6pita': 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/07 06:20:14.300678 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/07 06:20:14.300764 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/07 06:20:14 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 06:20:14 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/07 06:20:18 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:20:18 DEBUG : Looking for writers 2025/10/07 06:20:18 DEBUG : file1: reading active writers 2025/10/07 06:20:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/07 06:20:18 DEBUG : Looking for writers 2025/10/07 06:20:18 DEBUG : file1: reading active writers 2025/10/07 06:20:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/07 06:20:18 DEBUG : Looking for writers 2025/10/07 06:20:18 DEBUG : file1: reading active writers 2025/10/07 06:20:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/07 06:20:18 DEBUG : Looking for writers 2025/10/07 06:20:18 DEBUG : file1: reading active writers 2025/10/07 06:20:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/07 06:20:18 DEBUG : Looking for writers 2025/10/07 06:20:18 DEBUG : file1: reading active writers 2025/10/07 06:20:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/07 06:20:18 DEBUG : Looking for writers 2025/10/07 06:20:18 DEBUG : file1: reading active writers 2025/10/07 06:20:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/07 06:20:18 DEBUG : Looking for writers 2025/10/07 06:20:18 DEBUG : file1: reading active writers 2025/10/07 06:20:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/07 06:20:19 DEBUG : Looking for writers 2025/10/07 06:20:19 DEBUG : file1: reading active writers 2025/10/07 06:20:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:20 DEBUG : Looking for writers 2025/10/07 06:20:20 DEBUG : file1: reading active writers 2025/10/07 06:20:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:21 DEBUG : Looking for writers 2025/10/07 06:20:21 DEBUG : file1: reading active writers 2025/10/07 06:20:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:22 DEBUG : Looking for writers 2025/10/07 06:20:22 DEBUG : file1: reading active writers 2025/10/07 06:20:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:23 DEBUG : Looking for writers 2025/10/07 06:20:23 DEBUG : file1: reading active writers 2025/10/07 06:20:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:24 DEBUG : Looking for writers 2025/10/07 06:20:24 DEBUG : file1: reading active writers 2025/10/07 06:20:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:25 DEBUG : Looking for writers 2025/10/07 06:20:25 DEBUG : file1: reading active writers 2025/10/07 06:20:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:26 DEBUG : Looking for writers 2025/10/07 06:20:26 DEBUG : file1: reading active writers 2025/10/07 06:20:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:27 DEBUG : Looking for writers 2025/10/07 06:20:27 DEBUG : file1: reading active writers 2025/10/07 06:20:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:28 DEBUG : Looking for writers 2025/10/07 06:20:28 DEBUG : file1: reading active writers 2025/10/07 06:20:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:29 DEBUG : Looking for writers 2025/10/07 06:20:29 DEBUG : file1: reading active writers 2025/10/07 06:20:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:30 DEBUG : Looking for writers 2025/10/07 06:20:30 DEBUG : file1: reading active writers 2025/10/07 06:20:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:31 DEBUG : Looking for writers 2025/10/07 06:20:31 DEBUG : file1: reading active writers 2025/10/07 06:20:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:32 DEBUG : Looking for writers 2025/10/07 06:20:32 DEBUG : file1: reading active writers 2025/10/07 06:20:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:33 DEBUG : Looking for writers 2025/10/07 06:20:33 DEBUG : file1: reading active writers 2025/10/07 06:20:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:34 DEBUG : Looking for writers 2025/10/07 06:20:34 DEBUG : file1: reading active writers 2025/10/07 06:20:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:35 DEBUG : Looking for writers 2025/10/07 06:20:35 DEBUG : file1: reading active writers 2025/10/07 06:20:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:36 DEBUG : Looking for writers 2025/10/07 06:20:36 DEBUG : file1: reading active writers 2025/10/07 06:20:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:37 DEBUG : Looking for writers 2025/10/07 06:20:37 DEBUG : file1: reading active writers 2025/10/07 06:20:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:38 DEBUG : Looking for writers 2025/10/07 06:20:38 DEBUG : file1: reading active writers 2025/10/07 06:20:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:39 DEBUG : Looking for writers 2025/10/07 06:20:39 DEBUG : file1: reading active writers 2025/10/07 06:20:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:40 DEBUG : Looking for writers 2025/10/07 06:20:40 DEBUG : file1: reading active writers 2025/10/07 06:20:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:41 DEBUG : Looking for writers 2025/10/07 06:20:41 DEBUG : file1: reading active writers 2025/10/07 06:20:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:42 DEBUG : Looking for writers 2025/10/07 06:20:42 DEBUG : file1: reading active writers 2025/10/07 06:20:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:43 DEBUG : Looking for writers 2025/10/07 06:20:43 DEBUG : file1: reading active writers 2025/10/07 06:20:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:44 DEBUG : Looking for writers 2025/10/07 06:20:44 DEBUG : file1: reading active writers 2025/10/07 06:20:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:45 DEBUG : Looking for writers 2025/10/07 06:20:45 DEBUG : file1: reading active writers 2025/10/07 06:20:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:46 DEBUG : Looking for writers 2025/10/07 06:20:46 DEBUG : file1: reading active writers 2025/10/07 06:20:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:47 DEBUG : Looking for writers 2025/10/07 06:20:47 DEBUG : file1: reading active writers 2025/10/07 06:20:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:20:48 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a7ce10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00062b608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640190016} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993046779567129194 ext:110376425144 loc:0x4135660} ATime:{wall:13993046779567161845 ext:110376457805 loc:0x4135660} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/07 06:20:48 DEBUG : >WaitForWriters: 2025/10/07 06:20:48 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (397.90s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:22:39 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:22:39 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:22:39 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:22:39 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:22:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:22:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:22:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:22:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:22:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:22:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:22:39 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:22:39 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:22:39 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:22:39 DEBUG : file1: newRWFileHandle: 2025/10/07 06:22:39 DEBUG : file1(0xc00061f6c0): openPending: 2025/10/07 06:22:39 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/07 06:22:39 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:22:39 DEBUG : file1(0xc00061f6c0): >openPending: err= 2025/10/07 06:22:39 DEBUG : file1: >newRWFileHandle: err= 2025/10/07 06:22:39 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:22:39 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/07 06:22:39 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/07 06:22:39 DEBUG : file1(0xc00061f6c0): _writeAt: size=7, off=0 2025/10/07 06:22:39 DEBUG : file1(0xc00061f6c0): >_writeAt: n=7, err= 2025/10/07 06:22:39 DEBUG : file1(0xc00061f6c0): _writeAt: size=6, off=5 2025/10/07 06:22:39 DEBUG : file1(0xc00061f6c0): >_writeAt: n=6, err= 2025/10/07 06:22:39 DEBUG : file1(0xc00061f6c0): close: 2025/10/07 06:22:39 DEBUG : file1: vfs cache: setting modification time to 2025-10-07 06:22:39.411078559 +0000 UTC m=+508.292198381 2025/10/07 06:22:39 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/07 06:22:39 DEBUG : file1(0xc00061f6c0): >close: err= 2025/10/07 06:22:39 DEBUG : file1(0xc00061f6c0): _writeAt: size=5, off=0 2025/10/07 06:22:39 DEBUG : file1(0xc00061f6c0): >_writeAt: n=0, err=file already closed 2025/10/07 06:22:39 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:22:39 DEBUG : Looking for writers 2025/10/07 06:22:39 DEBUG : file1: reading active writers 2025/10/07 06:22:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/07 06:22:39 DEBUG : Looking for writers 2025/10/07 06:22:39 DEBUG : file1: reading active writers 2025/10/07 06:22:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/07 06:22:39 DEBUG : Looking for writers 2025/10/07 06:22:39 DEBUG : file1: reading active writers 2025/10/07 06:22:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/07 06:22:39 DEBUG : Looking for writers 2025/10/07 06:22:39 DEBUG : file1: reading active writers 2025/10/07 06:22:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/07 06:22:39 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:22:39 DEBUG : Looking for writers 2025/10/07 06:22:39 DEBUG : file1: reading active writers 2025/10/07 06:22:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/07 06:22:39 DEBUG : Looking for writers 2025/10/07 06:22:39 DEBUG : file1: reading active writers 2025/10/07 06:22:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/07 06:22:39.938143 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/07 06:22:39.938182 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/07 06:22:40 DEBUG : Looking for writers 2025/10/07 06:22:40 DEBUG : file1: reading active writers 2025/10/07 06:22:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/07 06:22:40 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/07 06:22:40 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/07 06:22:40 DEBUG : Looking for writers 2025/10/07 06:22:40 DEBUG : file1: reading active writers 2025/10/07 06:22:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:40 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:22:41.284415 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/07 06:22:41.284444 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/07 06:22:41 DEBUG : Looking for writers 2025/10/07 06:22:41 DEBUG : file1: reading active writers 2025/10/07 06:22:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:41 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/07 06:22:41 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/07 06:22:42 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:22:42 DEBUG : Looking for writers 2025/10/07 06:22:42 DEBUG : file1: reading active writers 2025/10/07 06:22:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:42.821509 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/07 06:22:42.821540 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/07 06:22:43 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 06:22:43 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/07 06:22:43 DEBUG : Looking for writers 2025/10/07 06:22:43 DEBUG : file1: reading active writers 2025/10/07 06:22:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:44 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:22:44 DEBUG : Looking for writers 2025/10/07 06:22:44 DEBUG : file1: reading active writers 2025/10/07 06:22:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:44.740044 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/07 06:22:44.740085 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/07 06:22:45 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/07 06:22:45 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/07 06:22:45 DEBUG : Looking for writers 2025/10/07 06:22:45 DEBUG : file1: reading active writers 2025/10/07 06:22:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:46 DEBUG : Looking for writers 2025/10/07 06:22:46 DEBUG : file1: reading active writers 2025/10/07 06:22:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:46 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:22:47.558823 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/07 06:22:47.558856 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/07 06:22:47 DEBUG : Looking for writers 2025/10/07 06:22:47 DEBUG : file1: reading active writers 2025/10/07 06:22:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:48 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/07 06:22:48 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/07 06:22:48 DEBUG : Looking for writers 2025/10/07 06:22:48 DEBUG : file1: reading active writers 2025/10/07 06:22:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:49 DEBUG : Looking for writers 2025/10/07 06:22:49 DEBUG : file1: reading active writers 2025/10/07 06:22:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:50 DEBUG : Looking for writers 2025/10/07 06:22:50 DEBUG : file1: reading active writers 2025/10/07 06:22:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:51 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:22:51 DEBUG : Looking for writers 2025/10/07 06:22:51 DEBUG : file1: reading active writers 2025/10/07 06:22:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:51.871253 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/07 06:22:51.871295 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/07 06:22:52 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 06:22:52 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/07 06:22:52 DEBUG : Looking for writers 2025/10/07 06:22:52 DEBUG : file1: reading active writers 2025/10/07 06:22:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:53 DEBUG : Looking for writers 2025/10/07 06:22:53 DEBUG : file1: reading active writers 2025/10/07 06:22:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:54 DEBUG : Looking for writers 2025/10/07 06:22:54 DEBUG : file1: reading active writers 2025/10/07 06:22:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:55 DEBUG : Looking for writers 2025/10/07 06:22:55 DEBUG : file1: reading active writers 2025/10/07 06:22:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:56 DEBUG : Looking for writers 2025/10/07 06:22:56 DEBUG : file1: reading active writers 2025/10/07 06:22:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:57 DEBUG : Looking for writers 2025/10/07 06:22:57 DEBUG : file1: reading active writers 2025/10/07 06:22:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:58 DEBUG : Looking for writers 2025/10/07 06:22:58 DEBUG : file1: reading active writers 2025/10/07 06:22:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:22:59 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:22:59.647198 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/07 06:22:59.647236 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/07 06:22:59 DEBUG : Looking for writers 2025/10/07 06:22:59 DEBUG : file1: reading active writers 2025/10/07 06:22:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:23:00 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/07 06:23:00 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/07 06:23:00 DEBUG : Looking for writers 2025/10/07 06:23:00 DEBUG : file1: reading active writers 2025/10/07 06:23:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:23:01 DEBUG : Looking for writers 2025/10/07 06:23:01 DEBUG : file1: reading active writers 2025/10/07 06:23:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:23:02 DEBUG : Looking for writers 2025/10/07 06:23:02 DEBUG : file1: reading active writers 2025/10/07 06:23:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:23:03 DEBUG : Looking for writers 2025/10/07 06:23:03 DEBUG : file1: reading active writers 2025/10/07 06:23:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:23:04 DEBUG : Looking for writers 2025/10/07 06:23:04 DEBUG : file1: reading active writers 2025/10/07 06:23:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:23:05 DEBUG : Looking for writers 2025/10/07 06:23:05 DEBUG : file1: reading active writers 2025/10/07 06:23:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:23:06 DEBUG : Looking for writers 2025/10/07 06:23:06 DEBUG : file1: reading active writers 2025/10/07 06:23:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:23:07 DEBUG : Looking for writers 2025/10/07 06:23:07 DEBUG : file1: reading active writers 2025/10/07 06:23:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:23:08 DEBUG : Looking for writers 2025/10/07 06:23:08 DEBUG : file1: reading active writers 2025/10/07 06:23:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:23:09 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a7c780 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000c02b08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646314816} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993047206832148383 ext:508292198381 loc:0x4135660} ATime:{wall:13993047206832196563 ext:508292246551 loc:0x4135660} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/07 06:23:09 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/07 06:23:13 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:23:39 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 06:23:39 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/07 06:24:12 DEBUG : forgetting directory cache 2025/10/07 06:24:19 DEBUG : forgetting directory cache 2025/10/07 06:24:21 DEBUG : forgetting directory cache 2025/10/07 06:24:23 DEBUG : forgetting directory cache 2025/10/07 06:24:25 DEBUG : forgetting directory cache 2025/10/07 06:24:27 DEBUG : forgetting directory cache 2025/10/07 06:24:29 DEBUG : forgetting directory cache 2025/10/07 06:24:31 DEBUG : forgetting directory cache 2025/10/07 06:24:34 DEBUG : forgetting directory cache 2025/10/07 06:24:36 DEBUG : forgetting directory cache 2025/10/07 06:24:38 DEBUG : forgetting directory cache 2025/10/07 06:24:39 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 06:24:39 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/07 06:24:40 DEBUG : forgetting directory cache 2025/10/07 06:24:42 DEBUG : forgetting directory cache 2025/10/07 06:24:44 DEBUG : forgetting directory cache 2025/10/07 06:24:46 DEBUG : forgetting directory cache 2025/10/07 06:24:48 DEBUG : forgetting directory cache 2025/10/07 06:24:51 DEBUG : forgetting directory cache 2025/10/07 06:24:53 DEBUG : forgetting directory cache 2025/10/07 06:24:55 DEBUG : forgetting directory cache 2025/10/07 06:24:57 DEBUG : forgetting directory cache 2025/10/07 06:24:59 DEBUG : forgetting directory cache 2025/10/07 06:25:02 DEBUG : forgetting directory cache 2025/10/07 06:25:04 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/07 06:25:05.113696 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/07 06:25:05.113782 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/07 06:25:05 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 06:25:05 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 2025/10/07 06:25:06 DEBUG : forgetting directory cache fstest.go:301: Flushing the directory cache 2025/10/07 06:25:08 DEBUG : forgetting directory cache 2025/10/07 06:25:10 DEBUG : forgetting directory cache 2025/10/07 06:25:13 DEBUG : forgetting directory cache 2025/10/07 06:25:15 DEBUG : forgetting directory cache 2025/10/07 06:25:17 DEBUG : forgetting directory cache 2025/10/07 06:25:19 DEBUG : forgetting directory cache 2025/10/07 06:25:21 DEBUG : forgetting directory cache 2025/10/07 06:25:23 DEBUG : forgetting directory cache 2025/10/07 06:25:26 DEBUG : forgetting directory cache 2025/10/07 06:25:28 DEBUG : forgetting directory cache 2025/10/07 06:25:30 DEBUG : forgetting directory cache 2025/10/07 06:25:31 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:25:32 DEBUG : forgetting directory cache 2025/10/07 06:25:34 DEBUG : forgetting directory cache 2025/10/07 06:25:36 DEBUG : forgetting directory cache 2025/10/07 06:25:39 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 06:25:39 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/07 06:25:39 DEBUG : forgetting directory cache 2025/10/07 06:25:41 DEBUG : forgetting directory cache 2025/10/07 06:25:43 DEBUG : forgetting directory cache 2025/10/07 06:25:46 DEBUG : forgetting directory cache 2025/10/07 06:25:48 DEBUG : forgetting directory cache 2025/10/07 06:25:50 DEBUG : forgetting directory cache 2025/10/07 06:25:52 DEBUG : forgetting directory cache 2025/10/07 06:25:54 DEBUG : forgetting directory cache 2025/10/07 06:25:57 DEBUG : forgetting directory cache 2025/10/07 06:25:59 DEBUG : forgetting directory cache 2025/10/07 06:26:01 DEBUG : forgetting directory cache 2025/10/07 06:26:39 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 06:26:39 INFO : proton drive root link ID 'rclone-test-darotih6pita': 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/07 06:26:59.841755 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/07 06:26:59.841792 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/07 06:27:00 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/07 06:27:00 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteAt Messages: 1 objects not found 2025/10/07 06:27:03 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:27:03 DEBUG : Looking for writers 2025/10/07 06:27:03 DEBUG : file1: reading active writers 2025/10/07 06:27:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/07 06:27:03 DEBUG : Looking for writers 2025/10/07 06:27:03 DEBUG : file1: reading active writers 2025/10/07 06:27:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/07 06:27:03 DEBUG : Looking for writers 2025/10/07 06:27:03 DEBUG : file1: reading active writers 2025/10/07 06:27:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/07 06:27:03 DEBUG : Looking for writers 2025/10/07 06:27:03 DEBUG : file1: reading active writers 2025/10/07 06:27:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/07 06:27:03 DEBUG : Looking for writers 2025/10/07 06:27:03 DEBUG : file1: reading active writers 2025/10/07 06:27:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/07 06:27:03 DEBUG : Looking for writers 2025/10/07 06:27:03 DEBUG : file1: reading active writers 2025/10/07 06:27:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/07 06:27:04 DEBUG : Looking for writers 2025/10/07 06:27:04 DEBUG : file1: reading active writers 2025/10/07 06:27:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/07 06:27:04 DEBUG : Looking for writers 2025/10/07 06:27:04 DEBUG : file1: reading active writers 2025/10/07 06:27:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:05 DEBUG : Looking for writers 2025/10/07 06:27:05 DEBUG : file1: reading active writers 2025/10/07 06:27:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:06 DEBUG : Looking for writers 2025/10/07 06:27:06 DEBUG : file1: reading active writers 2025/10/07 06:27:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:07 DEBUG : Looking for writers 2025/10/07 06:27:07 DEBUG : file1: reading active writers 2025/10/07 06:27:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:08 DEBUG : Looking for writers 2025/10/07 06:27:08 DEBUG : file1: reading active writers 2025/10/07 06:27:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:09 DEBUG : Looking for writers 2025/10/07 06:27:09 DEBUG : file1: reading active writers 2025/10/07 06:27:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:10 DEBUG : Looking for writers 2025/10/07 06:27:10 DEBUG : file1: reading active writers 2025/10/07 06:27:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:11 DEBUG : Looking for writers 2025/10/07 06:27:11 DEBUG : file1: reading active writers 2025/10/07 06:27:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:12 DEBUG : Looking for writers 2025/10/07 06:27:12 DEBUG : file1: reading active writers 2025/10/07 06:27:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:13 DEBUG : Looking for writers 2025/10/07 06:27:13 DEBUG : file1: reading active writers 2025/10/07 06:27:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:14 DEBUG : Looking for writers 2025/10/07 06:27:14 DEBUG : file1: reading active writers 2025/10/07 06:27:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:15 DEBUG : Looking for writers 2025/10/07 06:27:15 DEBUG : file1: reading active writers 2025/10/07 06:27:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:16 DEBUG : Looking for writers 2025/10/07 06:27:16 DEBUG : file1: reading active writers 2025/10/07 06:27:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:17 DEBUG : Looking for writers 2025/10/07 06:27:17 DEBUG : file1: reading active writers 2025/10/07 06:27:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:18 DEBUG : Looking for writers 2025/10/07 06:27:18 DEBUG : file1: reading active writers 2025/10/07 06:27:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:19 DEBUG : Looking for writers 2025/10/07 06:27:19 DEBUG : file1: reading active writers 2025/10/07 06:27:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:20 DEBUG : Looking for writers 2025/10/07 06:27:20 DEBUG : file1: reading active writers 2025/10/07 06:27:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:21 DEBUG : Looking for writers 2025/10/07 06:27:21 DEBUG : file1: reading active writers 2025/10/07 06:27:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:22 DEBUG : Looking for writers 2025/10/07 06:27:22 DEBUG : file1: reading active writers 2025/10/07 06:27:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:23 DEBUG : Looking for writers 2025/10/07 06:27:23 DEBUG : file1: reading active writers 2025/10/07 06:27:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:24 DEBUG : Looking for writers 2025/10/07 06:27:24 DEBUG : file1: reading active writers 2025/10/07 06:27:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:25 DEBUG : Looking for writers 2025/10/07 06:27:25 DEBUG : file1: reading active writers 2025/10/07 06:27:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:26 DEBUG : Looking for writers 2025/10/07 06:27:26 DEBUG : file1: reading active writers 2025/10/07 06:27:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:27 DEBUG : Looking for writers 2025/10/07 06:27:27 DEBUG : file1: reading active writers 2025/10/07 06:27:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:28 DEBUG : Looking for writers 2025/10/07 06:27:28 DEBUG : file1: reading active writers 2025/10/07 06:27:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:29 DEBUG : Looking for writers 2025/10/07 06:27:29 DEBUG : file1: reading active writers 2025/10/07 06:27:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:30 DEBUG : Looking for writers 2025/10/07 06:27:30 DEBUG : file1: reading active writers 2025/10/07 06:27:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:31 DEBUG : Looking for writers 2025/10/07 06:27:31 DEBUG : file1: reading active writers 2025/10/07 06:27:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:32 DEBUG : Looking for writers 2025/10/07 06:27:32 DEBUG : file1: reading active writers 2025/10/07 06:27:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:27:33 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a7c780 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000c02b08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824646314816} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993047206832148383 ext:508292198381 loc:0x4135660} ATime:{wall:13993047206832196563 ext:508292246551 loc:0x4135660} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/07 06:27:33 DEBUG : >WaitForWriters: 2025/10/07 06:27:33 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteAt (404.71s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:29:23 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:29:23 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:29:23 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:29:23 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:29:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:29:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:29:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:29:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:29:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:29:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:29:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:29:23 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:29:24 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:29:24 DEBUG : file1: newRWFileHandle: 2025/10/07 06:29:24 DEBUG : file1(0xc009666840): openPending: 2025/10/07 06:29:24 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/07 06:29:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:29:24 DEBUG : file1(0xc009666840): >openPending: err= 2025/10/07 06:29:24 DEBUG : file1: >newRWFileHandle: err= 2025/10/07 06:29:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:29:24 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/07 06:29:24 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/07 06:29:24 DEBUG : file1(0xc009666840): close: 2025/10/07 06:29:24 DEBUG : file1: vfs cache: setting modification time to 2025-10-07 06:29:24.089896107 +0000 UTC m=+912.971015889 2025/10/07 06:29:24 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/07 06:29:24 DEBUG : file1(0xc009666840): >close: err= 2025/10/07 06:29:24 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/07 06:29:24 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/07 06:29:24 DEBUG : file2: newRWFileHandle: 2025/10/07 06:29:24 DEBUG : file2(0xc009666d40): openPending: 2025/10/07 06:29:24 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/07 06:29:24 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/07 06:29:24 DEBUG : file2(0xc009666d40): >openPending: err= 2025/10/07 06:29:24 DEBUG : file2: >newRWFileHandle: err= 2025/10/07 06:29:24 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/07 06:29:24 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/07 06:29:24 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/07 06:29:24 DEBUG : file2(0xc009666d40): RWFileHandle.Flush 2025/10/07 06:29:24 DEBUG : file2(0xc009666d40): RWFileHandle.Release 2025/10/07 06:29:24 DEBUG : file2(0xc009666d40): close: 2025/10/07 06:29:24 DEBUG : file2: vfs cache: setting modification time to 2025-10-07 06:29:24.091012643 +0000 UTC m=+912.972132426 2025/10/07 06:29:24 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/07 06:29:24 DEBUG : file2(0xc009666d40): >close: err= 2025/10/07 06:29:24 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:29:24 DEBUG : Looking for writers 2025/10/07 06:29:24 DEBUG : file1: reading active writers 2025/10/07 06:29:24 DEBUG : file2: reading active writers 2025/10/07 06:29:24 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/07 06:29:24 DEBUG : Looking for writers 2025/10/07 06:29:24 DEBUG : file2: reading active writers 2025/10/07 06:29:24 DEBUG : file1: reading active writers 2025/10/07 06:29:24 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/07 06:29:24 DEBUG : Looking for writers 2025/10/07 06:29:24 DEBUG : file1: reading active writers 2025/10/07 06:29:24 DEBUG : file2: reading active writers 2025/10/07 06:29:24 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/07 06:29:24 DEBUG : Looking for writers 2025/10/07 06:29:24 DEBUG : file1: reading active writers 2025/10/07 06:29:24 DEBUG : file2: reading active writers 2025/10/07 06:29:24 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/07 06:29:24 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:29:24 DEBUG : file2: vfs cache: starting upload 2025/10/07 06:29:24 DEBUG : Looking for writers 2025/10/07 06:29:24 DEBUG : file1: reading active writers 2025/10/07 06:29:24 DEBUG : file2: reading active writers 2025/10/07 06:29:24 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/07 06:29:24 DEBUG : Looking for writers 2025/10/07 06:29:24 DEBUG : file1: reading active writers 2025/10/07 06:29:24 DEBUG : file2: reading active writers 2025/10/07 06:29:24 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/07 06:29:24.640409 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/07 06:29:24.640454 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/07 06:29:24 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/07 06:29:24 INFO : file2: Copied (new) 2025/10/07 06:29:24 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-07 06:29:24.091012643 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/07 06:29:24 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/07 06:29:24 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/07 06:29:24 INFO : file2: vfs cache: upload succeeded try #1 2025/10/07 06:29:24 DEBUG : Looking for writers 2025/10/07 06:29:24 DEBUG : file1: reading active writers 2025/10/07 06:29:24 DEBUG : file2: reading active writers 2025/10/07 06:29:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/07 06:29: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/07 06:29:25 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/07 06:29:25 DEBUG : Looking for writers 2025/10/07 06:29:25 DEBUG : file1: reading active writers 2025/10/07 06:29:25 DEBUG : file2: reading active writers 2025/10/07 06:29:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:25 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:29:25.966976 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/07 06:29:25.967014 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/07 06:29:26 DEBUG : Looking for writers 2025/10/07 06:29:26 DEBUG : file1: reading active writers 2025/10/07 06:29:26 DEBUG : file2: reading active writers 2025/10/07 06:29:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:26 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/07 06:29:26 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/07 06:29:27 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:29:27 DEBUG : Looking for writers 2025/10/07 06:29:27 DEBUG : file1: reading active writers 2025/10/07 06:29:27 DEBUG : file2: reading active writers 2025/10/07 06:29:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:27.545410 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/07 06:29:27.545453 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/07 06:29: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/07 06:29: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/07 06:29:28 DEBUG : Looking for writers 2025/10/07 06:29:28 DEBUG : file1: reading active writers 2025/10/07 06:29:28 DEBUG : file2: reading active writers 2025/10/07 06:29:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:29 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:29:29 DEBUG : Looking for writers 2025/10/07 06:29:29 DEBUG : file1: reading active writers 2025/10/07 06:29:29 DEBUG : file2: reading active writers 2025/10/07 06:29:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:29.571617 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/07 06:29:29.571676 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/07 06:29:30 DEBUG : Looking for writers 2025/10/07 06:29:30 DEBUG : file1: reading active writers 2025/10/07 06:29:30 DEBUG : file2: reading active writers 2025/10/07 06:29:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29: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/07 06:29: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/07 06:29:31 DEBUG : Looking for writers 2025/10/07 06:29:31 DEBUG : file1: reading active writers 2025/10/07 06:29:31 DEBUG : file2: reading active writers 2025/10/07 06:29:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:32 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:29:32 DEBUG : Looking for writers 2025/10/07 06:29:32 DEBUG : file1: reading active writers 2025/10/07 06:29:32 DEBUG : file2: reading active writers 2025/10/07 06:29:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:32.497513 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/07 06:29:32.497556 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/07 06:29:33 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/07 06:29:33 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/07 06:29:33 DEBUG : Looking for writers 2025/10/07 06:29:33 DEBUG : file1: reading active writers 2025/10/07 06:29:33 DEBUG : file2: reading active writers 2025/10/07 06:29:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:34 DEBUG : Looking for writers 2025/10/07 06:29:34 DEBUG : file1: reading active writers 2025/10/07 06:29:34 DEBUG : file2: reading active writers 2025/10/07 06:29:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:35 DEBUG : Looking for writers 2025/10/07 06:29:35 DEBUG : file2: reading active writers 2025/10/07 06:29:35 DEBUG : file1: reading active writers 2025/10/07 06:29:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:36 DEBUG : Looking for writers 2025/10/07 06:29:36 DEBUG : file1: reading active writers 2025/10/07 06:29:36 DEBUG : file2: reading active writers 2025/10/07 06:29:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:36 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:29:36.867150 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/07 06:29:36.867193 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/07 06:29:37 DEBUG : Looking for writers 2025/10/07 06:29:37 DEBUG : file1: reading active writers 2025/10/07 06:29:37 DEBUG : file2: reading active writers 2025/10/07 06:29:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:37 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/07 06:29:37 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/07 06:29:38 DEBUG : Looking for writers 2025/10/07 06:29:38 DEBUG : file1: reading active writers 2025/10/07 06:29:38 DEBUG : file2: reading active writers 2025/10/07 06:29:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:39 DEBUG : Looking for writers 2025/10/07 06:29:39 DEBUG : file1: reading active writers 2025/10/07 06:29:39 DEBUG : file2: reading active writers 2025/10/07 06:29:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:40 DEBUG : Looking for writers 2025/10/07 06:29:40 DEBUG : file1: reading active writers 2025/10/07 06:29:40 DEBUG : file2: reading active writers 2025/10/07 06:29:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:41 DEBUG : Looking for writers 2025/10/07 06:29:41 DEBUG : file1: reading active writers 2025/10/07 06:29:41 DEBUG : file2: reading active writers 2025/10/07 06:29:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:42 DEBUG : Looking for writers 2025/10/07 06:29:42 DEBUG : file1: reading active writers 2025/10/07 06:29:42 DEBUG : file2: reading active writers 2025/10/07 06:29:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:43 DEBUG : Looking for writers 2025/10/07 06:29:43 DEBUG : file2: reading active writers 2025/10/07 06:29:43 DEBUG : file1: reading active writers 2025/10/07 06:29:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:43 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:29:44 DEBUG : Looking for writers 2025/10/07 06:29:44 DEBUG : file1: reading active writers 2025/10/07 06:29:44 DEBUG : file2: reading active writers 2025/10/07 06:29:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:44.541898 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/07 06:29:44.541938 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/07 06:29:45 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/07 06:29:45 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/07 06:29:45 DEBUG : Looking for writers 2025/10/07 06:29:45 DEBUG : file2: reading active writers 2025/10/07 06:29:45 DEBUG : file1: reading active writers 2025/10/07 06:29:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:46 DEBUG : Looking for writers 2025/10/07 06:29:46 DEBUG : file1: reading active writers 2025/10/07 06:29:46 DEBUG : file2: reading active writers 2025/10/07 06:29:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:47 DEBUG : Looking for writers 2025/10/07 06:29:47 DEBUG : file1: reading active writers 2025/10/07 06:29:47 DEBUG : file2: reading active writers 2025/10/07 06:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:48 DEBUG : Looking for writers 2025/10/07 06:29:48 DEBUG : file1: reading active writers 2025/10/07 06:29:48 DEBUG : file2: reading active writers 2025/10/07 06:29:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:49 DEBUG : Looking for writers 2025/10/07 06:29:49 DEBUG : file1: reading active writers 2025/10/07 06:29:49 DEBUG : file2: reading active writers 2025/10/07 06:29:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:50 DEBUG : Looking for writers 2025/10/07 06:29:50 DEBUG : file1: reading active writers 2025/10/07 06:29:50 DEBUG : file2: reading active writers 2025/10/07 06:29:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:51 DEBUG : Looking for writers 2025/10/07 06:29:51 DEBUG : file1: reading active writers 2025/10/07 06:29:51 DEBUG : file2: reading active writers 2025/10/07 06:29:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:52 DEBUG : Looking for writers 2025/10/07 06:29:52 DEBUG : file1: reading active writers 2025/10/07 06:29:52 DEBUG : file2: reading active writers 2025/10/07 06:29:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:53 DEBUG : Looking for writers 2025/10/07 06:29:53 DEBUG : file1: reading active writers 2025/10/07 06:29:53 DEBUG : file2: reading active writers 2025/10/07 06:29:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:29:54 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0004dd860 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00062b708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640190272} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993047641376404651 ext:912971015889 loc:0x4135660} ATime:{wall:13993047641376624413 ext:912971235661 loc:0x4135660} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc0004dd860 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00062b808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640190528} name:file2 opens:0 downloaders: o:0xc00049c5a0 fd: info:{ModTime:{wall:13993047641377521187 ext:912972132426 loc:0x4135660} ATime:{wall:13993047641377671319 ext:912972282567 loc:0x4135660} Size:0 Rs:[] Fingerprint:0,2025-10-07 06:29:24.091012643 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/07 06:29:54 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/07 06:29:58 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:30:23 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 06:30:23 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/07 06:30:23 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/07 06:31:23 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 06:31:23 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/07 06:31:23 INFO : proton drive root link ID 'rclone-test-darotih6pita': 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/07 06:31:49.418844 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/07 06:31:49.418884 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/07 06:31:50 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/07 06:31:50 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/07 06:32:15 DEBUG : file1: vfs cache: starting upload 2025/10/07 06:32:23 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/07 06:32:23 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 06:32:23 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/07 06:32:39 DEBUG : forgetting directory cache 2025/10/07 06:33:23 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 06:33:23 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/07 06:33:23 INFO : proton drive root link ID 'rclone-test-darotih6pita': 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/07 06:33:40.174937 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/07 06:33:40.174987 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/07 06:33:40 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/07 06:33:40 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/07 06:33:44 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:33:44 DEBUG : Looking for writers 2025/10/07 06:33:44 DEBUG : file1: reading active writers 2025/10/07 06:33:44 DEBUG : file2: reading active writers 2025/10/07 06:33:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/07 06:33:44 DEBUG : Looking for writers 2025/10/07 06:33:44 DEBUG : file1: reading active writers 2025/10/07 06:33:44 DEBUG : file2: reading active writers 2025/10/07 06:33:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/07 06:33:44 DEBUG : Looking for writers 2025/10/07 06:33:44 DEBUG : file1: reading active writers 2025/10/07 06:33:44 DEBUG : file2: reading active writers 2025/10/07 06:33:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/07 06:33:44 DEBUG : Looking for writers 2025/10/07 06:33:44 DEBUG : file1: reading active writers 2025/10/07 06:33:44 DEBUG : file2: reading active writers 2025/10/07 06:33:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/07 06:33:44 DEBUG : Looking for writers 2025/10/07 06:33:44 DEBUG : file1: reading active writers 2025/10/07 06:33:44 DEBUG : file2: reading active writers 2025/10/07 06:33:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/07 06:33:44 DEBUG : Looking for writers 2025/10/07 06:33:44 DEBUG : file1: reading active writers 2025/10/07 06:33:44 DEBUG : file2: reading active writers 2025/10/07 06:33:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/07 06:33:44 DEBUG : Looking for writers 2025/10/07 06:33:44 DEBUG : file1: reading active writers 2025/10/07 06:33:44 DEBUG : file2: reading active writers 2025/10/07 06:33:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/07 06:33:45 DEBUG : Looking for writers 2025/10/07 06:33:45 DEBUG : file1: reading active writers 2025/10/07 06:33:45 DEBUG : file2: reading active writers 2025/10/07 06:33:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:46 DEBUG : Looking for writers 2025/10/07 06:33:46 DEBUG : file1: reading active writers 2025/10/07 06:33:46 DEBUG : file2: reading active writers 2025/10/07 06:33:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:47 DEBUG : Looking for writers 2025/10/07 06:33:47 DEBUG : file1: reading active writers 2025/10/07 06:33:47 DEBUG : file2: reading active writers 2025/10/07 06:33:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:48 DEBUG : Looking for writers 2025/10/07 06:33:48 DEBUG : file2: reading active writers 2025/10/07 06:33:48 DEBUG : file1: reading active writers 2025/10/07 06:33:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:49 DEBUG : Looking for writers 2025/10/07 06:33:49 DEBUG : file1: reading active writers 2025/10/07 06:33:49 DEBUG : file2: reading active writers 2025/10/07 06:33:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:50 DEBUG : Looking for writers 2025/10/07 06:33:50 DEBUG : file1: reading active writers 2025/10/07 06:33:50 DEBUG : file2: reading active writers 2025/10/07 06:33:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:51 DEBUG : Looking for writers 2025/10/07 06:33:51 DEBUG : file1: reading active writers 2025/10/07 06:33:51 DEBUG : file2: reading active writers 2025/10/07 06:33:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:52 DEBUG : Looking for writers 2025/10/07 06:33:52 DEBUG : file2: reading active writers 2025/10/07 06:33:52 DEBUG : file1: reading active writers 2025/10/07 06:33:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:53 DEBUG : Looking for writers 2025/10/07 06:33:53 DEBUG : file1: reading active writers 2025/10/07 06:33:53 DEBUG : file2: reading active writers 2025/10/07 06:33:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:54 DEBUG : Looking for writers 2025/10/07 06:33:54 DEBUG : file1: reading active writers 2025/10/07 06:33:54 DEBUG : file2: reading active writers 2025/10/07 06:33:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:55 DEBUG : Looking for writers 2025/10/07 06:33:55 DEBUG : file2: reading active writers 2025/10/07 06:33:55 DEBUG : file1: reading active writers 2025/10/07 06:33:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:56 DEBUG : Looking for writers 2025/10/07 06:33:56 DEBUG : file1: reading active writers 2025/10/07 06:33:56 DEBUG : file2: reading active writers 2025/10/07 06:33:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:57 DEBUG : Looking for writers 2025/10/07 06:33:57 DEBUG : file1: reading active writers 2025/10/07 06:33:57 DEBUG : file2: reading active writers 2025/10/07 06:33:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:58 DEBUG : Looking for writers 2025/10/07 06:33:58 DEBUG : file1: reading active writers 2025/10/07 06:33:58 DEBUG : file2: reading active writers 2025/10/07 06:33:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:33:59 DEBUG : Looking for writers 2025/10/07 06:33:59 DEBUG : file1: reading active writers 2025/10/07 06:33:59 DEBUG : file2: reading active writers 2025/10/07 06:33:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:00 DEBUG : Looking for writers 2025/10/07 06:34:00 DEBUG : file1: reading active writers 2025/10/07 06:34:00 DEBUG : file2: reading active writers 2025/10/07 06:34:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:01 DEBUG : Looking for writers 2025/10/07 06:34:01 DEBUG : file1: reading active writers 2025/10/07 06:34:01 DEBUG : file2: reading active writers 2025/10/07 06:34:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:02 DEBUG : Looking for writers 2025/10/07 06:34:02 DEBUG : file1: reading active writers 2025/10/07 06:34:02 DEBUG : file2: reading active writers 2025/10/07 06:34:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:03 DEBUG : Looking for writers 2025/10/07 06:34:03 DEBUG : file2: reading active writers 2025/10/07 06:34:03 DEBUG : file1: reading active writers 2025/10/07 06:34:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:04 DEBUG : Looking for writers 2025/10/07 06:34:04 DEBUG : file1: reading active writers 2025/10/07 06:34:04 DEBUG : file2: reading active writers 2025/10/07 06:34:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:05 DEBUG : Looking for writers 2025/10/07 06:34:05 DEBUG : file1: reading active writers 2025/10/07 06:34:05 DEBUG : file2: reading active writers 2025/10/07 06:34:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:06 DEBUG : Looking for writers 2025/10/07 06:34:06 DEBUG : file1: reading active writers 2025/10/07 06:34:06 DEBUG : file2: reading active writers 2025/10/07 06:34:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:07 DEBUG : Looking for writers 2025/10/07 06:34:07 DEBUG : file1: reading active writers 2025/10/07 06:34:07 DEBUG : file2: reading active writers 2025/10/07 06:34:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:08 DEBUG : Looking for writers 2025/10/07 06:34:08 DEBUG : file1: reading active writers 2025/10/07 06:34:08 DEBUG : file2: reading active writers 2025/10/07 06:34:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:09 DEBUG : Looking for writers 2025/10/07 06:34:09 DEBUG : file1: reading active writers 2025/10/07 06:34:09 DEBUG : file2: reading active writers 2025/10/07 06:34:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:10 DEBUG : Looking for writers 2025/10/07 06:34:10 DEBUG : file1: reading active writers 2025/10/07 06:34:10 DEBUG : file2: reading active writers 2025/10/07 06:34:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:11 DEBUG : Looking for writers 2025/10/07 06:34:11 DEBUG : file1: reading active writers 2025/10/07 06:34:11 DEBUG : file2: reading active writers 2025/10/07 06:34:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:12 DEBUG : Looking for writers 2025/10/07 06:34:12 DEBUG : file1: reading active writers 2025/10/07 06:34:12 DEBUG : file2: reading active writers 2025/10/07 06:34:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:13 DEBUG : Looking for writers 2025/10/07 06:34:13 DEBUG : file1: reading active writers 2025/10/07 06:34:13 DEBUG : file2: reading active writers 2025/10/07 06:34:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:34:14 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0004dd860 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00062b708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640190272} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993047641376404651 ext:912971015889 loc:0x4135660} ATime:{wall:13993047641376624413 ext:912971235661 loc:0x4135660} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc0004dd860 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00062b808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640190528} name:file2 opens:0 downloaders: o:0xc00049c5a0 fd: info:{ModTime:{wall:13993047641377521187 ext:912972132426 loc:0x4135660} ATime:{wall:13993047641377671319 ext:912972282567 loc:0x4135660} Size:0 Rs:[] Fingerprint:0,2025-10-07 06:29:24.091012643 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/07 06:34:14 DEBUG : >WaitForWriters: 2025/10/07 06:34:14 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting 2025/10/07 06:36:01 DEBUG : forgetting directory cache --- FAIL: TestRWFileHandleWriteNoWrite (399.99s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:36:03 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:36:03 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:36:03 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:03 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:36:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:36:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:03 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:36:05.336311 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:36:05.336349 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:36:05 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:36:05 DEBUG : Looking for writers 2025/10/07 06:36:05 DEBUG : >WaitForWriters: 2025/10/07 06:36:05 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (2.39s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:36:06 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:36:06 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:36:06 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:06 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:36:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:36:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:06 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:36:07.518382 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:36:07.518435 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:36:07 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:36:07 DEBUG : Looking for writers 2025/10/07 06:36:07 DEBUG : >WaitForWriters: 2025/10/07 06:36:07 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (2.15s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:36:08 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:36:08 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:36:08 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:08 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:36:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:36:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:36:08 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:36:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:36:08 DEBUG : file1: newRWFileHandle: 2025/10/07 06:36:08 DEBUG : file1(0xc000854ac0): openPending: 2025/10/07 06:36:08 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/07 06:36:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:36:08 DEBUG : file1(0xc000854ac0): >openPending: err= 2025/10/07 06:36:08 DEBUG : file1: >newRWFileHandle: err= 2025/10/07 06:36:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:36:08 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/07 06:36:08 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/07 06:36:09.501435 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:36:09.501508 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "time_test" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:36:09 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:36:09 DEBUG : Looking for writers 2025/10/07 06:36:09 DEBUG : file1: reading active writers 2025/10/07 06:36:09 DEBUG : file1: active writers 1 2025/10/07 06:36:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/07 06:36:09 DEBUG : Looking for writers 2025/10/07 06:36:09 DEBUG : file1: reading active writers 2025/10/07 06:36:09 DEBUG : file1: active writers 1 2025/10/07 06:36:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/07 06:36:09 DEBUG : Looking for writers 2025/10/07 06:36:09 DEBUG : file1: reading active writers 2025/10/07 06:36:09 DEBUG : file1: active writers 1 2025/10/07 06:36:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/07 06:36:09 DEBUG : Looking for writers 2025/10/07 06:36:09 DEBUG : file1: reading active writers 2025/10/07 06:36:09 DEBUG : file1: active writers 1 2025/10/07 06:36:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/07 06:36:09 DEBUG : Looking for writers 2025/10/07 06:36:09 DEBUG : file1: reading active writers 2025/10/07 06:36:09 DEBUG : file1: active writers 1 2025/10/07 06:36:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/07 06:36:09 DEBUG : Looking for writers 2025/10/07 06:36:09 DEBUG : file1: reading active writers 2025/10/07 06:36:09 DEBUG : file1: active writers 1 2025/10/07 06:36:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/07 06:36:10 DEBUG : Looking for writers 2025/10/07 06:36:10 DEBUG : file1: reading active writers 2025/10/07 06:36:10 DEBUG : file1: active writers 1 2025/10/07 06:36:10 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/07 06:36:10 DEBUG : Looking for writers 2025/10/07 06:36:10 DEBUG : file1: reading active writers 2025/10/07 06:36:10 DEBUG : file1: active writers 1 2025/10/07 06:36:10 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:11 DEBUG : Looking for writers 2025/10/07 06:36:11 DEBUG : file1: reading active writers 2025/10/07 06:36:11 DEBUG : file1: active writers 1 2025/10/07 06:36:11 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:12 DEBUG : Looking for writers 2025/10/07 06:36:12 DEBUG : file1: reading active writers 2025/10/07 06:36:12 DEBUG : file1: active writers 1 2025/10/07 06:36:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:13 DEBUG : Looking for writers 2025/10/07 06:36:13 DEBUG : file1: reading active writers 2025/10/07 06:36:13 DEBUG : file1: active writers 1 2025/10/07 06:36:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:14 DEBUG : Looking for writers 2025/10/07 06:36:14 DEBUG : file1: reading active writers 2025/10/07 06:36:14 DEBUG : file1: active writers 1 2025/10/07 06:36:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:15 DEBUG : Looking for writers 2025/10/07 06:36:15 DEBUG : file1: reading active writers 2025/10/07 06:36:15 DEBUG : file1: active writers 1 2025/10/07 06:36:15 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:16 DEBUG : Looking for writers 2025/10/07 06:36:16 DEBUG : file1: reading active writers 2025/10/07 06:36:16 DEBUG : file1: active writers 1 2025/10/07 06:36:16 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:17 DEBUG : Looking for writers 2025/10/07 06:36:17 DEBUG : file1: reading active writers 2025/10/07 06:36:17 DEBUG : file1: active writers 1 2025/10/07 06:36:17 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:18 DEBUG : Looking for writers 2025/10/07 06:36:18 DEBUG : file1: reading active writers 2025/10/07 06:36:18 DEBUG : file1: active writers 1 2025/10/07 06:36:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:19 DEBUG : Looking for writers 2025/10/07 06:36:19 DEBUG : file1: reading active writers 2025/10/07 06:36:19 DEBUG : file1: active writers 1 2025/10/07 06:36:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:20 DEBUG : Looking for writers 2025/10/07 06:36:20 DEBUG : file1: reading active writers 2025/10/07 06:36:20 DEBUG : file1: active writers 1 2025/10/07 06:36:20 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:21 DEBUG : Looking for writers 2025/10/07 06:36:21 DEBUG : file1: reading active writers 2025/10/07 06:36:21 DEBUG : file1: active writers 1 2025/10/07 06:36:21 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:22 DEBUG : Looking for writers 2025/10/07 06:36:22 DEBUG : file1: reading active writers 2025/10/07 06:36:22 DEBUG : file1: active writers 1 2025/10/07 06:36:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:23 DEBUG : Looking for writers 2025/10/07 06:36:23 DEBUG : file1: reading active writers 2025/10/07 06:36:23 DEBUG : file1: active writers 1 2025/10/07 06:36:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:24 DEBUG : Looking for writers 2025/10/07 06:36:24 DEBUG : file1: reading active writers 2025/10/07 06:36:24 DEBUG : file1: active writers 1 2025/10/07 06:36:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:25 DEBUG : Looking for writers 2025/10/07 06:36:25 DEBUG : file1: reading active writers 2025/10/07 06:36:25 DEBUG : file1: active writers 1 2025/10/07 06:36:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:26 DEBUG : Looking for writers 2025/10/07 06:36:26 DEBUG : file1: reading active writers 2025/10/07 06:36:26 DEBUG : file1: active writers 1 2025/10/07 06:36:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:27 DEBUG : Looking for writers 2025/10/07 06:36:27 DEBUG : file1: reading active writers 2025/10/07 06:36:27 DEBUG : file1: active writers 1 2025/10/07 06:36:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:28 DEBUG : Looking for writers 2025/10/07 06:36:28 DEBUG : file1: reading active writers 2025/10/07 06:36:28 DEBUG : file1: active writers 1 2025/10/07 06:36:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:29 DEBUG : Looking for writers 2025/10/07 06:36:29 DEBUG : file1: reading active writers 2025/10/07 06:36:29 DEBUG : file1: active writers 1 2025/10/07 06:36:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:30 DEBUG : Looking for writers 2025/10/07 06:36:30 DEBUG : file1: reading active writers 2025/10/07 06:36:30 DEBUG : file1: active writers 1 2025/10/07 06:36:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:31 DEBUG : Looking for writers 2025/10/07 06:36:31 DEBUG : file1: reading active writers 2025/10/07 06:36:31 DEBUG : file1: active writers 1 2025/10/07 06:36:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:32 DEBUG : Looking for writers 2025/10/07 06:36:32 DEBUG : file1: reading active writers 2025/10/07 06:36:32 DEBUG : file1: active writers 1 2025/10/07 06:36:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:33 DEBUG : Looking for writers 2025/10/07 06:36:33 DEBUG : file1: reading active writers 2025/10/07 06:36:33 DEBUG : file1: active writers 1 2025/10/07 06:36:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:34 DEBUG : Looking for writers 2025/10/07 06:36:34 DEBUG : file1: reading active writers 2025/10/07 06:36:34 DEBUG : file1: active writers 1 2025/10/07 06:36:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:35 DEBUG : Looking for writers 2025/10/07 06:36:35 DEBUG : file1: reading active writers 2025/10/07 06:36:35 DEBUG : file1: active writers 1 2025/10/07 06:36:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:36 DEBUG : Looking for writers 2025/10/07 06:36:36 DEBUG : file1: reading active writers 2025/10/07 06:36:36 DEBUG : file1: active writers 1 2025/10/07 06:36:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:37 DEBUG : Looking for writers 2025/10/07 06:36:37 DEBUG : file1: reading active writers 2025/10/07 06:36:37 DEBUG : file1: active writers 1 2025/10/07 06:36:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:38 DEBUG : Looking for writers 2025/10/07 06:36:38 DEBUG : file1: reading active writers 2025/10/07 06:36:38 DEBUG : file1: active writers 1 2025/10/07 06:36:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 06:36:39 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a7d2c0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0009d0708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824644011840} name:file1 opens:1 downloaders: o: fd:0xc00014a228 info:{ModTime:{wall:13993048075706732583 ext:1317509646975 loc:0x4135660} ATime:{wall:13993048075706732583 ext:1317509646975 loc:0x4135660} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/07 06:36:39 DEBUG : >WaitForWriters: 2025/10/07 06:36:39 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (31.49s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:36:39 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:36:39 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 06:36:39 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:39 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:36:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 06:36:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-darotih6pita" 2025/10/07 06:36:39 INFO : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 06:36:40 DEBUG : forgetting directory cache 2025/10/07 06:36:40.912392 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:36:40.912487 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "TestRWCacheUpdate" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:36:40 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:36:40 DEBUG : Looking for writers 2025/10/07 06:36:40 DEBUG : >WaitForWriters: 2025/10/07 06:36:40 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (1.44s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:36:42.189695 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:36:42.189802 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "FiLeA" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (1.30s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:36:43.543804 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:36:43.543845 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "normal name with no special characters.txt" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.30s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:36:43 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:36:43 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:36:44.368140 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/07 06:36:44.368190 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-darotih6pita'": 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/07 06:36:45 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:36:45 DEBUG : Looking for writers 2025/10/07 06:36:45 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (1.54s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:36:45 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:36:45 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:36:45.904049 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/07 06:36:45.904097 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-darotih6pita'": 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/07 06:36:46 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:36:46 DEBUG : Looking for writers 2025/10/07 06:36:46 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (1.48s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:36:46 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:36:46 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:36:47.490567 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/07 06:36:47.490603 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-darotih6pita'": 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/07 06:36:48 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:36:48 DEBUG : Looking for writers 2025/10/07 06:36:48 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (1.68s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:36:48 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:36:48 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:36:50.005167 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:36:50.005211 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file2" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:36:50 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:36:50 DEBUG : Looking for writers 2025/10/07 06:36:50 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (2.27s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:36:50 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:36:50 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:36:50 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:36:51 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:36:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:36:51 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 06:36:51 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 06:36:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:36:51 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/07 06:36:51 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/07 06:36:51 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/07 06:36:51 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': File to upload is small (5 bytes), uploading instead of streaming 2025/10/07 06:36:51.574957 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/07 06:36:51.575005 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/07 06:36:52 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/07 06:36:52 DEBUG : file1: Remove: 2025/10/07 06:36:52 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 06:36:52 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 fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/07 06:39:24 DEBUG : forgetting directory cache 2025/10/07 06:39:24 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/07 06:40:36 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:40:36 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:40:36 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:40:36 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 06:40:36 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 06:40:36 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:40:36 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': File to upload is small (0 bytes), uploading instead of streaming 2025/10/07 06:42:28.863991 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/07 06:42:28.864025 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/07 06:42:29 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/07 06:42:29 DEBUG : file1: Remove: 2025/10/07 06:42:29 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 06:42:29 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/07 06:42:29 DEBUG : Re-reading directory (5m38.369121799s old) 2025/10/07 06:42:29 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/07 06:42:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:42:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:42:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:42:29 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 06:42:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 06:42:29 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/07 06:42:29 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:42:29 DEBUG : Looking for writers 2025/10/07 06:42:29 DEBUG : file1: reading active writers 2025/10/07 06:42:29 DEBUG : file1: active writers 1 2025/10/07 06:42:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/07 06:42:29 DEBUG : Looking for writers 2025/10/07 06:42:29 DEBUG : file1: reading active writers 2025/10/07 06:42:29 DEBUG : file1: active writers 1 2025/10/07 06:42:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/07 06:42:29 DEBUG : Looking for writers 2025/10/07 06:42:29 DEBUG : file1: reading active writers 2025/10/07 06:42:29 DEBUG : file1: active writers 1 2025/10/07 06:42:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/07 06:42:29 DEBUG : Looking for writers 2025/10/07 06:42:29 DEBUG : file1: reading active writers 2025/10/07 06:42:29 DEBUG : file1: active writers 1 2025/10/07 06:42:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/07 06:42:29 DEBUG : Looking for writers 2025/10/07 06:42:29 DEBUG : file1: reading active writers 2025/10/07 06:42:29 DEBUG : file1: active writers 1 2025/10/07 06:42:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/07 06:42:30 DEBUG : Looking for writers 2025/10/07 06:42:30 DEBUG : file1: reading active writers 2025/10/07 06:42:30 DEBUG : file1: active writers 1 2025/10/07 06:42:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/07 06:42:30 DEBUG : Looking for writers 2025/10/07 06:42:30 DEBUG : file1: reading active writers 2025/10/07 06:42:30 DEBUG : file1: active writers 1 2025/10/07 06:42:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/07 06:42:30 DEBUG : Looking for writers 2025/10/07 06:42:30 DEBUG : file1: reading active writers 2025/10/07 06:42:30 DEBUG : file1: active writers 1 2025/10/07 06:42:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:31 DEBUG : Looking for writers 2025/10/07 06:42:31 DEBUG : file1: reading active writers 2025/10/07 06:42:31 DEBUG : file1: active writers 1 2025/10/07 06:42:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:32 DEBUG : Looking for writers 2025/10/07 06:42:32 DEBUG : file1: reading active writers 2025/10/07 06:42:32 DEBUG : file1: active writers 1 2025/10/07 06:42:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:33 DEBUG : Looking for writers 2025/10/07 06:42:33 DEBUG : file1: reading active writers 2025/10/07 06:42:33 DEBUG : file1: active writers 1 2025/10/07 06:42:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:34 DEBUG : Looking for writers 2025/10/07 06:42:34 DEBUG : file1: reading active writers 2025/10/07 06:42:34 DEBUG : file1: active writers 1 2025/10/07 06:42:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:35 DEBUG : Looking for writers 2025/10/07 06:42:35 DEBUG : file1: reading active writers 2025/10/07 06:42:35 DEBUG : file1: active writers 1 2025/10/07 06:42:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:36 DEBUG : Looking for writers 2025/10/07 06:42:36 DEBUG : file1: reading active writers 2025/10/07 06:42:36 DEBUG : file1: active writers 1 2025/10/07 06:42:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:37 DEBUG : Looking for writers 2025/10/07 06:42:37 DEBUG : file1: reading active writers 2025/10/07 06:42:37 DEBUG : file1: active writers 1 2025/10/07 06:42:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:38 DEBUG : Looking for writers 2025/10/07 06:42:38 DEBUG : file1: reading active writers 2025/10/07 06:42:38 DEBUG : file1: active writers 1 2025/10/07 06:42:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:39 DEBUG : forgetting directory cache 2025/10/07 06:42:39 DEBUG : Looking for writers 2025/10/07 06:42:39 DEBUG : file1: reading active writers 2025/10/07 06:42:39 DEBUG : file1: active writers 1 2025/10/07 06:42:39 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:40 DEBUG : Looking for writers 2025/10/07 06:42:40 DEBUG : file1: reading active writers 2025/10/07 06:42:40 DEBUG : file1: active writers 1 2025/10/07 06:42:40 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:42 DEBUG : Looking for writers 2025/10/07 06:42:42 DEBUG : file1: reading active writers 2025/10/07 06:42:42 DEBUG : file1: active writers 1 2025/10/07 06:42:42 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:43 DEBUG : Looking for writers 2025/10/07 06:42:43 DEBUG : file1: reading active writers 2025/10/07 06:42:43 DEBUG : file1: active writers 1 2025/10/07 06:42:43 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:44 DEBUG : Looking for writers 2025/10/07 06:42:44 DEBUG : file1: reading active writers 2025/10/07 06:42:44 DEBUG : file1: active writers 1 2025/10/07 06:42:44 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:45 DEBUG : Looking for writers 2025/10/07 06:42:45 DEBUG : file1: reading active writers 2025/10/07 06:42:45 DEBUG : file1: active writers 1 2025/10/07 06:42:45 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:46 DEBUG : Looking for writers 2025/10/07 06:42:46 DEBUG : file1: reading active writers 2025/10/07 06:42:46 DEBUG : file1: active writers 1 2025/10/07 06:42:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:47 DEBUG : Looking for writers 2025/10/07 06:42:47 DEBUG : file1: reading active writers 2025/10/07 06:42:47 DEBUG : file1: active writers 1 2025/10/07 06:42:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:48 DEBUG : Looking for writers 2025/10/07 06:42:48 DEBUG : file1: reading active writers 2025/10/07 06:42:48 DEBUG : file1: active writers 1 2025/10/07 06:42:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:49 DEBUG : Looking for writers 2025/10/07 06:42:49 DEBUG : file1: reading active writers 2025/10/07 06:42:49 DEBUG : file1: active writers 1 2025/10/07 06:42:49 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:50 DEBUG : Looking for writers 2025/10/07 06:42:50 DEBUG : file1: reading active writers 2025/10/07 06:42:50 DEBUG : file1: active writers 1 2025/10/07 06:42:50 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:51 DEBUG : Looking for writers 2025/10/07 06:42:51 DEBUG : file1: reading active writers 2025/10/07 06:42:51 DEBUG : file1: active writers 1 2025/10/07 06:42:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:52 DEBUG : Looking for writers 2025/10/07 06:42:52 DEBUG : file1: reading active writers 2025/10/07 06:42:52 DEBUG : file1: active writers 1 2025/10/07 06:42:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:53 DEBUG : Looking for writers 2025/10/07 06:42:53 DEBUG : file1: reading active writers 2025/10/07 06:42:53 DEBUG : file1: active writers 1 2025/10/07 06:42:53 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:54 DEBUG : Looking for writers 2025/10/07 06:42:54 DEBUG : file1: reading active writers 2025/10/07 06:42:54 DEBUG : file1: active writers 1 2025/10/07 06:42:54 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:55 DEBUG : Looking for writers 2025/10/07 06:42:55 DEBUG : file1: reading active writers 2025/10/07 06:42:55 DEBUG : file1: active writers 1 2025/10/07 06:42:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:56 DEBUG : Looking for writers 2025/10/07 06:42:56 DEBUG : file1: reading active writers 2025/10/07 06:42:56 DEBUG : file1: active writers 1 2025/10/07 06:42:56 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:57 DEBUG : Looking for writers 2025/10/07 06:42:57 DEBUG : file1: reading active writers 2025/10/07 06:42:57 DEBUG : file1: active writers 1 2025/10/07 06:42:57 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:58 DEBUG : Looking for writers 2025/10/07 06:42:58 DEBUG : file1: reading active writers 2025/10/07 06:42:58 DEBUG : file1: active writers 1 2025/10/07 06:42:58 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:59 DEBUG : Looking for writers 2025/10/07 06:42:59 DEBUG : file1: reading active writers 2025/10/07 06:42:59 DEBUG : file1: active writers 1 2025/10/07 06:42:59 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 06:42:59 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/07 06:42:59 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (369.24s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:43:00 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:43:00 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:43:00 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:43:00 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:43:00 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:43:00 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 06:43:00 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 06:43:00 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:43:00 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/07 06:43:01 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/07 06:43:01 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/07 06:43:01 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/07 06:43:01 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': File to upload is small (11 bytes), uploading instead of streaming 2025/10/07 06:43:01.837983 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/07 06:43:01.838034 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/07 06:43:02 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/07 06:43:02 DEBUG : file1: Remove: 2025/10/07 06:43:02 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 06:43:02 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/07 06:43:02 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 fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/07 06:46:01 DEBUG : forgetting directory cache 2025/10/07 06:46:03 DEBUG : forgetting directory cache 2025/10/07 06:46:06 DEBUG : forgetting directory cache 2025/10/07 06:46:08 DEBUG : forgetting directory cache 2025/10/07 06:46:43 DEBUG : forgetting directory cache 2025/10/07 06:46:45 DEBUG : forgetting directory cache 2025/10/07 06:46:46 DEBUG : forgetting directory cache 2025/10/07 06:46:48 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleWriteAt Messages: 1 objects not found 2025/10/07 06:46:59 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:46:59 DEBUG : Looking for writers 2025/10/07 06:46:59 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleWriteAt (349.27s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:48:49 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:48:49 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:48:49 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:48:49 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:48:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:48:49 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 06:48:49 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 06:48:49 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/07 06:48:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:48:49 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': File to upload is small (5 bytes), uploading instead of streaming 2025/10/07 06:48:50.108651 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/07 06:48:50.108694 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/07 06:48:50 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 06:48:50 DEBUG : file1: Remove: 2025/10/07 06:48:50 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 06:48:50 DEBUG : file1: >Remove: err= 2025/10/07 06:48:50 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/07 06:48:50 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/07 06:48:50 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:48:50 DEBUG : Looking for writers 2025/10/07 06:48:50 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (1.76s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:48:51 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:48:51 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:48:51 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:48:51 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:48:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:48:51 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 06:48:51 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 06:48:51 DEBUG : file1: WriteFileHandle.Release closing 2025/10/07 06:48:51 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:48:51 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': File to upload is small (0 bytes), uploading instead of streaming 2025/10/07 06:48:51.883871 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/07 06:48:51.883902 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/07 06:48:52 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/07 06:48:52 DEBUG : file1: Remove: 2025/10/07 06:48:52 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 06:48:52 DEBUG : file1: >Remove: err= 2025/10/07 06:48:52 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/07 06:48:52 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/07 06:48:52 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:48:52 DEBUG : Looking for writers 2025/10/07 06:48:52 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (1.80s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:48:52 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:48:52 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:48:52 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:48:53 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:48:53 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:48:53 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 06:48:53 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 06:48:53 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:48:53 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': File to upload is small (2 bytes), uploading instead of streaming 2025/10/07 06:48:53.660673 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/07 06:48:53.660760 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/07 06:48:54 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 06:48:54 DEBUG : file1: Remove: 2025/10/07 06:48:54 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 06:48:54 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/07 06:48:54 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:48:54 DEBUG : Looking for writers 2025/10/07 06:48:54 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (1.76s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:48:54 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:48:54 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:48:54 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:48:54 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:48:54 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:48:54 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 06:48:54 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 06:48:54 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:48:54 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': File to upload is small (0 bytes), uploading instead of streaming 2025/10/07 06:48:55.378822 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/07 06:48:55.378857 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/07 06:48: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/07 06:48:56 DEBUG : file1: Remove: 2025/10/07 06:48:56 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 06:48:56 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/07 06:48:56 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/07 06:48:56 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/07 06:48:56 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:48:56 DEBUG : Looking for writers 2025/10/07 06:48:56 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (1.72s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:48:56 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:48:56 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:48:56 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 06:48:56 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 06:48:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:48:56 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 06:48:56 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 06:48:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 06:48:56 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': File to upload is small (100 bytes), uploading instead of streaming 2025/10/07 06:48:57.116271 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/07 06:48:57.116296 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/07 06:48:57 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/07 06:48:57 DEBUG : file1: Remove: 2025/10/07 06:48:57 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 06:48:57 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/07 06:48:57 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/07 06:48:57 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/07 06:48:57 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:48:57 DEBUG : Looking for writers 2025/10/07 06:48:57 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (1.81s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:48:58 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:48:58 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:48:59.614070 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:48:59.614119 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "flat/f000.txt" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:48:59 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:48:59 DEBUG : Looking for writers 2025/10/07 06:48:59 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (2.26s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:49:00 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:49:00 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:49:01.803821 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:49:01.803868 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "a/top.txt" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:49:01 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:49:01 DEBUG : Looking for writers 2025/10/07 06:49:01 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (2.16s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:49:02 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:49:02 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:49:04.486905 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:49:04.486960 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "bigdir/big.bin" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:49:04 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:49:04 DEBUG : Looking for writers 2025/10/07 06:49:04 DEBUG : >WaitForWriters: 2025/10/07 06:49:04.793961 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:49:04.794004 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (2.74s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-darotih6pita'", Local "Local file system at /tmp/rclone323934788", Modify Window "1s" 2025/10/07 06:49:05 INFO : proton drive root link ID 'rclone-test-darotih6pita': poll-interval is not supported by this remote 2025/10/07 06:49:05 NOTICE: proton drive root link ID 'rclone-test-darotih6pita': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 06:49:06.619704 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 06:49:06.619790 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir1/a.txt" to "proton drive root link ID 'rclone-test-darotih6pita'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 06:49:06 DEBUG : WaitForWriters: timeout=30s 2025/10/07 06:49:06 DEBUG : Looking for writers 2025/10/07 06:49:06 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (2.23s) FAIL 2025/10/07 06:49:07 DEBUG : proton drive root link ID 'rclone-test-darotih6pita': 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 34m56.873549499s (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]