"./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/05 03:45:47 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-woluxog7jidu" 2025/10/05 03:45:47 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/05 03:45:47 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': Has cached credentials 2025/10/05 03:45:48 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': Used cached credential to initialize the ProtonDrive API 2025/10/05 03:45:48 DEBUG : Creating backend with remote "/tmp/rclone367160908" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:45:48 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:45:48 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:50.083337 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:45:50.083375 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:45:50 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:50 DEBUG : Looking for writers 2025/10/05 03:45:50 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (2.48s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:45:50 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:45:50 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:52.137509 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:45:52.137646 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:45:52 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:52 DEBUG : Looking for writers 2025/10/05 03:45:52 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (2.04s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:45:52 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:45:52 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:54.103565 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:45:54.103600 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:45:54 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:54 DEBUG : Looking for writers 2025/10/05 03:45:54 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (1.99s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:45:54 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:45:54 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:56.081575 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:45:56.081622 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:45:56 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:56 DEBUG : Looking for writers 2025/10/05 03:45:56 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (1.94s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:45:56 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:45:56 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:57.983275 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:45:57.983318 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:45:57 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:57 DEBUG : Looking for writers 2025/10/05 03:45:57 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (2.00s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:45:58 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:45:58 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:59.995601 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:45:59.995757 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:45:59 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:59 DEBUG : Looking for writers 2025/10/05 03:45:59 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (1.97s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:00 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:00 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:02.058427 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:02.058447 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:02 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:02 DEBUG : Looking for writers 2025/10/05 03:46:02 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (2.04s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:02 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:02 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:04.038762 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:04.038807 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:04 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:04 DEBUG : Looking for writers 2025/10/05 03:46:04 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (2.01s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:04 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:04 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:06.150616 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:06.150648 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:06 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:06 DEBUG : Looking for writers 2025/10/05 03:46:06 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (2.09s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:06 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:06 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:08.109370 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:08.109397 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:08 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:08 DEBUG : Looking for writers 2025/10/05 03:46:08 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (1.95s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:08 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:08 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:10.047909 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:10.047981 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:10 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:10 DEBUG : Looking for writers 2025/10/05 03:46:10 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (1.93s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:10 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:10 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:12.070586 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:12.070626 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:12 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:12 DEBUG : Looking for writers 2025/10/05 03:46:12 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (2.04s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:12 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:12 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:14.054597 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:14.054645 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:14 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:14 DEBUG : Looking for writers 2025/10/05 03:46:14 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (2.02s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:14 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:14 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:16.085565 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:16.085774 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:16 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:16 DEBUG : Looking for writers 2025/10/05 03:46:16 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (2.01s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:16 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:16 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:18.044613 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:18.044646 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:18 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:18 DEBUG : Looking for writers 2025/10/05 03:46:18 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (2.02s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:18 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:18 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:20.072307 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:20.072333 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:20 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:20 DEBUG : Looking for writers 2025/10/05 03:46:20 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (1.94s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:20 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:20 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:22.001012 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:22.001053 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:22 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:22 DEBUG : Looking for writers 2025/10/05 03:46:22 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (1.94s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:22 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:22 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:24.000784 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:24.000815 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:24 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:24 DEBUG : Looking for writers 2025/10/05 03:46:24 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (2.05s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:24 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:24 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:26.073455 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:26.073494 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:26 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:26 DEBUG : Looking for writers 2025/10/05 03:46:26 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (2.04s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:26 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:26 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:28.005224 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:28.005260 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:28 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:28 DEBUG : Looking for writers 2025/10/05 03:46:28 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (1.93s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:28 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:28 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:30.006491 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:30.006569 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:30 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:30 DEBUG : Looking for writers 2025/10/05 03:46:30 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (2.02s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:30 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:30 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:31.979405 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:31.979454 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:31 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:31 DEBUG : Looking for writers 2025/10/05 03:46:31 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:32 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:32 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:33.943623 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:33.943663 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:33 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:33 DEBUG : Looking for writers 2025/10/05 03:46:33 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:34 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:34 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:35.932636 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:35.932733 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:35 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:35 DEBUG : Looking for writers 2025/10/05 03:46:35 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:36 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:36 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:46:36 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:36 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:46:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:46:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:36 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:46:37.903488 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:37.903523 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:37 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:37 DEBUG : Looking for writers 2025/10/05 03:46:37 DEBUG : >WaitForWriters: 2025/10/05 03:46:37 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:38 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:38 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:46:38 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:38 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:46:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:46:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:38 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:46:39.892360 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:39.892402 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:39 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:39 DEBUG : Looking for writers 2025/10/05 03:46:39 DEBUG : >WaitForWriters: 2025/10/05 03:46:39 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:40 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:40 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:46:40 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:40 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:46:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:46:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:40 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:46:41.841285 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:41.841374 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:41 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:41 DEBUG : Looking for writers 2025/10/05 03:46:41 DEBUG : >WaitForWriters: 2025/10/05 03:46:41 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (11.82s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (1.95s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (1.98s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (1.99s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (1.94s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (1.99s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (1.96s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:42 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:42 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:43.894034 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:43.894068 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:43 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:43 DEBUG : Looking for writers 2025/10/05 03:46:43 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (2.13s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:44 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:44 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:46.048578 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:46.048606 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:46 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:46 DEBUG : Looking for writers 2025/10/05 03:46:46 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (2.12s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:46 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:46 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:48.044929 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:48.044958 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:48 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:48 DEBUG : Looking for writers 2025/10/05 03:46:48 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (1.95s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:48 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:48 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:50.030136 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:50.030156 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:50 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:50 DEBUG : Looking for writers 2025/10/05 03:46:50 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (2.06s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:50 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:50 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:52.060024 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:52.060070 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:52 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:52 DEBUG : Looking for writers 2025/10/05 03:46:52 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (1.99s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:52 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:52 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:54.079296 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:54.079346 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:54 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:54 DEBUG : Looking for writers 2025/10/05 03:46:54 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:54 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:54 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:54 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:46:54 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:54 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:46:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:46:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:54 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:46:56.130611 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:56.130650 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:56 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:56 DEBUG : Looking for writers 2025/10/05 03:46:56 DEBUG : >WaitForWriters: 2025/10/05 03:46:56 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:56 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:56 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:46:56 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:46:56 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:56 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:46:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:46:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:56 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:46:58.245114 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:46:58.245138 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:46:58 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:46:58 DEBUG : Looking for writers 2025/10/05 03:46:58 DEBUG : >WaitForWriters: 2025/10/05 03:46:58 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:46:59 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:46:59 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:46:59 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:59 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:46:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:46:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:46:59 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:47:00.303249 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:00.303280 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:00 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:00 DEBUG : Looking for writers 2025/10/05 03:47:00 DEBUG : >WaitForWriters: 2025/10/05 03:47:00 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:01 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:01 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:47:01 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:01 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:01 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:47:02.305129 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:02.305171 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:02 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:02 DEBUG : Looking for writers 2025/10/05 03:47:02 DEBUG : >WaitForWriters: 2025/10/05 03:47:02 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:03 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:47:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:03 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:47:04.320531 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:04.320574 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:04 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:04 DEBUG : Looking for writers 2025/10/05 03:47:04 DEBUG : >WaitForWriters: 2025/10/05 03:47:04 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestFileRename (12.27s) --- FAIL: TestFileRename/off,forceCache=false (2.02s) --- FAIL: TestFileRename/minimal,forceCache=false (2.03s) --- FAIL: TestFileRename/minimal,forceCache=true (2.16s) --- FAIL: TestFileRename/writes,forceCache=false (1.99s) --- FAIL: TestFileRename/writes,forceCache=true (2.03s) --- FAIL: TestFileRename/full,forceCache=false (2.02s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:05 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:05 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:47:06.373223 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:06.373264 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:06 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:06 DEBUG : Looking for writers 2025/10/05 03:47:06 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (2.06s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:07 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:07 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:47:08.474111 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:08.474152 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:08 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:08 DEBUG : Looking for writers 2025/10/05 03:47:08 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (2.09s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:09 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:09 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:47:10.471298 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:10.471330 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:10 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:10 DEBUG : Looking for writers 2025/10/05 03:47:10 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (1.98s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:11 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:11 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:47:12.511061 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:12.511097 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:12 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:12 DEBUG : Looking for writers 2025/10/05 03:47:12 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (2.04s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:13 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:13 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:47:14.469687 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:14.469765 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:14 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:14 DEBUG : Looking for writers 2025/10/05 03:47:14 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (2.06s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:15 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:15 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:47:15 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:15 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:15 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:47:16.594895 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:16.594946 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:16 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:16 DEBUG : Looking for writers 2025/10/05 03:47:16 DEBUG : >WaitForWriters: 2025/10/05 03:47:16 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (2.06s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:17 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:17 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:47:17 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:17 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:17 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:47:18.669819 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:18.669850 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:18 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:18 DEBUG : Looking for writers 2025/10/05 03:47:18 DEBUG : >WaitForWriters: 2025/10/05 03:47:18 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (2.11s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:19 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:19 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:47:19 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:19 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:19 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:47:21.246357 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:21.246389 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:21 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:21 DEBUG : Looking for writers 2025/10/05 03:47:21 DEBUG : >WaitForWriters: 2025/10/05 03:47:21 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (2.53s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:22 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:22 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:47:22 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:22 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:22 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:47:23.244985 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:23.245030 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:23 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:23 DEBUG : Looking for writers 2025/10/05 03:47:23 DEBUG : >WaitForWriters: 2025/10/05 03:47:23 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (2.00s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:24 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:24 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:47:24 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:24 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:24 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:47:25.381240 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:25.381259 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:25 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:25 DEBUG : Looking for writers 2025/10/05 03:47:25 DEBUG : >WaitForWriters: 2025/10/05 03:47:25 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (2.32s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:47:26 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:47:26 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:47:26 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:26 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:26 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:26 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:47:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:47:26 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:47:26 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:47:26 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:47:26 DEBUG : file1: newRWFileHandle: 2025/10/05 03:47:26 DEBUG : file1(0xc000743b40): openPending: 2025/10/05 03:47:26 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 03:47:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:47:26 DEBUG : file1(0xc000743b40): >openPending: err= 2025/10/05 03:47:26 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 03:47:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:47:26 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 03:47:26 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 03:47:26 DEBUG : file1(0xc000743b40): _writeAt: size=5, off=0 2025/10/05 03:47:26 DEBUG : file1(0xc000743b40): >_writeAt: n=5, err= 2025/10/05 03:47:26 DEBUG : file1(0xc000743b40): _writeAt: size=7, off=5 2025/10/05 03:47:26 DEBUG : file1(0xc000743b40): >_writeAt: n=7, err= 2025/10/05 03:47:26 DEBUG : file1: vfs cache: truncate to size=11 2025/10/05 03:47:26 DEBUG : file1(0xc000743b40): close: 2025/10/05 03:47:26 DEBUG : file1: vfs cache: setting modification time to 2025-10-05 03:47:26.633415904 +0000 UTC m=+99.468973729 2025/10/05 03:47:26 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/05 03:47:26 DEBUG : file1(0xc000743b40): >close: err= 2025/10/05 03:47:26 DEBUG : file1(0xc000743b40): close: 2025/10/05 03:47:26 DEBUG : file1(0xc000743b40): >close: err=file already closed 2025/10/05 03:47:26 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:47:26 DEBUG : Looking for writers 2025/10/05 03:47:26 DEBUG : file1: reading active writers 2025/10/05 03:47:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 03:47:26 DEBUG : Looking for writers 2025/10/05 03:47:26 DEBUG : file1: reading active writers 2025/10/05 03:47:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 03:47:26 DEBUG : Looking for writers 2025/10/05 03:47:26 DEBUG : file1: reading active writers 2025/10/05 03:47:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 03:47:26 DEBUG : Looking for writers 2025/10/05 03:47:26 DEBUG : file1: reading active writers 2025/10/05 03:47:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 03:47:26 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:47:26 DEBUG : Looking for writers 2025/10/05 03:47:26 DEBUG : file1: reading active writers 2025/10/05 03:47:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 03:47:26 DEBUG : Looking for writers 2025/10/05 03:47:26 DEBUG : file1: reading active writers 2025/10/05 03:47:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 03:47:27 DEBUG : Looking for writers 2025/10/05 03:47:27 DEBUG : file1: reading active writers 2025/10/05 03:47:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 03:47:27.538057 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:47:27.538093 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:27 ERROR : file1: Failed to copy: 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:47:27 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/05 03:47:27 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:47:27 DEBUG : Looking for writers 2025/10/05 03:47:27 DEBUG : file1: reading active writers 2025/10/05 03:47:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:28.167255 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/05 03:47:28.167294 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/05 03:47: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/05 03:47:28 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/05 03:47:28 DEBUG : Looking for writers 2025/10/05 03:47:28 DEBUG : file1: reading active writers 2025/10/05 03:47:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:29 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:47:29.615393 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/05 03:47:29.615438 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/05 03:47:29 DEBUG : Looking for writers 2025/10/05 03:47:29 DEBUG : file1: reading active writers 2025/10/05 03:47:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47: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/05 03:47:30 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/05 03:47:30 DEBUG : Looking for writers 2025/10/05 03:47:30 DEBUG : file1: reading active writers 2025/10/05 03:47:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:31 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:47:31.514216 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/05 03:47:31.514249 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/05 03:47:31 DEBUG : Looking for writers 2025/10/05 03:47:31 DEBUG : file1: reading active writers 2025/10/05 03:47:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:32 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/05 03:47:32 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/05 03:47:32 DEBUG : Looking for writers 2025/10/05 03:47:32 DEBUG : file1: reading active writers 2025/10/05 03:47:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:33 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:47:33 DEBUG : Looking for writers 2025/10/05 03:47:33 DEBUG : file1: reading active writers 2025/10/05 03:47:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:34.152447 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/05 03:47:34.152485 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/05 03:47:34 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:47:34 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:47:34 DEBUG : Looking for writers 2025/10/05 03:47:34 DEBUG : file1: reading active writers 2025/10/05 03:47:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:35 DEBUG : Looking for writers 2025/10/05 03:47:35 DEBUG : file1: reading active writers 2025/10/05 03:47:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:36 DEBUG : Looking for writers 2025/10/05 03:47:36 DEBUG : file1: reading active writers 2025/10/05 03:47:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:37 DEBUG : Looking for writers 2025/10/05 03:47:37 DEBUG : file1: reading active writers 2025/10/05 03:47:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:37 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:47:38.567648 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/05 03:47:38.567700 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/05 03:47:38 DEBUG : Looking for writers 2025/10/05 03:47:38 DEBUG : file1: reading active writers 2025/10/05 03:47:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:39 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:47:39 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:47:39 DEBUG : Looking for writers 2025/10/05 03:47:39 DEBUG : file1: reading active writers 2025/10/05 03:47:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:40 DEBUG : Looking for writers 2025/10/05 03:47:40 DEBUG : file1: reading active writers 2025/10/05 03:47:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:41 DEBUG : Looking for writers 2025/10/05 03:47:41 DEBUG : file1: reading active writers 2025/10/05 03:47:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:42 DEBUG : Looking for writers 2025/10/05 03:47:42 DEBUG : file1: reading active writers 2025/10/05 03:47:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:43 DEBUG : Looking for writers 2025/10/05 03:47:43 DEBUG : file1: reading active writers 2025/10/05 03:47:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:44 DEBUG : Looking for writers 2025/10/05 03:47:44 DEBUG : file1: reading active writers 2025/10/05 03:47:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:45 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:47:45 DEBUG : Looking for writers 2025/10/05 03:47:45 DEBUG : file1: reading active writers 2025/10/05 03:47:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:46.063070 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/05 03:47:46.063120 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/05 03:47:46 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/05 03:47:46 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/05 03:47:46 DEBUG : Looking for writers 2025/10/05 03:47:46 DEBUG : file1: reading active writers 2025/10/05 03:47:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:47 DEBUG : Looking for writers 2025/10/05 03:47:47 DEBUG : file1: reading active writers 2025/10/05 03:47:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:48 DEBUG : Looking for writers 2025/10/05 03:47:48 DEBUG : file1: reading active writers 2025/10/05 03:47:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:49 DEBUG : Looking for writers 2025/10/05 03:47:49 DEBUG : file1: reading active writers 2025/10/05 03:47:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:50 DEBUG : Looking for writers 2025/10/05 03:47:50 DEBUG : file1: reading active writers 2025/10/05 03:47:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:51 DEBUG : Looking for writers 2025/10/05 03:47:51 DEBUG : file1: reading active writers 2025/10/05 03:47:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:52 DEBUG : Looking for writers 2025/10/05 03:47:52 DEBUG : file1: reading active writers 2025/10/05 03:47:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:53 DEBUG : Looking for writers 2025/10/05 03:47:53 DEBUG : file1: reading active writers 2025/10/05 03:47:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:54 DEBUG : Looking for writers 2025/10/05 03:47:54 DEBUG : file1: reading active writers 2025/10/05 03:47:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:55 DEBUG : Looking for writers 2025/10/05 03:47:55 DEBUG : file1: reading active writers 2025/10/05 03:47:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:47:56 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a4e780 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00095a808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824643528768} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992851664709691616 ext:99468973729 loc:0x4132400} ATime:{wall:13992851664709722905 ext:99469005009 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 03:47:56 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 03:47:59 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:48:26 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:48:26 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 03:49:26 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:49:26 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': 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/05 03:49:41.959868 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/05 03:49:41.959905 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/05 03:49:42 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:49:42 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/05 03:50:08 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:50:26 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:50:26 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 03:51:26 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:51:26 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': 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/05 03:51:28.060142 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/05 03:51:28.060176 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/05 03:51: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/05 03:51:28 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/05 03:51:31 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:51:31 DEBUG : Looking for writers 2025/10/05 03:51:31 DEBUG : file1: reading active writers 2025/10/05 03:51:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 03:51:31 DEBUG : Looking for writers 2025/10/05 03:51:31 DEBUG : file1: reading active writers 2025/10/05 03:51:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 03:51:31 DEBUG : Looking for writers 2025/10/05 03:51:31 DEBUG : file1: reading active writers 2025/10/05 03:51:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 03:51:31 DEBUG : Looking for writers 2025/10/05 03:51:31 DEBUG : file1: reading active writers 2025/10/05 03:51:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 03:51:32 DEBUG : Looking for writers 2025/10/05 03:51:32 DEBUG : file1: reading active writers 2025/10/05 03:51:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 03:51:32 DEBUG : Looking for writers 2025/10/05 03:51:32 DEBUG : file1: reading active writers 2025/10/05 03:51:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 03:51:32 DEBUG : Looking for writers 2025/10/05 03:51:32 DEBUG : file1: reading active writers 2025/10/05 03:51:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 03:51:33 DEBUG : Looking for writers 2025/10/05 03:51:33 DEBUG : file1: reading active writers 2025/10/05 03:51:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:34 DEBUG : Looking for writers 2025/10/05 03:51:34 DEBUG : file1: reading active writers 2025/10/05 03:51:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:35 DEBUG : Looking for writers 2025/10/05 03:51:35 DEBUG : file1: reading active writers 2025/10/05 03:51:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:36 DEBUG : Looking for writers 2025/10/05 03:51:36 DEBUG : file1: reading active writers 2025/10/05 03:51:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:37 DEBUG : Looking for writers 2025/10/05 03:51:37 DEBUG : file1: reading active writers 2025/10/05 03:51:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:38 DEBUG : Looking for writers 2025/10/05 03:51:38 DEBUG : file1: reading active writers 2025/10/05 03:51:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:39 DEBUG : Looking for writers 2025/10/05 03:51:39 DEBUG : file1: reading active writers 2025/10/05 03:51:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:40 DEBUG : Looking for writers 2025/10/05 03:51:40 DEBUG : file1: reading active writers 2025/10/05 03:51:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:41 DEBUG : Looking for writers 2025/10/05 03:51:41 DEBUG : file1: reading active writers 2025/10/05 03:51:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:42 DEBUG : Looking for writers 2025/10/05 03:51:42 DEBUG : file1: reading active writers 2025/10/05 03:51:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:43 DEBUG : Looking for writers 2025/10/05 03:51:43 DEBUG : file1: reading active writers 2025/10/05 03:51:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:44 DEBUG : Looking for writers 2025/10/05 03:51:44 DEBUG : file1: reading active writers 2025/10/05 03:51:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:45 DEBUG : Looking for writers 2025/10/05 03:51:45 DEBUG : file1: reading active writers 2025/10/05 03:51:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:46 DEBUG : Looking for writers 2025/10/05 03:51:46 DEBUG : file1: reading active writers 2025/10/05 03:51:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:47 DEBUG : Looking for writers 2025/10/05 03:51:47 DEBUG : file1: reading active writers 2025/10/05 03:51:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:48 DEBUG : Looking for writers 2025/10/05 03:51:48 DEBUG : file1: reading active writers 2025/10/05 03:51:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:49 DEBUG : Looking for writers 2025/10/05 03:51:49 DEBUG : file1: reading active writers 2025/10/05 03:51:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:50 DEBUG : Looking for writers 2025/10/05 03:51:50 DEBUG : file1: reading active writers 2025/10/05 03:51:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:51 DEBUG : Looking for writers 2025/10/05 03:51:51 DEBUG : file1: reading active writers 2025/10/05 03:51:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:52 DEBUG : Looking for writers 2025/10/05 03:51:52 DEBUG : file1: reading active writers 2025/10/05 03:51:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:53 DEBUG : Looking for writers 2025/10/05 03:51:53 DEBUG : file1: reading active writers 2025/10/05 03:51:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:54 DEBUG : Looking for writers 2025/10/05 03:51:54 DEBUG : file1: reading active writers 2025/10/05 03:51:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:55 DEBUG : Looking for writers 2025/10/05 03:51:55 DEBUG : file1: reading active writers 2025/10/05 03:51:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:56 DEBUG : Looking for writers 2025/10/05 03:51:56 DEBUG : file1: reading active writers 2025/10/05 03:51:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:57 DEBUG : Looking for writers 2025/10/05 03:51:57 DEBUG : file1: reading active writers 2025/10/05 03:51:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:58 DEBUG : Looking for writers 2025/10/05 03:51:58 DEBUG : file1: reading active writers 2025/10/05 03:51:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:51:59 DEBUG : Looking for writers 2025/10/05 03:51:59 DEBUG : file1: reading active writers 2025/10/05 03:51:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:52:00 DEBUG : Looking for writers 2025/10/05 03:52:00 DEBUG : file1: reading active writers 2025/10/05 03:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:52:01 DEBUG : Looking for writers 2025/10/05 03:52:01 DEBUG : file1: reading active writers 2025/10/05 03:52:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:52:01 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a4e780 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00095a808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824643528768} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992851664709691616 ext:99468973729 loc:0x4132400} ATime:{wall:13992851664709722905 ext:99469005009 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 03:52:01 DEBUG : >WaitForWriters: 2025/10/05 03:52:01 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (378.29s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 03:53:44 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 03:53:44 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:53:44 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:53:44 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:53:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:53:44 DEBUG : Config file has changed externally - reloading 2025/10/05 03:53:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:53:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:53:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:53:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:53:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 03:53:44 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:53:44 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:53:44 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:53:44 DEBUG : file1: newRWFileHandle: 2025/10/05 03:53:44 DEBUG : file1(0xc0000b35c0): openPending: 2025/10/05 03:53:44 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 03:53:44 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:53:44 DEBUG : file1(0xc0000b35c0): >openPending: err= 2025/10/05 03:53:44 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 03:53:44 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:53:44 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 03:53:44 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 03:53:44 DEBUG : file1(0xc0000b35c0): _writeAt: size=7, off=0 2025/10/05 03:53:44 DEBUG : file1(0xc0000b35c0): >_writeAt: n=7, err= 2025/10/05 03:53:44 DEBUG : file1(0xc0000b35c0): _writeAt: size=6, off=5 2025/10/05 03:53:44 DEBUG : file1(0xc0000b35c0): >_writeAt: n=6, err= 2025/10/05 03:53:44 DEBUG : file1(0xc0000b35c0): close: 2025/10/05 03:53:44 DEBUG : file1: vfs cache: setting modification time to 2025-10-05 03:53:44.913933914 +0000 UTC m=+477.749491710 2025/10/05 03:53:44 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/05 03:53:44 DEBUG : file1(0xc0000b35c0): >close: err= 2025/10/05 03:53:44 DEBUG : file1(0xc0000b35c0): _writeAt: size=5, off=0 2025/10/05 03:53:44 DEBUG : file1(0xc0000b35c0): >_writeAt: n=0, err=file already closed 2025/10/05 03:53:44 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:53:44 DEBUG : Looking for writers 2025/10/05 03:53:44 DEBUG : file1: reading active writers 2025/10/05 03:53:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 03:53:44 DEBUG : Looking for writers 2025/10/05 03:53:44 DEBUG : file1: reading active writers 2025/10/05 03:53:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 03:53:44 DEBUG : Looking for writers 2025/10/05 03:53:44 DEBUG : file1: reading active writers 2025/10/05 03:53:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 03:53:44 DEBUG : Looking for writers 2025/10/05 03:53:44 DEBUG : file1: reading active writers 2025/10/05 03:53:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 03:53:45 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:53:45 DEBUG : Looking for writers 2025/10/05 03:53:45 DEBUG : file1: reading active writers 2025/10/05 03:53:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 03:53:45 DEBUG : Looking for writers 2025/10/05 03:53:45 DEBUG : file1: reading active writers 2025/10/05 03:53:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 03:53:45.521410 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/05 03:53:45.521438 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/05 03:53:45 DEBUG : Looking for writers 2025/10/05 03:53:45 DEBUG : file1: reading active writers 2025/10/05 03:53:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 03:53:46 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/05 03:53:46 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/05 03:53:46 DEBUG : Looking for writers 2025/10/05 03:53:46 DEBUG : file1: reading active writers 2025/10/05 03:53:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53:46 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:53:46.735636 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/05 03:53:46.735660 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/05 03:53:47 DEBUG : Looking for writers 2025/10/05 03:53:47 DEBUG : file1: reading active writers 2025/10/05 03:53:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53:47 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:53:47 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/05 03:53:47 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:53:48.155163 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/05 03:53:48.155186 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/05 03:53:48 DEBUG : Looking for writers 2025/10/05 03:53:48 DEBUG : file1: reading active writers 2025/10/05 03:53:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53: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/05 03:53:48 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/05 03:53:49 DEBUG : Looking for writers 2025/10/05 03:53:49 DEBUG : file1: reading active writers 2025/10/05 03:53:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53:49 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:53:49.983404 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/05 03:53:49.983438 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/05 03:53:50 DEBUG : Looking for writers 2025/10/05 03:53:50 DEBUG : file1: reading active writers 2025/10/05 03:53:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53: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/05 03:53:50 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/05 03:53:51 DEBUG : Looking for writers 2025/10/05 03:53:51 DEBUG : file1: reading active writers 2025/10/05 03:53:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53:52 DEBUG : Looking for writers 2025/10/05 03:53:52 DEBUG : file1: reading active writers 2025/10/05 03:53:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53:52 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:53:52.799418 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/05 03:53:52.799444 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/05 03:53:53 DEBUG : Looking for writers 2025/10/05 03:53:53 DEBUG : file1: reading active writers 2025/10/05 03:53:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53:53 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/05 03:53:53 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/05 03:53:54 DEBUG : Looking for writers 2025/10/05 03:53:54 DEBUG : file1: reading active writers 2025/10/05 03:53:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53:55 DEBUG : Looking for writers 2025/10/05 03:53:55 DEBUG : file1: reading active writers 2025/10/05 03:53:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53:56 DEBUG : Looking for writers 2025/10/05 03:53:56 DEBUG : file1: reading active writers 2025/10/05 03:53:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53:56 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:53:57.073561 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/05 03:53:57.073581 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/05 03:53:57 DEBUG : Looking for writers 2025/10/05 03:53:57 DEBUG : file1: reading active writers 2025/10/05 03:53:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53:57 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:53:57 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/05 03:53:58 DEBUG : Looking for writers 2025/10/05 03:53:58 DEBUG : file1: reading active writers 2025/10/05 03:53:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:53:59 DEBUG : Looking for writers 2025/10/05 03:53:59 DEBUG : file1: reading active writers 2025/10/05 03:53:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:00 DEBUG : Looking for writers 2025/10/05 03:54:00 DEBUG : file1: reading active writers 2025/10/05 03:54:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:01 DEBUG : Looking for writers 2025/10/05 03:54:01 DEBUG : file1: reading active writers 2025/10/05 03:54:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:02 DEBUG : Looking for writers 2025/10/05 03:54:02 DEBUG : file1: reading active writers 2025/10/05 03:54:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:03 DEBUG : Looking for writers 2025/10/05 03:54:03 DEBUG : file1: reading active writers 2025/10/05 03:54:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:04 DEBUG : Looking for writers 2025/10/05 03:54:04 DEBUG : file1: reading active writers 2025/10/05 03:54:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:04 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:54:04.746669 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/05 03:54:04.746693 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/05 03:54:05 DEBUG : Looking for writers 2025/10/05 03:54:05 DEBUG : file1: reading active writers 2025/10/05 03:54:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54: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/05 03:54:05 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/05 03:54:06 DEBUG : Looking for writers 2025/10/05 03:54:06 DEBUG : file1: reading active writers 2025/10/05 03:54:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:07 DEBUG : Looking for writers 2025/10/05 03:54:07 DEBUG : file1: reading active writers 2025/10/05 03:54:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:08 DEBUG : Looking for writers 2025/10/05 03:54:08 DEBUG : file1: reading active writers 2025/10/05 03:54:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:09 DEBUG : Looking for writers 2025/10/05 03:54:09 DEBUG : file1: reading active writers 2025/10/05 03:54:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:10 DEBUG : Looking for writers 2025/10/05 03:54:10 DEBUG : file1: reading active writers 2025/10/05 03:54:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:11 DEBUG : Looking for writers 2025/10/05 03:54:11 DEBUG : file1: reading active writers 2025/10/05 03:54:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:12 DEBUG : Looking for writers 2025/10/05 03:54:12 DEBUG : file1: reading active writers 2025/10/05 03:54:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:13 DEBUG : Looking for writers 2025/10/05 03:54:13 DEBUG : file1: reading active writers 2025/10/05 03:54:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:14 DEBUG : Looking for writers 2025/10/05 03:54:14 DEBUG : file1: reading active writers 2025/10/05 03:54:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:54:14 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a4f590 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000606d08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640040256} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992852070864619098 ext:477749491710 loc:0x4132400} ATime:{wall:13992852070864638544 ext:477749511156 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 03:54:14 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 03:54:18 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:54:44 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:54:44 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 03:55:44 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:55:44 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 03:55:48 DEBUG : forgetting directory cache 2025/10/05 03:55:50 DEBUG : forgetting directory cache 2025/10/05 03:55:52 DEBUG : forgetting directory cache 2025/10/05 03:55:54 DEBUG : forgetting directory cache 2025/10/05 03:55:56 DEBUG : forgetting directory cache 2025/10/05 03:55:58 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/05 03:55:59.952570 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/05 03:55:59.952741 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/05 03:56: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/05 03:56:00 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/05 03:56:00 DEBUG : forgetting directory cache fstest.go:301: Flushing the directory cache 2025/10/05 03:56:02 DEBUG : forgetting directory cache 2025/10/05 03:56:04 DEBUG : forgetting directory cache 2025/10/05 03:56:06 DEBUG : forgetting directory cache 2025/10/05 03:56:08 DEBUG : forgetting directory cache 2025/10/05 03:56:10 DEBUG : forgetting directory cache 2025/10/05 03:56:12 DEBUG : forgetting directory cache 2025/10/05 03:56:14 DEBUG : forgetting directory cache 2025/10/05 03:56:16 DEBUG : forgetting directory cache 2025/10/05 03:56:18 DEBUG : forgetting directory cache 2025/10/05 03:56:20 DEBUG : forgetting directory cache 2025/10/05 03:56:22 DEBUG : forgetting directory cache 2025/10/05 03:56:24 DEBUG : forgetting directory cache 2025/10/05 03:56:26 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:56:26 DEBUG : forgetting directory cache 2025/10/05 03:56:28 DEBUG : forgetting directory cache 2025/10/05 03:56:30 DEBUG : forgetting directory cache 2025/10/05 03:56:32 DEBUG : forgetting directory cache 2025/10/05 03:56:34 DEBUG : forgetting directory cache 2025/10/05 03:56:36 DEBUG : forgetting directory cache 2025/10/05 03:56:38 DEBUG : forgetting directory cache 2025/10/05 03:56:40 DEBUG : forgetting directory cache 2025/10/05 03:56:42 DEBUG : forgetting directory cache 2025/10/05 03:56:44 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:56:44 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 03:56:44 DEBUG : forgetting directory cache 2025/10/05 03:56:46 DEBUG : forgetting directory cache 2025/10/05 03:56:48 DEBUG : forgetting directory cache 2025/10/05 03:56:50 DEBUG : forgetting directory cache 2025/10/05 03:56:52 DEBUG : forgetting directory cache 2025/10/05 03:56:54 DEBUG : forgetting directory cache 2025/10/05 03:56:56 DEBUG : forgetting directory cache 2025/10/05 03:56:59 DEBUG : forgetting directory cache 2025/10/05 03:57:01 DEBUG : forgetting directory cache 2025/10/05 03:57:03 DEBUG : forgetting directory cache 2025/10/05 03:57:05 DEBUG : forgetting directory cache 2025/10/05 03:57:07 DEBUG : forgetting directory cache 2025/10/05 03:57:09 DEBUG : forgetting directory cache 2025/10/05 03:57:11 DEBUG : forgetting directory cache 2025/10/05 03:57:13 DEBUG : forgetting directory cache 2025/10/05 03:57:15 DEBUG : forgetting directory cache 2025/10/05 03:57:17 DEBUG : forgetting directory cache 2025/10/05 03:57:19 DEBUG : forgetting directory cache 2025/10/05 03:57:22 DEBUG : forgetting directory cache 2025/10/05 03:57:24 DEBUG : forgetting directory cache 2025/10/05 03:57:26 DEBUG : forgetting directory cache 2025/10/05 03:57:44 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:57:44 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': 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/05 03:57:46.281063 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/05 03:57:46.281144 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/05 03:57:46 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/05 03:57:46 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/05 03:57:50 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:57:50 DEBUG : Looking for writers 2025/10/05 03:57:50 DEBUG : file1: reading active writers 2025/10/05 03:57:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 03:57:50 DEBUG : Looking for writers 2025/10/05 03:57:50 DEBUG : file1: reading active writers 2025/10/05 03:57:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 03:57:50 DEBUG : Looking for writers 2025/10/05 03:57:50 DEBUG : file1: reading active writers 2025/10/05 03:57:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 03:57:50 DEBUG : Looking for writers 2025/10/05 03:57:50 DEBUG : file1: reading active writers 2025/10/05 03:57:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 03:57:50 DEBUG : Looking for writers 2025/10/05 03:57:50 DEBUG : file1: reading active writers 2025/10/05 03:57:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 03:57:50 DEBUG : Looking for writers 2025/10/05 03:57:50 DEBUG : file1: reading active writers 2025/10/05 03:57:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 03:57:50 DEBUG : Looking for writers 2025/10/05 03:57:50 DEBUG : file1: reading active writers 2025/10/05 03:57:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 03:57:51 DEBUG : Looking for writers 2025/10/05 03:57:51 DEBUG : file1: reading active writers 2025/10/05 03:57:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:57:52 DEBUG : Looking for writers 2025/10/05 03:57:52 DEBUG : file1: reading active writers 2025/10/05 03:57:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:57:53 DEBUG : Looking for writers 2025/10/05 03:57:53 DEBUG : file1: reading active writers 2025/10/05 03:57:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:57:54 DEBUG : Looking for writers 2025/10/05 03:57:54 DEBUG : file1: reading active writers 2025/10/05 03:57:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:57:55 DEBUG : Looking for writers 2025/10/05 03:57:55 DEBUG : file1: reading active writers 2025/10/05 03:57:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:57:56 DEBUG : Looking for writers 2025/10/05 03:57:56 DEBUG : file1: reading active writers 2025/10/05 03:57:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:57:57 DEBUG : Looking for writers 2025/10/05 03:57:57 DEBUG : file1: reading active writers 2025/10/05 03:57:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:57:58 DEBUG : Looking for writers 2025/10/05 03:57:58 DEBUG : file1: reading active writers 2025/10/05 03:57:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:57:59 DEBUG : Looking for writers 2025/10/05 03:57:59 DEBUG : file1: reading active writers 2025/10/05 03:57:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:00 DEBUG : Looking for writers 2025/10/05 03:58:00 DEBUG : file1: reading active writers 2025/10/05 03:58:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:01 DEBUG : Looking for writers 2025/10/05 03:58:01 DEBUG : file1: reading active writers 2025/10/05 03:58:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:02 DEBUG : Looking for writers 2025/10/05 03:58:02 DEBUG : file1: reading active writers 2025/10/05 03:58:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:03 DEBUG : Looking for writers 2025/10/05 03:58:03 DEBUG : file1: reading active writers 2025/10/05 03:58:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:04 DEBUG : Looking for writers 2025/10/05 03:58:04 DEBUG : file1: reading active writers 2025/10/05 03:58:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:05 DEBUG : Looking for writers 2025/10/05 03:58:05 DEBUG : file1: reading active writers 2025/10/05 03:58:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:06 DEBUG : Looking for writers 2025/10/05 03:58:06 DEBUG : file1: reading active writers 2025/10/05 03:58:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:07 DEBUG : Looking for writers 2025/10/05 03:58:07 DEBUG : file1: reading active writers 2025/10/05 03:58:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:08 DEBUG : Looking for writers 2025/10/05 03:58:08 DEBUG : file1: reading active writers 2025/10/05 03:58:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:09 DEBUG : Looking for writers 2025/10/05 03:58:09 DEBUG : file1: reading active writers 2025/10/05 03:58:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:10 DEBUG : Looking for writers 2025/10/05 03:58:10 DEBUG : file1: reading active writers 2025/10/05 03:58:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:11 DEBUG : Looking for writers 2025/10/05 03:58:11 DEBUG : file1: reading active writers 2025/10/05 03:58:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:12 DEBUG : Looking for writers 2025/10/05 03:58:12 DEBUG : file1: reading active writers 2025/10/05 03:58:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:13 DEBUG : Looking for writers 2025/10/05 03:58:13 DEBUG : file1: reading active writers 2025/10/05 03:58:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:14 DEBUG : Looking for writers 2025/10/05 03:58:14 DEBUG : file1: reading active writers 2025/10/05 03:58:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:15 DEBUG : Looking for writers 2025/10/05 03:58:15 DEBUG : file1: reading active writers 2025/10/05 03:58:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:16 DEBUG : Looking for writers 2025/10/05 03:58:16 DEBUG : file1: reading active writers 2025/10/05 03:58:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:17 DEBUG : Looking for writers 2025/10/05 03:58:17 DEBUG : file1: reading active writers 2025/10/05 03:58:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:18 DEBUG : Looking for writers 2025/10/05 03:58:18 DEBUG : file1: reading active writers 2025/10/05 03:58:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:19 DEBUG : Looking for writers 2025/10/05 03:58:19 DEBUG : file1: reading active writers 2025/10/05 03:58:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:58:20 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a4f590 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000606d08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824640040256} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992852070864619098 ext:477749491710 loc:0x4132400} ATime:{wall:13992852070864638544 ext:477749511156 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 03:58:20 DEBUG : >WaitForWriters: 2025/10/05 03:58:20 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteAt (378.44s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:00:03 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:00:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:00:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:00:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:00:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:00:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:00:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:00:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:00:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:00:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:00:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:00:03 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:00:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:00:03 DEBUG : file1: newRWFileHandle: 2025/10/05 04:00:03 DEBUG : file1(0xc000603380): openPending: 2025/10/05 04:00:03 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 04:00:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:00:03 DEBUG : file1(0xc000603380): >openPending: err= 2025/10/05 04:00:03 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 04:00:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:00:03 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 04:00:03 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 04:00:03 DEBUG : file1(0xc000603380): close: 2025/10/05 04:00:03 DEBUG : file1: vfs cache: setting modification time to 2025-10-05 04:00:03.357494536 +0000 UTC m=+856.193052323 2025/10/05 04:00:03 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/05 04:00:03 DEBUG : file1(0xc000603380): >close: err= 2025/10/05 04:00:03 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/05 04:00:03 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/05 04:00:03 DEBUG : file2: newRWFileHandle: 2025/10/05 04:00:03 DEBUG : file2(0xc000603cc0): openPending: 2025/10/05 04:00:03 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 04:00:03 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/05 04:00:03 DEBUG : file2(0xc000603cc0): >openPending: err= 2025/10/05 04:00:03 DEBUG : file2: >newRWFileHandle: err= 2025/10/05 04:00:03 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/05 04:00:03 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/05 04:00:03 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/05 04:00:03 DEBUG : file2(0xc000603cc0): RWFileHandle.Flush 2025/10/05 04:00:03 DEBUG : file2(0xc000603cc0): RWFileHandle.Release 2025/10/05 04:00:03 DEBUG : file2(0xc000603cc0): close: 2025/10/05 04:00:03 DEBUG : file2: vfs cache: setting modification time to 2025-10-05 04:00:03.359523418 +0000 UTC m=+856.195081204 2025/10/05 04:00:03 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/05 04:00:03 DEBUG : file2(0xc000603cc0): >close: err= 2025/10/05 04:00:03 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:00:03 DEBUG : Looking for writers 2025/10/05 04:00:03 DEBUG : file1: reading active writers 2025/10/05 04:00:03 DEBUG : file2: reading active writers 2025/10/05 04:00:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/05 04:00:03 DEBUG : Looking for writers 2025/10/05 04:00:03 DEBUG : file1: reading active writers 2025/10/05 04:00:03 DEBUG : file2: reading active writers 2025/10/05 04:00:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/05 04:00:03 DEBUG : Looking for writers 2025/10/05 04:00:03 DEBUG : file1: reading active writers 2025/10/05 04:00:03 DEBUG : file2: reading active writers 2025/10/05 04:00:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/05 04:00:03 DEBUG : Looking for writers 2025/10/05 04:00:03 DEBUG : file1: reading active writers 2025/10/05 04:00:03 DEBUG : file2: reading active writers 2025/10/05 04:00:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/05 04:00:03 DEBUG : file2: vfs cache: starting upload 2025/10/05 04:00:03 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:00:03 DEBUG : Looking for writers 2025/10/05 04:00:03 DEBUG : file1: reading active writers 2025/10/05 04:00:03 DEBUG : file2: reading active writers 2025/10/05 04:00:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/05 04:00:03 DEBUG : Looking for writers 2025/10/05 04:00:03 DEBUG : file1: reading active writers 2025/10/05 04:00:03 DEBUG : file2: reading active writers 2025/10/05 04:00:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/05 04:00:03.899781 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/05 04:00:03.899837 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/05 04:00:03 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/05 04:00:03 INFO : file2: Copied (new) 2025/10/05 04:00:03 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-05 04:00:03.359523418 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/05 04:00:03 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/05 04:00:03 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/05 04:00:03 INFO : file2: vfs cache: upload succeeded try #1 2025/10/05 04:00:03 DEBUG : Looking for writers 2025/10/05 04:00:03 DEBUG : file1: reading active writers 2025/10/05 04:00:03 DEBUG : file2: reading active writers 2025/10/05 04:00:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 04:00:04 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:00:04 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:00:04 DEBUG : Looking for writers 2025/10/05 04:00:04 DEBUG : file1: reading active writers 2025/10/05 04:00:04 DEBUG : file2: reading active writers 2025/10/05 04:00:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:04 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:00:05.184962 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/05 04:00:05.185003 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/05 04:00:05 DEBUG : Looking for writers 2025/10/05 04:00:05 DEBUG : file1: reading active writers 2025/10/05 04:00:05 DEBUG : file2: reading active writers 2025/10/05 04:00:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00: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/05 04:00:05 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:00:06 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:00:06 DEBUG : Looking for writers 2025/10/05 04:00:06 DEBUG : file1: reading active writers 2025/10/05 04:00:06 DEBUG : file2: reading active writers 2025/10/05 04:00:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:06.659297 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/05 04:00:06.659317 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/05 04:00: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/05 04:00:07 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/05 04:00:07 DEBUG : Looking for writers 2025/10/05 04:00:07 DEBUG : file1: reading active writers 2025/10/05 04:00:07 DEBUG : file2: reading active writers 2025/10/05 04:00:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:08 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:00:08 DEBUG : Looking for writers 2025/10/05 04:00:08 DEBUG : file1: reading active writers 2025/10/05 04:00:08 DEBUG : file2: reading active writers 2025/10/05 04:00:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:08.768691 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/05 04:00:08.768732 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/05 04:00:09 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/05 04:00:09 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/05 04:00:09 DEBUG : Looking for writers 2025/10/05 04:00:09 DEBUG : file1: reading active writers 2025/10/05 04:00:09 DEBUG : file2: reading active writers 2025/10/05 04:00:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:10 DEBUG : Looking for writers 2025/10/05 04:00:10 DEBUG : file1: reading active writers 2025/10/05 04:00:10 DEBUG : file2: reading active writers 2025/10/05 04:00:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:11 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:00:11 DEBUG : Looking for writers 2025/10/05 04:00:11 DEBUG : file1: reading active writers 2025/10/05 04:00:11 DEBUG : file2: reading active writers 2025/10/05 04:00:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:11.657026 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/05 04:00:11.657050 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/05 04:00:12 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:00:12 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/05 04:00:12 DEBUG : Looking for writers 2025/10/05 04:00:12 DEBUG : file1: reading active writers 2025/10/05 04:00:12 DEBUG : file2: reading active writers 2025/10/05 04:00:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:13 DEBUG : Looking for writers 2025/10/05 04:00:13 DEBUG : file1: reading active writers 2025/10/05 04:00:13 DEBUG : file2: reading active writers 2025/10/05 04:00:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:14 DEBUG : Looking for writers 2025/10/05 04:00:14 DEBUG : file1: reading active writers 2025/10/05 04:00:14 DEBUG : file2: reading active writers 2025/10/05 04:00:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:15 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:00:15 DEBUG : Looking for writers 2025/10/05 04:00:15 DEBUG : file1: reading active writers 2025/10/05 04:00:15 DEBUG : file2: reading active writers 2025/10/05 04:00:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:15.964276 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/05 04:00:15.964342 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/05 04:00:16 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:00:16 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/05 04:00:16 DEBUG : Looking for writers 2025/10/05 04:00:16 DEBUG : file1: reading active writers 2025/10/05 04:00:16 DEBUG : file2: reading active writers 2025/10/05 04:00:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:17 DEBUG : Looking for writers 2025/10/05 04:00:17 DEBUG : file1: reading active writers 2025/10/05 04:00:17 DEBUG : file2: reading active writers 2025/10/05 04:00:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:18 DEBUG : Looking for writers 2025/10/05 04:00:18 DEBUG : file1: reading active writers 2025/10/05 04:00:18 DEBUG : file2: reading active writers 2025/10/05 04:00:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:19 DEBUG : Looking for writers 2025/10/05 04:00:19 DEBUG : file2: reading active writers 2025/10/05 04:00:19 DEBUG : file1: reading active writers 2025/10/05 04:00:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:20 DEBUG : Looking for writers 2025/10/05 04:00:20 DEBUG : file1: reading active writers 2025/10/05 04:00:20 DEBUG : file2: reading active writers 2025/10/05 04:00:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:21 DEBUG : Looking for writers 2025/10/05 04:00:21 DEBUG : file1: reading active writers 2025/10/05 04:00:21 DEBUG : file2: reading active writers 2025/10/05 04:00:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:22 DEBUG : Looking for writers 2025/10/05 04:00:22 DEBUG : file1: reading active writers 2025/10/05 04:00:22 DEBUG : file2: reading active writers 2025/10/05 04:00:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:22 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:00:23.417274 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/05 04:00:23.417310 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/05 04:00:23 DEBUG : Looking for writers 2025/10/05 04:00:23 DEBUG : file1: reading active writers 2025/10/05 04:00:23 DEBUG : file2: reading active writers 2025/10/05 04:00:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00: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/05 04:00:24 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:00:24 DEBUG : Looking for writers 2025/10/05 04:00:24 DEBUG : file2: reading active writers 2025/10/05 04:00:24 DEBUG : file1: reading active writers 2025/10/05 04:00:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:25 DEBUG : Looking for writers 2025/10/05 04:00:25 DEBUG : file1: reading active writers 2025/10/05 04:00:25 DEBUG : file2: reading active writers 2025/10/05 04:00:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:26 DEBUG : Looking for writers 2025/10/05 04:00:26 DEBUG : file1: reading active writers 2025/10/05 04:00:26 DEBUG : file2: reading active writers 2025/10/05 04:00:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:27 DEBUG : Looking for writers 2025/10/05 04:00:27 DEBUG : file2: reading active writers 2025/10/05 04:00:27 DEBUG : file1: reading active writers 2025/10/05 04:00:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:28 DEBUG : Looking for writers 2025/10/05 04:00:28 DEBUG : file1: reading active writers 2025/10/05 04:00:28 DEBUG : file2: reading active writers 2025/10/05 04:00:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:29 DEBUG : Looking for writers 2025/10/05 04:00:29 DEBUG : file1: reading active writers 2025/10/05 04:00:29 DEBUG : file2: reading active writers 2025/10/05 04:00:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:30 DEBUG : Looking for writers 2025/10/05 04:00:30 DEBUG : file1: reading active writers 2025/10/05 04:00:30 DEBUG : file2: reading active writers 2025/10/05 04:00:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:31 DEBUG : Looking for writers 2025/10/05 04:00:31 DEBUG : file1: reading active writers 2025/10/05 04:00:31 DEBUG : file2: reading active writers 2025/10/05 04:00:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:32 DEBUG : Looking for writers 2025/10/05 04:00:32 DEBUG : file1: reading active writers 2025/10/05 04:00:32 DEBUG : file2: reading active writers 2025/10/05 04:00:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:00:33 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000ae45a0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00095ae08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824643530304} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992852477256331016 ext:856193052323 loc:0x4132400} ATime:{wall:13992852477256682627 ext:856193403933 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000ae45a0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00095b908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824643533120} name:file2 opens:0 downloaders: o:0xc000439e00 fd: info:{ModTime:{wall:13992852477258359898 ext:856195081204 loc:0x4132400} ATime:{wall:13992852477258489972 ext:856195211268 loc:0x4132400} Size:0 Rs:[] Fingerprint:0,2025-10-05 04:00:03.359523418 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 04:00:33 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 04:00:36 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:01:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:01:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 04:01:03 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/05 04:02:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:02:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 04:02:03 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': 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/05 04:02:18.661777 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/05 04:02:18.661801 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/05 04:02:19 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/05 04:02:19 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/05 04:02:44 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:03:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:03:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 04:03:03 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/05 04:03:44 DEBUG : forgetting directory cache 2025/10/05 04:04:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:04:03 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 04:04:03 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': 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/05 04:04:04.236060 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/05 04:04:04.236088 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/05 04:04:04 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:04:04 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/05 04:04:08 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:04:08 DEBUG : Looking for writers 2025/10/05 04:04:08 DEBUG : file1: reading active writers 2025/10/05 04:04:08 DEBUG : file2: reading active writers 2025/10/05 04:04:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 04:04:08 DEBUG : Looking for writers 2025/10/05 04:04:08 DEBUG : file1: reading active writers 2025/10/05 04:04:08 DEBUG : file2: reading active writers 2025/10/05 04:04:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 04:04:08 DEBUG : Looking for writers 2025/10/05 04:04:08 DEBUG : file1: reading active writers 2025/10/05 04:04:08 DEBUG : file2: reading active writers 2025/10/05 04:04:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 04:04:08 DEBUG : Looking for writers 2025/10/05 04:04:08 DEBUG : file1: reading active writers 2025/10/05 04:04:08 DEBUG : file2: reading active writers 2025/10/05 04:04:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 04:04:08 DEBUG : Looking for writers 2025/10/05 04:04:08 DEBUG : file1: reading active writers 2025/10/05 04:04:08 DEBUG : file2: reading active writers 2025/10/05 04:04:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 04:04:08 DEBUG : Looking for writers 2025/10/05 04:04:08 DEBUG : file1: reading active writers 2025/10/05 04:04:08 DEBUG : file2: reading active writers 2025/10/05 04:04:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 04:04:08 DEBUG : Looking for writers 2025/10/05 04:04:08 DEBUG : file1: reading active writers 2025/10/05 04:04:08 DEBUG : file2: reading active writers 2025/10/05 04:04:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 04:04:09 DEBUG : Looking for writers 2025/10/05 04:04:09 DEBUG : file1: reading active writers 2025/10/05 04:04:09 DEBUG : file2: reading active writers 2025/10/05 04:04:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:10 DEBUG : Looking for writers 2025/10/05 04:04:10 DEBUG : file1: reading active writers 2025/10/05 04:04:10 DEBUG : file2: reading active writers 2025/10/05 04:04:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:11 DEBUG : Looking for writers 2025/10/05 04:04:11 DEBUG : file2: reading active writers 2025/10/05 04:04:11 DEBUG : file1: reading active writers 2025/10/05 04:04:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:12 DEBUG : Looking for writers 2025/10/05 04:04:12 DEBUG : file1: reading active writers 2025/10/05 04:04:12 DEBUG : file2: reading active writers 2025/10/05 04:04:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:13 DEBUG : Looking for writers 2025/10/05 04:04:13 DEBUG : file1: reading active writers 2025/10/05 04:04:13 DEBUG : file2: reading active writers 2025/10/05 04:04:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:14 DEBUG : Looking for writers 2025/10/05 04:04:14 DEBUG : file1: reading active writers 2025/10/05 04:04:14 DEBUG : file2: reading active writers 2025/10/05 04:04:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:15 DEBUG : Looking for writers 2025/10/05 04:04:15 DEBUG : file1: reading active writers 2025/10/05 04:04:15 DEBUG : file2: reading active writers 2025/10/05 04:04:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:16 DEBUG : Looking for writers 2025/10/05 04:04:16 DEBUG : file1: reading active writers 2025/10/05 04:04:16 DEBUG : file2: reading active writers 2025/10/05 04:04:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:17 DEBUG : Looking for writers 2025/10/05 04:04:17 DEBUG : file1: reading active writers 2025/10/05 04:04:17 DEBUG : file2: reading active writers 2025/10/05 04:04:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:18 DEBUG : Looking for writers 2025/10/05 04:04:18 DEBUG : file1: reading active writers 2025/10/05 04:04:18 DEBUG : file2: reading active writers 2025/10/05 04:04:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:19 DEBUG : Looking for writers 2025/10/05 04:04:19 DEBUG : file1: reading active writers 2025/10/05 04:04:19 DEBUG : file2: reading active writers 2025/10/05 04:04:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:20 DEBUG : Looking for writers 2025/10/05 04:04:20 DEBUG : file1: reading active writers 2025/10/05 04:04:20 DEBUG : file2: reading active writers 2025/10/05 04:04:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:21 DEBUG : Looking for writers 2025/10/05 04:04:21 DEBUG : file1: reading active writers 2025/10/05 04:04:21 DEBUG : file2: reading active writers 2025/10/05 04:04:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:22 DEBUG : Looking for writers 2025/10/05 04:04:22 DEBUG : file1: reading active writers 2025/10/05 04:04:22 DEBUG : file2: reading active writers 2025/10/05 04:04:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:23 DEBUG : Looking for writers 2025/10/05 04:04:23 DEBUG : file1: reading active writers 2025/10/05 04:04:23 DEBUG : file2: reading active writers 2025/10/05 04:04:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:24 DEBUG : Looking for writers 2025/10/05 04:04:24 DEBUG : file1: reading active writers 2025/10/05 04:04:24 DEBUG : file2: reading active writers 2025/10/05 04:04:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:25 DEBUG : Looking for writers 2025/10/05 04:04:25 DEBUG : file1: reading active writers 2025/10/05 04:04:25 DEBUG : file2: reading active writers 2025/10/05 04:04:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:26 DEBUG : Looking for writers 2025/10/05 04:04:26 DEBUG : file1: reading active writers 2025/10/05 04:04:26 DEBUG : file2: reading active writers 2025/10/05 04:04:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:27 DEBUG : Looking for writers 2025/10/05 04:04:27 DEBUG : file1: reading active writers 2025/10/05 04:04:27 DEBUG : file2: reading active writers 2025/10/05 04:04:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:28 DEBUG : Looking for writers 2025/10/05 04:04:28 DEBUG : file1: reading active writers 2025/10/05 04:04:28 DEBUG : file2: reading active writers 2025/10/05 04:04:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:29 DEBUG : Looking for writers 2025/10/05 04:04:29 DEBUG : file1: reading active writers 2025/10/05 04:04:29 DEBUG : file2: reading active writers 2025/10/05 04:04:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:30 DEBUG : Looking for writers 2025/10/05 04:04:30 DEBUG : file2: reading active writers 2025/10/05 04:04:30 DEBUG : file1: reading active writers 2025/10/05 04:04:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:31 DEBUG : Looking for writers 2025/10/05 04:04:31 DEBUG : file2: reading active writers 2025/10/05 04:04:31 DEBUG : file1: reading active writers 2025/10/05 04:04:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:32 DEBUG : Looking for writers 2025/10/05 04:04:32 DEBUG : file1: reading active writers 2025/10/05 04:04:32 DEBUG : file2: reading active writers 2025/10/05 04:04:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:33 DEBUG : Looking for writers 2025/10/05 04:04:33 DEBUG : file2: reading active writers 2025/10/05 04:04:33 DEBUG : file1: reading active writers 2025/10/05 04:04:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:34 DEBUG : Looking for writers 2025/10/05 04:04:34 DEBUG : file1: reading active writers 2025/10/05 04:04:34 DEBUG : file2: reading active writers 2025/10/05 04:04:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:35 DEBUG : Looking for writers 2025/10/05 04:04:35 DEBUG : file1: reading active writers 2025/10/05 04:04:35 DEBUG : file2: reading active writers 2025/10/05 04:04:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:36 DEBUG : Looking for writers 2025/10/05 04:04:36 DEBUG : file1: reading active writers 2025/10/05 04:04:36 DEBUG : file2: reading active writers 2025/10/05 04:04:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:37 DEBUG : Looking for writers 2025/10/05 04:04:37 DEBUG : file1: reading active writers 2025/10/05 04:04:37 DEBUG : file2: reading active writers 2025/10/05 04:04:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:04:38 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file2": &{c:0xc000ae45a0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00095b908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824643533120} name:file2 opens:0 downloaders: o:0xc000439e00 fd: info:{ModTime:{wall:13992852477258359898 ext:856195081204 loc:0x4132400} ATime:{wall:13992852477258489972 ext:856195211268 loc:0x4132400} Size:0 Rs:[] Fingerprint:0,2025-10-05 04:00:03.359523418 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, "file1": &{c:0xc000ae45a0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00095ae08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824643530304} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992852477256331016 ext:856193052323 loc:0x4132400} ATime:{wall:13992852477256682627 ext:856193403933 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 04:04:38 DEBUG : >WaitForWriters: 2025/10/05 04:04:38 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteNoWrite (378.33s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:06:21 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:06:21 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:06:21 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:21 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:06:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:06:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:21 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:06:22.836973 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:06:22.837009 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:06:22 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:06:22 DEBUG : Looking for writers 2025/10/05 04:06:22 DEBUG : >WaitForWriters: 2025/10/05 04:06:22 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (2.20s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:06:23 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:06:23 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:06:23 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:23 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:06:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:06:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:23 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:06:24.911210 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:06:24.911252 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:06:24 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:06:24 DEBUG : Looking for writers 2025/10/05 04:06:24 DEBUG : >WaitForWriters: 2025/10/05 04:06:24 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (2.04s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:06:25 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:06:25 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:06:25 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:25 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:06:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:06:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:25 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:06:25 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:06:25 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:06:25 DEBUG : file1: newRWFileHandle: 2025/10/05 04:06:25 DEBUG : file1(0xc007bcfec0): openPending: 2025/10/05 04:06:25 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 04:06:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:06:25 DEBUG : file1(0xc007bcfec0): >openPending: err= 2025/10/05 04:06:25 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 04:06:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:06:25 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 04:06:25 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 04:06:26.751066 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:06:26.751110 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:06:26 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:06:26 DEBUG : Looking for writers 2025/10/05 04:06:26 DEBUG : file1: reading active writers 2025/10/05 04:06:26 DEBUG : file1: active writers 1 2025/10/05 04:06:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/05 04:06:26 DEBUG : Looking for writers 2025/10/05 04:06:26 DEBUG : file1: reading active writers 2025/10/05 04:06:26 DEBUG : file1: active writers 1 2025/10/05 04:06:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/05 04:06:26 DEBUG : Looking for writers 2025/10/05 04:06:26 DEBUG : file1: reading active writers 2025/10/05 04:06:26 DEBUG : file1: active writers 1 2025/10/05 04:06:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/05 04:06:26 DEBUG : Looking for writers 2025/10/05 04:06:26 DEBUG : file1: reading active writers 2025/10/05 04:06:26 DEBUG : file1: active writers 1 2025/10/05 04:06:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/05 04:06:26 DEBUG : Looking for writers 2025/10/05 04:06:26 DEBUG : file1: reading active writers 2025/10/05 04:06:26 DEBUG : file1: active writers 1 2025/10/05 04:06:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/05 04:06:27 DEBUG : Looking for writers 2025/10/05 04:06:27 DEBUG : file1: reading active writers 2025/10/05 04:06:27 DEBUG : file1: active writers 1 2025/10/05 04:06:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/05 04:06:27 DEBUG : Looking for writers 2025/10/05 04:06:27 DEBUG : file1: reading active writers 2025/10/05 04:06:27 DEBUG : file1: active writers 1 2025/10/05 04:06:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/05 04:06:28 DEBUG : Looking for writers 2025/10/05 04:06:28 DEBUG : file1: reading active writers 2025/10/05 04:06:28 DEBUG : file1: active writers 1 2025/10/05 04:06:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:29 DEBUG : Looking for writers 2025/10/05 04:06:29 DEBUG : file1: reading active writers 2025/10/05 04:06:29 DEBUG : file1: active writers 1 2025/10/05 04:06:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:30 DEBUG : Looking for writers 2025/10/05 04:06:30 DEBUG : file1: reading active writers 2025/10/05 04:06:30 DEBUG : file1: active writers 1 2025/10/05 04:06:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:31 DEBUG : Looking for writers 2025/10/05 04:06:31 DEBUG : file1: reading active writers 2025/10/05 04:06:31 DEBUG : file1: active writers 1 2025/10/05 04:06:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:32 DEBUG : Looking for writers 2025/10/05 04:06:32 DEBUG : file1: reading active writers 2025/10/05 04:06:32 DEBUG : file1: active writers 1 2025/10/05 04:06:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:33 DEBUG : Looking for writers 2025/10/05 04:06:33 DEBUG : file1: reading active writers 2025/10/05 04:06:33 DEBUG : file1: active writers 1 2025/10/05 04:06:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:34 DEBUG : Looking for writers 2025/10/05 04:06:34 DEBUG : file1: reading active writers 2025/10/05 04:06:34 DEBUG : file1: active writers 1 2025/10/05 04:06:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:35 DEBUG : Looking for writers 2025/10/05 04:06:35 DEBUG : file1: reading active writers 2025/10/05 04:06:35 DEBUG : file1: active writers 1 2025/10/05 04:06:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:36 DEBUG : Looking for writers 2025/10/05 04:06:36 DEBUG : file1: reading active writers 2025/10/05 04:06:36 DEBUG : file1: active writers 1 2025/10/05 04:06:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:37 DEBUG : Looking for writers 2025/10/05 04:06:37 DEBUG : file1: reading active writers 2025/10/05 04:06:37 DEBUG : file1: active writers 1 2025/10/05 04:06:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:38 DEBUG : Looking for writers 2025/10/05 04:06:38 DEBUG : file1: reading active writers 2025/10/05 04:06:38 DEBUG : file1: active writers 1 2025/10/05 04:06:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:39 DEBUG : Looking for writers 2025/10/05 04:06:39 DEBUG : file1: reading active writers 2025/10/05 04:06:39 DEBUG : file1: active writers 1 2025/10/05 04:06:39 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:40 DEBUG : Looking for writers 2025/10/05 04:06:40 DEBUG : file1: reading active writers 2025/10/05 04:06:40 DEBUG : file1: active writers 1 2025/10/05 04:06:40 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:41 DEBUG : Looking for writers 2025/10/05 04:06:41 DEBUG : file1: reading active writers 2025/10/05 04:06:41 DEBUG : file1: active writers 1 2025/10/05 04:06:41 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:42 DEBUG : Looking for writers 2025/10/05 04:06:42 DEBUG : file1: reading active writers 2025/10/05 04:06:42 DEBUG : file1: active writers 1 2025/10/05 04:06:42 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:43 DEBUG : Looking for writers 2025/10/05 04:06:43 DEBUG : file1: reading active writers 2025/10/05 04:06:43 DEBUG : file1: active writers 1 2025/10/05 04:06:43 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:44 DEBUG : Looking for writers 2025/10/05 04:06:44 DEBUG : file1: reading active writers 2025/10/05 04:06:44 DEBUG : file1: active writers 1 2025/10/05 04:06:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:45 DEBUG : Looking for writers 2025/10/05 04:06:45 DEBUG : file1: reading active writers 2025/10/05 04:06:45 DEBUG : file1: active writers 1 2025/10/05 04:06:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:46 DEBUG : Looking for writers 2025/10/05 04:06:46 DEBUG : file1: reading active writers 2025/10/05 04:06:46 DEBUG : file1: active writers 1 2025/10/05 04:06:46 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:47 DEBUG : Looking for writers 2025/10/05 04:06:47 DEBUG : file1: reading active writers 2025/10/05 04:06:47 DEBUG : file1: active writers 1 2025/10/05 04:06:47 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:48 DEBUG : Looking for writers 2025/10/05 04:06:48 DEBUG : file1: reading active writers 2025/10/05 04:06:48 DEBUG : file1: active writers 1 2025/10/05 04:06:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:49 DEBUG : Looking for writers 2025/10/05 04:06:49 DEBUG : file1: reading active writers 2025/10/05 04:06:49 DEBUG : file1: active writers 1 2025/10/05 04:06:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:50 DEBUG : Looking for writers 2025/10/05 04:06:50 DEBUG : file1: reading active writers 2025/10/05 04:06:50 DEBUG : file1: active writers 1 2025/10/05 04:06:50 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:51 DEBUG : Looking for writers 2025/10/05 04:06:51 DEBUG : file1: reading active writers 2025/10/05 04:06:51 DEBUG : file1: active writers 1 2025/10/05 04:06:51 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:52 DEBUG : Looking for writers 2025/10/05 04:06:52 DEBUG : file1: reading active writers 2025/10/05 04:06:52 DEBUG : file1: active writers 1 2025/10/05 04:06:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:53 DEBUG : Looking for writers 2025/10/05 04:06:53 DEBUG : file1: reading active writers 2025/10/05 04:06:53 DEBUG : file1: active writers 1 2025/10/05 04:06:53 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:54 DEBUG : Looking for writers 2025/10/05 04:06:54 DEBUG : file1: reading active writers 2025/10/05 04:06:54 DEBUG : file1: active writers 1 2025/10/05 04:06:54 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:55 DEBUG : Looking for writers 2025/10/05 04:06:55 DEBUG : file1: reading active writers 2025/10/05 04:06:55 DEBUG : file1: active writers 1 2025/10/05 04:06:55 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:56 DEBUG : Looking for writers 2025/10/05 04:06:56 DEBUG : file1: reading active writers 2025/10/05 04:06:56 DEBUG : file1: active writers 1 2025/10/05 04:06:56 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:06:56 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00023eff0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00790f808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824760662080} name:file1 opens:1 downloaders: o: fd:0xc000632350 info:{ModTime:{wall:13992852887998302998 ext:1238765647566 loc:0x4132400} ATime:{wall:13992852887998302998 ext:1238765647566 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/05 04:06:56 DEBUG : >WaitForWriters: 2025/10/05 04:06:56 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (31.42s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:06:57 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:06:57 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:06:57 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:57 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:06:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:06:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-woluxog7jidu" 2025/10/05 04:06:57 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:06:57 DEBUG : forgetting directory cache 2025/10/05 04:06:58.084789 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:06:58.084836 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:06:58 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:06:58 DEBUG : Looking for writers 2025/10/05 04:06:58 DEBUG : >WaitForWriters: 2025/10/05 04:06:58 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (1.32s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:06:59.291074 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:06:59.291115 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (1.24s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:07:00.508015 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:07:00.508044 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.18s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:07:00 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:07:00 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:07:01.317493 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/05 04:07:01.317521 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-woluxog7jidu'": a draft exist - usually this means a file is being 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/05 04:07:01 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:07:01 DEBUG : Looking for writers 2025/10/05 04:07:01 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (1.44s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:07:02 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:07:02 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:07:02.729084 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/05 04:07:02.729117 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-woluxog7jidu'": a draft exist - usually this means a file is being 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/05 04:07:03 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:07:03 DEBUG : Looking for writers 2025/10/05 04:07:03 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (1.39s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:07:03 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:07:03 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:07:04.129569 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/05 04:07:04.129607 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-woluxog7jidu'": a draft exist - usually this means a file is being 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/05 04:07:04 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:07:04 DEBUG : Looking for writers 2025/10/05 04:07:04 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (1.43s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:07:05 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:07:05 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:07:06.340778 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:07:06.340829 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:07:06 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:07:06 DEBUG : Looking for writers 2025/10/05 04:07:06 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (2.06s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:07:07 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:07:07 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:07:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:07:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:07:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:07:07 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:07:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:07:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:07:07 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/05 04:07:07 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/05 04:07:07 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/05 04:07:07 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': File to upload is small (5 bytes), uploading instead of streaming 2025/10/05 04:07:07.850194 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/05 04:07:07.850230 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/05 04:07:08 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/05 04:07:08 DEBUG : file1: Remove: 2025/10/05 04:07:08 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:07:08 DEBUG : file1: >Remove: err= write_test.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:144 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:153 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 04:07:26 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/05 04:10:03 DEBUG : forgetting directory cache 2025/10/05 04:10:03 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/05 04:10:40 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:10:40 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:10:40 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:10:40 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:10:40 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:10:40 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:10:40 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': File to upload is small (0 bytes), uploading instead of streaming 2025/10/05 04:12:24.916644 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/05 04:12:24.916762 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/05 04:12:25 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/05 04:12:25 DEBUG : file1: Remove: 2025/10/05 04:12:25 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:12:25 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/05 04:12:25 DEBUG : Re-reading directory (5m18.102996457s old) 2025/10/05 04:12:25 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/05 04:12:25 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:12:25 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:12:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:12:25 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:12:25 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:12:25 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/05 04:12:25 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:12:25 DEBUG : Looking for writers 2025/10/05 04:12:25 DEBUG : file1: reading active writers 2025/10/05 04:12:25 DEBUG : file1: active writers 1 2025/10/05 04:12:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/05 04:12:25 DEBUG : Looking for writers 2025/10/05 04:12:25 DEBUG : file1: reading active writers 2025/10/05 04:12:25 DEBUG : file1: active writers 1 2025/10/05 04:12:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/05 04:12:25 DEBUG : Looking for writers 2025/10/05 04:12:25 DEBUG : file1: reading active writers 2025/10/05 04:12:25 DEBUG : file1: active writers 1 2025/10/05 04:12:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/05 04:12:25 DEBUG : Looking for writers 2025/10/05 04:12:25 DEBUG : file1: reading active writers 2025/10/05 04:12:25 DEBUG : file1: active writers 1 2025/10/05 04:12:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/05 04:12:25 DEBUG : Looking for writers 2025/10/05 04:12:25 DEBUG : file1: reading active writers 2025/10/05 04:12:25 DEBUG : file1: active writers 1 2025/10/05 04:12:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/05 04:12:26 DEBUG : Looking for writers 2025/10/05 04:12:26 DEBUG : file1: reading active writers 2025/10/05 04:12:26 DEBUG : file1: active writers 1 2025/10/05 04:12:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/05 04:12:26 DEBUG : Looking for writers 2025/10/05 04:12:26 DEBUG : file1: reading active writers 2025/10/05 04:12:26 DEBUG : file1: active writers 1 2025/10/05 04:12:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/05 04:12:27 DEBUG : Looking for writers 2025/10/05 04:12:27 DEBUG : file1: reading active writers 2025/10/05 04:12:27 DEBUG : file1: active writers 1 2025/10/05 04:12:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:28 DEBUG : Looking for writers 2025/10/05 04:12:28 DEBUG : file1: reading active writers 2025/10/05 04:12:28 DEBUG : file1: active writers 1 2025/10/05 04:12:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:29 DEBUG : Looking for writers 2025/10/05 04:12:29 DEBUG : file1: reading active writers 2025/10/05 04:12:29 DEBUG : file1: active writers 1 2025/10/05 04:12:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:30 DEBUG : Looking for writers 2025/10/05 04:12:30 DEBUG : file1: reading active writers 2025/10/05 04:12:30 DEBUG : file1: active writers 1 2025/10/05 04:12:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:31 DEBUG : Looking for writers 2025/10/05 04:12:31 DEBUG : file1: reading active writers 2025/10/05 04:12:31 DEBUG : file1: active writers 1 2025/10/05 04:12:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:32 DEBUG : Looking for writers 2025/10/05 04:12:32 DEBUG : file1: reading active writers 2025/10/05 04:12:32 DEBUG : file1: active writers 1 2025/10/05 04:12:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:33 DEBUG : Looking for writers 2025/10/05 04:12:33 DEBUG : file1: reading active writers 2025/10/05 04:12:33 DEBUG : file1: active writers 1 2025/10/05 04:12:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:34 DEBUG : Looking for writers 2025/10/05 04:12:34 DEBUG : file1: reading active writers 2025/10/05 04:12:34 DEBUG : file1: active writers 1 2025/10/05 04:12:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:35 DEBUG : Looking for writers 2025/10/05 04:12:35 DEBUG : file1: reading active writers 2025/10/05 04:12:35 DEBUG : file1: active writers 1 2025/10/05 04:12:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:36 DEBUG : Looking for writers 2025/10/05 04:12:36 DEBUG : file1: reading active writers 2025/10/05 04:12:36 DEBUG : file1: active writers 1 2025/10/05 04:12:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:37 DEBUG : Looking for writers 2025/10/05 04:12:37 DEBUG : file1: reading active writers 2025/10/05 04:12:37 DEBUG : file1: active writers 1 2025/10/05 04:12:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:38 DEBUG : Looking for writers 2025/10/05 04:12:38 DEBUG : file1: reading active writers 2025/10/05 04:12:38 DEBUG : file1: active writers 1 2025/10/05 04:12:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:39 DEBUG : Looking for writers 2025/10/05 04:12:39 DEBUG : file1: reading active writers 2025/10/05 04:12:39 DEBUG : file1: active writers 1 2025/10/05 04:12:39 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:40 DEBUG : Looking for writers 2025/10/05 04:12:40 DEBUG : file1: reading active writers 2025/10/05 04:12:40 DEBUG : file1: active writers 1 2025/10/05 04:12:40 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:41 DEBUG : Looking for writers 2025/10/05 04:12:41 DEBUG : file1: reading active writers 2025/10/05 04:12:41 DEBUG : file1: active writers 1 2025/10/05 04:12:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:42 DEBUG : Looking for writers 2025/10/05 04:12:42 DEBUG : file1: reading active writers 2025/10/05 04:12:42 DEBUG : file1: active writers 1 2025/10/05 04:12:42 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:43 DEBUG : Looking for writers 2025/10/05 04:12:43 DEBUG : file1: reading active writers 2025/10/05 04:12:43 DEBUG : file1: active writers 1 2025/10/05 04:12:43 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:44 DEBUG : Looking for writers 2025/10/05 04:12:44 DEBUG : file1: reading active writers 2025/10/05 04:12:44 DEBUG : file1: active writers 1 2025/10/05 04:12:44 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:45 DEBUG : Looking for writers 2025/10/05 04:12:45 DEBUG : file1: reading active writers 2025/10/05 04:12:45 DEBUG : file1: active writers 1 2025/10/05 04:12:45 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:46 DEBUG : Looking for writers 2025/10/05 04:12:46 DEBUG : file1: reading active writers 2025/10/05 04:12:46 DEBUG : file1: active writers 1 2025/10/05 04:12:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:47 DEBUG : Looking for writers 2025/10/05 04:12:47 DEBUG : file1: reading active writers 2025/10/05 04:12:47 DEBUG : file1: active writers 1 2025/10/05 04:12:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:48 DEBUG : Looking for writers 2025/10/05 04:12:48 DEBUG : file1: reading active writers 2025/10/05 04:12:48 DEBUG : file1: active writers 1 2025/10/05 04:12:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:49 DEBUG : Looking for writers 2025/10/05 04:12:49 DEBUG : file1: reading active writers 2025/10/05 04:12:49 DEBUG : file1: active writers 1 2025/10/05 04:12:49 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:50 DEBUG : Looking for writers 2025/10/05 04:12:50 DEBUG : file1: reading active writers 2025/10/05 04:12:50 DEBUG : file1: active writers 1 2025/10/05 04:12:50 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:51 DEBUG : Looking for writers 2025/10/05 04:12:51 DEBUG : file1: reading active writers 2025/10/05 04:12:51 DEBUG : file1: active writers 1 2025/10/05 04:12:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:52 DEBUG : Looking for writers 2025/10/05 04:12:52 DEBUG : file1: reading active writers 2025/10/05 04:12:52 DEBUG : file1: active writers 1 2025/10/05 04:12:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:53 DEBUG : Looking for writers 2025/10/05 04:12:53 DEBUG : file1: reading active writers 2025/10/05 04:12:53 DEBUG : file1: active writers 1 2025/10/05 04:12:53 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:54 DEBUG : Looking for writers 2025/10/05 04:12:54 DEBUG : file1: reading active writers 2025/10/05 04:12:54 DEBUG : file1: active writers 1 2025/10/05 04:12:54 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:55 DEBUG : Looking for writers 2025/10/05 04:12:55 DEBUG : file1: reading active writers 2025/10/05 04:12:55 DEBUG : file1: active writers 1 2025/10/05 04:12:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:12:55 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/05 04:12:55 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (348.94s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:12:56 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:12:56 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:12:56 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:12:56 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:12:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:12:56 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:12:56 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:12:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:12:56 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/05 04:12:57 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/05 04:12:57 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/05 04:12:57 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/05 04:12:57 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': File to upload is small (11 bytes), uploading instead of streaming 2025/10/05 04:12:57.785568 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/05 04:12:57.785594 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/05 04:12:58 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:12:58 DEBUG : file1: Remove: 2025/10/05 04:12:58 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:12:58 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/05 04:12:58 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:231 Error: Not equal: expected: []string{"file1,11,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" -} +([]string) Test: TestWriteFileHandleWriteAt fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 04:13:44 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/05 04:16:21 DEBUG : forgetting directory cache 2025/10/05 04:16:23 DEBUG : forgetting directory cache 2025/10/05 04:16:25 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/05 04:16:31 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:16:31 DEBUG : Looking for writers 2025/10/05 04:16:31 DEBUG : >WaitForWriters: 2025/10/05 04:17:00 DEBUG : forgetting directory cache 2025/10/05 04:17:02 DEBUG : forgetting directory cache 2025/10/05 04:17:03 DEBUG : forgetting directory cache 2025/10/05 04:17:05 DEBUG : forgetting directory cache 2025/10/05 04:17:26 DEBUG : forgetting directory cache --- FAIL: TestWriteFileHandleWriteAt (323.74s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:18:19 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:18:19 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:19 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:18:20 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:18:20 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:18:20 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:18:20 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:18:20 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/05 04:18:20 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:18:20 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': File to upload is small (5 bytes), uploading instead of streaming 2025/10/05 04:18:20.516236 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/05 04:18:20.516279 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/05 04:18:21 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/05 04:18:21 DEBUG : file1: Remove: 2025/10/05 04:18:21 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:18:21 DEBUG : file1: >Remove: err= 2025/10/05 04:18:21 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/05 04:18:21 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/05 04:18:21 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:21 DEBUG : Looking for writers 2025/10/05 04:18:21 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (1.68s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:18:21 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:18:21 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:21 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:18:21 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:18:21 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:18:21 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:18:21 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:18:21 DEBUG : file1: WriteFileHandle.Release closing 2025/10/05 04:18:21 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:18:21 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': File to upload is small (0 bytes), uploading instead of streaming 2025/10/05 04:18:22.170379 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/05 04:18:22.170437 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/05 04:18:22 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:18:22 DEBUG : file1: Remove: 2025/10/05 04:18:22 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:18:22 DEBUG : file1: >Remove: err= 2025/10/05 04:18:22 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/05 04:18:22 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/05 04:18:22 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:22 DEBUG : Looking for writers 2025/10/05 04:18:22 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (1.59s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:18:23 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:18:23 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:18:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:18:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:18:23 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:18:23 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:18:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:18:23 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': File to upload is small (2 bytes), uploading instead of streaming 2025/10/05 04:18:23.775696 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/05 04:18:23.775799 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/05 04:18:24 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/05 04:18:24 DEBUG : file1: Remove: 2025/10/05 04:18:24 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:18:24 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/05 04:18:24 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:24 DEBUG : Looking for writers 2025/10/05 04:18:24 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (1.64s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:18:24 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:18:24 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:24 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:18:25 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:18:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:18:25 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:18:25 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:18:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:18:25 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': File to upload is small (0 bytes), uploading instead of streaming 2025/10/05 04:18:25.414376 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/05 04:18:25.414438 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/05 04:18:26 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/05 04:18:26 DEBUG : file1: Remove: 2025/10/05 04:18:26 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:18:26 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/05 04:18:26 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/05 04:18:26 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/05 04:18:26 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:26 DEBUG : Looking for writers 2025/10/05 04:18:26 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (1.62s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:18:26 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:18:26 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:26 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:18:26 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:18:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:18:26 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:18:26 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:18:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:18:26 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': File to upload is small (100 bytes), uploading instead of streaming 2025/10/05 04:18:27.070690 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/05 04:18:27.070758 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/05 04:18:27 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/05 04:18:27 DEBUG : file1: Remove: 2025/10/05 04:18:27 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:18:27 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/05 04:18:27 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/05 04:18:27 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/05 04:18:27 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:27 DEBUG : Looking for writers 2025/10/05 04:18:27 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (1.77s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:18:28 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:18:28 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:29.530169 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:18:29.530202 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:18:29 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:29 DEBUG : Looking for writers 2025/10/05 04:18:29 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (2.18s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:18:30 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:18:30 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:31.624770 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:18:31.624804 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:18:31 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:31 DEBUG : Looking for writers 2025/10/05 04:18:31 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (2.05s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:18:32 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:18:32 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:34.099662 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:18:34.099703 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:18:34 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:34 DEBUG : Looking for writers 2025/10/05 04:18:34 DEBUG : >WaitForWriters: 2025/10/05 04:18:34.386498 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:18:34.386581 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (2.49s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-woluxog7jidu'", Local "Local file system at /tmp/rclone367160908", Modify Window "1s" 2025/10/05 04:18:34 INFO : proton drive root link ID 'rclone-test-woluxog7jidu': poll-interval is not supported by this remote 2025/10/05 04:18:34 NOTICE: proton drive root link ID 'rclone-test-woluxog7jidu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:36.096508 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:18:36.096547 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-woluxog7jidu'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:18:36 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:36 DEBUG : Looking for writers 2025/10/05 04:18:36 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (2.01s) FAIL 2025/10/05 04:18:36 DEBUG : proton drive root link ID 'rclone-test-woluxog7jidu': 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 32m50.130358666s (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]