"./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 5/5) 2025/10/05 04:18:37 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-yunewos7sopi" 2025/10/05 04:18:37 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/05 04:18:37 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': Has cached credentials 2025/10/05 04:18:39 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': Used cached credential to initialize the ProtonDrive API 2025/10/05 04:18:39 DEBUG : Creating backend with remote "/tmp/rclone516189040" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:18:39 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:18:39 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:43.318807 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:18:43.318854 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:18:43 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:43 DEBUG : Looking for writers 2025/10/05 04:18:43 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (5.23s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:18:45 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:18:45 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:47.476481 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:18:47.476512 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:18:47 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:47 DEBUG : Looking for writers 2025/10/05 04:18:47 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (4.01s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:18:49 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:18:49 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:51.160831 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:18:51.160878 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:18:51 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:51 DEBUG : Looking for writers 2025/10/05 04:18:51 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (3.44s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:18:52 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:18:52 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:54.830905 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:18:54.830951 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:18:54 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:54 DEBUG : Looking for writers 2025/10/05 04:18:54 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (3.93s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:18:56 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:18:56 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:18:58.481374 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:18:58.481430 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:18:58 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:18:58 DEBUG : Looking for writers 2025/10/05 04:18:58 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (3.77s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:00 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:00 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:02.670455 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:02.670498 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:02 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:02 DEBUG : Looking for writers 2025/10/05 04:19:02 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (4.16s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:04 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:04 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:06.571012 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:06.571042 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:06 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:06 DEBUG : Looking for writers 2025/10/05 04:19:06 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (3.77s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:08 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:08 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:10.061625 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:10.061654 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:10 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:10 DEBUG : Looking for writers 2025/10/05 04:19:10 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (3.65s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:11 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:11 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:14.088441 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:14.088500 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:14 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:14 DEBUG : Looking for writers 2025/10/05 04:19:14 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (4.02s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:15 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:15 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:17.841943 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:17.841978 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:17 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:17 DEBUG : Looking for writers 2025/10/05 04:19:17 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (3.63s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:19 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:19 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:21.769511 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:21.769548 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:21 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:21 DEBUG : Looking for writers 2025/10/05 04:19:21 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (3.89s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:23 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:23 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:25.694601 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:25.694631 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:25 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:25 DEBUG : Looking for writers 2025/10/05 04:19:25 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (4.10s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:27 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:27 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:29.665096 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:29.665148 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:29 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:29 DEBUG : Looking for writers 2025/10/05 04:19:29 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (3.93s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:31 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:31 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:33.701297 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:33.701335 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:33 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:33 DEBUG : Looking for writers 2025/10/05 04:19:33 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (4.13s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:35 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:35 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:37.750356 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:37.750392 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:37 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:37 DEBUG : Looking for writers 2025/10/05 04:19:37 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (3.91s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:39 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:39 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:41.976978 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:41.977024 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:41 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:41 DEBUG : Looking for writers 2025/10/05 04:19:41 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (4.24s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:43 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:43 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:45.920427 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:45.920464 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:45 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:45 DEBUG : Looking for writers 2025/10/05 04:19:45 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (3.96s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:47 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:47 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:49.318617 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:49.318649 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:49 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:49 DEBUG : Looking for writers 2025/10/05 04:19:49 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (3.38s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:51 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:51 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:53.296925 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:53.296972 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:53 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:53 DEBUG : Looking for writers 2025/10/05 04:19:53 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (4.02s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:55 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:55 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:19:57.156574 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:19:57.156610 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:19:57 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:19:57 DEBUG : Looking for writers 2025/10/05 04:19:57 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (3.93s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:19:59 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:19:59 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:20:01.515602 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:01.515633 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:01 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:01 DEBUG : Looking for writers 2025/10/05 04:20:01 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (4.17s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:03 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:03 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:20:05.285126 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:05.285163 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:05 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:05 DEBUG : Looking for writers 2025/10/05 04:20:05 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:07 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:07 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:20:09.308812 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:09.308849 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:09 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:09 DEBUG : Looking for writers 2025/10/05 04:20:09 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:11 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:11 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:20:12.962630 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:12.962655 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:12 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:12 DEBUG : Looking for writers 2025/10/05 04:20:12 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:14 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:14 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:20:14 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:14 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:14 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:20:16.709394 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:16.709459 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:16 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:16 DEBUG : Looking for writers 2025/10/05 04:20:16 DEBUG : >WaitForWriters: 2025/10/05 04:20:16 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:18 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:18 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:20:18 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:18 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:18 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:20:20.025322 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:20.025385 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:20 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:20 DEBUG : Looking for writers 2025/10/05 04:20:20 DEBUG : >WaitForWriters: 2025/10/05 04:20:20 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:21 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:21 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:20:21 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:21 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:21 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:20:23.850096 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:23.850125 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:23 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:23 DEBUG : Looking for writers 2025/10/05 04:20:23 DEBUG : >WaitForWriters: 2025/10/05 04:20:23 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (22.34s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (3.89s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (4.06s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (3.49s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (3.78s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (3.43s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (3.69s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:25 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:25 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:20:27.798293 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:27.798350 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:27 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:27 DEBUG : Looking for writers 2025/10/05 04:20:27 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (3.92s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:29 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:29 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:20:31.638284 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:31.638322 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:31 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:31 DEBUG : Looking for writers 2025/10/05 04:20:31 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (3.96s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:33 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:33 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:20:35.567140 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:35.567182 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:35 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:35 DEBUG : Looking for writers 2025/10/05 04:20:35 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (3.69s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:37 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:37 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:20:39.342379 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:39.342428 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:39 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:39 DEBUG : Looking for writers 2025/10/05 04:20:39 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (4.10s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:41 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:41 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:20:43.381014 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:43.381046 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:43 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:43 DEBUG : Looking for writers 2025/10/05 04:20:43 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (3.98s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:45 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:45 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:20:46.999895 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:46.999934 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:47 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:47 DEBUG : Looking for writers 2025/10/05 04:20:47 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:48 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:48 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:20:48 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:20:48 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:48 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:48 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:20:50.493550 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:50.493586 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:50 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:50 DEBUG : Looking for writers 2025/10/05 04:20:50 DEBUG : >WaitForWriters: 2025/10/05 04:20:50 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:52 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:52 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:20:52 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:20:52 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:52 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:52 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:52 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:52 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:52 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:20:54.216513 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:54.216548 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:54 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:54 DEBUG : Looking for writers 2025/10/05 04:20:54 DEBUG : >WaitForWriters: 2025/10/05 04:20:54 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:55 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:55 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:20:55 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:55 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:55 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:55 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:55 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:55 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:20:57.787272 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:20:57.787315 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:20:57 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:20:57 DEBUG : Looking for writers 2025/10/05 04:20:57 DEBUG : >WaitForWriters: 2025/10/05 04:20:57 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:20:59 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:20:59 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:20:59 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:59 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:20:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:20:59 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:21:01.725232 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:01.725293 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:01 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:01 DEBUG : Looking for writers 2025/10/05 04:21:01 DEBUG : >WaitForWriters: 2025/10/05 04:21:01 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:21:03 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:21:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:21:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:03 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:21:05.597676 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:05.597720 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:05 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:05 DEBUG : Looking for writers 2025/10/05 04:21:05 DEBUG : >WaitForWriters: 2025/10/05 04:21:05 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestFileRename (22.16s) --- FAIL: TestFileRename/off,forceCache=false (3.33s) --- FAIL: TestFileRename/minimal,forceCache=false (3.60s) --- FAIL: TestFileRename/minimal,forceCache=true (3.76s) --- FAIL: TestFileRename/writes,forceCache=false (3.55s) --- FAIL: TestFileRename/writes,forceCache=true (4.05s) --- FAIL: TestFileRename/full,forceCache=false (3.87s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:21:07 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:21:07 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:21:09.395734 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:09.395760 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:09 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:09 DEBUG : Looking for writers 2025/10/05 04:21:09 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (3.77s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:21:11 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:21:11 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:21:13.262608 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:13.262635 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:13 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:13 DEBUG : Looking for writers 2025/10/05 04:21:13 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (3.82s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:21:14 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:21:14 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:21:17.119093 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:17.119120 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:17 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:17 DEBUG : Looking for writers 2025/10/05 04:21:17 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (3.90s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:21:18 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:21:18 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:21:20.573440 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:20.573485 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:20 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:20 DEBUG : Looking for writers 2025/10/05 04:21:20 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (3.48s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:21:22 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:21:22 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:21:24.186841 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:24.186883 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:24 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:24 DEBUG : Looking for writers 2025/10/05 04:21:24 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (3.56s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:21:25 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:21:25 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:21:25 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:25 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:25 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:21:28.024485 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:28.024559 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:28 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:28 DEBUG : Looking for writers 2025/10/05 04:21:28 DEBUG : >WaitForWriters: 2025/10/05 04:21:28 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (3.91s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:21:29 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:21:29 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:21:29 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:29 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:29 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:21:31.603790 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:31.603831 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:31 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:31 DEBUG : Looking for writers 2025/10/05 04:21:31 DEBUG : >WaitForWriters: 2025/10/05 04:21:31 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (3.50s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:21:33 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:21:33 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:21:33 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:33 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:33 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:21:35.464540 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:35.464566 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:35 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:35 DEBUG : Looking for writers 2025/10/05 04:21:35 DEBUG : >WaitForWriters: 2025/10/05 04:21:35 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (3.81s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:21:37 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:21:37 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:21:37 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:37 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:37 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:21:39.212087 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:39.212115 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:39 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:39 DEBUG : Looking for writers 2025/10/05 04:21:39 DEBUG : >WaitForWriters: 2025/10/05 04:21:39 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (3.76s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:21:40 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:21:40 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:21:40 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:40 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:40 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:21:43.054377 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:43.054409 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:43 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:43 DEBUG : Looking for writers 2025/10/05 04:21:43 DEBUG : >WaitForWriters: 2025/10/05 04:21:43 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (3.91s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:21:44 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:21:44 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:21:44 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:44 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:21:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:21:44 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:21:44 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:21:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:21:45 DEBUG : file1: newRWFileHandle: 2025/10/05 04:21:45 DEBUG : file1(0xc000a05240): openPending: 2025/10/05 04:21:45 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 04:21:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:21:45 DEBUG : file1(0xc000a05240): >openPending: err= 2025/10/05 04:21:45 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 04:21:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:21:45 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 04:21:45 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 04:21:45 DEBUG : file1(0xc000a05240): _writeAt: size=5, off=0 2025/10/05 04:21:45 DEBUG : file1(0xc000a05240): >_writeAt: n=5, err= 2025/10/05 04:21:45 DEBUG : file1(0xc000a05240): _writeAt: size=7, off=5 2025/10/05 04:21:45 DEBUG : file1(0xc000a05240): >_writeAt: n=7, err= 2025/10/05 04:21:45 DEBUG : file1: vfs cache: truncate to size=11 2025/10/05 04:21:45 DEBUG : file1(0xc000a05240): close: 2025/10/05 04:21:45 DEBUG : file1: vfs cache: setting modification time to 2025-10-05 04:21:45.146415849 +0000 UTC m=+187.839465594 2025/10/05 04:21:45 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/05 04:21:45 DEBUG : file1(0xc000a05240): >close: err= 2025/10/05 04:21:45 DEBUG : file1(0xc000a05240): close: 2025/10/05 04:21:45 DEBUG : file1(0xc000a05240): >close: err=file already closed 2025/10/05 04:21:45 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:21:45 DEBUG : Looking for writers 2025/10/05 04:21:45 DEBUG : file1: reading active writers 2025/10/05 04:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 04:21:45 DEBUG : Looking for writers 2025/10/05 04:21:45 DEBUG : file1: reading active writers 2025/10/05 04:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 04:21:45 DEBUG : Looking for writers 2025/10/05 04:21:45 DEBUG : file1: reading active writers 2025/10/05 04:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 04:21:45 DEBUG : Looking for writers 2025/10/05 04:21:45 DEBUG : file1: reading active writers 2025/10/05 04:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 04:21:45 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:21:45 DEBUG : Looking for writers 2025/10/05 04:21:45 DEBUG : file1: reading active writers 2025/10/05 04:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 04:21:45 DEBUG : Looking for writers 2025/10/05 04:21:45 DEBUG : file1: reading active writers 2025/10/05 04:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 04:21:45 DEBUG : Looking for writers 2025/10/05 04:21:45 DEBUG : file1: reading active writers 2025/10/05 04:21:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 04:21:46 DEBUG : Looking for writers 2025/10/05 04:21:46 DEBUG : file1: reading active writers 2025/10/05 04:21:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21:46.432763 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:21:46.432790 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:46 ERROR : file1: Failed to copy: 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:46 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:21:46 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:21:47 DEBUG : Looking for writers 2025/10/05 04:21:47 DEBUG : file1: reading active writers 2025/10/05 04:21:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21:47.580342 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:21:47.580369 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:21:48 DEBUG : Looking for writers 2025/10/05 04:21:48 DEBUG : file1: reading active writers 2025/10/05 04:21:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21:48 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:21:48 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:21:49 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:21:49 DEBUG : Looking for writers 2025/10/05 04:21:49 DEBUG : file1: reading active writers 2025/10/05 04:21:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21:50.309960 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:21:50.309998 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:21:50 DEBUG : Looking for writers 2025/10/05 04:21:50 DEBUG : file1: reading active writers 2025/10/05 04:21:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21:51 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:21:51 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:21:51 DEBUG : Looking for writers 2025/10/05 04:21:51 DEBUG : file1: reading active writers 2025/10/05 04:21:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21:52 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:21:52 DEBUG : Looking for writers 2025/10/05 04:21:52 DEBUG : file1: reading active writers 2025/10/05 04:21:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21:53.082054 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:21:53.082079 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:21:53 DEBUG : Looking for writers 2025/10/05 04:21:53 DEBUG : file1: reading active writers 2025/10/05 04:21:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21: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/05 04:21:54 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:21:54 DEBUG : Looking for writers 2025/10/05 04:21:54 DEBUG : file1: reading active writers 2025/10/05 04:21:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21:55 DEBUG : Looking for writers 2025/10/05 04:21:55 DEBUG : file1: reading active writers 2025/10/05 04:21:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21:55 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:21:56 DEBUG : Looking for writers 2025/10/05 04:21:56 DEBUG : file1: reading active writers 2025/10/05 04:21:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21:56.470525 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:21:56.470561 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:21:57 DEBUG : Looking for writers 2025/10/05 04:21:57 DEBUG : file1: reading active writers 2025/10/05 04:21:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21:57 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:21:57 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:21:58 DEBUG : Looking for writers 2025/10/05 04:21:58 DEBUG : file1: reading active writers 2025/10/05 04:21:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:21:59 DEBUG : Looking for writers 2025/10/05 04:21:59 DEBUG : file1: reading active writers 2025/10/05 04:21:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:00 DEBUG : Looking for writers 2025/10/05 04:22:00 DEBUG : file1: reading active writers 2025/10/05 04:22:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:01 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:22:01 DEBUG : Looking for writers 2025/10/05 04:22:01 DEBUG : file1: reading active writers 2025/10/05 04:22:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:02.015629 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:22:02.015668 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:22:02 DEBUG : Looking for writers 2025/10/05 04:22:02 DEBUG : file1: reading active writers 2025/10/05 04:22:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:03 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:22:03 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:22:03 DEBUG : Looking for writers 2025/10/05 04:22:03 DEBUG : file1: reading active writers 2025/10/05 04:22:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:04 DEBUG : Looking for writers 2025/10/05 04:22:04 DEBUG : file1: reading active writers 2025/10/05 04:22:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:05 DEBUG : Looking for writers 2025/10/05 04:22:05 DEBUG : file1: reading active writers 2025/10/05 04:22:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:06 DEBUG : Looking for writers 2025/10/05 04:22:06 DEBUG : file1: reading active writers 2025/10/05 04:22:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:07 DEBUG : Looking for writers 2025/10/05 04:22:07 DEBUG : file1: reading active writers 2025/10/05 04:22:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:08 DEBUG : Looking for writers 2025/10/05 04:22:08 DEBUG : file1: reading active writers 2025/10/05 04:22:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:09 DEBUG : Looking for writers 2025/10/05 04:22:09 DEBUG : file1: reading active writers 2025/10/05 04:22:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:09 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:22:10 DEBUG : Looking for writers 2025/10/05 04:22:10 DEBUG : file1: reading active writers 2025/10/05 04:22:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:10.660421 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:22:10.660476 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:22:11 DEBUG : Looking for writers 2025/10/05 04:22:11 DEBUG : file1: reading active writers 2025/10/05 04:22:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:11 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:22:11 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:22:12 DEBUG : Looking for writers 2025/10/05 04:22:12 DEBUG : file1: reading active writers 2025/10/05 04:22:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:13 DEBUG : Looking for writers 2025/10/05 04:22:13 DEBUG : file1: reading active writers 2025/10/05 04:22:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:14 DEBUG : Looking for writers 2025/10/05 04:22:14 DEBUG : file1: reading active writers 2025/10/05 04:22:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:22:15 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00081cd20 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000acc808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824645044288} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992853875057107177 ext:187839465594 loc:0x4132400} ATime:{wall:13992853875057127736 ext:187839486153 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 04:22:15 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 04:22:24 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:22:44 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:22:44 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 04:23:44 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:23:44 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/05 04:23:57.716823 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:23:57.716881 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:23:58 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:23:58 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/05 04:24:24 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:24:44 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:24:44 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/05 04:25:39.447570 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:25:39.447607 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:25: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/05 04:25:40 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleMethodsWrite Messages: 1 objects not found 2025/10/05 04:25:43 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:25:43 DEBUG : Looking for writers 2025/10/05 04:25:43 DEBUG : file1: reading active writers 2025/10/05 04:25:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 04:25:43 DEBUG : Looking for writers 2025/10/05 04:25:43 DEBUG : file1: reading active writers 2025/10/05 04:25:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 04:25:43 DEBUG : Looking for writers 2025/10/05 04:25:43 DEBUG : file1: reading active writers 2025/10/05 04:25:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 04:25:43 DEBUG : Looking for writers 2025/10/05 04:25:43 DEBUG : file1: reading active writers 2025/10/05 04:25:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 04:25:43 DEBUG : Looking for writers 2025/10/05 04:25:43 DEBUG : file1: reading active writers 2025/10/05 04:25:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 04:25:43 DEBUG : Looking for writers 2025/10/05 04:25:43 DEBUG : file1: reading active writers 2025/10/05 04:25:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 04:25:43 DEBUG : Looking for writers 2025/10/05 04:25:43 DEBUG : file1: reading active writers 2025/10/05 04:25:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 04:25:44 DEBUG : Looking for writers 2025/10/05 04:25:44 DEBUG : file1: reading active writers 2025/10/05 04:25:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:44 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:25:44 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/05 04:25:45 DEBUG : Looking for writers 2025/10/05 04:25:45 DEBUG : file1: reading active writers 2025/10/05 04:25:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:46 DEBUG : Looking for writers 2025/10/05 04:25:46 DEBUG : file1: reading active writers 2025/10/05 04:25:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:47 DEBUG : Looking for writers 2025/10/05 04:25:47 DEBUG : file1: reading active writers 2025/10/05 04:25:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:48 DEBUG : Looking for writers 2025/10/05 04:25:48 DEBUG : file1: reading active writers 2025/10/05 04:25:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:49 DEBUG : Looking for writers 2025/10/05 04:25:49 DEBUG : file1: reading active writers 2025/10/05 04:25:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:50 DEBUG : Looking for writers 2025/10/05 04:25:50 DEBUG : file1: reading active writers 2025/10/05 04:25:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:51 DEBUG : Looking for writers 2025/10/05 04:25:51 DEBUG : file1: reading active writers 2025/10/05 04:25:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:52 DEBUG : Looking for writers 2025/10/05 04:25:52 DEBUG : file1: reading active writers 2025/10/05 04:25:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:53 DEBUG : Looking for writers 2025/10/05 04:25:53 DEBUG : file1: reading active writers 2025/10/05 04:25:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:54 DEBUG : Looking for writers 2025/10/05 04:25:54 DEBUG : file1: reading active writers 2025/10/05 04:25:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:55 DEBUG : Looking for writers 2025/10/05 04:25:55 DEBUG : file1: reading active writers 2025/10/05 04:25:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:56 DEBUG : Looking for writers 2025/10/05 04:25:56 DEBUG : file1: reading active writers 2025/10/05 04:25:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:57 DEBUG : Looking for writers 2025/10/05 04:25:57 DEBUG : file1: reading active writers 2025/10/05 04:25:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:58 DEBUG : Looking for writers 2025/10/05 04:25:58 DEBUG : file1: reading active writers 2025/10/05 04:25:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:25:59 DEBUG : Looking for writers 2025/10/05 04:25:59 DEBUG : file1: reading active writers 2025/10/05 04:25:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:00 DEBUG : Looking for writers 2025/10/05 04:26:00 DEBUG : file1: reading active writers 2025/10/05 04:26:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:01 DEBUG : Looking for writers 2025/10/05 04:26:01 DEBUG : file1: reading active writers 2025/10/05 04:26:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:02 DEBUG : Looking for writers 2025/10/05 04:26:02 DEBUG : file1: reading active writers 2025/10/05 04:26:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:03 DEBUG : Looking for writers 2025/10/05 04:26:03 DEBUG : file1: reading active writers 2025/10/05 04:26:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:04 DEBUG : Looking for writers 2025/10/05 04:26:04 DEBUG : file1: reading active writers 2025/10/05 04:26:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:05 DEBUG : Looking for writers 2025/10/05 04:26:05 DEBUG : file1: reading active writers 2025/10/05 04:26:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:06 DEBUG : Looking for writers 2025/10/05 04:26:06 DEBUG : file1: reading active writers 2025/10/05 04:26:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:07 DEBUG : Looking for writers 2025/10/05 04:26:07 DEBUG : file1: reading active writers 2025/10/05 04:26:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:08 DEBUG : Looking for writers 2025/10/05 04:26:08 DEBUG : file1: reading active writers 2025/10/05 04:26:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:09 DEBUG : Looking for writers 2025/10/05 04:26:09 DEBUG : file1: reading active writers 2025/10/05 04:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:10 DEBUG : Looking for writers 2025/10/05 04:26:10 DEBUG : file1: reading active writers 2025/10/05 04:26:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:11 DEBUG : Looking for writers 2025/10/05 04:26:11 DEBUG : file1: reading active writers 2025/10/05 04:26:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:12 DEBUG : Looking for writers 2025/10/05 04:26:12 DEBUG : file1: reading active writers 2025/10/05 04:26:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:26:13 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00081cd20 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000acc808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824645044288} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992853875057107177 ext:187839465594 loc:0x4132400} ATime:{wall:13992853875057127736 ext:187839486153 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 04:26:13 DEBUG : >WaitForWriters: 2025/10/05 04:26:13 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (368.60s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:27:53 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:27:53 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:27:53 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:27:53 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:27:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:27:53 DEBUG : Config file has changed externally - reloading 2025/10/05 04:27:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:27:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:27:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:27:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:27:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:27:53 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:27:53 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:27:53 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:27:53 DEBUG : file1: newRWFileHandle: 2025/10/05 04:27:53 DEBUG : file1(0xc000a04740): openPending: 2025/10/05 04:27:53 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 04:27:53 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:27:53 DEBUG : file1(0xc000a04740): >openPending: err= 2025/10/05 04:27:53 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 04:27:53 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:27:53 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 04:27:53 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 04:27:53 DEBUG : file1(0xc000a04740): _writeAt: size=7, off=0 2025/10/05 04:27:53 DEBUG : file1(0xc000a04740): >_writeAt: n=7, err= 2025/10/05 04:27:53 DEBUG : file1(0xc000a04740): _writeAt: size=6, off=5 2025/10/05 04:27:53 DEBUG : file1(0xc000a04740): >_writeAt: n=6, err= 2025/10/05 04:27:53 DEBUG : file1(0xc000a04740): close: 2025/10/05 04:27:53 DEBUG : file1: vfs cache: setting modification time to 2025-10-05 04:27:53.725588714 +0000 UTC m=+556.418638460 2025/10/05 04:27:53 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/05 04:27:53 DEBUG : file1(0xc000a04740): >close: err= 2025/10/05 04:27:53 DEBUG : file1(0xc000a04740): _writeAt: size=5, off=0 2025/10/05 04:27:53 DEBUG : file1(0xc000a04740): >_writeAt: n=0, err=file already closed 2025/10/05 04:27:53 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:27:53 DEBUG : Looking for writers 2025/10/05 04:27:53 DEBUG : file1: reading active writers 2025/10/05 04:27:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 04:27:53 DEBUG : Looking for writers 2025/10/05 04:27:53 DEBUG : file1: reading active writers 2025/10/05 04:27:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 04:27:53 DEBUG : Looking for writers 2025/10/05 04:27:53 DEBUG : file1: reading active writers 2025/10/05 04:27:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 04:27:53 DEBUG : Looking for writers 2025/10/05 04:27:53 DEBUG : file1: reading active writers 2025/10/05 04:27:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 04:27:53 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:27:53 DEBUG : Looking for writers 2025/10/05 04:27:53 DEBUG : file1: reading active writers 2025/10/05 04:27:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 04:27:54 DEBUG : Looking for writers 2025/10/05 04:27:54 DEBUG : file1: reading active writers 2025/10/05 04:27:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 04:27:54 DEBUG : Looking for writers 2025/10/05 04:27:54 DEBUG : file1: reading active writers 2025/10/05 04:27:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 04:27:54.730273 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:27:54.730297 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:27:54 DEBUG : Looking for writers 2025/10/05 04:27:54 DEBUG : file1: reading active writers 2025/10/05 04:27:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:27:55 DEBUG : Looking for writers 2025/10/05 04:27:55 DEBUG : file1: reading active writers 2025/10/05 04:27:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:27:56 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:27:56 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:27:56 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:27:56 DEBUG : Looking for writers 2025/10/05 04:27:56 DEBUG : file1: reading active writers 2025/10/05 04:27:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:27:57.280896 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:27:57.280926 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:27:57 DEBUG : Looking for writers 2025/10/05 04:27:57 DEBUG : file1: reading active writers 2025/10/05 04:27:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:27:58 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:27:58 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:27:58 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:27:59 DEBUG : Looking for writers 2025/10/05 04:27:59 DEBUG : file1: reading active writers 2025/10/05 04:27:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:27:59.817015 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:27:59.817037 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:28:00 DEBUG : Looking for writers 2025/10/05 04:28:00 DEBUG : file1: reading active writers 2025/10/05 04:28:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:01 DEBUG : Looking for writers 2025/10/05 04:28:01 DEBUG : file1: reading active writers 2025/10/05 04:28:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:01 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:28:01 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:28:01 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:28:02 DEBUG : Looking for writers 2025/10/05 04:28:02 DEBUG : file1: reading active writers 2025/10/05 04:28:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:02.528015 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:28:02.528254 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:28:03 DEBUG : Looking for writers 2025/10/05 04:28:03 DEBUG : file1: reading active writers 2025/10/05 04:28:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:03 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:28:03 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:28:04 DEBUG : Looking for writers 2025/10/05 04:28:04 DEBUG : file1: reading active writers 2025/10/05 04:28:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:05 DEBUG : Looking for writers 2025/10/05 04:28:05 DEBUG : file1: reading active writers 2025/10/05 04:28:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:05 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:28:06 DEBUG : Looking for writers 2025/10/05 04:28:06 DEBUG : file1: reading active writers 2025/10/05 04:28:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:06.539600 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:28:06.539618 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:28:07 DEBUG : Looking for writers 2025/10/05 04:28:07 DEBUG : file1: reading active writers 2025/10/05 04:28:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:07 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:28:07 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:28:08 DEBUG : Looking for writers 2025/10/05 04:28:08 DEBUG : file1: reading active writers 2025/10/05 04:28:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:09 DEBUG : Looking for writers 2025/10/05 04:28:09 DEBUG : file1: reading active writers 2025/10/05 04:28:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:10 DEBUG : Looking for writers 2025/10/05 04:28:10 DEBUG : file1: reading active writers 2025/10/05 04:28:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:11 DEBUG : Looking for writers 2025/10/05 04:28:11 DEBUG : file1: reading active writers 2025/10/05 04:28:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:11 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:28:11.768300 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:28:11.768333 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:28:12 DEBUG : Looking for writers 2025/10/05 04:28:12 DEBUG : file1: reading active writers 2025/10/05 04:28:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:12 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:28:12 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:28:13 DEBUG : Looking for writers 2025/10/05 04:28:13 DEBUG : file1: reading active writers 2025/10/05 04:28:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:14 DEBUG : Looking for writers 2025/10/05 04:28:14 DEBUG : file1: reading active writers 2025/10/05 04:28:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:15 DEBUG : Looking for writers 2025/10/05 04:28:15 DEBUG : file1: reading active writers 2025/10/05 04:28:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:16 DEBUG : Looking for writers 2025/10/05 04:28:16 DEBUG : file1: reading active writers 2025/10/05 04:28:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:17 DEBUG : Looking for writers 2025/10/05 04:28:17 DEBUG : file1: reading active writers 2025/10/05 04:28:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:18 DEBUG : Looking for writers 2025/10/05 04:28:18 DEBUG : file1: reading active writers 2025/10/05 04:28:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:19 DEBUG : Looking for writers 2025/10/05 04:28:19 DEBUG : file1: reading active writers 2025/10/05 04:28:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:19 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:28:20 DEBUG : Looking for writers 2025/10/05 04:28:20 DEBUG : file1: reading active writers 2025/10/05 04:28:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:20.245525 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:28:20.245545 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:28:21 DEBUG : Looking for writers 2025/10/05 04:28:21 DEBUG : file1: reading active writers 2025/10/05 04:28:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28: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/05 04:28:21 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:28:22 DEBUG : Looking for writers 2025/10/05 04:28:22 DEBUG : file1: reading active writers 2025/10/05 04:28:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:23 DEBUG : Looking for writers 2025/10/05 04:28:23 DEBUG : file1: reading active writers 2025/10/05 04:28:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:28:23 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00024d0e0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000acc708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824645044032} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992854270773271274 ext:556418638460 loc:0x4132400} ATime:{wall:13992854270773285652 ext:556418652836 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 04:28:23 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 04:28:34 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:28:39 DEBUG : forgetting directory cache 2025/10/05 04:28:45 DEBUG : forgetting directory cache 2025/10/05 04:28:49 DEBUG : forgetting directory cache 2025/10/05 04:28:52 DEBUG : forgetting directory cache 2025/10/05 04:28:53 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:28:53 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 04:28:56 DEBUG : forgetting directory cache 2025/10/05 04:29:00 DEBUG : forgetting directory cache 2025/10/05 04:29:04 DEBUG : forgetting directory cache 2025/10/05 04:29:08 DEBUG : forgetting directory cache 2025/10/05 04:29:11 DEBUG : forgetting directory cache 2025/10/05 04:29:15 DEBUG : forgetting directory cache 2025/10/05 04:29:19 DEBUG : forgetting directory cache 2025/10/05 04:29:23 DEBUG : forgetting directory cache 2025/10/05 04:29:27 DEBUG : forgetting directory cache 2025/10/05 04:29:31 DEBUG : forgetting directory cache 2025/10/05 04:29:35 DEBUG : forgetting directory cache 2025/10/05 04:29:39 DEBUG : forgetting directory cache 2025/10/05 04:29:43 DEBUG : forgetting directory cache 2025/10/05 04:29:47 DEBUG : forgetting directory cache 2025/10/05 04:29:51 DEBUG : forgetting directory cache 2025/10/05 04:29:53 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:29:53 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 04:29:55 DEBUG : forgetting directory cache 2025/10/05 04:29:59 DEBUG : forgetting directory cache 2025/10/05 04:30:03 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/05 04:30:05.442993 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:30:05.443023 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:30:06 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:30:06 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:30:07 DEBUG : forgetting directory cache fstest.go:301: Flushing the directory cache 2025/10/05 04:30:11 DEBUG : forgetting directory cache 2025/10/05 04:30:14 DEBUG : forgetting directory cache 2025/10/05 04:30:18 DEBUG : forgetting directory cache 2025/10/05 04:30:21 DEBUG : forgetting directory cache 2025/10/05 04:30:25 DEBUG : forgetting directory cache 2025/10/05 04:30:29 DEBUG : forgetting directory cache 2025/10/05 04:30:32 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:30:33 DEBUG : forgetting directory cache 2025/10/05 04:30:37 DEBUG : forgetting directory cache 2025/10/05 04:30:41 DEBUG : forgetting directory cache 2025/10/05 04:30:45 DEBUG : forgetting directory cache 2025/10/05 04:30:48 DEBUG : forgetting directory cache 2025/10/05 04:30:52 DEBUG : forgetting directory cache 2025/10/05 04:30:53 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:30:53 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 04:30:55 DEBUG : forgetting directory cache 2025/10/05 04:30:59 DEBUG : forgetting directory cache 2025/10/05 04:31:03 DEBUG : forgetting directory cache 2025/10/05 04:31:07 DEBUG : forgetting directory cache 2025/10/05 04:31:11 DEBUG : forgetting directory cache 2025/10/05 04:31:14 DEBUG : forgetting directory cache 2025/10/05 04:31:18 DEBUG : forgetting directory cache 2025/10/05 04:31:22 DEBUG : forgetting directory cache 2025/10/05 04:31:25 DEBUG : forgetting directory cache 2025/10/05 04:31:29 DEBUG : forgetting directory cache 2025/10/05 04:31:33 DEBUG : forgetting directory cache 2025/10/05 04:31:37 DEBUG : forgetting directory cache 2025/10/05 04:31:40 DEBUG : forgetting directory cache 2025/10/05 04:31:45 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/05 04:31:48.199622 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:31:48.199649 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:31:49 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:31:49 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteAt Messages: 1 objects not found 2025/10/05 04:31:51 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:31:51 DEBUG : Looking for writers 2025/10/05 04:31:51 DEBUG : file1: reading active writers 2025/10/05 04:31:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 04:31:51 DEBUG : Looking for writers 2025/10/05 04:31:51 DEBUG : file1: reading active writers 2025/10/05 04:31:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 04:31:51 DEBUG : Looking for writers 2025/10/05 04:31:51 DEBUG : file1: reading active writers 2025/10/05 04:31:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 04:31:52 DEBUG : Looking for writers 2025/10/05 04:31:52 DEBUG : file1: reading active writers 2025/10/05 04:31:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 04:31:52 DEBUG : Looking for writers 2025/10/05 04:31:52 DEBUG : file1: reading active writers 2025/10/05 04:31:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 04:31:52 DEBUG : Looking for writers 2025/10/05 04:31:52 DEBUG : file1: reading active writers 2025/10/05 04:31:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 04:31:52 DEBUG : Looking for writers 2025/10/05 04:31:52 DEBUG : file1: reading active writers 2025/10/05 04:31:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 04:31:53 DEBUG : Looking for writers 2025/10/05 04:31:53 DEBUG : file1: reading active writers 2025/10/05 04:31:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:31:53 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:31:53 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/05 04:31:54 DEBUG : Looking for writers 2025/10/05 04:31:54 DEBUG : file1: reading active writers 2025/10/05 04:31:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:31:55 DEBUG : Looking for writers 2025/10/05 04:31:55 DEBUG : file1: reading active writers 2025/10/05 04:31:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:31:56 DEBUG : Looking for writers 2025/10/05 04:31:56 DEBUG : file1: reading active writers 2025/10/05 04:31:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:31:57 DEBUG : Looking for writers 2025/10/05 04:31:57 DEBUG : file1: reading active writers 2025/10/05 04:31:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:31:58 DEBUG : Looking for writers 2025/10/05 04:31:58 DEBUG : file1: reading active writers 2025/10/05 04:31:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:31:59 DEBUG : Looking for writers 2025/10/05 04:31:59 DEBUG : file1: reading active writers 2025/10/05 04:31:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:00 DEBUG : Looking for writers 2025/10/05 04:32:00 DEBUG : file1: reading active writers 2025/10/05 04:32:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:01 DEBUG : Looking for writers 2025/10/05 04:32:01 DEBUG : file1: reading active writers 2025/10/05 04:32:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:02 DEBUG : Looking for writers 2025/10/05 04:32:02 DEBUG : file1: reading active writers 2025/10/05 04:32:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:03 DEBUG : Looking for writers 2025/10/05 04:32:03 DEBUG : file1: reading active writers 2025/10/05 04:32:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:04 DEBUG : Looking for writers 2025/10/05 04:32:04 DEBUG : file1: reading active writers 2025/10/05 04:32:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:05 DEBUG : Looking for writers 2025/10/05 04:32:05 DEBUG : file1: reading active writers 2025/10/05 04:32:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:06 DEBUG : Looking for writers 2025/10/05 04:32:06 DEBUG : file1: reading active writers 2025/10/05 04:32:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:07 DEBUG : Looking for writers 2025/10/05 04:32:07 DEBUG : file1: reading active writers 2025/10/05 04:32:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:08 DEBUG : Looking for writers 2025/10/05 04:32:08 DEBUG : file1: reading active writers 2025/10/05 04:32:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:09 DEBUG : Looking for writers 2025/10/05 04:32:09 DEBUG : file1: reading active writers 2025/10/05 04:32:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:10 DEBUG : Looking for writers 2025/10/05 04:32:10 DEBUG : file1: reading active writers 2025/10/05 04:32:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:11 DEBUG : Looking for writers 2025/10/05 04:32:11 DEBUG : file1: reading active writers 2025/10/05 04:32:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:12 DEBUG : Looking for writers 2025/10/05 04:32:12 DEBUG : file1: reading active writers 2025/10/05 04:32:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:13 DEBUG : Looking for writers 2025/10/05 04:32:13 DEBUG : file1: reading active writers 2025/10/05 04:32:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:14 DEBUG : Looking for writers 2025/10/05 04:32:14 DEBUG : file1: reading active writers 2025/10/05 04:32:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:15 DEBUG : Looking for writers 2025/10/05 04:32:15 DEBUG : file1: reading active writers 2025/10/05 04:32:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:16 DEBUG : Looking for writers 2025/10/05 04:32:16 DEBUG : file1: reading active writers 2025/10/05 04:32:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:17 DEBUG : Looking for writers 2025/10/05 04:32:17 DEBUG : file1: reading active writers 2025/10/05 04:32:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:18 DEBUG : Looking for writers 2025/10/05 04:32:18 DEBUG : file1: reading active writers 2025/10/05 04:32:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:19 DEBUG : Looking for writers 2025/10/05 04:32:19 DEBUG : file1: reading active writers 2025/10/05 04:32:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:20 DEBUG : Looking for writers 2025/10/05 04:32:20 DEBUG : file1: reading active writers 2025/10/05 04:32:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:21 DEBUG : Looking for writers 2025/10/05 04:32:21 DEBUG : file1: reading active writers 2025/10/05 04:32:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:32:21 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00024d0e0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000acc708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824645044032} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992854270773271274 ext:556418638460 loc:0x4132400} ATime:{wall:13992854270773285652 ext:556418652836 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 04:32:21 DEBUG : >WaitForWriters: 2025/10/05 04:32:21 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteAt (370.02s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:34:03 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:34:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:34:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:34:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:34:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:34:03 DEBUG : Config file has changed externally - reloading 2025/10/05 04:34:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:34:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:34:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:34:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:34:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:34:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:34:03 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:34:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:34:03 DEBUG : file1: newRWFileHandle: 2025/10/05 04:34:03 DEBUG : file1(0xc007e08980): openPending: 2025/10/05 04:34:03 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 04:34:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:34:03 DEBUG : file1(0xc007e08980): >openPending: err= 2025/10/05 04:34:03 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 04:34:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:34:03 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 04:34:03 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 04:34:03 DEBUG : file1(0xc007e08980): close: 2025/10/05 04:34:03 DEBUG : file1: vfs cache: setting modification time to 2025-10-05 04:34:03.750024165 +0000 UTC m=+926.443073940 2025/10/05 04:34:03 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/05 04:34:03 DEBUG : file1(0xc007e08980): >close: err= 2025/10/05 04:34:03 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/05 04:34:03 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/05 04:34:03 DEBUG : file2: newRWFileHandle: 2025/10/05 04:34:03 DEBUG : file2(0xc007e08e80): openPending: 2025/10/05 04:34:03 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 04:34:03 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/05 04:34:03 DEBUG : file2(0xc007e08e80): >openPending: err= 2025/10/05 04:34:03 DEBUG : file2: >newRWFileHandle: err= 2025/10/05 04:34:03 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/05 04:34:03 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/05 04:34:03 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/05 04:34:03 DEBUG : file2(0xc007e08e80): RWFileHandle.Flush 2025/10/05 04:34:03 DEBUG : file2(0xc007e08e80): RWFileHandle.Release 2025/10/05 04:34:03 DEBUG : file2(0xc007e08e80): close: 2025/10/05 04:34:03 DEBUG : file2: vfs cache: setting modification time to 2025-10-05 04:34:03.751941395 +0000 UTC m=+926.444991180 2025/10/05 04:34:03 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/05 04:34:03 DEBUG : file2(0xc007e08e80): >close: err= 2025/10/05 04:34:03 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:34:03 DEBUG : Looking for writers 2025/10/05 04:34:03 DEBUG : file1: reading active writers 2025/10/05 04:34:03 DEBUG : file2: reading active writers 2025/10/05 04:34:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/05 04:34:03 DEBUG : Looking for writers 2025/10/05 04:34:03 DEBUG : file1: reading active writers 2025/10/05 04:34:03 DEBUG : file2: reading active writers 2025/10/05 04:34:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/05 04:34:03 DEBUG : Looking for writers 2025/10/05 04:34:03 DEBUG : file1: reading active writers 2025/10/05 04:34:03 DEBUG : file2: reading active writers 2025/10/05 04:34:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/05 04:34:03 DEBUG : Looking for writers 2025/10/05 04:34:03 DEBUG : file1: reading active writers 2025/10/05 04:34:03 DEBUG : file2: reading active writers 2025/10/05 04:34:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/05 04:34:03 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:34:03 DEBUG : file2: vfs cache: starting upload 2025/10/05 04:34:03 DEBUG : Looking for writers 2025/10/05 04:34:03 DEBUG : file1: reading active writers 2025/10/05 04:34:03 DEBUG : file2: reading active writers 2025/10/05 04:34:03 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/05 04:34:04 DEBUG : Looking for writers 2025/10/05 04:34:04 DEBUG : file1: reading active writers 2025/10/05 04:34:04 DEBUG : file2: reading active writers 2025/10/05 04:34:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/05 04:34:04 DEBUG : Looking for writers 2025/10/05 04:34:04 DEBUG : file2: reading active writers 2025/10/05 04:34:04 DEBUG : file1: reading active writers 2025/10/05 04:34:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/10/05 04:34:04 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/05 04:34:04 INFO : file2: Copied (new) 2025/10/05 04:34:04 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-05 04:34:03.751941395 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/05 04:34:04 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/05 04:34:04 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/05 04:34:04 INFO : file2: vfs cache: upload succeeded try #1 2025/10/05 04:34:04.743789 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:34:04.743822 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:34:05 DEBUG : Looking for writers 2025/10/05 04:34:05 DEBUG : file1: reading active writers 2025/10/05 04:34:05 DEBUG : file2: reading active writers 2025/10/05 04:34:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:06 DEBUG : Looking for writers 2025/10/05 04:34:06 DEBUG : file1: reading active writers 2025/10/05 04:34:06 DEBUG : file2: reading active writers 2025/10/05 04:34:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:06 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:06 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:06 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:34:07 DEBUG : Looking for writers 2025/10/05 04:34:07 DEBUG : file1: reading active writers 2025/10/05 04:34:07 DEBUG : file2: reading active writers 2025/10/05 04:34:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:07.210524 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:34:07.210556 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:34:08 DEBUG : Looking for writers 2025/10/05 04:34:08 DEBUG : file1: reading active writers 2025/10/05 04:34:08 DEBUG : file2: reading active writers 2025/10/05 04:34:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:08 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:08 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:09 DEBUG : Looking for writers 2025/10/05 04:34:09 DEBUG : file2: reading active writers 2025/10/05 04:34:09 DEBUG : file1: reading active writers 2025/10/05 04:34:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:09 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:34:09.684284 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:34:09.684319 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:34:10 DEBUG : Looking for writers 2025/10/05 04:34:10 DEBUG : file1: reading active writers 2025/10/05 04:34:10 DEBUG : file2: reading active writers 2025/10/05 04:34:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:11 DEBUG : Looking for writers 2025/10/05 04:34:11 DEBUG : file2: reading active writers 2025/10/05 04:34:11 DEBUG : file1: reading active writers 2025/10/05 04:34:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:11 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:11 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:11 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:34:12 DEBUG : Looking for writers 2025/10/05 04:34:12 DEBUG : file1: reading active writers 2025/10/05 04:34:12 DEBUG : file2: reading active writers 2025/10/05 04:34:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:12.896797 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:34:12.896831 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:34:13 DEBUG : Looking for writers 2025/10/05 04:34:13 DEBUG : file1: reading active writers 2025/10/05 04:34:13 DEBUG : file2: reading active writers 2025/10/05 04:34:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:14 DEBUG : Looking for writers 2025/10/05 04:34:14 DEBUG : file1: reading active writers 2025/10/05 04:34:14 DEBUG : file2: reading active writers 2025/10/05 04:34:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:14 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:14 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:15 DEBUG : Looking for writers 2025/10/05 04:34:15 DEBUG : file2: reading active writers 2025/10/05 04:34:15 DEBUG : file1: reading active writers 2025/10/05 04:34:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:15 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:34:16 DEBUG : Looking for writers 2025/10/05 04:34:16 DEBUG : file1: reading active writers 2025/10/05 04:34:16 DEBUG : file2: reading active writers 2025/10/05 04:34:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:16.699212 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:34:16.699245 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:34:17 DEBUG : Looking for writers 2025/10/05 04:34:17 DEBUG : file1: reading active writers 2025/10/05 04:34:17 DEBUG : file2: reading active writers 2025/10/05 04:34:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:17 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:17 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:18 DEBUG : Looking for writers 2025/10/05 04:34:18 DEBUG : file1: reading active writers 2025/10/05 04:34:18 DEBUG : file2: reading active writers 2025/10/05 04:34:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:19 DEBUG : Looking for writers 2025/10/05 04:34:19 DEBUG : file1: reading active writers 2025/10/05 04:34:19 DEBUG : file2: reading active writers 2025/10/05 04:34:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:20 DEBUG : Looking for writers 2025/10/05 04:34:20 DEBUG : file1: reading active writers 2025/10/05 04:34:20 DEBUG : file2: reading active writers 2025/10/05 04:34:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:21 DEBUG : Looking for writers 2025/10/05 04:34:21 DEBUG : file1: reading active writers 2025/10/05 04:34:21 DEBUG : file2: reading active writers 2025/10/05 04:34:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:21 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:34:22 DEBUG : Looking for writers 2025/10/05 04:34:22 DEBUG : file1: reading active writers 2025/10/05 04:34:22 DEBUG : file2: reading active writers 2025/10/05 04:34:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:22.144010 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:34:22.144041 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:34:23 DEBUG : Looking for writers 2025/10/05 04:34:23 DEBUG : file2: reading active writers 2025/10/05 04:34:23 DEBUG : file1: reading active writers 2025/10/05 04:34:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34: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/05 04:34:23 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:24 DEBUG : Looking for writers 2025/10/05 04:34:24 DEBUG : file1: reading active writers 2025/10/05 04:34:24 DEBUG : file2: reading active writers 2025/10/05 04:34:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:25 DEBUG : Looking for writers 2025/10/05 04:34:25 DEBUG : file1: reading active writers 2025/10/05 04:34:25 DEBUG : file2: reading active writers 2025/10/05 04:34:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:26 DEBUG : Looking for writers 2025/10/05 04:34:26 DEBUG : file1: reading active writers 2025/10/05 04:34:26 DEBUG : file2: reading active writers 2025/10/05 04:34:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:27 DEBUG : Looking for writers 2025/10/05 04:34:27 DEBUG : file1: reading active writers 2025/10/05 04:34:27 DEBUG : file2: reading active writers 2025/10/05 04:34:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:28 DEBUG : Looking for writers 2025/10/05 04:34:28 DEBUG : file1: reading active writers 2025/10/05 04:34:28 DEBUG : file2: reading active writers 2025/10/05 04:34:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:29 DEBUG : Looking for writers 2025/10/05 04:34:29 DEBUG : file1: reading active writers 2025/10/05 04:34:29 DEBUG : file2: reading active writers 2025/10/05 04:34:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:29 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:34:30 DEBUG : Looking for writers 2025/10/05 04:34:30 DEBUG : file1: reading active writers 2025/10/05 04:34:30 DEBUG : file2: reading active writers 2025/10/05 04:34:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:31.026508 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:34:31.026547 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:34:31 DEBUG : Looking for writers 2025/10/05 04:34:31 DEBUG : file1: reading active writers 2025/10/05 04:34:31 DEBUG : file2: reading active writers 2025/10/05 04:34:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:32 DEBUG : Looking for writers 2025/10/05 04:34:32 DEBUG : file1: reading active writers 2025/10/05 04:34:32 DEBUG : file2: reading active writers 2025/10/05 04:34:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:32 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:32 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:34:33 DEBUG : Looking for writers 2025/10/05 04:34:33 DEBUG : file1: reading active writers 2025/10/05 04:34:33 DEBUG : file2: reading active writers 2025/10/05 04:34:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:34:33 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file2": &{c:0xc00024de00 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00616a808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824735868992} name:file2 opens:0 downloaders: o:0xc0006e4aa0 fd: info:{ModTime:{wall:13992854668084098835 ext:926444991180 loc:0x4132400} ATime:{wall:13992854668084447780 ext:926445340115 loc:0x4132400} Size:0 Rs:[] Fingerprint:0,2025-10-05 04:34:03.751941395 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, "file1": &{c:0xc00024de00 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00616a708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824735868736} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992854668082181605 ext:926443073940 loc:0x4132400} ATime:{wall:13992854668082535860 ext:926443428205 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 04:34:33 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 04:34:45 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:35:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 04:35:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:35:03 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/05 04:36:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 04:36:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:36:03 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/05 04:36:16.348435 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:36:16.348468 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:36:17 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:36:17 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/05 04:36:43 DEBUG : file1: vfs cache: starting upload 2025/10/05 04:37:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:37:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 04:37:03 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/05 04:37:53 DEBUG : forgetting directory cache 2025/10/05 04:37:59.413766 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:37:59.413802 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) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/05 04:38:00 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:38:00 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:38:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 04:38:03 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 04:38:03 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 1, uploading 0, total size 0 (was 0) fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got file2 (0) fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteNoWrite Messages: 1 objects not found 2025/10/05 04:38:03 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:38:03 DEBUG : Looking for writers 2025/10/05 04:38:03 DEBUG : file1: reading active writers 2025/10/05 04:38:03 DEBUG : file2: reading active writers 2025/10/05 04:38:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 04:38:03 DEBUG : Looking for writers 2025/10/05 04:38:03 DEBUG : file1: reading active writers 2025/10/05 04:38:03 DEBUG : file2: reading active writers 2025/10/05 04:38:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 04:38:03 DEBUG : Looking for writers 2025/10/05 04:38:03 DEBUG : file1: reading active writers 2025/10/05 04:38:03 DEBUG : file2: reading active writers 2025/10/05 04:38:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 04:38:03 DEBUG : Looking for writers 2025/10/05 04:38:03 DEBUG : file1: reading active writers 2025/10/05 04:38:03 DEBUG : file2: reading active writers 2025/10/05 04:38:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 04:38:03 DEBUG : Looking for writers 2025/10/05 04:38:03 DEBUG : file1: reading active writers 2025/10/05 04:38:03 DEBUG : file2: reading active writers 2025/10/05 04:38:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 04:38:03 DEBUG : Looking for writers 2025/10/05 04:38:03 DEBUG : file1: reading active writers 2025/10/05 04:38:03 DEBUG : file2: reading active writers 2025/10/05 04:38:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 04:38:04 DEBUG : Looking for writers 2025/10/05 04:38:04 DEBUG : file1: reading active writers 2025/10/05 04:38:04 DEBUG : file2: reading active writers 2025/10/05 04:38:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 04:38:04 DEBUG : Looking for writers 2025/10/05 04:38:04 DEBUG : file1: reading active writers 2025/10/05 04:38:04 DEBUG : file2: reading active writers 2025/10/05 04:38:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:05 DEBUG : Looking for writers 2025/10/05 04:38:05 DEBUG : file1: reading active writers 2025/10/05 04:38:05 DEBUG : file2: reading active writers 2025/10/05 04:38:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:06 DEBUG : Looking for writers 2025/10/05 04:38:06 DEBUG : file1: reading active writers 2025/10/05 04:38:06 DEBUG : file2: reading active writers 2025/10/05 04:38:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:07 DEBUG : Looking for writers 2025/10/05 04:38:07 DEBUG : file1: reading active writers 2025/10/05 04:38:07 DEBUG : file2: reading active writers 2025/10/05 04:38:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:08 DEBUG : Looking for writers 2025/10/05 04:38:08 DEBUG : file2: reading active writers 2025/10/05 04:38:08 DEBUG : file1: reading active writers 2025/10/05 04:38:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:09 DEBUG : Looking for writers 2025/10/05 04:38:09 DEBUG : file1: reading active writers 2025/10/05 04:38:09 DEBUG : file2: reading active writers 2025/10/05 04:38:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:10 DEBUG : Looking for writers 2025/10/05 04:38:10 DEBUG : file1: reading active writers 2025/10/05 04:38:10 DEBUG : file2: reading active writers 2025/10/05 04:38:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:11 DEBUG : Looking for writers 2025/10/05 04:38:11 DEBUG : file1: reading active writers 2025/10/05 04:38:11 DEBUG : file2: reading active writers 2025/10/05 04:38:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:12 DEBUG : Looking for writers 2025/10/05 04:38:12 DEBUG : file1: reading active writers 2025/10/05 04:38:12 DEBUG : file2: reading active writers 2025/10/05 04:38:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:13 DEBUG : Looking for writers 2025/10/05 04:38:13 DEBUG : file1: reading active writers 2025/10/05 04:38:13 DEBUG : file2: reading active writers 2025/10/05 04:38:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:14 DEBUG : Looking for writers 2025/10/05 04:38:14 DEBUG : file1: reading active writers 2025/10/05 04:38:14 DEBUG : file2: reading active writers 2025/10/05 04:38:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:15 DEBUG : Looking for writers 2025/10/05 04:38:15 DEBUG : file1: reading active writers 2025/10/05 04:38:15 DEBUG : file2: reading active writers 2025/10/05 04:38:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:16 DEBUG : Looking for writers 2025/10/05 04:38:16 DEBUG : file1: reading active writers 2025/10/05 04:38:16 DEBUG : file2: reading active writers 2025/10/05 04:38:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:17 DEBUG : Looking for writers 2025/10/05 04:38:17 DEBUG : file1: reading active writers 2025/10/05 04:38:17 DEBUG : file2: reading active writers 2025/10/05 04:38:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:18 DEBUG : Looking for writers 2025/10/05 04:38:18 DEBUG : file2: reading active writers 2025/10/05 04:38:18 DEBUG : file1: reading active writers 2025/10/05 04:38:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:19 DEBUG : Looking for writers 2025/10/05 04:38:19 DEBUG : file1: reading active writers 2025/10/05 04:38:19 DEBUG : file2: reading active writers 2025/10/05 04:38:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:20 DEBUG : Looking for writers 2025/10/05 04:38:20 DEBUG : file1: reading active writers 2025/10/05 04:38:20 DEBUG : file2: reading active writers 2025/10/05 04:38:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:21 DEBUG : Looking for writers 2025/10/05 04:38:21 DEBUG : file1: reading active writers 2025/10/05 04:38:21 DEBUG : file2: reading active writers 2025/10/05 04:38:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:22 DEBUG : Looking for writers 2025/10/05 04:38:22 DEBUG : file1: reading active writers 2025/10/05 04:38:22 DEBUG : file2: reading active writers 2025/10/05 04:38:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:23 DEBUG : Looking for writers 2025/10/05 04:38:23 DEBUG : file1: reading active writers 2025/10/05 04:38:23 DEBUG : file2: reading active writers 2025/10/05 04:38:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:24 DEBUG : Looking for writers 2025/10/05 04:38:24 DEBUG : file1: reading active writers 2025/10/05 04:38:24 DEBUG : file2: reading active writers 2025/10/05 04:38:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:25 DEBUG : Looking for writers 2025/10/05 04:38:25 DEBUG : file1: reading active writers 2025/10/05 04:38:25 DEBUG : file2: reading active writers 2025/10/05 04:38:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:26 DEBUG : Looking for writers 2025/10/05 04:38:26 DEBUG : file1: reading active writers 2025/10/05 04:38:26 DEBUG : file2: reading active writers 2025/10/05 04:38:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:27 DEBUG : Looking for writers 2025/10/05 04:38:27 DEBUG : file1: reading active writers 2025/10/05 04:38:27 DEBUG : file2: reading active writers 2025/10/05 04:38:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:28 DEBUG : Looking for writers 2025/10/05 04:38:28 DEBUG : file1: reading active writers 2025/10/05 04:38:28 DEBUG : file2: reading active writers 2025/10/05 04:38:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:29 DEBUG : Looking for writers 2025/10/05 04:38:29 DEBUG : file2: reading active writers 2025/10/05 04:38:29 DEBUG : file1: reading active writers 2025/10/05 04:38:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:30 DEBUG : Looking for writers 2025/10/05 04:38:30 DEBUG : file1: reading active writers 2025/10/05 04:38:30 DEBUG : file2: reading active writers 2025/10/05 04:38:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:31 DEBUG : Looking for writers 2025/10/05 04:38:31 DEBUG : file1: reading active writers 2025/10/05 04:38:31 DEBUG : file2: reading active writers 2025/10/05 04:38:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:32 DEBUG : Looking for writers 2025/10/05 04:38:32 DEBUG : file1: reading active writers 2025/10/05 04:38:32 DEBUG : file2: reading active writers 2025/10/05 04:38:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:38:33 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00024de00 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00616a708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824735868736} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992854668082181605 ext:926443073940 loc:0x4132400} ATime:{wall:13992854668082535860 ext:926443428205 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc00024de00 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00616a808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824735868992} name:file2 opens:0 downloaders: o:0xc0006e4aa0 fd: info:{ModTime:{wall:13992854668084098835 ext:926444991180 loc:0x4132400} ATime:{wall:13992854668084447780 ext:926445340115 loc:0x4132400} Size:0 Rs:[] Fingerprint:0,2025-10-05 04:34:03.751941395 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 04:38:33 DEBUG : >WaitForWriters: 2025/10/05 04:38:33 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteNoWrite (371.42s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:40:14 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:40:14 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:40:14 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:14 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:14 DEBUG : Config file has changed externally - reloading 2025/10/05 04:40:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:40:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:40:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:14 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:40:16.899763 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:40:16.899821 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:40:16 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:40:16 DEBUG : Looking for writers 2025/10/05 04:40:16 DEBUG : >WaitForWriters: 2025/10/05 04:40:16 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (3.97s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:40:18 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:40:18 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:40:18 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:18 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:40:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:40:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:18 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:40:20.878325 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:40:20.878361 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:40:20 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:40:20 DEBUG : Looking for writers 2025/10/05 04:40:20 DEBUG : >WaitForWriters: 2025/10/05 04:40:20 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (3.89s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:40:22 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:40:22 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:40:22 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:22 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:40:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:22 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:22 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:40:22 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:22 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:40:22 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:40:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:40:23 DEBUG : file1: newRWFileHandle: 2025/10/05 04:40:23 DEBUG : file1(0xc005dddac0): openPending: 2025/10/05 04:40:23 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 04:40:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:40:23 DEBUG : file1(0xc005dddac0): >openPending: err= 2025/10/05 04:40:23 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 04:40:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:40:23 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 04:40:23 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 04:40:23.935002 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:40:23.935044 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:40:23 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:40:23 DEBUG : Looking for writers 2025/10/05 04:40:23 DEBUG : file1: reading active writers 2025/10/05 04:40:23 DEBUG : file1: active writers 1 2025/10/05 04:40:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/05 04:40:23 DEBUG : Looking for writers 2025/10/05 04:40:23 DEBUG : file1: reading active writers 2025/10/05 04:40:23 DEBUG : file1: active writers 1 2025/10/05 04:40:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/05 04:40:23 DEBUG : Looking for writers 2025/10/05 04:40:23 DEBUG : file1: reading active writers 2025/10/05 04:40:23 DEBUG : file1: active writers 1 2025/10/05 04:40:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/05 04:40:24 DEBUG : Looking for writers 2025/10/05 04:40:24 DEBUG : file1: reading active writers 2025/10/05 04:40:24 DEBUG : file1: active writers 1 2025/10/05 04:40:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/05 04:40:24 DEBUG : Looking for writers 2025/10/05 04:40:24 DEBUG : file1: reading active writers 2025/10/05 04:40:24 DEBUG : file1: active writers 1 2025/10/05 04:40:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/05 04:40:24 DEBUG : Looking for writers 2025/10/05 04:40:24 DEBUG : file1: reading active writers 2025/10/05 04:40:24 DEBUG : file1: active writers 1 2025/10/05 04:40:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/05 04:40:24 DEBUG : Looking for writers 2025/10/05 04:40:24 DEBUG : file1: reading active writers 2025/10/05 04:40:24 DEBUG : file1: active writers 1 2025/10/05 04:40:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/05 04:40:25 DEBUG : Looking for writers 2025/10/05 04:40:25 DEBUG : file1: reading active writers 2025/10/05 04:40:25 DEBUG : file1: active writers 1 2025/10/05 04:40:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:26 DEBUG : Looking for writers 2025/10/05 04:40:26 DEBUG : file1: reading active writers 2025/10/05 04:40:26 DEBUG : file1: active writers 1 2025/10/05 04:40:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:27 DEBUG : Looking for writers 2025/10/05 04:40:27 DEBUG : file1: reading active writers 2025/10/05 04:40:27 DEBUG : file1: active writers 1 2025/10/05 04:40:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:28 DEBUG : Looking for writers 2025/10/05 04:40:28 DEBUG : file1: reading active writers 2025/10/05 04:40:28 DEBUG : file1: active writers 1 2025/10/05 04:40:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:29 DEBUG : Looking for writers 2025/10/05 04:40:29 DEBUG : file1: reading active writers 2025/10/05 04:40:29 DEBUG : file1: active writers 1 2025/10/05 04:40:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:30 DEBUG : Looking for writers 2025/10/05 04:40:30 DEBUG : file1: reading active writers 2025/10/05 04:40:30 DEBUG : file1: active writers 1 2025/10/05 04:40:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:31 DEBUG : Looking for writers 2025/10/05 04:40:31 DEBUG : file1: reading active writers 2025/10/05 04:40:31 DEBUG : file1: active writers 1 2025/10/05 04:40:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:32 DEBUG : Looking for writers 2025/10/05 04:40:32 DEBUG : file1: reading active writers 2025/10/05 04:40:32 DEBUG : file1: active writers 1 2025/10/05 04:40:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:33 DEBUG : Looking for writers 2025/10/05 04:40:33 DEBUG : file1: reading active writers 2025/10/05 04:40:33 DEBUG : file1: active writers 1 2025/10/05 04:40:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:34 DEBUG : Looking for writers 2025/10/05 04:40:34 DEBUG : file1: reading active writers 2025/10/05 04:40:34 DEBUG : file1: active writers 1 2025/10/05 04:40:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:35 DEBUG : Looking for writers 2025/10/05 04:40:35 DEBUG : file1: reading active writers 2025/10/05 04:40:35 DEBUG : file1: active writers 1 2025/10/05 04:40:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:36 DEBUG : Looking for writers 2025/10/05 04:40:36 DEBUG : file1: reading active writers 2025/10/05 04:40:36 DEBUG : file1: active writers 1 2025/10/05 04:40:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:37 DEBUG : Looking for writers 2025/10/05 04:40:37 DEBUG : file1: reading active writers 2025/10/05 04:40:37 DEBUG : file1: active writers 1 2025/10/05 04:40:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:38 DEBUG : Looking for writers 2025/10/05 04:40:38 DEBUG : file1: reading active writers 2025/10/05 04:40:38 DEBUG : file1: active writers 1 2025/10/05 04:40:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:39 DEBUG : Looking for writers 2025/10/05 04:40:39 DEBUG : file1: reading active writers 2025/10/05 04:40:39 DEBUG : file1: active writers 1 2025/10/05 04:40:39 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:40 DEBUG : Looking for writers 2025/10/05 04:40:40 DEBUG : file1: reading active writers 2025/10/05 04:40:40 DEBUG : file1: active writers 1 2025/10/05 04:40:40 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:41 DEBUG : Looking for writers 2025/10/05 04:40:41 DEBUG : file1: reading active writers 2025/10/05 04:40:41 DEBUG : file1: active writers 1 2025/10/05 04:40:41 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:42 DEBUG : Looking for writers 2025/10/05 04:40:42 DEBUG : file1: reading active writers 2025/10/05 04:40:42 DEBUG : file1: active writers 1 2025/10/05 04:40:42 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:43 DEBUG : Looking for writers 2025/10/05 04:40:43 DEBUG : file1: reading active writers 2025/10/05 04:40:43 DEBUG : file1: active writers 1 2025/10/05 04:40:43 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:44 DEBUG : Looking for writers 2025/10/05 04:40:44 DEBUG : file1: reading active writers 2025/10/05 04:40:44 DEBUG : file1: active writers 1 2025/10/05 04:40:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:45 DEBUG : Looking for writers 2025/10/05 04:40:45 DEBUG : file1: reading active writers 2025/10/05 04:40:45 DEBUG : file1: active writers 1 2025/10/05 04:40:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:46 DEBUG : Looking for writers 2025/10/05 04:40:46 DEBUG : file1: reading active writers 2025/10/05 04:40:46 DEBUG : file1: active writers 1 2025/10/05 04:40:46 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:47 DEBUG : Looking for writers 2025/10/05 04:40:47 DEBUG : file1: reading active writers 2025/10/05 04:40:47 DEBUG : file1: active writers 1 2025/10/05 04:40:47 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:48 DEBUG : Looking for writers 2025/10/05 04:40:48 DEBUG : file1: reading active writers 2025/10/05 04:40:48 DEBUG : file1: active writers 1 2025/10/05 04:40:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:49 DEBUG : Looking for writers 2025/10/05 04:40:49 DEBUG : file1: reading active writers 2025/10/05 04:40:49 DEBUG : file1: active writers 1 2025/10/05 04:40:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:50 DEBUG : Looking for writers 2025/10/05 04:40:50 DEBUG : file1: reading active writers 2025/10/05 04:40:50 DEBUG : file1: active writers 1 2025/10/05 04:40:50 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:51 DEBUG : Looking for writers 2025/10/05 04:40:51 DEBUG : file1: reading active writers 2025/10/05 04:40:51 DEBUG : file1: active writers 1 2025/10/05 04:40:51 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:52 DEBUG : Looking for writers 2025/10/05 04:40:52 DEBUG : file1: reading active writers 2025/10/05 04:40:52 DEBUG : file1: active writers 1 2025/10/05 04:40:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:53 DEBUG : Looking for writers 2025/10/05 04:40:53 DEBUG : file1: reading active writers 2025/10/05 04:40:53 DEBUG : file1: active writers 1 2025/10/05 04:40:53 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 04:40:53 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0047d0960 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00616b808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824735873088} name:file1 opens:1 downloaders: o: fd:0xc00104c880 info:{ModTime:{wall:13992855075388008025 ext:1305727007241 loc:0x4132400} ATime:{wall:13992855075388008025 ext:1305727007241 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/05 04:40:53 DEBUG : >WaitForWriters: 2025/10/05 04:40:53 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (31.92s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:40:54 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:40:54 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 04:40:54 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:54 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:40:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:54 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:54 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 04:40:54 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-yunewos7sopi" 2025/10/05 04:40:54 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 04:40:54 DEBUG : forgetting directory cache 2025/10/05 04:40:55.993930 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:40:55.993985 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:40:55 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:40:55 DEBUG : Looking for writers 2025/10/05 04:40:55 DEBUG : >WaitForWriters: 2025/10/05 04:40:55 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (2.07s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:40:57.780758 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:40:57.780821 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (1.89s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:40:59.623382 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:40:59.623500 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "normal name with no special characters.txt" to "proton drive root link ID 'rclone-test-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.80s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:41:00 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:41:00 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:41:01.253350 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:41:01.253377 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-yunewos7sopi'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:41:02 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:41:02 DEBUG : Looking for writers 2025/10/05 04:41:02 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (2.94s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:41:03 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:41:03 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:41:03.930854 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:41:03.930878 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-yunewos7sopi'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:41:05 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:41:05 DEBUG : Looking for writers 2025/10/05 04:41:05 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (2.71s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:41:06 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:41:06 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:41:06.629854 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:41:06.629885 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-yunewos7sopi'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:41:07 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:41:07 DEBUG : Looking for writers 2025/10/05 04:41:07 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (2.62s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:41:08 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:41:08 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:41:10.415346 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:41:10.415379 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file2" to "proton drive root link ID 'rclone-test-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:41:10 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:41:10 DEBUG : Looking for writers 2025/10/05 04:41:10 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (3.52s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:41:12 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:41:12 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:41:12 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:41:12 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:41:12 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:41:12 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:41:12 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:41:12 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:41:12 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/05 04:41:12 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/05 04:41:12 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/05 04:41:12 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': File to upload is small (5 bytes), uploading instead of streaming 2025/10/05 04:41:13.450697 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:41:13.450799 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:41:14 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:41:14 DEBUG : file1: Remove: 2025/10/05 04:41:14 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:41:14 DEBUG : file1: >Remove: err= write_test.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:144 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:153 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 04:41:45 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/05 04:44:03 DEBUG : forgetting directory cache 2025/10/05 04:44:03 DEBUG : Removed virtual directory entry vAddFile: "file2" fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want file1 (5) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleMethods Messages: 1 objects not found 2025/10/05 04:44:47 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:44:47 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:44:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:44:47 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:44:47 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:44:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:44:47 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': File to upload is small (0 bytes), uploading instead of streaming 2025/10/05 04:46:30.752812 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:46:30.752856 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:46:32 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:46:32 DEBUG : file1: Remove: 2025/10/05 04:46:32 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:46:32 DEBUG : file1: >Remove: err= write_test.go:163: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:163 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods 2025/10/05 04:46:32 DEBUG : Re-reading directory (5m19.490312661s old) 2025/10/05 04:46:32 DEBUG : Removed virtual directory entry vDel: "file1" dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:164 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods 2025/10/05 04:46:32 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:46:32 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:46:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:46:32 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:46:32 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:46:32 DEBUG : Added virtual directory entry vAddFile: "file1" write_test.go:171: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:171 Error: Not equal: expected: *errors.errorString(&errors.errorString{s:"permission denied"}) actual : () Test: TestWriteFileHandleMethods 2025/10/05 04:46:32 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:46:32 DEBUG : Looking for writers 2025/10/05 04:46:32 DEBUG : file1: reading active writers 2025/10/05 04:46:32 DEBUG : file1: active writers 1 2025/10/05 04:46:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/05 04:46:32 DEBUG : Looking for writers 2025/10/05 04:46:32 DEBUG : file1: reading active writers 2025/10/05 04:46:32 DEBUG : file1: active writers 1 2025/10/05 04:46:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/05 04:46:32 DEBUG : Looking for writers 2025/10/05 04:46:32 DEBUG : file1: reading active writers 2025/10/05 04:46:32 DEBUG : file1: active writers 1 2025/10/05 04:46:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/05 04:46:32 DEBUG : Looking for writers 2025/10/05 04:46:32 DEBUG : file1: reading active writers 2025/10/05 04:46:32 DEBUG : file1: active writers 1 2025/10/05 04:46:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/05 04:46:32 DEBUG : Looking for writers 2025/10/05 04:46:32 DEBUG : file1: reading active writers 2025/10/05 04:46:32 DEBUG : file1: active writers 1 2025/10/05 04:46:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/05 04:46:32 DEBUG : Looking for writers 2025/10/05 04:46:32 DEBUG : file1: reading active writers 2025/10/05 04:46:32 DEBUG : file1: active writers 1 2025/10/05 04:46:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/05 04:46:32 DEBUG : Looking for writers 2025/10/05 04:46:32 DEBUG : file1: reading active writers 2025/10/05 04:46:32 DEBUG : file1: active writers 1 2025/10/05 04:46:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/05 04:46:33 DEBUG : Looking for writers 2025/10/05 04:46:33 DEBUG : file1: reading active writers 2025/10/05 04:46:33 DEBUG : file1: active writers 1 2025/10/05 04:46:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:34 DEBUG : Looking for writers 2025/10/05 04:46:34 DEBUG : file1: reading active writers 2025/10/05 04:46:34 DEBUG : file1: active writers 1 2025/10/05 04:46:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:35 DEBUG : Looking for writers 2025/10/05 04:46:35 DEBUG : file1: reading active writers 2025/10/05 04:46:35 DEBUG : file1: active writers 1 2025/10/05 04:46:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:36 DEBUG : Looking for writers 2025/10/05 04:46:36 DEBUG : file1: reading active writers 2025/10/05 04:46:36 DEBUG : file1: active writers 1 2025/10/05 04:46:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:37 DEBUG : Looking for writers 2025/10/05 04:46:37 DEBUG : file1: reading active writers 2025/10/05 04:46:37 DEBUG : file1: active writers 1 2025/10/05 04:46:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:38 DEBUG : Looking for writers 2025/10/05 04:46:38 DEBUG : file1: reading active writers 2025/10/05 04:46:38 DEBUG : file1: active writers 1 2025/10/05 04:46:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:39 DEBUG : Looking for writers 2025/10/05 04:46:39 DEBUG : file1: reading active writers 2025/10/05 04:46:39 DEBUG : file1: active writers 1 2025/10/05 04:46:39 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:40 DEBUG : Looking for writers 2025/10/05 04:46:40 DEBUG : file1: reading active writers 2025/10/05 04:46:40 DEBUG : file1: active writers 1 2025/10/05 04:46:40 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:41 DEBUG : Looking for writers 2025/10/05 04:46:41 DEBUG : file1: reading active writers 2025/10/05 04:46:41 DEBUG : file1: active writers 1 2025/10/05 04:46:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:42 DEBUG : Looking for writers 2025/10/05 04:46:42 DEBUG : file1: reading active writers 2025/10/05 04:46:42 DEBUG : file1: active writers 1 2025/10/05 04:46:42 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:43 DEBUG : Looking for writers 2025/10/05 04:46:43 DEBUG : file1: reading active writers 2025/10/05 04:46:43 DEBUG : file1: active writers 1 2025/10/05 04:46:43 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:44 DEBUG : Looking for writers 2025/10/05 04:46:44 DEBUG : file1: reading active writers 2025/10/05 04:46:44 DEBUG : file1: active writers 1 2025/10/05 04:46:44 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:45 DEBUG : Looking for writers 2025/10/05 04:46:45 DEBUG : file1: reading active writers 2025/10/05 04:46:45 DEBUG : file1: active writers 1 2025/10/05 04:46:45 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:46 DEBUG : Looking for writers 2025/10/05 04:46:46 DEBUG : file1: reading active writers 2025/10/05 04:46:46 DEBUG : file1: active writers 1 2025/10/05 04:46:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:47 DEBUG : Looking for writers 2025/10/05 04:46:47 DEBUG : file1: reading active writers 2025/10/05 04:46:47 DEBUG : file1: active writers 1 2025/10/05 04:46:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:48 DEBUG : Looking for writers 2025/10/05 04:46:48 DEBUG : file1: reading active writers 2025/10/05 04:46:48 DEBUG : file1: active writers 1 2025/10/05 04:46:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:49 DEBUG : Looking for writers 2025/10/05 04:46:49 DEBUG : file1: reading active writers 2025/10/05 04:46:49 DEBUG : file1: active writers 1 2025/10/05 04:46:49 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:50 DEBUG : Looking for writers 2025/10/05 04:46:50 DEBUG : file1: reading active writers 2025/10/05 04:46:50 DEBUG : file1: active writers 1 2025/10/05 04:46:50 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:51 DEBUG : Looking for writers 2025/10/05 04:46:51 DEBUG : file1: reading active writers 2025/10/05 04:46:51 DEBUG : file1: active writers 1 2025/10/05 04:46:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:52 DEBUG : Looking for writers 2025/10/05 04:46:52 DEBUG : file1: reading active writers 2025/10/05 04:46:52 DEBUG : file1: active writers 1 2025/10/05 04:46:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:53 DEBUG : Looking for writers 2025/10/05 04:46:53 DEBUG : file1: reading active writers 2025/10/05 04:46:53 DEBUG : file1: active writers 1 2025/10/05 04:46:53 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:54 DEBUG : Looking for writers 2025/10/05 04:46:54 DEBUG : file1: reading active writers 2025/10/05 04:46:54 DEBUG : file1: active writers 1 2025/10/05 04:46:54 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:55 DEBUG : Looking for writers 2025/10/05 04:46:55 DEBUG : file1: reading active writers 2025/10/05 04:46:55 DEBUG : file1: active writers 1 2025/10/05 04:46:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:56 DEBUG : Looking for writers 2025/10/05 04:46:56 DEBUG : file1: reading active writers 2025/10/05 04:46:56 DEBUG : file1: active writers 1 2025/10/05 04:46:56 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:57 DEBUG : Looking for writers 2025/10/05 04:46:57 DEBUG : file1: reading active writers 2025/10/05 04:46:57 DEBUG : file1: active writers 1 2025/10/05 04:46:57 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:58 DEBUG : Looking for writers 2025/10/05 04:46:58 DEBUG : file1: reading active writers 2025/10/05 04:46:58 DEBUG : file1: active writers 1 2025/10/05 04:46:58 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:46:59 DEBUG : Looking for writers 2025/10/05 04:46:59 DEBUG : file1: reading active writers 2025/10/05 04:46:59 DEBUG : file1: active writers 1 2025/10/05 04:46:59 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:47:00 DEBUG : Looking for writers 2025/10/05 04:47:00 DEBUG : file1: reading active writers 2025/10/05 04:47:00 DEBUG : file1: active writers 1 2025/10/05 04:47:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:47:01 DEBUG : Looking for writers 2025/10/05 04:47:01 DEBUG : file1: reading active writers 2025/10/05 04:47:01 DEBUG : file1: active writers 1 2025/10/05 04:47:01 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 04:47:02 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/05 04:47:02 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (350.97s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:47:03 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:47:03 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:47:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:47:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:47:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:47:03 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:47:03 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:47:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:47:03 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/05 04:47:04 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/05 04:47:04 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/05 04:47:04 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/05 04:47:04 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': File to upload is small (11 bytes), uploading instead of streaming 2025/10/05 04:47:05.218374 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:47:05.218403 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:47:06 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:47:06 DEBUG : file1: Remove: 2025/10/05 04:47:06 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:47:06 DEBUG : file1: >Remove: err= write_test.go:221: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:221 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleWriteAt 2025/10/05 04:47:06 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:231 Error: Not equal: expected: []string{"file1,11,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" -} +([]string) Test: TestWriteFileHandleWriteAt fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 04:47:53 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/05 04:50:14 DEBUG : forgetting directory cache 2025/10/05 04:50:18 DEBUG : forgetting directory cache 2025/10/05 04:50:23 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleWriteAt Messages: 1 objects not found 2025/10/05 04:50:40 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:50:40 DEBUG : Looking for writers 2025/10/05 04:50:40 DEBUG : >WaitForWriters: 2025/10/05 04:51:00 DEBUG : forgetting directory cache 2025/10/05 04:51:03 DEBUG : forgetting directory cache 2025/10/05 04:51:06 DEBUG : forgetting directory cache 2025/10/05 04:51:08 DEBUG : forgetting directory cache 2025/10/05 04:51:45 DEBUG : forgetting directory cache --- FAIL: TestWriteFileHandleWriteAt (320.60s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:52:23 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:52:23 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:52:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:52:24 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:52:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:52:24 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:52:24 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:52:24 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/05 04:52:24 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:52:24 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': File to upload is small (5 bytes), uploading instead of streaming 2025/10/05 04:52:25.097382 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:52:25.097409 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:52:26 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:52:26 DEBUG : file1: Remove: 2025/10/05 04:52:26 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:52:26 DEBUG : file1: >Remove: err= 2025/10/05 04:52:26 ERROR : file1: WriteFileHandle.Flush error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft write_test.go:256: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:256 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleFlush 2025/10/05 04:52:26 DEBUG : file1: WriteFileHandle.Flush nothing to do dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:267 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleFlush 2025/10/05 04:52:26 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:52:26 DEBUG : Looking for writers 2025/10/05 04:52:26 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (3.54s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:52:27 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:52:27 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:52:27 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:52:27 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:52:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:52:27 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:52:27 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:52:27 DEBUG : file1: WriteFileHandle.Release closing 2025/10/05 04:52:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:52:27 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': File to upload is small (0 bytes), uploading instead of streaming 2025/10/05 04:52:28.682965 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:52:28.682994 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:52:29 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:52:29 DEBUG : file1: Remove: 2025/10/05 04:52:29 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:52:29 DEBUG : file1: >Remove: err= 2025/10/05 04:52:29 ERROR : file1: WriteFileHandle.Release error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft write_test.go:279: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:279 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleRelease 2025/10/05 04:52:29 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/05 04:52:29 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:52:29 DEBUG : Looking for writers 2025/10/05 04:52:29 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (3.40s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:52:30 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:52:30 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:52:30 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:52:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:52:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:52:31 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:52:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:52:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:52:31 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': File to upload is small (2 bytes), uploading instead of streaming 2025/10/05 04:52:32.241318 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:52:32.241351 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:52:33 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:52:33 DEBUG : file1: Remove: 2025/10/05 04:52:33 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:52:33 DEBUG : file1: >Remove: err= write_test.go:333: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:333 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileModTimeWithOpenWriters 2025/10/05 04:52:33 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:52:33 DEBUG : Looking for writers 2025/10/05 04:52:33 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (3.59s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:52:34 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:52:34 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:52:34 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:52:34 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:52:34 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:52:34 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:52:34 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:52:34 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:52:34 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': File to upload is small (0 bytes), uploading instead of streaming 2025/10/05 04:52:35.568404 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:52:35.568433 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:52:36 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:52:36 DEBUG : file1: Remove: 2025/10/05 04:52:36 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:52:36 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestFileReadAtZeroLength 2025/10/05 04:52:36 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/05 04:52:36 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: file does not exist Test: TestFileReadAtZeroLength 2025/10/05 04:52:36 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:52:36 DEBUG : Looking for writers 2025/10/05 04:52:36 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (3.37s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:52:37 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:52:37 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:52:37 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 04:52:38 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 04:52:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:52:38 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 04:52:38 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 04:52:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 04:52:38 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': File to upload is small (100 bytes), uploading instead of streaming 2025/10/05 04:52:38.985147 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 04:52:38.985178 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 04:52:40 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 04:52:40 DEBUG : file1: Remove: 2025/10/05 04:52:40 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 04:52:40 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestFileReadAtNonZeroLength 2025/10/05 04:52:40 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/05 04:52:40 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: file does not exist Test: TestFileReadAtNonZeroLength 2025/10/05 04:52:40 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:52:40 DEBUG : Looking for writers 2025/10/05 04:52:40 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (3.48s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:52:41 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:52:41 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:52:43.408147 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:52:43.408170 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-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:52:43 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:52:43 DEBUG : Looking for writers 2025/10/05 04:52:43 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (3.85s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:52:44 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:52:44 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:52:47.393410 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:52:47.393466 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "a/top.txt" to "proton drive root link ID 'rclone-test-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:52:47 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:52:47 DEBUG : Looking for writers 2025/10/05 04:52:47 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (4.25s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:52:49 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:52:49 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:52:51.512894 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:52:51.512918 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "bigdir/big.bin" to "proton drive root link ID 'rclone-test-yunewos7sopi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:52:51 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:52:51 DEBUG : Looking for writers 2025/10/05 04:52:51 DEBUG : >WaitForWriters: 2025/10/05 04:52:52.024323 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:52:52.024357 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (3.87s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-yunewos7sopi'", Local "Local file system at /tmp/rclone516189040", Modify Window "1s" 2025/10/05 04:52:53 INFO : proton drive root link ID 'rclone-test-yunewos7sopi': poll-interval is not supported by this remote 2025/10/05 04:52:53 NOTICE: proton drive root link ID 'rclone-test-yunewos7sopi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 04:52:55.287829 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 04:52:55.287853 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-yunewos7sopi'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 04:52:55 DEBUG : WaitForWriters: timeout=30s 2025/10/05 04:52:55 DEBUG : Looking for writers 2025/10/05 04:52:55 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (4.07s) FAIL 2025/10/05 04:52:57 DEBUG : proton drive root link ID 'rclone-test-yunewos7sopi': 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 34m20.586589612s (try 5/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]