"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseSensitivity|TestDirCreate|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMetadataExtension|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSOpenFile|TestVFSRename|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$'" - Starting (try 3/5) 2025/10/04 03:39:03 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-pemeful2doce" 2025/10/04 03:39:03 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/04 03:39:03 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': Has cached credentials 2025/10/04 03:39:05 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': Used cached credential to initialize the ProtonDrive API 2025/10/04 03:39:05 DEBUG : Creating backend with remote "/tmp/rclone2957040113" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:05 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:05 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:09.019326 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:09.019367 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:09 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:09 DEBUG : Looking for writers 2025/10/04 03:39:09 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (4.87s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:10 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:10 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:12.942405 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:12.942442 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:12 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:12 DEBUG : Looking for writers 2025/10/04 03:39:12 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (4.03s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:14 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:14 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:16.816305 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:16.816343 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:16 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:16 DEBUG : Looking for writers 2025/10/04 03:39:16 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (3.64s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:18 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:18 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:20.607355 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:20.607392 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:20 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:20 DEBUG : Looking for writers 2025/10/04 03:39:20 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (4.01s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:22 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:22 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:24.541519 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:24.541552 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:24 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:24 DEBUG : Looking for writers 2025/10/04 03:39:24 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (3.85s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:26 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:26 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:28.066186 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:28.066226 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:28 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:28 DEBUG : Looking for writers 2025/10/04 03:39:28 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (3.55s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:29 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:29 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:31.996203 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:31.996241 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:31 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:31 DEBUG : Looking for writers 2025/10/04 03:39:31 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (3.86s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:33 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:33 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:35.971463 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:35.971501 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:35 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:35 DEBUG : Looking for writers 2025/10/04 03:39:35 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (4.13s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:37 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:37 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:39.793410 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:39.793459 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:39 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:39 DEBUG : Looking for writers 2025/10/04 03:39:39 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (3.72s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:41 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:41 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:43.774071 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:43.774114 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:43 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:43 DEBUG : Looking for writers 2025/10/04 03:39:43 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (4.02s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:45 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:45 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:47.978112 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:47.978188 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:47 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:47 DEBUG : Looking for writers 2025/10/04 03:39:47 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (4.13s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:49 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:49 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:51.678428 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:51.678464 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:51 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:51 DEBUG : Looking for writers 2025/10/04 03:39:51 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (3.88s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:53 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:53 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:55.487441 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:55.487466 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:55 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:55 DEBUG : Looking for writers 2025/10/04 03:39:55 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (3.62s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:39:57 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:39:57 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:39:59.128424 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:39:59.128465 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:39:59 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:39:59 DEBUG : Looking for writers 2025/10/04 03:39:59 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (3.53s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:00 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:00 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:02.603187 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:02.603210 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:02 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:02 DEBUG : Looking for writers 2025/10/04 03:40:02 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (3.67s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:04 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:04 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:06.513302 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:06.513330 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:06 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:06 DEBUG : Looking for writers 2025/10/04 03:40:06 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (3.69s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:08 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:08 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:10.111616 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:10.111653 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:10 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:10 DEBUG : Looking for writers 2025/10/04 03:40:10 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (3.61s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:11 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:11 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:13.846169 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:13.846189 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:13 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:13 DEBUG : Looking for writers 2025/10/04 03:40:13 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (3.83s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:15 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:15 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:17.769365 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:17.769412 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:17 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:17 DEBUG : Looking for writers 2025/10/04 03:40:17 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (4.09s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:19 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:19 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:21.567797 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:21.567835 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:21 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:21 DEBUG : Looking for writers 2025/10/04 03:40:21 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (3.78s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:23 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:23 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:25.520801 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:25.520847 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:25 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:25 DEBUG : Looking for writers 2025/10/04 03:40:25 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (3.88s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:27 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:27 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:28.992319 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:28.992352 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:28 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:28 DEBUG : Looking for writers 2025/10/04 03:40:28 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:30 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:30 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:32.951868 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:32.951897 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:32 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:32 DEBUG : Looking for writers 2025/10/04 03:40:32 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:34 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:34 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:36.621378 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:36.621411 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:36 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:36 DEBUG : Looking for writers 2025/10/04 03:40:36 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:38 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:38 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:40:38 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:38 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:40:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:40:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:38 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:40:40.139969 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:40.140003 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:40 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:40 DEBUG : Looking for writers 2025/10/04 03:40:40 DEBUG : >WaitForWriters: 2025/10/04 03:40:40 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:41 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:41 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:40:41 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:41 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:40:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:40:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:41 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:40:43.981803 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:43.981842 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:43 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:43 DEBUG : Looking for writers 2025/10/04 03:40:43 DEBUG : >WaitForWriters: 2025/10/04 03:40:43 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:45 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:45 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:40:45 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:45 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:40:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:40:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:40:45 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:40:47.748674 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:47.748723 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:47 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:47 DEBUG : Looking for writers 2025/10/04 03:40:47 DEBUG : >WaitForWriters: 2025/10/04 03:40:47 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (22.11s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (3.47s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (3.87s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (3.88s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (3.39s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (3.86s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (3.64s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:49 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:49 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:51.485645 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:51.485680 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:51 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:51 DEBUG : Looking for writers 2025/10/04 03:40:51 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (3.81s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:53 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:53 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:55.212390 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:55.212425 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:55 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:55 DEBUG : Looking for writers 2025/10/04 03:40:55 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (3.87s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:40:57 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:40:57 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:40:59.155591 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:40:59.155621 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:40:59 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:40:59 DEBUG : Looking for writers 2025/10/04 03:40:59 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (3.90s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:00 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:00 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:41:03.299538 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:03.299576 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:03 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:03 DEBUG : Looking for writers 2025/10/04 03:41:03 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (4.16s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:05 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:05 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:41:07.095859 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:07.095891 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:07 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:07 DEBUG : Looking for writers 2025/10/04 03:41:07 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (3.80s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:08 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:08 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:41:10.657482 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:10.657523 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:10 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:10 DEBUG : Looking for writers 2025/10/04 03:41:10 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:12 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:12 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:41:12 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:41:12 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:12 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:12 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:12 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:12 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:41:14.449170 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:14.449205 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:14 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:14 DEBUG : Looking for writers 2025/10/04 03:41:14 DEBUG : >WaitForWriters: 2025/10/04 03:41:14 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:16 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:16 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:41:16 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:41:16 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:16 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:16 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:41:18.627405 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:18.627438 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:18 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:18 DEBUG : Looking for writers 2025/10/04 03:41:18 DEBUG : >WaitForWriters: 2025/10/04 03:41:18 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:20 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:20 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:41:20 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:20 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:20 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:41:22.914335 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:22.914370 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:22 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:22 DEBUG : Looking for writers 2025/10/04 03:41:22 DEBUG : >WaitForWriters: 2025/10/04 03:41:22 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:24 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:24 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:41:24 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:24 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:24 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:41:27.062191 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:27.062233 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:27 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:27 DEBUG : Looking for writers 2025/10/04 03:41:27 DEBUG : >WaitForWriters: 2025/10/04 03:41:27 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:28 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:28 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:41:28 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:28 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:28 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:28 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:28 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:28 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:28 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:41:30.884264 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:30.884309 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:30 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:30 DEBUG : Looking for writers 2025/10/04 03:41:30 DEBUG : >WaitForWriters: 2025/10/04 03:41:30 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestFileRename (23.53s) --- FAIL: TestFileRename/off,forceCache=false (3.61s) --- FAIL: TestFileRename/minimal,forceCache=false (3.80s) --- FAIL: TestFileRename/minimal,forceCache=true (4.10s) --- FAIL: TestFileRename/writes,forceCache=false (4.25s) --- FAIL: TestFileRename/writes,forceCache=true (4.06s) --- FAIL: TestFileRename/full,forceCache=false (3.71s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:32 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:32 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:41:34.596928 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:34.596969 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:34 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:34 DEBUG : Looking for writers 2025/10/04 03:41:34 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (3.97s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:36 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:36 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:41:38.716040 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:38.716078 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:38 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:38 DEBUG : Looking for writers 2025/10/04 03:41:38 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (4.16s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:40 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:40 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:41:42.819221 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:42.819263 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:42 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:42 DEBUG : Looking for writers 2025/10/04 03:41:42 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (3.96s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:44 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:44 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:41:46.716623 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:46.716654 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:46 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:46 DEBUG : Looking for writers 2025/10/04 03:41:46 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (3.92s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:48 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:48 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 03:41:50.596975 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:50.597008 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:50 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:50 DEBUG : Looking for writers 2025/10/04 03:41:50 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (3.97s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:52 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:52 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:41:52 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:52 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:52 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:41:54.460547 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:54.460652 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:54 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:54 DEBUG : Looking for writers 2025/10/04 03:41:54 DEBUG : >WaitForWriters: 2025/10/04 03:41:54 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (3.86s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:41:56 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:41:56 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:41:56 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:56 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:41:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:41:56 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:41:58.604743 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:41:58.604774 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:41:58 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:41:58 DEBUG : Looking for writers 2025/10/04 03:41:58 DEBUG : >WaitForWriters: 2025/10/04 03:41:58 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (4.10s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:42:00 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:42:00 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:42:00 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:00 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:42:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:42:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:00 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:42:02.398935 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:42:02.398965 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:42:02 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:42:02 DEBUG : Looking for writers 2025/10/04 03:42:02 DEBUG : >WaitForWriters: 2025/10/04 03:42:02 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (3.54s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:42:03 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:42:03 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:42:03 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:03 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:42:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:42:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:03 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:42:06.056530 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:42:06.056569 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:42:06 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:42:06 DEBUG : Looking for writers 2025/10/04 03:42:06 DEBUG : >WaitForWriters: 2025/10/04 03:42:06 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (3.78s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:42:07 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:42:07 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:42:07 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:07 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:42:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:42:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:07 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:42:09.666182 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:42:09.666222 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:42:09 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:42:09 DEBUG : Looking for writers 2025/10/04 03:42:09 DEBUG : >WaitForWriters: 2025/10/04 03:42:09 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (3.83s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:42:11 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:42:11 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:42:11 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:11 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:42:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:11 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:11 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:42:11 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:42:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 03:42:11 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:42:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 03:42:11 DEBUG : file1: newRWFileHandle: 2025/10/04 03:42:11 DEBUG : file1(0xc0002c5400): openPending: 2025/10/04 03:42:11 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 03:42:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 03:42:11 DEBUG : file1(0xc0002c5400): >openPending: err= 2025/10/04 03:42:11 DEBUG : file1: >newRWFileHandle: err= 2025/10/04 03:42:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 03:42:11 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/04 03:42:11 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/04 03:42:11 DEBUG : file1(0xc0002c5400): _writeAt: size=5, off=0 2025/10/04 03:42:11 DEBUG : file1(0xc0002c5400): >_writeAt: n=5, err= 2025/10/04 03:42:11 DEBUG : file1(0xc0002c5400): _writeAt: size=7, off=5 2025/10/04 03:42:11 DEBUG : file1(0xc0002c5400): >_writeAt: n=7, err= 2025/10/04 03:42:11 DEBUG : file1: vfs cache: truncate to size=11 2025/10/04 03:42:11 DEBUG : file1(0xc0002c5400): close: 2025/10/04 03:42:11 DEBUG : file1: vfs cache: setting modification time to 2025-10-04 03:42:11.960314495 +0000 UTC m=+188.818068119 2025/10/04 03:42:11 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/04 03:42:11 DEBUG : file1(0xc0002c5400): >close: err= 2025/10/04 03:42:11 DEBUG : file1(0xc0002c5400): close: 2025/10/04 03:42:11 DEBUG : file1(0xc0002c5400): >close: err=file already closed 2025/10/04 03:42:11 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:42:11 DEBUG : Looking for writers 2025/10/04 03:42:11 DEBUG : file1: reading active writers 2025/10/04 03:42:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 03:42:11 DEBUG : Looking for writers 2025/10/04 03:42:11 DEBUG : file1: reading active writers 2025/10/04 03:42:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 03:42:11 DEBUG : Looking for writers 2025/10/04 03:42:11 DEBUG : file1: reading active writers 2025/10/04 03:42:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 03:42:12 DEBUG : Looking for writers 2025/10/04 03:42:12 DEBUG : file1: reading active writers 2025/10/04 03:42:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 03:42:12 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:42:12 DEBUG : Looking for writers 2025/10/04 03:42:12 DEBUG : file1: reading active writers 2025/10/04 03:42:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 03:42:12 DEBUG : Looking for writers 2025/10/04 03:42:12 DEBUG : file1: reading active writers 2025/10/04 03:42:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 03:42:12 DEBUG : Looking for writers 2025/10/04 03:42:12 DEBUG : file1: reading active writers 2025/10/04 03:42:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 03:42:13 DEBUG : Looking for writers 2025/10/04 03:42:13 DEBUG : file1: reading active writers 2025/10/04 03:42:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:13.271945 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 03:42:13.271976 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:42:13 ERROR : file1: Failed to copy: 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 03:42:13 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/04 03:42:13 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:42:14 DEBUG : Looking for writers 2025/10/04 03:42:14 DEBUG : file1: reading active writers 2025/10/04 03:42:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:14.502845 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:42:14.502881 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:42:15 DEBUG : Looking for writers 2025/10/04 03:42:15 DEBUG : file1: reading active writers 2025/10/04 03:42:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:15 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:42:15 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:42:16 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:42:16 DEBUG : Looking for writers 2025/10/04 03:42:16 DEBUG : file1: reading active writers 2025/10/04 03:42:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:16.844480 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:42:16.844508 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:42:17 DEBUG : Looking for writers 2025/10/04 03:42:17 DEBUG : file1: reading active writers 2025/10/04 03:42:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:18 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:42:18 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:42:18 DEBUG : Looking for writers 2025/10/04 03:42:18 DEBUG : file1: reading active writers 2025/10/04 03:42:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:18 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:42:19 DEBUG : Looking for writers 2025/10/04 03:42:19 DEBUG : file1: reading active writers 2025/10/04 03:42:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:19.851819 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:42:19.851859 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:42:20 DEBUG : Looking for writers 2025/10/04 03:42:20 DEBUG : file1: reading active writers 2025/10/04 03:42:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:21 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:42:21 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:42:21 DEBUG : Looking for writers 2025/10/04 03:42:21 DEBUG : file1: reading active writers 2025/10/04 03:42:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:22 DEBUG : Looking for writers 2025/10/04 03:42:22 DEBUG : file1: reading active writers 2025/10/04 03:42:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:22 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:42:23 DEBUG : Looking for writers 2025/10/04 03:42:23 DEBUG : file1: reading active writers 2025/10/04 03:42:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:23.577898 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:42:23.577918 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:42:24 DEBUG : Looking for writers 2025/10/04 03:42:24 DEBUG : file1: reading active writers 2025/10/04 03:42:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:25 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:42:25 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:42:25 DEBUG : Looking for writers 2025/10/04 03:42:25 DEBUG : file1: reading active writers 2025/10/04 03:42:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:26 DEBUG : Looking for writers 2025/10/04 03:42:26 DEBUG : file1: reading active writers 2025/10/04 03:42:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:27 DEBUG : Looking for writers 2025/10/04 03:42:27 DEBUG : file1: reading active writers 2025/10/04 03:42:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:28 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:42:28 DEBUG : Looking for writers 2025/10/04 03:42:28 DEBUG : file1: reading active writers 2025/10/04 03:42:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:29.155884 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:42:29.155925 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:42:29 DEBUG : Looking for writers 2025/10/04 03:42:29 DEBUG : file1: reading active writers 2025/10/04 03:42:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:30 DEBUG : Looking for writers 2025/10/04 03:42:30 DEBUG : file1: reading active writers 2025/10/04 03:42:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:30 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:42:30 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:42:31 DEBUG : Looking for writers 2025/10/04 03:42:31 DEBUG : file1: reading active writers 2025/10/04 03:42:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:32 DEBUG : Looking for writers 2025/10/04 03:42:32 DEBUG : file1: reading active writers 2025/10/04 03:42:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:33 DEBUG : Looking for writers 2025/10/04 03:42:33 DEBUG : file1: reading active writers 2025/10/04 03:42:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:34 DEBUG : Looking for writers 2025/10/04 03:42:34 DEBUG : file1: reading active writers 2025/10/04 03:42:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:35 DEBUG : Looking for writers 2025/10/04 03:42:35 DEBUG : file1: reading active writers 2025/10/04 03:42:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:36 DEBUG : Looking for writers 2025/10/04 03:42:36 DEBUG : file1: reading active writers 2025/10/04 03:42:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:36 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:42:37 DEBUG : Looking for writers 2025/10/04 03:42:37 DEBUG : file1: reading active writers 2025/10/04 03:42:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:37.536316 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:42:37.536338 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:42:38 DEBUG : Looking for writers 2025/10/04 03:42:38 DEBUG : file1: reading active writers 2025/10/04 03:42:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:38 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:42:38 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:42:39 DEBUG : Looking for writers 2025/10/04 03:42:39 DEBUG : file1: reading active writers 2025/10/04 03:42:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:40 DEBUG : Looking for writers 2025/10/04 03:42:40 DEBUG : file1: reading active writers 2025/10/04 03:42:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:41 DEBUG : Looking for writers 2025/10/04 03:42:41 DEBUG : file1: reading active writers 2025/10/04 03:42:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:42:41 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000b5ae10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000d92f08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824647954240} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992758555514322047 ext:188818068119 loc:0x41313e0} ATime:{wall:13992758555514334501 ext:188818080573 loc:0x41313e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 03:42:41 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/04 03:42:51 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:43:11 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 03:43:11 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/04 03:44:11 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 03:44:11 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/04 03:44:37.011804 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:44:37.011843 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:44:38 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:44:38 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/04 03:45:03 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:45:11 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 03:45:11 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/04 03:46:11.412125 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:46:11.412170 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:46:11 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 03:46:11 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/04 03:46: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/04 03:46:12 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleMethodsWrite Messages: 1 objects not found 2025/10/04 03:46:15 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:46:15 DEBUG : Looking for writers 2025/10/04 03:46:15 DEBUG : file1: reading active writers 2025/10/04 03:46:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 03:46:15 DEBUG : Looking for writers 2025/10/04 03:46:15 DEBUG : file1: reading active writers 2025/10/04 03:46:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 03:46:15 DEBUG : Looking for writers 2025/10/04 03:46:15 DEBUG : file1: reading active writers 2025/10/04 03:46:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 03:46:15 DEBUG : Looking for writers 2025/10/04 03:46:15 DEBUG : file1: reading active writers 2025/10/04 03:46:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 03:46:15 DEBUG : Looking for writers 2025/10/04 03:46:15 DEBUG : file1: reading active writers 2025/10/04 03:46:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 03:46:15 DEBUG : Looking for writers 2025/10/04 03:46:15 DEBUG : file1: reading active writers 2025/10/04 03:46:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 03:46:15 DEBUG : Looking for writers 2025/10/04 03:46:15 DEBUG : file1: reading active writers 2025/10/04 03:46:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 03:46:16 DEBUG : Looking for writers 2025/10/04 03:46:16 DEBUG : file1: reading active writers 2025/10/04 03:46:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:17 DEBUG : Looking for writers 2025/10/04 03:46:17 DEBUG : file1: reading active writers 2025/10/04 03:46:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:18 DEBUG : Looking for writers 2025/10/04 03:46:18 DEBUG : file1: reading active writers 2025/10/04 03:46:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:19 DEBUG : Looking for writers 2025/10/04 03:46:19 DEBUG : file1: reading active writers 2025/10/04 03:46:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:20 DEBUG : Looking for writers 2025/10/04 03:46:20 DEBUG : file1: reading active writers 2025/10/04 03:46:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:21 DEBUG : Looking for writers 2025/10/04 03:46:21 DEBUG : file1: reading active writers 2025/10/04 03:46:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:22 DEBUG : Looking for writers 2025/10/04 03:46:22 DEBUG : file1: reading active writers 2025/10/04 03:46:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:23 DEBUG : Looking for writers 2025/10/04 03:46:23 DEBUG : file1: reading active writers 2025/10/04 03:46:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:24 DEBUG : Looking for writers 2025/10/04 03:46:24 DEBUG : file1: reading active writers 2025/10/04 03:46:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:25 DEBUG : Looking for writers 2025/10/04 03:46:25 DEBUG : file1: reading active writers 2025/10/04 03:46:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:26 DEBUG : Looking for writers 2025/10/04 03:46:26 DEBUG : file1: reading active writers 2025/10/04 03:46:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:27 DEBUG : Looking for writers 2025/10/04 03:46:27 DEBUG : file1: reading active writers 2025/10/04 03:46:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:28 DEBUG : Looking for writers 2025/10/04 03:46:28 DEBUG : file1: reading active writers 2025/10/04 03:46:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:29 DEBUG : Looking for writers 2025/10/04 03:46:29 DEBUG : file1: reading active writers 2025/10/04 03:46:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:30 DEBUG : Looking for writers 2025/10/04 03:46:30 DEBUG : file1: reading active writers 2025/10/04 03:46:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:31 DEBUG : Looking for writers 2025/10/04 03:46:31 DEBUG : file1: reading active writers 2025/10/04 03:46:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:32 DEBUG : Looking for writers 2025/10/04 03:46:32 DEBUG : file1: reading active writers 2025/10/04 03:46:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:33 DEBUG : Looking for writers 2025/10/04 03:46:33 DEBUG : file1: reading active writers 2025/10/04 03:46:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:34 DEBUG : Looking for writers 2025/10/04 03:46:34 DEBUG : file1: reading active writers 2025/10/04 03:46:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:35 DEBUG : Looking for writers 2025/10/04 03:46:35 DEBUG : file1: reading active writers 2025/10/04 03:46:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:36 DEBUG : Looking for writers 2025/10/04 03:46:36 DEBUG : file1: reading active writers 2025/10/04 03:46:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:37 DEBUG : Looking for writers 2025/10/04 03:46:37 DEBUG : file1: reading active writers 2025/10/04 03:46:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:38 DEBUG : Looking for writers 2025/10/04 03:46:38 DEBUG : file1: reading active writers 2025/10/04 03:46:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:39 DEBUG : Looking for writers 2025/10/04 03:46:39 DEBUG : file1: reading active writers 2025/10/04 03:46:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:40 DEBUG : Looking for writers 2025/10/04 03:46:40 DEBUG : file1: reading active writers 2025/10/04 03:46:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:41 DEBUG : Looking for writers 2025/10/04 03:46:41 DEBUG : file1: reading active writers 2025/10/04 03:46:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:42 DEBUG : Looking for writers 2025/10/04 03:46:42 DEBUG : file1: reading active writers 2025/10/04 03:46:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:43 DEBUG : Looking for writers 2025/10/04 03:46:43 DEBUG : file1: reading active writers 2025/10/04 03:46:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:44 DEBUG : Looking for writers 2025/10/04 03:46:44 DEBUG : file1: reading active writers 2025/10/04 03:46:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:46:45 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000b5ae10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000d92f08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824647954240} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992758555514322047 ext:188818068119 loc:0x41313e0} ATime:{wall:13992758555514334501 ext:188818080573 loc:0x41313e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 03:46:45 DEBUG : >WaitForWriters: 2025/10/04 03:46:45 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (366.88s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:48:18 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:48:18 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:48:18 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:48:18 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:48:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:48:18 DEBUG : Config file has changed externally - reloading 2025/10/04 03:48:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:48:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:48:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:48:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:48:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:48:18 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 03:48:18 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:48:18 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 03:48:18 DEBUG : file1: newRWFileHandle: 2025/10/04 03:48:18 DEBUG : file1(0xc0080fa300): openPending: 2025/10/04 03:48:18 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 03:48:18 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 03:48:18 DEBUG : file1(0xc0080fa300): >openPending: err= 2025/10/04 03:48:18 DEBUG : file1: >newRWFileHandle: err= 2025/10/04 03:48:18 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 03:48:18 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/04 03:48:18 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/04 03:48:18 DEBUG : file1(0xc0080fa300): _writeAt: size=7, off=0 2025/10/04 03:48:18 DEBUG : file1(0xc0080fa300): >_writeAt: n=7, err= 2025/10/04 03:48:18 DEBUG : file1(0xc0080fa300): _writeAt: size=6, off=5 2025/10/04 03:48:18 DEBUG : file1(0xc0080fa300): >_writeAt: n=6, err= 2025/10/04 03:48:18 DEBUG : file1(0xc0080fa300): close: 2025/10/04 03:48:18 DEBUG : file1: vfs cache: setting modification time to 2025-10-04 03:48:18.883613492 +0000 UTC m=+555.741367115 2025/10/04 03:48:18 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/04 03:48:18 DEBUG : file1(0xc0080fa300): >close: err= 2025/10/04 03:48:18 DEBUG : file1(0xc0080fa300): _writeAt: size=5, off=0 2025/10/04 03:48:18 DEBUG : file1(0xc0080fa300): >_writeAt: n=0, err=file already closed 2025/10/04 03:48:18 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:48:18 DEBUG : Looking for writers 2025/10/04 03:48:18 DEBUG : file1: reading active writers 2025/10/04 03:48:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 03:48:18 DEBUG : Looking for writers 2025/10/04 03:48:18 DEBUG : file1: reading active writers 2025/10/04 03:48:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 03:48:18 DEBUG : Looking for writers 2025/10/04 03:48:18 DEBUG : file1: reading active writers 2025/10/04 03:48:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 03:48:18 DEBUG : Looking for writers 2025/10/04 03:48:18 DEBUG : file1: reading active writers 2025/10/04 03:48:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 03:48:18 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:48:19 DEBUG : Looking for writers 2025/10/04 03:48:19 DEBUG : file1: reading active writers 2025/10/04 03:48:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 03:48:19 DEBUG : Looking for writers 2025/10/04 03:48:19 DEBUG : file1: reading active writers 2025/10/04 03:48:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 03:48:19 DEBUG : Looking for writers 2025/10/04 03:48:19 DEBUG : file1: reading active writers 2025/10/04 03:48:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 03:48:19.961396 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:48:19.961452 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:48:20 DEBUG : Looking for writers 2025/10/04 03:48:20 DEBUG : file1: reading active writers 2025/10/04 03:48:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:21 DEBUG : Looking for writers 2025/10/04 03:48:21 DEBUG : file1: reading active writers 2025/10/04 03:48:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:21 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:48:21 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:48:21 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:48:22 DEBUG : Looking for writers 2025/10/04 03:48:22 DEBUG : file1: reading active writers 2025/10/04 03:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:22.203207 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:48:22.203264 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:48:23 DEBUG : Looking for writers 2025/10/04 03:48:23 DEBUG : file1: reading active writers 2025/10/04 03:48:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:23 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:48:23 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:48:23 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:48:24 DEBUG : Looking for writers 2025/10/04 03:48:24 DEBUG : file1: reading active writers 2025/10/04 03:48:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:24.516547 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:48:24.516580 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:48:25 DEBUG : Looking for writers 2025/10/04 03:48:25 DEBUG : file1: reading active writers 2025/10/04 03:48:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:25 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:48:25 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:48:26 DEBUG : Looking for writers 2025/10/04 03:48:26 DEBUG : file1: reading active writers 2025/10/04 03:48:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:26 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:48:27 DEBUG : Looking for writers 2025/10/04 03:48:27 DEBUG : file1: reading active writers 2025/10/04 03:48:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:27.428466 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:48:27.428529 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:48:28 DEBUG : Looking for writers 2025/10/04 03:48:28 DEBUG : file1: reading active writers 2025/10/04 03:48:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:28 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:48:28 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:48:29 DEBUG : Looking for writers 2025/10/04 03:48:29 DEBUG : file1: reading active writers 2025/10/04 03:48:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:30 DEBUG : Looking for writers 2025/10/04 03:48:30 DEBUG : file1: reading active writers 2025/10/04 03:48:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:30 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:48:31 DEBUG : Looking for writers 2025/10/04 03:48:31 DEBUG : file1: reading active writers 2025/10/04 03:48:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:31.196554 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:48:31.196599 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:48:32 DEBUG : Looking for writers 2025/10/04 03:48:32 DEBUG : file1: reading active writers 2025/10/04 03:48:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48: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/04 03:48:32 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:48:33 DEBUG : Looking for writers 2025/10/04 03:48:33 DEBUG : file1: reading active writers 2025/10/04 03:48:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:34 DEBUG : Looking for writers 2025/10/04 03:48:34 DEBUG : file1: reading active writers 2025/10/04 03:48:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:35 DEBUG : Looking for writers 2025/10/04 03:48:35 DEBUG : file1: reading active writers 2025/10/04 03:48:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:35 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:48:36 DEBUG : Looking for writers 2025/10/04 03:48:36 DEBUG : file1: reading active writers 2025/10/04 03:48:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:36.677914 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:48:36.677954 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:48:37 DEBUG : Looking for writers 2025/10/04 03:48:37 DEBUG : file1: reading active writers 2025/10/04 03:48:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:37 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:48:37 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:48:38 DEBUG : Looking for writers 2025/10/04 03:48:38 DEBUG : file1: reading active writers 2025/10/04 03:48:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:39 DEBUG : Looking for writers 2025/10/04 03:48:39 DEBUG : file1: reading active writers 2025/10/04 03:48:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:40 DEBUG : Looking for writers 2025/10/04 03:48:40 DEBUG : file1: reading active writers 2025/10/04 03:48:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:41 DEBUG : Looking for writers 2025/10/04 03:48:41 DEBUG : file1: reading active writers 2025/10/04 03:48:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:42 DEBUG : Looking for writers 2025/10/04 03:48:42 DEBUG : file1: reading active writers 2025/10/04 03:48:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:43 DEBUG : Looking for writers 2025/10/04 03:48:43 DEBUG : file1: reading active writers 2025/10/04 03:48:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:44 DEBUG : Looking for writers 2025/10/04 03:48:44 DEBUG : file1: reading active writers 2025/10/04 03:48:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:44 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:48:45 DEBUG : Looking for writers 2025/10/04 03:48:45 DEBUG : file1: reading active writers 2025/10/04 03:48:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:45.195911 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:48:45.195935 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:48:46 DEBUG : Looking for writers 2025/10/04 03:48:46 DEBUG : file1: reading active writers 2025/10/04 03:48:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48: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/04 03:48: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/04 03:48:47 DEBUG : Looking for writers 2025/10/04 03:48:47 DEBUG : file1: reading active writers 2025/10/04 03:48:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:48 DEBUG : Looking for writers 2025/10/04 03:48:48 DEBUG : file1: reading active writers 2025/10/04 03:48:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:48:48 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000b5a960 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc008204008 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824770052160} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992758949500870452 ext:555741367115 loc:0x41313e0} ATime:{wall:13992758949500885330 ext:555741381994 loc:0x41313e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 03:48:48 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/04 03:48:59 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:49:05 DEBUG : forgetting directory cache 2025/10/04 03:49:10 DEBUG : forgetting directory cache 2025/10/04 03:49:14 DEBUG : forgetting directory cache 2025/10/04 03:49:18 DEBUG : forgetting directory cache 2025/10/04 03:49:18 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 03:49:18 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/04 03:49:22 DEBUG : forgetting directory cache 2025/10/04 03:49:26 DEBUG : forgetting directory cache 2025/10/04 03:49:29 DEBUG : forgetting directory cache 2025/10/04 03:49:33 DEBUG : forgetting directory cache 2025/10/04 03:49:37 DEBUG : forgetting directory cache 2025/10/04 03:49:41 DEBUG : forgetting directory cache 2025/10/04 03:49:45 DEBUG : forgetting directory cache 2025/10/04 03:49:49 DEBUG : forgetting directory cache 2025/10/04 03:49:53 DEBUG : forgetting directory cache 2025/10/04 03:49:57 DEBUG : forgetting directory cache 2025/10/04 03:50:00 DEBUG : forgetting directory cache 2025/10/04 03:50:04 DEBUG : forgetting directory cache 2025/10/04 03:50:08 DEBUG : forgetting directory cache 2025/10/04 03:50:11 DEBUG : forgetting directory cache 2025/10/04 03:50:15 DEBUG : forgetting directory cache 2025/10/04 03:50:18 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 03:50:18 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/04 03:50:19 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/04 03:50:23.213210 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:50:23.213239 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:50:23 DEBUG : forgetting directory cache 2025/10/04 03:50:24 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:50:24 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/04 03:50:27 DEBUG : forgetting directory cache 2025/10/04 03:50:30 DEBUG : forgetting directory cache 2025/10/04 03:50:34 DEBUG : forgetting directory cache 2025/10/04 03:50:38 DEBUG : forgetting directory cache 2025/10/04 03:50:41 DEBUG : forgetting directory cache 2025/10/04 03:50:45 DEBUG : forgetting directory cache 2025/10/04 03:50:49 DEBUG : forgetting directory cache 2025/10/04 03:50:50 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:50:53 DEBUG : forgetting directory cache 2025/10/04 03:50:57 DEBUG : forgetting directory cache 2025/10/04 03:51:00 DEBUG : forgetting directory cache 2025/10/04 03:51:05 DEBUG : forgetting directory cache 2025/10/04 03:51:08 DEBUG : forgetting directory cache 2025/10/04 03:51:12 DEBUG : forgetting directory cache 2025/10/04 03:51:16 DEBUG : forgetting directory cache 2025/10/04 03:51:18 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 03:51:18 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/04 03:51:20 DEBUG : forgetting directory cache 2025/10/04 03:51:24 DEBUG : forgetting directory cache 2025/10/04 03:51:28 DEBUG : forgetting directory cache 2025/10/04 03:51:32 DEBUG : forgetting directory cache 2025/10/04 03:51:36 DEBUG : forgetting directory cache 2025/10/04 03:51:40 DEBUG : forgetting directory cache 2025/10/04 03:51:44 DEBUG : forgetting directory cache 2025/10/04 03:51:48 DEBUG : forgetting directory cache 2025/10/04 03:51:52 DEBUG : forgetting directory cache 2025/10/04 03:51:56 DEBUG : forgetting directory cache 2025/10/04 03:52:00 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/04 03:52:03.320334 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:52:03.320378 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:52:03 DEBUG : forgetting directory cache 2025/10/04 03:52: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/04 03:52: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:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteAt Messages: 1 objects not found 2025/10/04 03:52:06 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:52:06 DEBUG : Looking for writers 2025/10/04 03:52:06 DEBUG : file1: reading active writers 2025/10/04 03:52:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 03:52:06 DEBUG : Looking for writers 2025/10/04 03:52:06 DEBUG : file1: reading active writers 2025/10/04 03:52:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 03:52:06 DEBUG : Looking for writers 2025/10/04 03:52:06 DEBUG : file1: reading active writers 2025/10/04 03:52:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 03:52:06 DEBUG : Looking for writers 2025/10/04 03:52:06 DEBUG : file1: reading active writers 2025/10/04 03:52:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 03:52:06 DEBUG : Looking for writers 2025/10/04 03:52:06 DEBUG : file1: reading active writers 2025/10/04 03:52:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 03:52:07 DEBUG : Looking for writers 2025/10/04 03:52:07 DEBUG : file1: reading active writers 2025/10/04 03:52:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 03:52:07 DEBUG : Looking for writers 2025/10/04 03:52:07 DEBUG : file1: reading active writers 2025/10/04 03:52:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 03:52:07 DEBUG : forgetting directory cache 2025/10/04 03:52:08 DEBUG : Looking for writers 2025/10/04 03:52:08 DEBUG : file1: reading active writers 2025/10/04 03:52:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:09 DEBUG : Looking for writers 2025/10/04 03:52:09 DEBUG : file1: reading active writers 2025/10/04 03:52:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:10 DEBUG : Looking for writers 2025/10/04 03:52:10 DEBUG : file1: reading active writers 2025/10/04 03:52:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:11 DEBUG : Looking for writers 2025/10/04 03:52:11 DEBUG : file1: reading active writers 2025/10/04 03:52:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:11 DEBUG : forgetting directory cache 2025/10/04 03:52:12 DEBUG : Looking for writers 2025/10/04 03:52:12 DEBUG : file1: reading active writers 2025/10/04 03:52:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:13 DEBUG : Looking for writers 2025/10/04 03:52:13 DEBUG : file1: reading active writers 2025/10/04 03:52:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:14 DEBUG : Looking for writers 2025/10/04 03:52:14 DEBUG : file1: reading active writers 2025/10/04 03:52:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:15 DEBUG : Looking for writers 2025/10/04 03:52:15 DEBUG : file1: reading active writers 2025/10/04 03:52:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:16 DEBUG : Looking for writers 2025/10/04 03:52:16 DEBUG : file1: reading active writers 2025/10/04 03:52:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:17 DEBUG : Looking for writers 2025/10/04 03:52:17 DEBUG : file1: reading active writers 2025/10/04 03:52:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:18 DEBUG : Looking for writers 2025/10/04 03:52:18 DEBUG : file1: reading active writers 2025/10/04 03:52:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:18 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 03:52:18 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/04 03:52:19 DEBUG : Looking for writers 2025/10/04 03:52:19 DEBUG : file1: reading active writers 2025/10/04 03:52:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:20 DEBUG : Looking for writers 2025/10/04 03:52:20 DEBUG : file1: reading active writers 2025/10/04 03:52:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:21 DEBUG : Looking for writers 2025/10/04 03:52:21 DEBUG : file1: reading active writers 2025/10/04 03:52:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:22 DEBUG : Looking for writers 2025/10/04 03:52:22 DEBUG : file1: reading active writers 2025/10/04 03:52:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:23 DEBUG : Looking for writers 2025/10/04 03:52:23 DEBUG : file1: reading active writers 2025/10/04 03:52:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:24 DEBUG : Looking for writers 2025/10/04 03:52:24 DEBUG : file1: reading active writers 2025/10/04 03:52:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:25 DEBUG : Looking for writers 2025/10/04 03:52:25 DEBUG : file1: reading active writers 2025/10/04 03:52:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:26 DEBUG : Looking for writers 2025/10/04 03:52:26 DEBUG : file1: reading active writers 2025/10/04 03:52:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:27 DEBUG : Looking for writers 2025/10/04 03:52:27 DEBUG : file1: reading active writers 2025/10/04 03:52:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:28 DEBUG : Looking for writers 2025/10/04 03:52:28 DEBUG : file1: reading active writers 2025/10/04 03:52:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:29 DEBUG : Looking for writers 2025/10/04 03:52:29 DEBUG : file1: reading active writers 2025/10/04 03:52:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:30 DEBUG : Looking for writers 2025/10/04 03:52:30 DEBUG : file1: reading active writers 2025/10/04 03:52:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:31 DEBUG : Looking for writers 2025/10/04 03:52:31 DEBUG : file1: reading active writers 2025/10/04 03:52:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:32 DEBUG : Looking for writers 2025/10/04 03:52:32 DEBUG : file1: reading active writers 2025/10/04 03:52:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:33 DEBUG : Looking for writers 2025/10/04 03:52:33 DEBUG : file1: reading active writers 2025/10/04 03:52:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:34 DEBUG : Looking for writers 2025/10/04 03:52:34 DEBUG : file1: reading active writers 2025/10/04 03:52:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:35 DEBUG : Looking for writers 2025/10/04 03:52:35 DEBUG : file1: reading active writers 2025/10/04 03:52:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:36 DEBUG : Looking for writers 2025/10/04 03:52:36 DEBUG : file1: reading active writers 2025/10/04 03:52:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:52:36 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000b5a960 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc008204008 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824770052160} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992758949500870452 ext:555741367115 loc:0x41313e0} ATime:{wall:13992758949500885330 ext:555741381994 loc:0x41313e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 03:52:36 DEBUG : >WaitForWriters: 2025/10/04 03:52:36 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteAt (355.30s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:54:13 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:54:13 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:54:13 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:54:13 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:54:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:54:13 DEBUG : Config file has changed externally - reloading 2025/10/04 03:54:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:54:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:54:13 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:54:13 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:54:13 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:54:13 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 03:54:13 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 03:54:14 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 03:54:14 DEBUG : file1: newRWFileHandle: 2025/10/04 03:54:14 DEBUG : file1(0xc0008dcfc0): openPending: 2025/10/04 03:54:14 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 03:54:14 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 03:54:14 DEBUG : file1(0xc0008dcfc0): >openPending: err= 2025/10/04 03:54:14 DEBUG : file1: >newRWFileHandle: err= 2025/10/04 03:54:14 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 03:54:14 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/04 03:54:14 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/04 03:54:14 DEBUG : file1(0xc0008dcfc0): close: 2025/10/04 03:54:14 DEBUG : file1: vfs cache: setting modification time to 2025-10-04 03:54:14.097277861 +0000 UTC m=+910.955031515 2025/10/04 03:54:14 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/04 03:54:14 DEBUG : file1(0xc0008dcfc0): >close: err= 2025/10/04 03:54:14 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/04 03:54:14 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/04 03:54:14 DEBUG : file2: newRWFileHandle: 2025/10/04 03:54:14 DEBUG : file2(0xc0008dd500): openPending: 2025/10/04 03:54:14 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 03:54:14 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/04 03:54:14 DEBUG : file2(0xc0008dd500): >openPending: err= 2025/10/04 03:54:14 DEBUG : file2: >newRWFileHandle: err= 2025/10/04 03:54:14 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/04 03:54:14 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/04 03:54:14 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/04 03:54:14 DEBUG : file2(0xc0008dd500): RWFileHandle.Flush 2025/10/04 03:54:14 DEBUG : file2(0xc0008dd500): RWFileHandle.Release 2025/10/04 03:54:14 DEBUG : file2(0xc0008dd500): close: 2025/10/04 03:54:14 DEBUG : file2: vfs cache: setting modification time to 2025-10-04 03:54:14.098530613 +0000 UTC m=+910.956284258 2025/10/04 03:54:14 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/04 03:54:14 DEBUG : file2(0xc0008dd500): >close: err= 2025/10/04 03:54:14 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:54:14 DEBUG : Looking for writers 2025/10/04 03:54:14 DEBUG : file1: reading active writers 2025/10/04 03:54:14 DEBUG : file2: reading active writers 2025/10/04 03:54:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/04 03:54:14 DEBUG : Looking for writers 2025/10/04 03:54:14 DEBUG : file1: reading active writers 2025/10/04 03:54:14 DEBUG : file2: reading active writers 2025/10/04 03:54:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/04 03:54:14 DEBUG : Looking for writers 2025/10/04 03:54:14 DEBUG : file1: reading active writers 2025/10/04 03:54:14 DEBUG : file2: reading active writers 2025/10/04 03:54:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/04 03:54:14 DEBUG : Looking for writers 2025/10/04 03:54:14 DEBUG : file1: reading active writers 2025/10/04 03:54:14 DEBUG : file2: reading active writers 2025/10/04 03:54:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/04 03:54:14 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:54:14 DEBUG : file2: vfs cache: starting upload 2025/10/04 03:54:14 DEBUG : Looking for writers 2025/10/04 03:54:14 DEBUG : file1: reading active writers 2025/10/04 03:54:14 DEBUG : file2: reading active writers 2025/10/04 03:54:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/04 03:54:14 DEBUG : Looking for writers 2025/10/04 03:54:14 DEBUG : file1: reading active writers 2025/10/04 03:54:14 DEBUG : file2: reading active writers 2025/10/04 03:54:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/04 03:54:14 DEBUG : Looking for writers 2025/10/04 03:54:14 DEBUG : file1: reading active writers 2025/10/04 03:54:14 DEBUG : file2: reading active writers 2025/10/04 03:54:14 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/10/04 03:54:14.876082 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:54:14.876124 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:54:15 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/04 03:54:15 INFO : file2: Copied (new) 2025/10/04 03:54:15 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-04 03:54:14.098530613 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/04 03:54:15 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/04 03:54:15 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/04 03:54:15 INFO : file2: vfs cache: upload succeeded try #1 2025/10/04 03:54:15 DEBUG : Looking for writers 2025/10/04 03:54:15 DEBUG : file1: reading active writers 2025/10/04 03:54:15 DEBUG : file2: reading active writers 2025/10/04 03:54:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54: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/04 03:54:16 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:54:16 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:54:16 DEBUG : Looking for writers 2025/10/04 03:54:16 DEBUG : file1: reading active writers 2025/10/04 03:54:16 DEBUG : file2: reading active writers 2025/10/04 03:54:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:17.007789 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:54:17.007834 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:54:17 DEBUG : Looking for writers 2025/10/04 03:54:17 DEBUG : file1: reading active writers 2025/10/04 03:54:17 DEBUG : file2: reading active writers 2025/10/04 03:54:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:18 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:54:18 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:54:18 DEBUG : Looking for writers 2025/10/04 03:54:18 DEBUG : file1: reading active writers 2025/10/04 03:54:18 DEBUG : file2: reading active writers 2025/10/04 03:54:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:18 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:54:19 DEBUG : Looking for writers 2025/10/04 03:54:19 DEBUG : file1: reading active writers 2025/10/04 03:54:19 DEBUG : file2: reading active writers 2025/10/04 03:54:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:19.672340 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:54:19.672366 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:54:20 DEBUG : Looking for writers 2025/10/04 03:54:20 DEBUG : file2: reading active writers 2025/10/04 03:54:20 DEBUG : file1: reading active writers 2025/10/04 03:54:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:21 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:54:21 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:54:21 DEBUG : Looking for writers 2025/10/04 03:54:21 DEBUG : file1: reading active writers 2025/10/04 03:54:21 DEBUG : file2: reading active writers 2025/10/04 03:54:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:21 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:54:22 DEBUG : Looking for writers 2025/10/04 03:54:22 DEBUG : file1: reading active writers 2025/10/04 03:54:22 DEBUG : file2: reading active writers 2025/10/04 03:54:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:22.456818 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:54:22.456886 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:54:23 DEBUG : Looking for writers 2025/10/04 03:54:23 DEBUG : file2: reading active writers 2025/10/04 03:54:23 DEBUG : file1: reading active writers 2025/10/04 03:54:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:23 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:54:23 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:54:24 DEBUG : Looking for writers 2025/10/04 03:54:24 DEBUG : file1: reading active writers 2025/10/04 03:54:24 DEBUG : file2: reading active writers 2025/10/04 03:54:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:25 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:54:25 DEBUG : Looking for writers 2025/10/04 03:54:25 DEBUG : file1: reading active writers 2025/10/04 03:54:25 DEBUG : file2: reading active writers 2025/10/04 03:54:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:25.862403 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:54:25.862445 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:54:26 DEBUG : Looking for writers 2025/10/04 03:54:26 DEBUG : file1: reading active writers 2025/10/04 03:54:26 DEBUG : file2: reading active writers 2025/10/04 03:54:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:27 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:54:27 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:54:27 DEBUG : Looking for writers 2025/10/04 03:54:27 DEBUG : file1: reading active writers 2025/10/04 03:54:27 DEBUG : file2: reading active writers 2025/10/04 03:54:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:28 DEBUG : Looking for writers 2025/10/04 03:54:28 DEBUG : file2: reading active writers 2025/10/04 03:54:28 DEBUG : file1: reading active writers 2025/10/04 03:54:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:29 DEBUG : Looking for writers 2025/10/04 03:54:29 DEBUG : file1: reading active writers 2025/10/04 03:54:29 DEBUG : file2: reading active writers 2025/10/04 03:54:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:30 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:54:30 DEBUG : Looking for writers 2025/10/04 03:54:30 DEBUG : file1: reading active writers 2025/10/04 03:54:30 DEBUG : file2: reading active writers 2025/10/04 03:54:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:31.159075 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:54:31.159129 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:54:31 DEBUG : Looking for writers 2025/10/04 03:54:31 DEBUG : file1: reading active writers 2025/10/04 03:54:31 DEBUG : file2: reading active writers 2025/10/04 03:54:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54: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/04 03:54:32 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:54:32 DEBUG : Looking for writers 2025/10/04 03:54:32 DEBUG : file1: reading active writers 2025/10/04 03:54:32 DEBUG : file2: reading active writers 2025/10/04 03:54:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:33 DEBUG : Looking for writers 2025/10/04 03:54:33 DEBUG : file1: reading active writers 2025/10/04 03:54:33 DEBUG : file2: reading active writers 2025/10/04 03:54:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:34 DEBUG : Looking for writers 2025/10/04 03:54:34 DEBUG : file1: reading active writers 2025/10/04 03:54:34 DEBUG : file2: reading active writers 2025/10/04 03:54:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:35 DEBUG : Looking for writers 2025/10/04 03:54:35 DEBUG : file1: reading active writers 2025/10/04 03:54:35 DEBUG : file2: reading active writers 2025/10/04 03:54:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:36 DEBUG : Looking for writers 2025/10/04 03:54:36 DEBUG : file1: reading active writers 2025/10/04 03:54:36 DEBUG : file2: reading active writers 2025/10/04 03:54:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:37 DEBUG : Looking for writers 2025/10/04 03:54:37 DEBUG : file1: reading active writers 2025/10/04 03:54:37 DEBUG : file2: reading active writers 2025/10/04 03:54:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:38 DEBUG : Looking for writers 2025/10/04 03:54:38 DEBUG : file1: reading active writers 2025/10/04 03:54:38 DEBUG : file2: reading active writers 2025/10/04 03:54:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:38 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:54:39 DEBUG : Looking for writers 2025/10/04 03:54:39 DEBUG : file1: reading active writers 2025/10/04 03:54:39 DEBUG : file2: reading active writers 2025/10/04 03:54:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:39.712856 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:54:39.712885 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:54:40 DEBUG : Looking for writers 2025/10/04 03:54:40 DEBUG : file1: reading active writers 2025/10/04 03:54:40 DEBUG : file2: reading active writers 2025/10/04 03:54:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:40 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:54:40 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:54:41 DEBUG : Looking for writers 2025/10/04 03:54:41 DEBUG : file2: reading active writers 2025/10/04 03:54:41 DEBUG : file1: reading active writers 2025/10/04 03:54:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:42 DEBUG : Looking for writers 2025/10/04 03:54:42 DEBUG : file1: reading active writers 2025/10/04 03:54:42 DEBUG : file2: reading active writers 2025/10/04 03:54:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:43 DEBUG : Looking for writers 2025/10/04 03:54:43 DEBUG : file1: reading active writers 2025/10/04 03:54:43 DEBUG : file2: reading active writers 2025/10/04 03:54:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:54:44 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0008e8870 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00039de08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824637513280} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992759330966624165 ext:910955031515 loc:0x41313e0} ATime:{wall:13992759330966950158 ext:910955357517 loc:0x41313e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc0008e8870 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009f82208 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824800977472} name:file2 opens:0 downloaders: o:0xc00055b2c0 fd: info:{ModTime:{wall:13992759330967876917 ext:910956284258 loc:0x41313e0} ATime:{wall:13992759330968108231 ext:910956515561 loc:0x41313e0} Size:0 Rs:[] Fingerprint:0,2025-10-04 03:54:14.098530613 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 03:54:44 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/04 03:54:53 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:55:13 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 03:55:13 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/04 03:55:13 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/04 03:56:13 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 03:56:13 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/04 03:56:13 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/04 03:56:17.858442 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:56:17.858483 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:56: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/04 03:56: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/04 03:56:44 DEBUG : file1: vfs cache: starting upload 2025/10/04 03:57:13 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 03:57:13 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/04 03:57:13 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/04 03:57:53.168976 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 03:57:53.169006 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 03:57:54 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 03:57:54 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got file2 (0) fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteNoWrite Messages: 1 objects not found 2025/10/04 03:57:56 DEBUG : WaitForWriters: timeout=30s 2025/10/04 03:57:56 DEBUG : Looking for writers 2025/10/04 03:57:56 DEBUG : file1: reading active writers 2025/10/04 03:57:56 DEBUG : file2: reading active writers 2025/10/04 03:57:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 03:57:56 DEBUG : Looking for writers 2025/10/04 03:57:56 DEBUG : file1: reading active writers 2025/10/04 03:57:56 DEBUG : file2: reading active writers 2025/10/04 03:57:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 03:57:56 DEBUG : Looking for writers 2025/10/04 03:57:56 DEBUG : file1: reading active writers 2025/10/04 03:57:56 DEBUG : file2: reading active writers 2025/10/04 03:57:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 03:57:57 DEBUG : Looking for writers 2025/10/04 03:57:57 DEBUG : file1: reading active writers 2025/10/04 03:57:57 DEBUG : file2: reading active writers 2025/10/04 03:57:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 03:57:57 DEBUG : Looking for writers 2025/10/04 03:57:57 DEBUG : file1: reading active writers 2025/10/04 03:57:57 DEBUG : file2: reading active writers 2025/10/04 03:57:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 03:57:57 DEBUG : Looking for writers 2025/10/04 03:57:57 DEBUG : file1: reading active writers 2025/10/04 03:57:57 DEBUG : file2: reading active writers 2025/10/04 03:57:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 03:57:57 DEBUG : Looking for writers 2025/10/04 03:57:57 DEBUG : file1: reading active writers 2025/10/04 03:57:57 DEBUG : file2: reading active writers 2025/10/04 03:57:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 03:57:58 DEBUG : Looking for writers 2025/10/04 03:57:58 DEBUG : file1: reading active writers 2025/10/04 03:57:58 DEBUG : file2: reading active writers 2025/10/04 03:57:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:57:59 DEBUG : Looking for writers 2025/10/04 03:57:59 DEBUG : file1: reading active writers 2025/10/04 03:57:59 DEBUG : file2: reading active writers 2025/10/04 03:57:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:00 DEBUG : Looking for writers 2025/10/04 03:58:00 DEBUG : file1: reading active writers 2025/10/04 03:58:00 DEBUG : file2: reading active writers 2025/10/04 03:58:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:01 DEBUG : Looking for writers 2025/10/04 03:58:01 DEBUG : file1: reading active writers 2025/10/04 03:58:01 DEBUG : file2: reading active writers 2025/10/04 03:58:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:02 DEBUG : Looking for writers 2025/10/04 03:58:02 DEBUG : file1: reading active writers 2025/10/04 03:58:02 DEBUG : file2: reading active writers 2025/10/04 03:58:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:03 DEBUG : Looking for writers 2025/10/04 03:58:03 DEBUG : file1: reading active writers 2025/10/04 03:58:03 DEBUG : file2: reading active writers 2025/10/04 03:58:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:04 DEBUG : Looking for writers 2025/10/04 03:58:04 DEBUG : file1: reading active writers 2025/10/04 03:58:04 DEBUG : file2: reading active writers 2025/10/04 03:58:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:05 DEBUG : Looking for writers 2025/10/04 03:58:05 DEBUG : file1: reading active writers 2025/10/04 03:58:05 DEBUG : file2: reading active writers 2025/10/04 03:58:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:06 DEBUG : Looking for writers 2025/10/04 03:58:06 DEBUG : file1: reading active writers 2025/10/04 03:58:06 DEBUG : file2: reading active writers 2025/10/04 03:58:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:07 DEBUG : Looking for writers 2025/10/04 03:58:07 DEBUG : file1: reading active writers 2025/10/04 03:58:07 DEBUG : file2: reading active writers 2025/10/04 03:58:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:08 DEBUG : Looking for writers 2025/10/04 03:58:08 DEBUG : file1: reading active writers 2025/10/04 03:58:08 DEBUG : file2: reading active writers 2025/10/04 03:58:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:09 DEBUG : Looking for writers 2025/10/04 03:58:09 DEBUG : file1: reading active writers 2025/10/04 03:58:09 DEBUG : file2: reading active writers 2025/10/04 03:58:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:10 DEBUG : Looking for writers 2025/10/04 03:58:10 DEBUG : file1: reading active writers 2025/10/04 03:58:10 DEBUG : file2: reading active writers 2025/10/04 03:58:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:11 DEBUG : Looking for writers 2025/10/04 03:58:11 DEBUG : file1: reading active writers 2025/10/04 03:58:11 DEBUG : file2: reading active writers 2025/10/04 03:58:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:12 DEBUG : Looking for writers 2025/10/04 03:58:12 DEBUG : file1: reading active writers 2025/10/04 03:58:12 DEBUG : file2: reading active writers 2025/10/04 03:58:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:13 DEBUG : Looking for writers 2025/10/04 03:58:13 DEBUG : file2: reading active writers 2025/10/04 03:58:13 DEBUG : file1: reading active writers 2025/10/04 03:58:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:13 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/04 03:58:13 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 03:58:13 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 1, uploading 0, total size 0 (was 0) 2025/10/04 03:58:14 DEBUG : Looking for writers 2025/10/04 03:58:14 DEBUG : file1: reading active writers 2025/10/04 03:58:14 DEBUG : file2: reading active writers 2025/10/04 03:58:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:15 DEBUG : Looking for writers 2025/10/04 03:58:15 DEBUG : file2: reading active writers 2025/10/04 03:58:15 DEBUG : file1: reading active writers 2025/10/04 03:58:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:16 DEBUG : Looking for writers 2025/10/04 03:58:16 DEBUG : file2: reading active writers 2025/10/04 03:58:16 DEBUG : file1: reading active writers 2025/10/04 03:58:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:17 DEBUG : Looking for writers 2025/10/04 03:58:17 DEBUG : file1: reading active writers 2025/10/04 03:58:17 DEBUG : file2: reading active writers 2025/10/04 03:58:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:18 DEBUG : Looking for writers 2025/10/04 03:58:18 DEBUG : file1: reading active writers 2025/10/04 03:58:18 DEBUG : file2: reading active writers 2025/10/04 03:58:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:18 DEBUG : forgetting directory cache 2025/10/04 03:58:19 DEBUG : Looking for writers 2025/10/04 03:58:19 DEBUG : file1: reading active writers 2025/10/04 03:58:19 DEBUG : file2: reading active writers 2025/10/04 03:58:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:20 DEBUG : Looking for writers 2025/10/04 03:58:20 DEBUG : file1: reading active writers 2025/10/04 03:58:20 DEBUG : file2: reading active writers 2025/10/04 03:58:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:21 DEBUG : Looking for writers 2025/10/04 03:58:21 DEBUG : file1: reading active writers 2025/10/04 03:58:21 DEBUG : file2: reading active writers 2025/10/04 03:58:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:22 DEBUG : Looking for writers 2025/10/04 03:58:22 DEBUG : file2: reading active writers 2025/10/04 03:58:22 DEBUG : file1: reading active writers 2025/10/04 03:58:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:23 DEBUG : Looking for writers 2025/10/04 03:58:23 DEBUG : file1: reading active writers 2025/10/04 03:58:23 DEBUG : file2: reading active writers 2025/10/04 03:58:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:24 DEBUG : Looking for writers 2025/10/04 03:58:24 DEBUG : file1: reading active writers 2025/10/04 03:58:24 DEBUG : file2: reading active writers 2025/10/04 03:58:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:25 DEBUG : Looking for writers 2025/10/04 03:58:25 DEBUG : file1: reading active writers 2025/10/04 03:58:25 DEBUG : file2: reading active writers 2025/10/04 03:58:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:26 DEBUG : Looking for writers 2025/10/04 03:58:26 DEBUG : file1: reading active writers 2025/10/04 03:58:26 DEBUG : file2: reading active writers 2025/10/04 03:58:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 03:58:26 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0008e8870 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00039de08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824637513280} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992759330966624165 ext:910955031515 loc:0x41313e0} ATime:{wall:13992759330966950158 ext:910955357517 loc:0x41313e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc0008e8870 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009f82208 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824800977472} name:file2 opens:0 downloaders: o:0xc00055b2c0 fd: info:{ModTime:{wall:13992759330967876917 ext:910956284258 loc:0x41313e0} ATime:{wall:13992759330968108231 ext:910956515561 loc:0x41313e0} Size:0 Rs:[] Fingerprint:0,2025-10-04 03:54:14.098530613 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 03:58:26 DEBUG : >WaitForWriters: 2025/10/04 03:58:26 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteNoWrite (345.83s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 03:59:59 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 03:59:59 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 03:59:59 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:59:59 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:59:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:59:59 DEBUG : Config file has changed externally - reloading 2025/10/04 03:59:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:59:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:59:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:59:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 03:59:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 03:59:59 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:00:01.963938 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:00:01.963971 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:00:01 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:00:01 DEBUG : Looking for writers 2025/10/04 04:00:01 DEBUG : >WaitForWriters: 2025/10/04 04:00:01 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (4.30s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:00:03 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:00:03 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:00:03 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:03 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:00:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:00:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:03 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:00:06.284576 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:00:06.284608 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:00:06 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:00:06 DEBUG : Looking for writers 2025/10/04 04:00:06 DEBUG : >WaitForWriters: 2025/10/04 04:00:06 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (4.18s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:00:08 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:00:08 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:00:08 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:08 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:00:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:00:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:00:08 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:00:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:00:08 DEBUG : file1: newRWFileHandle: 2025/10/04 04:00:08 DEBUG : file1(0xc0099d9880): openPending: 2025/10/04 04:00:08 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 04:00:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:00:08 DEBUG : file1(0xc0099d9880): >openPending: err= 2025/10/04 04:00:08 DEBUG : file1: >newRWFileHandle: err= 2025/10/04 04:00:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:00:08 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/04 04:00:08 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/04 04:00:09.314531 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:00:09.314562 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "time_test" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:00:09 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:00:09 DEBUG : Looking for writers 2025/10/04 04:00:09 DEBUG : file1: reading active writers 2025/10/04 04:00:09 DEBUG : file1: active writers 1 2025/10/04 04:00:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/04 04:00:09 DEBUG : Looking for writers 2025/10/04 04:00:09 DEBUG : file1: reading active writers 2025/10/04 04:00:09 DEBUG : file1: active writers 1 2025/10/04 04:00:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/04 04:00:09 DEBUG : Looking for writers 2025/10/04 04:00:09 DEBUG : file1: reading active writers 2025/10/04 04:00:09 DEBUG : file1: active writers 1 2025/10/04 04:00:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/04 04:00:09 DEBUG : Looking for writers 2025/10/04 04:00:09 DEBUG : file1: reading active writers 2025/10/04 04:00:09 DEBUG : file1: active writers 1 2025/10/04 04:00:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/04 04:00:09 DEBUG : Looking for writers 2025/10/04 04:00:09 DEBUG : file1: reading active writers 2025/10/04 04:00:09 DEBUG : file1: active writers 1 2025/10/04 04:00:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/04 04:00:09 DEBUG : Looking for writers 2025/10/04 04:00:09 DEBUG : file1: reading active writers 2025/10/04 04:00:09 DEBUG : file1: active writers 1 2025/10/04 04:00:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/04 04:00:09 DEBUG : Looking for writers 2025/10/04 04:00:09 DEBUG : file1: reading active writers 2025/10/04 04:00:09 DEBUG : file1: active writers 1 2025/10/04 04:00:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/04 04:00:10 DEBUG : Looking for writers 2025/10/04 04:00:10 DEBUG : file1: reading active writers 2025/10/04 04:00:10 DEBUG : file1: active writers 1 2025/10/04 04:00:10 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:11 DEBUG : Looking for writers 2025/10/04 04:00:11 DEBUG : file1: reading active writers 2025/10/04 04:00:11 DEBUG : file1: active writers 1 2025/10/04 04:00:11 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:12 DEBUG : Looking for writers 2025/10/04 04:00:12 DEBUG : file1: reading active writers 2025/10/04 04:00:12 DEBUG : file1: active writers 1 2025/10/04 04:00:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:13 DEBUG : Looking for writers 2025/10/04 04:00:13 DEBUG : file1: reading active writers 2025/10/04 04:00:13 DEBUG : file1: active writers 1 2025/10/04 04:00:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:14 DEBUG : Looking for writers 2025/10/04 04:00:14 DEBUG : file1: reading active writers 2025/10/04 04:00:14 DEBUG : file1: active writers 1 2025/10/04 04:00:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:15 DEBUG : Looking for writers 2025/10/04 04:00:15 DEBUG : file1: reading active writers 2025/10/04 04:00:15 DEBUG : file1: active writers 1 2025/10/04 04:00:15 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:16 DEBUG : Looking for writers 2025/10/04 04:00:16 DEBUG : file1: reading active writers 2025/10/04 04:00:16 DEBUG : file1: active writers 1 2025/10/04 04:00:16 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:17 DEBUG : Looking for writers 2025/10/04 04:00:17 DEBUG : file1: reading active writers 2025/10/04 04:00:17 DEBUG : file1: active writers 1 2025/10/04 04:00:17 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:18 DEBUG : Looking for writers 2025/10/04 04:00:18 DEBUG : file1: reading active writers 2025/10/04 04:00:18 DEBUG : file1: active writers 1 2025/10/04 04:00:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:19 DEBUG : Looking for writers 2025/10/04 04:00:19 DEBUG : file1: reading active writers 2025/10/04 04:00:19 DEBUG : file1: active writers 1 2025/10/04 04:00:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:20 DEBUG : Looking for writers 2025/10/04 04:00:20 DEBUG : file1: reading active writers 2025/10/04 04:00:20 DEBUG : file1: active writers 1 2025/10/04 04:00:20 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:21 DEBUG : Looking for writers 2025/10/04 04:00:21 DEBUG : file1: reading active writers 2025/10/04 04:00:21 DEBUG : file1: active writers 1 2025/10/04 04:00:21 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:22 DEBUG : Looking for writers 2025/10/04 04:00:22 DEBUG : file1: reading active writers 2025/10/04 04:00:22 DEBUG : file1: active writers 1 2025/10/04 04:00:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:23 DEBUG : Looking for writers 2025/10/04 04:00:23 DEBUG : file1: reading active writers 2025/10/04 04:00:23 DEBUG : file1: active writers 1 2025/10/04 04:00:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:24 DEBUG : Looking for writers 2025/10/04 04:00:24 DEBUG : file1: reading active writers 2025/10/04 04:00:24 DEBUG : file1: active writers 1 2025/10/04 04:00:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:25 DEBUG : Looking for writers 2025/10/04 04:00:25 DEBUG : file1: reading active writers 2025/10/04 04:00:25 DEBUG : file1: active writers 1 2025/10/04 04:00:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:26 DEBUG : Looking for writers 2025/10/04 04:00:26 DEBUG : file1: reading active writers 2025/10/04 04:00:26 DEBUG : file1: active writers 1 2025/10/04 04:00:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:27 DEBUG : Looking for writers 2025/10/04 04:00:27 DEBUG : file1: reading active writers 2025/10/04 04:00:27 DEBUG : file1: active writers 1 2025/10/04 04:00:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:28 DEBUG : Looking for writers 2025/10/04 04:00:28 DEBUG : file1: reading active writers 2025/10/04 04:00:28 DEBUG : file1: active writers 1 2025/10/04 04:00:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:29 DEBUG : Looking for writers 2025/10/04 04:00:29 DEBUG : file1: reading active writers 2025/10/04 04:00:29 DEBUG : file1: active writers 1 2025/10/04 04:00:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:30 DEBUG : Looking for writers 2025/10/04 04:00:30 DEBUG : file1: reading active writers 2025/10/04 04:00:30 DEBUG : file1: active writers 1 2025/10/04 04:00:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:31 DEBUG : Looking for writers 2025/10/04 04:00:31 DEBUG : file1: reading active writers 2025/10/04 04:00:31 DEBUG : file1: active writers 1 2025/10/04 04:00:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:32 DEBUG : Looking for writers 2025/10/04 04:00:32 DEBUG : file1: reading active writers 2025/10/04 04:00:32 DEBUG : file1: active writers 1 2025/10/04 04:00:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:33 DEBUG : Looking for writers 2025/10/04 04:00:33 DEBUG : file1: reading active writers 2025/10/04 04:00:33 DEBUG : file1: active writers 1 2025/10/04 04:00:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:34 DEBUG : Looking for writers 2025/10/04 04:00:34 DEBUG : file1: reading active writers 2025/10/04 04:00:34 DEBUG : file1: active writers 1 2025/10/04 04:00:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:35 DEBUG : Looking for writers 2025/10/04 04:00:35 DEBUG : file1: reading active writers 2025/10/04 04:00:35 DEBUG : file1: active writers 1 2025/10/04 04:00:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:36 DEBUG : Looking for writers 2025/10/04 04:00:36 DEBUG : file1: reading active writers 2025/10/04 04:00:36 DEBUG : file1: active writers 1 2025/10/04 04:00:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:37 DEBUG : Looking for writers 2025/10/04 04:00:37 DEBUG : file1: reading active writers 2025/10/04 04:00:37 DEBUG : file1: active writers 1 2025/10/04 04:00:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:38 DEBUG : Looking for writers 2025/10/04 04:00:38 DEBUG : file1: reading active writers 2025/10/04 04:00:38 DEBUG : file1: active writers 1 2025/10/04 04:00:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:00:39 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc006598690 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00625c708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824736859968} name:file1 opens:1 downloaders: o: fd:0xc00038a8a8 info:{ModTime:{wall:13992759711417407028 ext:1265301208692 loc:0x41313e0} ATime:{wall:13992759711417407028 ext:1265301208692 loc:0x41313e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/04 04:00:39 DEBUG : >WaitForWriters: 2025/10/04 04:00:39 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (31.98s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:00:40 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:00:40 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:00:40 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:40 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:00:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:00:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-pemeful2doce" 2025/10/04 04:00:40 INFO : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:00:40 DEBUG : forgetting directory cache 2025/10/04 04:00:41.027768 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:00:41.027805 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "TestRWCacheUpdate" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:00:41 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:00:41 DEBUG : Looking for writers 2025/10/04 04:00:41 DEBUG : >WaitForWriters: 2025/10/04 04:00:41 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (1.81s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:00:43.344303 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:00:43.344336 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (2.20s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:00:44.957875 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:00:44.957906 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.66s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:00:45 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:00:45 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:00:46.666536 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:00:46.666572 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-pemeful2doce'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:00:47 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:00:47 DEBUG : Looking for writers 2025/10/04 04:00:47 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (2.97s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:00:48 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:00:48 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:00:49.589275 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:00:49.589311 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-pemeful2doce'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:00:50 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:00:50 DEBUG : Looking for writers 2025/10/04 04:00:50 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (2.95s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:00:51 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:00:51 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:00:52.545231 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:00:52.545265 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-pemeful2doce'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:00:53 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:00:53 DEBUG : Looking for writers 2025/10/04 04:00:53 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (3.03s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:00:54 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:00:54 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:00:56.577911 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:00:56.577952 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:00:56 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:00:56 DEBUG : Looking for writers 2025/10/04 04:00:56 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (3.73s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:00:58 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:00:58 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:00:58 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:00:58 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:00:58 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:00:58 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:00:58 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:00:58 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:00:58 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/04 04:00:58 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/04 04:00:58 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/04 04:00:58 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': File to upload is small (5 bytes), uploading instead of streaming 2025/10/04 04:00:59.797442 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:00:59.797479 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:01:01 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:01:01 DEBUG : file1: Remove: 2025/10/04 04:01:01 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:01:01 DEBUG : file1: >Remove: err= write_test.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:144 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:153 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/04 04:02:11 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want file1 (5) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleMethods Messages: 1 objects not found 2025/10/04 04:04:12 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:04:12 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:04:12 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:04:12 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:04:12 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:04:12 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:04:12 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': File to upload is small (0 bytes), uploading instead of streaming 2025/10/04 04:04:14 DEBUG : forgetting directory cache 2025/10/04 04:04:14 DEBUG : Removed virtual directory entry vAddFile: "file2" 2025/10/04 04:05:45.337981 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:05:45.338026 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:05:46 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:05:46 DEBUG : file1: Remove: 2025/10/04 04:05:46 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:05:46 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 dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:164 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods 2025/10/04 04:05:46 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:05:46 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:05:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:05:46 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:05:46 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:05:46 DEBUG : Added virtual directory entry vAddFile: "file1" write_test.go:171: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:171 Error: Not equal: expected: *errors.errorString(&errors.errorString{s:"permission denied"}) actual : () Test: TestWriteFileHandleMethods 2025/10/04 04:05:46 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:05:46 DEBUG : Looking for writers 2025/10/04 04:05:46 DEBUG : file1: reading active writers 2025/10/04 04:05:46 DEBUG : file1: active writers 1 2025/10/04 04:05:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/04 04:05:46 DEBUG : Looking for writers 2025/10/04 04:05:46 DEBUG : file1: reading active writers 2025/10/04 04:05:46 DEBUG : file1: active writers 1 2025/10/04 04:05:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/04 04:05:46 DEBUG : Looking for writers 2025/10/04 04:05:46 DEBUG : file1: reading active writers 2025/10/04 04:05:46 DEBUG : file1: active writers 1 2025/10/04 04:05:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/04 04:05:46 DEBUG : Looking for writers 2025/10/04 04:05:46 DEBUG : file1: reading active writers 2025/10/04 04:05:46 DEBUG : file1: active writers 1 2025/10/04 04:05:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/04 04:05:46 DEBUG : Looking for writers 2025/10/04 04:05:46 DEBUG : file1: reading active writers 2025/10/04 04:05:46 DEBUG : file1: active writers 1 2025/10/04 04:05:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/04 04:05:47 DEBUG : Looking for writers 2025/10/04 04:05:47 DEBUG : file1: reading active writers 2025/10/04 04:05:47 DEBUG : file1: active writers 1 2025/10/04 04:05:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/04 04:05:47 DEBUG : Looking for writers 2025/10/04 04:05:47 DEBUG : file1: reading active writers 2025/10/04 04:05:47 DEBUG : file1: active writers 1 2025/10/04 04:05:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/04 04:05:48 DEBUG : Looking for writers 2025/10/04 04:05:48 DEBUG : file1: reading active writers 2025/10/04 04:05:48 DEBUG : file1: active writers 1 2025/10/04 04:05:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:05:49 DEBUG : Looking for writers 2025/10/04 04:05:49 DEBUG : file1: reading active writers 2025/10/04 04:05:49 DEBUG : file1: active writers 1 2025/10/04 04:05:49 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:05:50 DEBUG : Looking for writers 2025/10/04 04:05:50 DEBUG : file1: reading active writers 2025/10/04 04:05:50 DEBUG : file1: active writers 1 2025/10/04 04:05:50 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:05:51 DEBUG : Looking for writers 2025/10/04 04:05:51 DEBUG : file1: reading active writers 2025/10/04 04:05:51 DEBUG : file1: active writers 1 2025/10/04 04:05:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:05:52 DEBUG : Looking for writers 2025/10/04 04:05:52 DEBUG : file1: reading active writers 2025/10/04 04:05:52 DEBUG : file1: active writers 1 2025/10/04 04:05:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:05:53 DEBUG : Looking for writers 2025/10/04 04:05:53 DEBUG : file1: reading active writers 2025/10/04 04:05:53 DEBUG : file1: active writers 1 2025/10/04 04:05:53 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:05:54 DEBUG : Looking for writers 2025/10/04 04:05:54 DEBUG : file1: reading active writers 2025/10/04 04:05:54 DEBUG : file1: active writers 1 2025/10/04 04:05:54 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:05:55 DEBUG : Looking for writers 2025/10/04 04:05:55 DEBUG : file1: reading active writers 2025/10/04 04:05:55 DEBUG : file1: active writers 1 2025/10/04 04:05:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:05:56 DEBUG : Looking for writers 2025/10/04 04:05:56 DEBUG : file1: reading active writers 2025/10/04 04:05:56 DEBUG : file1: active writers 1 2025/10/04 04:05:56 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:05:57 DEBUG : Looking for writers 2025/10/04 04:05:57 DEBUG : file1: reading active writers 2025/10/04 04:05:57 DEBUG : file1: active writers 1 2025/10/04 04:05:57 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:05:58 DEBUG : Looking for writers 2025/10/04 04:05:58 DEBUG : file1: reading active writers 2025/10/04 04:05:58 DEBUG : file1: active writers 1 2025/10/04 04:05:58 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:05:59 DEBUG : Looking for writers 2025/10/04 04:05:59 DEBUG : file1: reading active writers 2025/10/04 04:05:59 DEBUG : file1: active writers 1 2025/10/04 04:05:59 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:00 DEBUG : Looking for writers 2025/10/04 04:06:00 DEBUG : file1: reading active writers 2025/10/04 04:06:00 DEBUG : file1: active writers 1 2025/10/04 04:06:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:01 DEBUG : Looking for writers 2025/10/04 04:06:01 DEBUG : file1: reading active writers 2025/10/04 04:06:01 DEBUG : file1: active writers 1 2025/10/04 04:06:01 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:02 DEBUG : Looking for writers 2025/10/04 04:06:02 DEBUG : file1: reading active writers 2025/10/04 04:06:02 DEBUG : file1: active writers 1 2025/10/04 04:06:02 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:03 DEBUG : Looking for writers 2025/10/04 04:06:03 DEBUG : file1: reading active writers 2025/10/04 04:06:03 DEBUG : file1: active writers 1 2025/10/04 04:06:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:04 DEBUG : Looking for writers 2025/10/04 04:06:04 DEBUG : file1: reading active writers 2025/10/04 04:06:04 DEBUG : file1: active writers 1 2025/10/04 04:06:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:05 DEBUG : Looking for writers 2025/10/04 04:06:05 DEBUG : file1: reading active writers 2025/10/04 04:06:05 DEBUG : file1: active writers 1 2025/10/04 04:06:05 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:06 DEBUG : Looking for writers 2025/10/04 04:06:06 DEBUG : file1: reading active writers 2025/10/04 04:06:06 DEBUG : file1: active writers 1 2025/10/04 04:06:06 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:07 DEBUG : Looking for writers 2025/10/04 04:06:07 DEBUG : file1: reading active writers 2025/10/04 04:06:07 DEBUG : file1: active writers 1 2025/10/04 04:06:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:08 DEBUG : Looking for writers 2025/10/04 04:06:08 DEBUG : file1: reading active writers 2025/10/04 04:06:08 DEBUG : file1: active writers 1 2025/10/04 04:06:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:09 DEBUG : Looking for writers 2025/10/04 04:06:09 DEBUG : file1: reading active writers 2025/10/04 04:06:09 DEBUG : file1: active writers 1 2025/10/04 04:06:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:10 DEBUG : Looking for writers 2025/10/04 04:06:10 DEBUG : file1: reading active writers 2025/10/04 04:06:10 DEBUG : file1: active writers 1 2025/10/04 04:06:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:11 DEBUG : Looking for writers 2025/10/04 04:06:11 DEBUG : file1: reading active writers 2025/10/04 04:06:11 DEBUG : file1: active writers 1 2025/10/04 04:06:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:12 DEBUG : Looking for writers 2025/10/04 04:06:12 DEBUG : file1: reading active writers 2025/10/04 04:06:12 DEBUG : file1: active writers 1 2025/10/04 04:06:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:13 DEBUG : Looking for writers 2025/10/04 04:06:13 DEBUG : file1: reading active writers 2025/10/04 04:06:13 DEBUG : file1: active writers 1 2025/10/04 04:06:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:14 DEBUG : Looking for writers 2025/10/04 04:06:14 DEBUG : file1: reading active writers 2025/10/04 04:06:14 DEBUG : file1: active writers 1 2025/10/04 04:06:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:15 DEBUG : Looking for writers 2025/10/04 04:06:15 DEBUG : file1: reading active writers 2025/10/04 04:06:15 DEBUG : file1: active writers 1 2025/10/04 04:06:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:16 DEBUG : Looking for writers 2025/10/04 04:06:16 DEBUG : file1: reading active writers 2025/10/04 04:06:16 DEBUG : file1: active writers 1 2025/10/04 04:06:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 04:06:16 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/04 04:06:16 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (319.20s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:06:17 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:06:17 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:06:17 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:06:18 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:06:18 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:06:18 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:06:18 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:06:18 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:06:18 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/04 04:06:19 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/04 04:06:19 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/04 04:06:19 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/04 04:06:19 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': File to upload is small (11 bytes), uploading instead of streaming 2025/10/04 04:06:20.004954 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:06:20.004991 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:06: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/04 04:06:21 DEBUG : file1: Remove: 2025/10/04 04:06:21 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:06:21 DEBUG : file1: >Remove: err= write_test.go:221: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:221 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleWriteAt 2025/10/04 04:06:21 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:231 Error: Not equal: expected: []string{"file1,11,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" -} +([]string) Test: TestWriteFileHandleWriteAt fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/04 04:08:18 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/04 04:09:29 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:09:29 DEBUG : Looking for writers 2025/10/04 04:09:29 DEBUG : >WaitForWriters: 2025/10/04 04:09:59 DEBUG : forgetting directory cache 2025/10/04 04:10:03 DEBUG : forgetting directory cache 2025/10/04 04:10:08 DEBUG : forgetting directory cache 2025/10/04 04:10:45 DEBUG : forgetting directory cache 2025/10/04 04:10:48 DEBUG : forgetting directory cache 2025/10/04 04:10:51 DEBUG : forgetting directory cache 2025/10/04 04:10:54 DEBUG : forgetting directory cache 2025/10/04 04:10:58 DEBUG : forgetting directory cache --- FAIL: TestWriteFileHandleWriteAt (285.38s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:11:02 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:11:02 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:11:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:11:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:11:03 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:11:03 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:11:03 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/04 04:11:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:11:03 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': File to upload is small (5 bytes), uploading instead of streaming 2025/10/04 04:11:04.197276 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:11:04.197324 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:11:05 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:11:05 DEBUG : file1: Remove: 2025/10/04 04:11:05 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:11:05 DEBUG : file1: >Remove: err= 2025/10/04 04:11:05 ERROR : file1: WriteFileHandle.Flush error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft write_test.go:256: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:256 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleFlush 2025/10/04 04:11:05 DEBUG : file1: WriteFileHandle.Flush nothing to do dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:267 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleFlush 2025/10/04 04:11:05 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:05 DEBUG : Looking for writers 2025/10/04 04:11:05 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (3.28s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:11:06 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:11:06 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:06 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:11:06 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:11:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:11:06 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:11:06 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:11:06 DEBUG : file1: WriteFileHandle.Release closing 2025/10/04 04:11:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:11:06 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': File to upload is small (0 bytes), uploading instead of streaming 2025/10/04 04:11:07.579484 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:11:07.579517 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:11: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/04 04:11:08 DEBUG : file1: Remove: 2025/10/04 04:11:08 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:11:08 DEBUG : file1: >Remove: err= 2025/10/04 04:11:08 ERROR : file1: WriteFileHandle.Release error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft write_test.go:279: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:279 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleRelease 2025/10/04 04:11:08 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/04 04:11:08 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:08 DEBUG : Looking for writers 2025/10/04 04:11:08 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (3.22s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:11:09 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:11:09 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:09 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:11:09 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:11:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:11:09 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:11:09 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:11:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:11:09 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': File to upload is small (2 bytes), uploading instead of streaming 2025/10/04 04:11:10.776268 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:11:10.776301 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:11:12 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:11:12 DEBUG : file1: Remove: 2025/10/04 04:11:12 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:11:12 DEBUG : file1: >Remove: err= write_test.go:333: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:333 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileModTimeWithOpenWriters 2025/10/04 04:11:12 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:12 DEBUG : Looking for writers 2025/10/04 04:11:12 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (3.38s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:11:12 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:11:12 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:12 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:11:13 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:11:13 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:11:13 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:11:13 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:11:13 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:11:13 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': File to upload is small (0 bytes), uploading instead of streaming 2025/10/04 04:11:13.919602 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:11:13.919635 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:11:15 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:11:15 DEBUG : file1: Remove: 2025/10/04 04:11:15 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:11:15 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestFileReadAtZeroLength 2025/10/04 04:11:15 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/04 04:11:15 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: file does not exist Test: TestFileReadAtZeroLength 2025/10/04 04:11:15 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:15 DEBUG : Looking for writers 2025/10/04 04:11:15 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (3.08s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:11:15 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:11:15 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:15 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:11:16 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:11:16 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:11:16 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 04:11:16 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 04:11:16 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:11:16 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': File to upload is small (100 bytes), uploading instead of streaming 2025/10/04 04:11:16.968123 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:11:16.968175 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:11:18 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:11:18 DEBUG : file1: Remove: 2025/10/04 04:11:18 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 04:11:18 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestFileReadAtNonZeroLength 2025/10/04 04:11:18 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/04 04:11:18 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: file does not exist Test: TestFileReadAtNonZeroLength 2025/10/04 04:11:18 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:18 DEBUG : Looking for writers 2025/10/04 04:11:18 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (2.94s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:11:18 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:11:18 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:20.955870 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:11:20.955915 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "flat/f000.txt" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:11:20 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:20 DEBUG : Looking for writers 2025/10/04 04:11:20 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (3.90s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:11:22 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:11:22 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:25.013685 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:11:25.013771 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "a/top.txt" to "proton drive root link ID 'rclone-test-pemeful2doce'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:11:25 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:25 DEBUG : Looking for writers 2025/10/04 04:11:25 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (4.11s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:11:26 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:11:26 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:29.439251 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:11:29.439296 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:11:29 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:29 DEBUG : Looking for writers 2025/10/04 04:11:29 DEBUG : >WaitForWriters: 2025/10/04 04:11:29.728986 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:11:29.729024 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (4.37s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-pemeful2doce'", Local "Local file system at /tmp/rclone2957040113", Modify Window "1s" 2025/10/04 04:11:31 INFO : proton drive root link ID 'rclone-test-pemeful2doce': poll-interval is not supported by this remote 2025/10/04 04:11:31 NOTICE: proton drive root link ID 'rclone-test-pemeful2doce': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:11:33.100121 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:11:33.100170 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-pemeful2doce'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:11:33 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:11:33 DEBUG : Looking for writers 2025/10/04 04:11:33 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (3.45s) FAIL 2025/10/04 04:11:34 DEBUG : proton drive root link ID 'rclone-test-pemeful2doce': 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 32m32.307068007s (try 3/5): exit status 1: Failed [TestDirHandleMethods TestDirHandleReaddir TestDirHandleReaddirnames TestDirMethods TestDirForgetAll TestDirForgetPath TestDirWalk TestDirSetModTime TestDirStat TestDirReadDirAll TestDirOpen TestDirCreate TestDirMkdir TestDirMkdirSub TestDirRemove TestDirRemoveAll TestDirRemoveName TestDirRename TestDirFileOpen TestDirMetadataExtension TestFileMethods TestFileSetModTime/cache=off,open=false,write=false TestFileSetModTime/cache=off,open=true,write=false TestFileSetModTime/cache=off,open=true,write=true TestFileSetModTime/cache=full,open=false,write=false TestFileSetModTime/cache=full,open=true,write=false TestFileSetModTime/cache=full,open=true,write=true TestFileOpenRead TestFileOpenWrite TestFileRemove TestFileRemoveAll TestFileOpen TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestReadFileHandleMethods TestReadFileHandleSeek TestReadFileHandleReadAt TestReadFileHandleFlush TestReadFileHandleRelease TestRWFileHandleMethodsRead TestRWFileHandleSeek TestRWFileHandleReadAt TestRWFileHandleFlushRead TestRWFileHandleReleaseRead TestRWFileHandleMethodsWrite TestRWFileHandleWriteAt TestRWFileHandleWriteNoWrite TestRWFileHandleSizeTruncateExisting TestRWFileHandleSizeCreateExisting TestRWFileModTimeWithOpenWriters TestRWCacheUpdate TestCaseSensitivity TestUnicodeNormalization TestVFSStat TestVFSStatParent TestVFSOpenFile TestVFSRename TestWriteFileHandleMethods TestWriteFileHandleWriteAt TestWriteFileHandleFlush TestWriteFileHandleRelease TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestFileReadAtNonZeroLength TestZipManyFiles TestZipManySubDirs TestZipLargeFiles TestZipDirsInRoot]