"./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 2/5) 2025/10/05 02:33:49 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-ranedeh2fumu" 2025/10/05 02:33:49 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/05 02:33:49 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': Has cached credentials 2025/10/05 02:33:51 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': Used cached credential to initialize the ProtonDrive API 2025/10/05 02:33:51 DEBUG : Creating backend with remote "/tmp/rclone1049504658" 2025/10/05 02:33:51 DEBUG : Config file has changed externally - reloading === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:33:51 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:33:51 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:33:58.536144 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:33:58.536183 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:33:58 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:33:58 DEBUG : Looking for writers 2025/10/05 02:33:58 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (7.99s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:33:59 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:33:59 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:01.829691 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:01.829760 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:01 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:01 DEBUG : Looking for writers 2025/10/05 02:34:01 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (3.30s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:03 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:03 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:05.282261 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:05.282304 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:05 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:05 DEBUG : Looking for writers 2025/10/05 02:34:05 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (3.36s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:06 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:06 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:08.593358 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:08.593449 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:08 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:08 DEBUG : Looking for writers 2025/10/05 02:34:08 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (3.40s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:09 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:09 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:11.818110 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:11.818131 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:11 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:11 DEBUG : Looking for writers 2025/10/05 02:34:11 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (3.26s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:13 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:13 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:15.116546 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:15.116574 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:15 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:15 DEBUG : Looking for writers 2025/10/05 02:34:15 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (3.25s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:16 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:16 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:18.422160 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:18.422205 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:18 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:18 DEBUG : Looking for writers 2025/10/05 02:34:18 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (3.29s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:19 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:19 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:21.794839 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:21.794861 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:21 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:21 DEBUG : Looking for writers 2025/10/05 02:34:21 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (3.43s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:23 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:23 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:25.130284 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:25.130316 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:25 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:25 DEBUG : Looking for writers 2025/10/05 02:34:25 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (3.38s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:26 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:26 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:28.593222 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:28.593273 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:28 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:28 DEBUG : Looking for writers 2025/10/05 02:34:28 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (3.41s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:29 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:29 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:31.878999 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:31.879037 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:31 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:31 DEBUG : Looking for writers 2025/10/05 02:34:31 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (3.28s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:33 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:33 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:35.222529 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:35.222554 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:35 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:35 DEBUG : Looking for writers 2025/10/05 02:34:35 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (3.35s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:36 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:36 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:38.565949 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:38.565983 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:38 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:38 DEBUG : Looking for writers 2025/10/05 02:34:38 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (3.52s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:40 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:40 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:42.089544 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:42.089575 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:42 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:42 DEBUG : Looking for writers 2025/10/05 02:34:42 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (3.37s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:43 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:43 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:45.487607 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:45.487652 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:45 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:45 DEBUG : Looking for writers 2025/10/05 02:34:45 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (3.34s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:46 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:46 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:48.788148 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:48.788191 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:48 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:48 DEBUG : Looking for writers 2025/10/05 02:34:48 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (3.32s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:50 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:50 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:52.215797 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:52.215850 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:52 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:52 DEBUG : Looking for writers 2025/10/05 02:34:52 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (3.44s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:53 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:53 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:55.417934 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:55.417972 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:55 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:55 DEBUG : Looking for writers 2025/10/05 02:34:55 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (3.15s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:56 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:56 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:34:58.678199 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:34:58.678239 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:34:58 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:34:58 DEBUG : Looking for writers 2025/10/05 02:34:58 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (3.23s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:34:59 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:34:59 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:01.932013 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:01.932045 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:01 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:01 DEBUG : Looking for writers 2025/10/05 02:35:01 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (3.34s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:03 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:03 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:05.201057 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:05.201090 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:05 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:05 DEBUG : Looking for writers 2025/10/05 02:35:05 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (3.30s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:06 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:06 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:08.586348 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:08.586436 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:08 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:08 DEBUG : Looking for writers 2025/10/05 02:35:08 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:09 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:09 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:12.093898 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:12.093919 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:12 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:12 DEBUG : Looking for writers 2025/10/05 02:35:12 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:13 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:13 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:15.519903 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:15.519930 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:15 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:15 DEBUG : Looking for writers 2025/10/05 02:35:15 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:16 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:16 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:35:16 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:16 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:16 DEBUG : Config file has changed externally - reloading 2025/10/05 02:35:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:16 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:35:18.911028 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:18.911088 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:18 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:18 DEBUG : Looking for writers 2025/10/05 02:35:18 DEBUG : >WaitForWriters: 2025/10/05 02:35:18 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:20 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:20 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:35:20 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:20 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:20 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:35:22.263664 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:22.263735 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:22 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:22 DEBUG : Looking for writers 2025/10/05 02:35:22 DEBUG : >WaitForWriters: 2025/10/05 02:35:22 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:23 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:23 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:35:23 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:23 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:23 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:35:25.521956 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:25.521984 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:25 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:25 DEBUG : Looking for writers 2025/10/05 02:35:25 DEBUG : >WaitForWriters: 2025/10/05 02:35:25 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (20.28s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (3.34s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (3.55s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (3.42s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (3.36s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (3.31s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (3.29s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:26 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:26 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:28.769555 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:28.769591 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:28 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:28 DEBUG : Looking for writers 2025/10/05 02:35:28 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (3.30s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:30 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:30 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:32.134151 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:32.134183 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:32 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:32 DEBUG : Looking for writers 2025/10/05 02:35:32 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (3.39s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:33 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:33 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:35.512331 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:35.512369 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:35 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:35 DEBUG : Looking for writers 2025/10/05 02:35:35 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (3.30s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:36 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:36 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:38.884938 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:38.884973 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:38 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:38 DEBUG : Looking for writers 2025/10/05 02:35:38 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (3.37s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:40 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:40 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:42.189902 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:42.189940 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:42 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:42 DEBUG : Looking for writers 2025/10/05 02:35:42 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (3.31s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:43 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:43 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:45.576965 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:45.577002 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:45 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:45 DEBUG : Looking for writers 2025/10/05 02:35:45 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:46 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:46 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:46 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:35:46 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:46 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:46 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:35:48.933163 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:48.933183 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:48 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:48 DEBUG : Looking for writers 2025/10/05 02:35:48 DEBUG : >WaitForWriters: 2025/10/05 02:35:48 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:50 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:50 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:35:50 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:35:50 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:50 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:50 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:35:52.223409 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:52.223457 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:52 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:52 DEBUG : Looking for writers 2025/10/05 02:35:52 DEBUG : >WaitForWriters: 2025/10/05 02:35:52 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:53 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:53 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:35:53 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:53 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:53 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:35:55.673905 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:55.673953 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:55 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:55 DEBUG : Looking for writers 2025/10/05 02:35:55 DEBUG : >WaitForWriters: 2025/10/05 02:35:55 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:35:57 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:35:57 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:35:57 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:57 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:35:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:35:57 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:35:59.222579 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:35:59.222672 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:35:59 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:35:59 DEBUG : Looking for writers 2025/10/05 02:35:59 DEBUG : >WaitForWriters: 2025/10/05 02:35:59 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:36:00 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:36:00 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:36:00 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:00 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:00 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:36:02.743785 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:36:02.743815 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:02 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:36:02 DEBUG : Looking for writers 2025/10/05 02:36:02 DEBUG : >WaitForWriters: 2025/10/05 02:36:02 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestFileRename (20.61s) --- FAIL: TestFileRename/off,forceCache=false (3.35s) --- FAIL: TestFileRename/minimal,forceCache=false (3.41s) --- FAIL: TestFileRename/minimal,forceCache=true (3.27s) --- FAIL: TestFileRename/writes,forceCache=false (3.62s) --- FAIL: TestFileRename/writes,forceCache=true (3.54s) --- FAIL: TestFileRename/full,forceCache=false (3.42s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:36:04 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:36:04 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:36:06.083630 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:36:06.083673 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:06 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:36:06 DEBUG : Looking for writers 2025/10/05 02:36:06 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (3.28s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:36:07 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:36:07 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:36:09.423437 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:36:09.423473 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:09 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:36:09 DEBUG : Looking for writers 2025/10/05 02:36:09 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (3.35s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:36:10 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:36:10 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:36:12.811972 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:36:12.812006 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:12 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:36:12 DEBUG : Looking for writers 2025/10/05 02:36:12 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (3.42s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:36:14 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:36:14 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:36:16.156400 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:36:16.156441 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:16 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:36:16 DEBUG : Looking for writers 2025/10/05 02:36:16 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (3.34s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:36:17 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:36:17 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:36:19.476114 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:36:19.476143 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:19 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:36:19 DEBUG : Looking for writers 2025/10/05 02:36:19 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (3.25s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:36:20 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:36:20 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:36:20 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:20 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:20 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:36:22.808740 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:36:22.808769 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:22 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:36:22 DEBUG : Looking for writers 2025/10/05 02:36:22 DEBUG : >WaitForWriters: 2025/10/05 02:36:22 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (3.50s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:36:24 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:36:24 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:36:24 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:24 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:24 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:24 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:24 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:24 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:36:26.322538 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:36:26.322573 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:26 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:36:26 DEBUG : Looking for writers 2025/10/05 02:36:26 DEBUG : >WaitForWriters: 2025/10/05 02:36:26 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (3.45s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:36:27 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:36:27 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:36:27 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:27 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:27 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:27 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:27 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:36:29.724251 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:36:29.724318 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:29 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:36:29 DEBUG : Looking for writers 2025/10/05 02:36:29 DEBUG : >WaitForWriters: 2025/10/05 02:36:29 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (3.34s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:36:31 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:36:31 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:36:31 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:31 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:31 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:31 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:31 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:36:33.122207 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:36:33.122237 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:33 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:36:33 DEBUG : Looking for writers 2025/10/05 02:36:33 DEBUG : >WaitForWriters: 2025/10/05 02:36:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (3.44s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:36:34 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:36:34 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:36:34 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:34 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:34 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:36:36.516992 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:36:36.517027 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:36 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:36:36 DEBUG : Looking for writers 2025/10/05 02:36:36 DEBUG : >WaitForWriters: 2025/10/05 02:36:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (3.36s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:36:37 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:36:37 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:36:37 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:37 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:36:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:36:37 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 02:36:37 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:36:38 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 02:36:38 DEBUG : file1: newRWFileHandle: 2025/10/05 02:36:38 DEBUG : file1(0xc000648540): openPending: 2025/10/05 02:36:38 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 02:36:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 02:36:38 DEBUG : file1(0xc000648540): >openPending: err= 2025/10/05 02:36:38 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 02:36:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 02:36:38 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 02:36:38 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 02:36:38 DEBUG : file1(0xc000648540): _writeAt: size=5, off=0 2025/10/05 02:36:38 DEBUG : file1(0xc000648540): >_writeAt: n=5, err= 2025/10/05 02:36:38 DEBUG : file1(0xc000648540): _writeAt: size=7, off=5 2025/10/05 02:36:38 DEBUG : file1(0xc000648540): >_writeAt: n=7, err= 2025/10/05 02:36:38 DEBUG : file1: vfs cache: truncate to size=11 2025/10/05 02:36:38 DEBUG : file1(0xc000648540): close: 2025/10/05 02:36:38 DEBUG : file1: vfs cache: setting modification time to 2025-10-05 02:36:38.234820036 +0000 UTC m=+168.309334076 2025/10/05 02:36:38 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/05 02:36:38 DEBUG : file1(0xc000648540): >close: err= 2025/10/05 02:36:38 DEBUG : file1(0xc000648540): close: 2025/10/05 02:36:38 DEBUG : file1(0xc000648540): >close: err=file already closed 2025/10/05 02:36:38 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:36:38 DEBUG : Looking for writers 2025/10/05 02:36:38 DEBUG : file1: reading active writers 2025/10/05 02:36:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 02:36:38 DEBUG : Looking for writers 2025/10/05 02:36:38 DEBUG : file1: reading active writers 2025/10/05 02:36:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 02:36:38 DEBUG : Looking for writers 2025/10/05 02:36:38 DEBUG : file1: reading active writers 2025/10/05 02:36:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 02:36:38 DEBUG : Looking for writers 2025/10/05 02:36:38 DEBUG : file1: reading active writers 2025/10/05 02:36:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 02:36:38 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:36:38 DEBUG : Looking for writers 2025/10/05 02:36:38 DEBUG : file1: reading active writers 2025/10/05 02:36:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 02:36:38 DEBUG : Looking for writers 2025/10/05 02:36:38 DEBUG : file1: reading active writers 2025/10/05 02:36:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 02:36:38 DEBUG : Looking for writers 2025/10/05 02:36:38 DEBUG : file1: reading active writers 2025/10/05 02:36:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 02:36:39.469542 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:36:39.469576 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:39 ERROR : file1: Failed to copy: 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:39 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:36:39 DEBUG : Looking for writers 2025/10/05 02:36:39 DEBUG : file1: reading active writers 2025/10/05 02:36:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:39 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:36:40 DEBUG : Looking for writers 2025/10/05 02:36:40 DEBUG : file1: reading active writers 2025/10/05 02:36:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:40.529001 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 02:36:40.529041 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 02:36:41 DEBUG : Looking for writers 2025/10/05 02:36:41 DEBUG : file1: reading active writers 2025/10/05 02:36:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:41 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:36:41 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:36:42 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:36:42 DEBUG : Looking for writers 2025/10/05 02:36:42 DEBUG : file1: reading active writers 2025/10/05 02:36:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:42.893361 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 02:36:42.893387 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 02:36:43 DEBUG : Looking for writers 2025/10/05 02:36:43 DEBUG : file1: reading active writers 2025/10/05 02:36:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:44 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 02:36:44 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 02:36:44 DEBUG : Looking for writers 2025/10/05 02:36:44 DEBUG : file1: reading active writers 2025/10/05 02:36:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:44 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:36:45 DEBUG : Looking for writers 2025/10/05 02:36:45 DEBUG : file1: reading active writers 2025/10/05 02:36:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:45.625416 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 02:36:45.625450 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 02:36:46 DEBUG : Looking for writers 2025/10/05 02:36:46 DEBUG : file1: reading active writers 2025/10/05 02:36:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:46 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:36:46 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 02:36:47 DEBUG : Looking for writers 2025/10/05 02:36:47 DEBUG : file1: reading active writers 2025/10/05 02:36:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:48 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:36:48 DEBUG : Looking for writers 2025/10/05 02:36:48 DEBUG : file1: reading active writers 2025/10/05 02:36:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:49.244990 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 02:36:49.245016 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 02:36:49 DEBUG : Looking for writers 2025/10/05 02:36:49 DEBUG : file1: reading active writers 2025/10/05 02:36:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:50 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:36:50 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 02:36:50 DEBUG : Looking for writers 2025/10/05 02:36:50 DEBUG : file1: reading active writers 2025/10/05 02:36:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:51 DEBUG : Looking for writers 2025/10/05 02:36:51 DEBUG : file1: reading active writers 2025/10/05 02:36:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:52 DEBUG : Looking for writers 2025/10/05 02:36:52 DEBUG : file1: reading active writers 2025/10/05 02:36:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:53 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:36:53 DEBUG : Looking for writers 2025/10/05 02:36:53 DEBUG : file1: reading active writers 2025/10/05 02:36:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:54.350071 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 02:36:54.350107 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 02:36:54 DEBUG : Looking for writers 2025/10/05 02:36:54 DEBUG : file1: reading active writers 2025/10/05 02:36:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:55 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 02:36:55 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 02:36:55 DEBUG : Looking for writers 2025/10/05 02:36:55 DEBUG : file1: reading active writers 2025/10/05 02:36:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:56 DEBUG : Looking for writers 2025/10/05 02:36:56 DEBUG : file1: reading active writers 2025/10/05 02:36:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:57 DEBUG : Looking for writers 2025/10/05 02:36:57 DEBUG : file1: reading active writers 2025/10/05 02:36:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:58 DEBUG : Looking for writers 2025/10/05 02:36:58 DEBUG : file1: reading active writers 2025/10/05 02:36:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:36:59 DEBUG : Looking for writers 2025/10/05 02:36:59 DEBUG : file1: reading active writers 2025/10/05 02:36:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:37:00 DEBUG : Looking for writers 2025/10/05 02:37:00 DEBUG : file1: reading active writers 2025/10/05 02:37:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:37:01 DEBUG : Looking for writers 2025/10/05 02:37:01 DEBUG : file1: reading active writers 2025/10/05 02:37:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:37:01 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:37:02 DEBUG : Looking for writers 2025/10/05 02:37:02 DEBUG : file1: reading active writers 2025/10/05 02:37:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:37:02.797728 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 02:37:02.797754 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 02:37:03 DEBUG : Looking for writers 2025/10/05 02:37:03 DEBUG : file1: reading active writers 2025/10/05 02:37:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:37: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 02:37:03 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 02:37:04 DEBUG : Looking for writers 2025/10/05 02:37:04 DEBUG : file1: reading active writers 2025/10/05 02:37:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:37:05 DEBUG : Looking for writers 2025/10/05 02:37:05 DEBUG : file1: reading active writers 2025/10/05 02:37:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:37:06 DEBUG : Looking for writers 2025/10/05 02:37:06 DEBUG : file1: reading active writers 2025/10/05 02:37:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:37:07 DEBUG : Looking for writers 2025/10/05 02:37:07 DEBUG : file1: reading active writers 2025/10/05 02:37:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:37:08 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0009a9680 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000ae0508 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824645125440} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992847103055827396 ext:168309334076 loc:0x4132400} ATime:{wall:13992847103055845801 ext:168309352480 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 02:37:08 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 02:37:16 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:37:37 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:37:37 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 02:38:37 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:38:37 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': 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 02:39:06.644282 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 02:39:06.644318 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 02:39: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 02:39:07 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 02:39:33 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:39:37 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:39:37 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 02:40:37 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:40:37 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': 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 02:41:07.326165 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 02:41:07.326204 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 02:41: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 02:41:08 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 02:41:10 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:41:10 DEBUG : Looking for writers 2025/10/05 02:41:10 DEBUG : file1: reading active writers 2025/10/05 02:41:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 02:41:10 DEBUG : Looking for writers 2025/10/05 02:41:10 DEBUG : file1: reading active writers 2025/10/05 02:41:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 02:41:10 DEBUG : Looking for writers 2025/10/05 02:41:10 DEBUG : file1: reading active writers 2025/10/05 02:41:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 02:41:10 DEBUG : Looking for writers 2025/10/05 02:41:10 DEBUG : file1: reading active writers 2025/10/05 02:41:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 02:41:10 DEBUG : Looking for writers 2025/10/05 02:41:10 DEBUG : file1: reading active writers 2025/10/05 02:41:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 02:41:11 DEBUG : Looking for writers 2025/10/05 02:41:11 DEBUG : file1: reading active writers 2025/10/05 02:41:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 02:41:11 DEBUG : Looking for writers 2025/10/05 02:41:11 DEBUG : file1: reading active writers 2025/10/05 02:41:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 02:41:12 DEBUG : Looking for writers 2025/10/05 02:41:12 DEBUG : file1: reading active writers 2025/10/05 02:41:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:13 DEBUG : Looking for writers 2025/10/05 02:41:13 DEBUG : file1: reading active writers 2025/10/05 02:41:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:14 DEBUG : Looking for writers 2025/10/05 02:41:14 DEBUG : file1: reading active writers 2025/10/05 02:41:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:15 DEBUG : Looking for writers 2025/10/05 02:41:15 DEBUG : file1: reading active writers 2025/10/05 02:41:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:16 DEBUG : Looking for writers 2025/10/05 02:41:16 DEBUG : file1: reading active writers 2025/10/05 02:41:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:17 DEBUG : Looking for writers 2025/10/05 02:41:17 DEBUG : file1: reading active writers 2025/10/05 02:41:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:18 DEBUG : Looking for writers 2025/10/05 02:41:18 DEBUG : file1: reading active writers 2025/10/05 02:41:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:19 DEBUG : Looking for writers 2025/10/05 02:41:19 DEBUG : file1: reading active writers 2025/10/05 02:41:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:20 DEBUG : Looking for writers 2025/10/05 02:41:20 DEBUG : file1: reading active writers 2025/10/05 02:41:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:21 DEBUG : Looking for writers 2025/10/05 02:41:21 DEBUG : file1: reading active writers 2025/10/05 02:41:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:22 DEBUG : Looking for writers 2025/10/05 02:41:22 DEBUG : file1: reading active writers 2025/10/05 02:41:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:23 DEBUG : Looking for writers 2025/10/05 02:41:23 DEBUG : file1: reading active writers 2025/10/05 02:41:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:24 DEBUG : Looking for writers 2025/10/05 02:41:24 DEBUG : file1: reading active writers 2025/10/05 02:41:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:25 DEBUG : Looking for writers 2025/10/05 02:41:25 DEBUG : file1: reading active writers 2025/10/05 02:41:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:26 DEBUG : Looking for writers 2025/10/05 02:41:26 DEBUG : file1: reading active writers 2025/10/05 02:41:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:27 DEBUG : Looking for writers 2025/10/05 02:41:27 DEBUG : file1: reading active writers 2025/10/05 02:41:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:28 DEBUG : Looking for writers 2025/10/05 02:41:28 DEBUG : file1: reading active writers 2025/10/05 02:41:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:29 DEBUG : Looking for writers 2025/10/05 02:41:29 DEBUG : file1: reading active writers 2025/10/05 02:41:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:30 DEBUG : Looking for writers 2025/10/05 02:41:30 DEBUG : file1: reading active writers 2025/10/05 02:41:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:31 DEBUG : Looking for writers 2025/10/05 02:41:31 DEBUG : file1: reading active writers 2025/10/05 02:41:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:32 DEBUG : Looking for writers 2025/10/05 02:41:32 DEBUG : file1: reading active writers 2025/10/05 02:41:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:33 DEBUG : Looking for writers 2025/10/05 02:41:33 DEBUG : file1: reading active writers 2025/10/05 02:41:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:34 DEBUG : Looking for writers 2025/10/05 02:41:34 DEBUG : file1: reading active writers 2025/10/05 02:41:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:35 DEBUG : Looking for writers 2025/10/05 02:41:35 DEBUG : file1: reading active writers 2025/10/05 02:41:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:36 DEBUG : Looking for writers 2025/10/05 02:41:36 DEBUG : file1: reading active writers 2025/10/05 02:41:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:37 DEBUG : Looking for writers 2025/10/05 02:41:37 DEBUG : file1: reading active writers 2025/10/05 02:41:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:37 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:41:37 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/05 02:41:38 DEBUG : Looking for writers 2025/10/05 02:41:38 DEBUG : file1: reading active writers 2025/10/05 02:41:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:39 DEBUG : Looking for writers 2025/10/05 02:41:39 DEBUG : file1: reading active writers 2025/10/05 02:41:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:40 DEBUG : Looking for writers 2025/10/05 02:41:40 DEBUG : file1: reading active writers 2025/10/05 02:41:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:41:40 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0009a9680 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000ae0508 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824645125440} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992847103055827396 ext:168309334076 loc:0x4132400} ATime:{wall:13992847103055845801 ext:168309352480 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 02:41:40 DEBUG : >WaitForWriters: 2025/10/05 02:41:40 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (418.35s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:43:36 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:43:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:43:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:43:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:43:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:43:36 DEBUG : Config file has changed externally - reloading 2025/10/05 02:43:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:43:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:43:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:43:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:43:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:43:36 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 02:43:36 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:43:36 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 02:43:36 DEBUG : file1: newRWFileHandle: 2025/10/05 02:43:36 DEBUG : file1(0xc000b8f1c0): openPending: 2025/10/05 02:43:36 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 02:43:36 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 02:43:36 DEBUG : file1(0xc000b8f1c0): >openPending: err= 2025/10/05 02:43:36 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 02:43:36 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 02:43:36 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 02:43:36 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 02:43:36 DEBUG : file1(0xc000b8f1c0): _writeAt: size=7, off=0 2025/10/05 02:43:36 DEBUG : file1(0xc000b8f1c0): >_writeAt: n=7, err= 2025/10/05 02:43:36 DEBUG : file1(0xc000b8f1c0): _writeAt: size=6, off=5 2025/10/05 02:43:36 DEBUG : file1(0xc000b8f1c0): >_writeAt: n=6, err= 2025/10/05 02:43:36 DEBUG : file1(0xc000b8f1c0): close: 2025/10/05 02:43:36 DEBUG : file1: vfs cache: setting modification time to 2025-10-05 02:43:36.551454894 +0000 UTC m=+586.625968974 2025/10/05 02:43:36 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/05 02:43:36 DEBUG : file1(0xc000b8f1c0): >close: err= 2025/10/05 02:43:36 DEBUG : file1(0xc000b8f1c0): _writeAt: size=5, off=0 2025/10/05 02:43:36 DEBUG : file1(0xc000b8f1c0): >_writeAt: n=0, err=file already closed 2025/10/05 02:43:36 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:43:36 DEBUG : Looking for writers 2025/10/05 02:43:36 DEBUG : file1: reading active writers 2025/10/05 02:43:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 02:43:36 DEBUG : Looking for writers 2025/10/05 02:43:36 DEBUG : file1: reading active writers 2025/10/05 02:43:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 02:43:36 DEBUG : Looking for writers 2025/10/05 02:43:36 DEBUG : file1: reading active writers 2025/10/05 02:43:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 02:43:36 DEBUG : Looking for writers 2025/10/05 02:43:36 DEBUG : file1: reading active writers 2025/10/05 02:43:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 02:43:36 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:43:36 DEBUG : Looking for writers 2025/10/05 02:43:36 DEBUG : file1: reading active writers 2025/10/05 02:43:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 02:43:36 DEBUG : Looking for writers 2025/10/05 02:43:36 DEBUG : file1: reading active writers 2025/10/05 02:43:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 02:43:37 DEBUG : Looking for writers 2025/10/05 02:43:37 DEBUG : file1: reading active writers 2025/10/05 02:43:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 02:43:37.527356 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 02:43:37.527389 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 02:43:37 DEBUG : Looking for writers 2025/10/05 02:43:37 DEBUG : file1: reading active writers 2025/10/05 02:43:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:38 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:43:38 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 02:43:38 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:43:38 DEBUG : Looking for writers 2025/10/05 02:43:38 DEBUG : file1: reading active writers 2025/10/05 02:43:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:39.552093 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 02:43:39.552115 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 02:43:39 DEBUG : Looking for writers 2025/10/05 02:43:39 DEBUG : file1: reading active writers 2025/10/05 02:43:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43: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 02:43:40 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 02:43:40 DEBUG : Looking for writers 2025/10/05 02:43:40 DEBUG : file1: reading active writers 2025/10/05 02:43:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:40 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:43:41.800914 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 02:43:41.800951 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 02:43:41 DEBUG : Looking for writers 2025/10/05 02:43:41 DEBUG : file1: reading active writers 2025/10/05 02:43:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:42 DEBUG : Looking for writers 2025/10/05 02:43:42 DEBUG : file1: reading active writers 2025/10/05 02:43:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:42 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:43:42 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 02:43:43 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:43:43 DEBUG : Looking for writers 2025/10/05 02:43:43 DEBUG : file1: reading active writers 2025/10/05 02:43:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:44.585415 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 02:43:44.585436 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 02:43:44 DEBUG : Looking for writers 2025/10/05 02:43:44 DEBUG : file1: reading active writers 2025/10/05 02:43:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:45 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:43:45 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:43:45 DEBUG : Looking for writers 2025/10/05 02:43:45 DEBUG : file1: reading active writers 2025/10/05 02:43:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:46 DEBUG : Looking for writers 2025/10/05 02:43:46 DEBUG : file1: reading active writers 2025/10/05 02:43:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:47 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:43:47 DEBUG : Looking for writers 2025/10/05 02:43:47 DEBUG : file1: reading active writers 2025/10/05 02:43:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:48.062776 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 02:43:48.062804 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 02:43:48 DEBUG : Looking for writers 2025/10/05 02:43:48 DEBUG : file1: reading active writers 2025/10/05 02:43:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43: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 02:43:49 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 02:43:49 DEBUG : Looking for writers 2025/10/05 02:43:49 DEBUG : file1: reading active writers 2025/10/05 02:43:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:50 DEBUG : Looking for writers 2025/10/05 02:43:50 DEBUG : file1: reading active writers 2025/10/05 02:43:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:51 DEBUG : Looking for writers 2025/10/05 02:43:51 DEBUG : file1: reading active writers 2025/10/05 02:43:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:51 DEBUG : forgetting directory cache 2025/10/05 02:43:52 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:43:52 DEBUG : Looking for writers 2025/10/05 02:43:52 DEBUG : file1: reading active writers 2025/10/05 02:43:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:53.104590 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 02:43:53.104617 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 02:43:53 DEBUG : Looking for writers 2025/10/05 02:43:53 DEBUG : file1: reading active writers 2025/10/05 02:43:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43: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 02:43:54 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 02:43:54 DEBUG : Looking for writers 2025/10/05 02:43:54 DEBUG : file1: reading active writers 2025/10/05 02:43:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:55 DEBUG : Looking for writers 2025/10/05 02:43:55 DEBUG : file1: reading active writers 2025/10/05 02:43:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:56 DEBUG : Looking for writers 2025/10/05 02:43:56 DEBUG : file1: reading active writers 2025/10/05 02:43:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:57 DEBUG : Looking for writers 2025/10/05 02:43:57 DEBUG : file1: reading active writers 2025/10/05 02:43:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:58 DEBUG : Looking for writers 2025/10/05 02:43:58 DEBUG : file1: reading active writers 2025/10/05 02:43:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:59 DEBUG : Looking for writers 2025/10/05 02:43:59 DEBUG : file1: reading active writers 2025/10/05 02:43:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:43:59 DEBUG : forgetting directory cache 2025/10/05 02:44:00 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:44:00 DEBUG : Looking for writers 2025/10/05 02:44:00 DEBUG : file1: reading active writers 2025/10/05 02:44:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:44:01.577422 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 02:44:01.577448 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 02:44:01 DEBUG : Looking for writers 2025/10/05 02:44:01 DEBUG : file1: reading active writers 2025/10/05 02:44:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:44:02 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:44:02 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 02:44:02 DEBUG : Looking for writers 2025/10/05 02:44:02 DEBUG : file1: reading active writers 2025/10/05 02:44:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:44:03 DEBUG : forgetting directory cache 2025/10/05 02:44:03 DEBUG : Looking for writers 2025/10/05 02:44:03 DEBUG : file1: reading active writers 2025/10/05 02:44:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:44:04 DEBUG : Looking for writers 2025/10/05 02:44:04 DEBUG : file1: reading active writers 2025/10/05 02:44:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:44:05 DEBUG : Looking for writers 2025/10/05 02:44:05 DEBUG : file1: reading active writers 2025/10/05 02:44:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:44:06 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0009a8b40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0001e9408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635724864} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992847552196544686 ext:586625968974 loc:0x4132400} ATime:{wall:13992847552196573441 ext:586625997717 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 02:44:06 DEBUG : >WaitForWriters: 2025/10/05 02:44:06 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 02:44:09 DEBUG : forgetting directory cache 2025/10/05 02:44:13 DEBUG : forgetting directory cache 2025/10/05 02:44:15 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:44:16 DEBUG : forgetting directory cache 2025/10/05 02:44:19 DEBUG : forgetting directory cache 2025/10/05 02:44:23 DEBUG : forgetting directory cache 2025/10/05 02:44:26 DEBUG : forgetting directory cache 2025/10/05 02:44:29 DEBUG : forgetting directory cache 2025/10/05 02:44:33 DEBUG : forgetting directory cache 2025/10/05 02:44:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:44:36 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 02:44:36 DEBUG : forgetting directory cache 2025/10/05 02:44:40 DEBUG : forgetting directory cache 2025/10/05 02:44:43 DEBUG : forgetting directory cache 2025/10/05 02:44:46 DEBUG : forgetting directory cache 2025/10/05 02:44:50 DEBUG : forgetting directory cache 2025/10/05 02:44:53 DEBUG : forgetting directory cache 2025/10/05 02:44:56 DEBUG : forgetting directory cache 2025/10/05 02:44:59 DEBUG : forgetting directory cache 2025/10/05 02:45:03 DEBUG : forgetting directory cache 2025/10/05 02:45:06 DEBUG : forgetting directory cache 2025/10/05 02:45:09 DEBUG : forgetting directory cache 2025/10/05 02:45:13 DEBUG : forgetting directory cache 2025/10/05 02:45:16 DEBUG : forgetting directory cache 2025/10/05 02:45:20 DEBUG : forgetting directory cache 2025/10/05 02:45:23 DEBUG : forgetting directory cache 2025/10/05 02:45:26 DEBUG : forgetting directory cache 2025/10/05 02:45:30 DEBUG : forgetting directory cache 2025/10/05 02:45:33 DEBUG : forgetting directory cache 2025/10/05 02:45:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:45:36 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 02:45:36 DEBUG : forgetting directory cache 2025/10/05 02:45:40 DEBUG : forgetting directory cache 2025/10/05 02:45:43 DEBUG : forgetting directory cache 2025/10/05 02:45:46 DEBUG : forgetting directory cache 2025/10/05 02:45:50 DEBUG : forgetting directory cache 2025/10/05 02:45:53 DEBUG : forgetting directory cache 2025/10/05 02:45:57 DEBUG : forgetting directory cache 2025/10/05 02:46:00 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/05 02:46:02.843043 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 02:46:02.843067 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 02:46: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 02:46:03 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 02:46:04 DEBUG : forgetting directory cache fstest.go:301: Flushing the directory cache 2025/10/05 02:46:07 DEBUG : forgetting directory cache 2025/10/05 02:46:10 DEBUG : forgetting directory cache 2025/10/05 02:46:14 DEBUG : forgetting directory cache 2025/10/05 02:46:17 DEBUG : forgetting directory cache 2025/10/05 02:46:20 DEBUG : forgetting directory cache 2025/10/05 02:46:24 DEBUG : forgetting directory cache 2025/10/05 02:46:27 DEBUG : forgetting directory cache 2025/10/05 02:46:29 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:46:31 DEBUG : forgetting directory cache 2025/10/05 02:46:34 DEBUG : forgetting directory cache 2025/10/05 02:46:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:46:36 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 02:46:38 DEBUG : forgetting directory cache 2025/10/05 02:47:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:47:36 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': 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 02:48:02.865481 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 02:48:02.865515 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 02:48: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 02:48:03 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 02:48:06 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:48:06 DEBUG : Looking for writers 2025/10/05 02:48:06 DEBUG : file1: reading active writers 2025/10/05 02:48:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 02:48:06 DEBUG : Looking for writers 2025/10/05 02:48:06 DEBUG : file1: reading active writers 2025/10/05 02:48:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 02:48:06 DEBUG : Looking for writers 2025/10/05 02:48:06 DEBUG : file1: reading active writers 2025/10/05 02:48:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 02:48:06 DEBUG : Looking for writers 2025/10/05 02:48:06 DEBUG : file1: reading active writers 2025/10/05 02:48:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 02:48:06 DEBUG : Looking for writers 2025/10/05 02:48:06 DEBUG : file1: reading active writers 2025/10/05 02:48:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 02:48:06 DEBUG : Looking for writers 2025/10/05 02:48:06 DEBUG : file1: reading active writers 2025/10/05 02:48:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 02:48:06 DEBUG : Looking for writers 2025/10/05 02:48:06 DEBUG : file1: reading active writers 2025/10/05 02:48:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 02:48:07 DEBUG : Looking for writers 2025/10/05 02:48:07 DEBUG : file1: reading active writers 2025/10/05 02:48:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:08 DEBUG : Looking for writers 2025/10/05 02:48:08 DEBUG : file1: reading active writers 2025/10/05 02:48:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:09 DEBUG : Looking for writers 2025/10/05 02:48:09 DEBUG : file1: reading active writers 2025/10/05 02:48:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:10 DEBUG : Looking for writers 2025/10/05 02:48:10 DEBUG : file1: reading active writers 2025/10/05 02:48:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:11 DEBUG : Looking for writers 2025/10/05 02:48:11 DEBUG : file1: reading active writers 2025/10/05 02:48:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:12 DEBUG : Looking for writers 2025/10/05 02:48:12 DEBUG : file1: reading active writers 2025/10/05 02:48:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:13 DEBUG : Looking for writers 2025/10/05 02:48:13 DEBUG : file1: reading active writers 2025/10/05 02:48:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:14 DEBUG : Looking for writers 2025/10/05 02:48:14 DEBUG : file1: reading active writers 2025/10/05 02:48:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:15 DEBUG : Looking for writers 2025/10/05 02:48:15 DEBUG : file1: reading active writers 2025/10/05 02:48:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:16 DEBUG : Looking for writers 2025/10/05 02:48:16 DEBUG : file1: reading active writers 2025/10/05 02:48:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:17 DEBUG : Looking for writers 2025/10/05 02:48:17 DEBUG : file1: reading active writers 2025/10/05 02:48:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:18 DEBUG : Looking for writers 2025/10/05 02:48:18 DEBUG : file1: reading active writers 2025/10/05 02:48:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:19 DEBUG : Looking for writers 2025/10/05 02:48:19 DEBUG : file1: reading active writers 2025/10/05 02:48:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:20 DEBUG : Looking for writers 2025/10/05 02:48:20 DEBUG : file1: reading active writers 2025/10/05 02:48:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:21 DEBUG : Looking for writers 2025/10/05 02:48:21 DEBUG : file1: reading active writers 2025/10/05 02:48:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:22 DEBUG : Looking for writers 2025/10/05 02:48:22 DEBUG : file1: reading active writers 2025/10/05 02:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:23 DEBUG : Looking for writers 2025/10/05 02:48:23 DEBUG : file1: reading active writers 2025/10/05 02:48:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:24 DEBUG : Looking for writers 2025/10/05 02:48:24 DEBUG : file1: reading active writers 2025/10/05 02:48:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:25 DEBUG : Looking for writers 2025/10/05 02:48:25 DEBUG : file1: reading active writers 2025/10/05 02:48:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:26 DEBUG : Looking for writers 2025/10/05 02:48:26 DEBUG : file1: reading active writers 2025/10/05 02:48:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:27 DEBUG : Looking for writers 2025/10/05 02:48:27 DEBUG : file1: reading active writers 2025/10/05 02:48:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:28 DEBUG : Looking for writers 2025/10/05 02:48:28 DEBUG : file1: reading active writers 2025/10/05 02:48:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:29 DEBUG : Looking for writers 2025/10/05 02:48:29 DEBUG : file1: reading active writers 2025/10/05 02:48:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:30 DEBUG : Looking for writers 2025/10/05 02:48:30 DEBUG : file1: reading active writers 2025/10/05 02:48:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:31 DEBUG : Looking for writers 2025/10/05 02:48:31 DEBUG : file1: reading active writers 2025/10/05 02:48:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:32 DEBUG : Looking for writers 2025/10/05 02:48:32 DEBUG : file1: reading active writers 2025/10/05 02:48:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:33 DEBUG : Looking for writers 2025/10/05 02:48:33 DEBUG : file1: reading active writers 2025/10/05 02:48:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:34 DEBUG : Looking for writers 2025/10/05 02:48:34 DEBUG : file1: reading active writers 2025/10/05 02:48:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:35 DEBUG : Looking for writers 2025/10/05 02:48:35 DEBUG : file1: reading active writers 2025/10/05 02:48:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:48:36 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0009a8b40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0001e9408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635724864} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992847552196544686 ext:586625968974 loc:0x4132400} ATime:{wall:13992847552196573441 ext:586625997717 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 02:48:36 DEBUG : >WaitForWriters: 2025/10/05 02:48:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteAt (417.69s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:50:33 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:50:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:50:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:50:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:50:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:50:33 DEBUG : Config file has changed externally - reloading 2025/10/05 02:50:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:50:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:50:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:50:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:50:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:50:33 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 02:50:33 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:50:34 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 02:50:34 DEBUG : file1: newRWFileHandle: 2025/10/05 02:50:34 DEBUG : file1(0xc000648700): openPending: 2025/10/05 02:50:34 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 02:50:34 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 02:50:34 DEBUG : file1(0xc000648700): >openPending: err= 2025/10/05 02:50:34 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 02:50:34 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 02:50:34 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 02:50:34 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 02:50:34 DEBUG : file1(0xc000648700): close: 2025/10/05 02:50:34 DEBUG : file1: vfs cache: setting modification time to 2025-10-05 02:50:34.246486801 +0000 UTC m=+1004.321000870 2025/10/05 02:50:34 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/05 02:50:34 DEBUG : file1(0xc000648700): >close: err= 2025/10/05 02:50:34 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/05 02:50:34 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/05 02:50:34 DEBUG : file2: newRWFileHandle: 2025/10/05 02:50:34 DEBUG : file2(0xc000648c00): openPending: 2025/10/05 02:50:34 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 02:50:34 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/05 02:50:34 DEBUG : file2(0xc000648c00): >openPending: err= 2025/10/05 02:50:34 DEBUG : file2: >newRWFileHandle: err= 2025/10/05 02:50:34 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/05 02:50:34 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/05 02:50:34 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/05 02:50:34 DEBUG : file2(0xc000648c00): RWFileHandle.Flush 2025/10/05 02:50:34 DEBUG : file2(0xc000648c00): RWFileHandle.Release 2025/10/05 02:50:34 DEBUG : file2(0xc000648c00): close: 2025/10/05 02:50:34 DEBUG : file2: vfs cache: setting modification time to 2025-10-05 02:50:34.248071885 +0000 UTC m=+1004.322585964 2025/10/05 02:50:34 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/05 02:50:34 DEBUG : file2(0xc000648c00): >close: err= 2025/10/05 02:50:34 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:50:34 DEBUG : Looking for writers 2025/10/05 02:50:34 DEBUG : file1: reading active writers 2025/10/05 02:50:34 DEBUG : file2: reading active writers 2025/10/05 02:50:34 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/05 02:50:34 DEBUG : Looking for writers 2025/10/05 02:50:34 DEBUG : file1: reading active writers 2025/10/05 02:50:34 DEBUG : file2: reading active writers 2025/10/05 02:50:34 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/05 02:50:34 DEBUG : Looking for writers 2025/10/05 02:50:34 DEBUG : file1: reading active writers 2025/10/05 02:50:34 DEBUG : file2: reading active writers 2025/10/05 02:50:34 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/05 02:50:34 DEBUG : Looking for writers 2025/10/05 02:50:34 DEBUG : file1: reading active writers 2025/10/05 02:50:34 DEBUG : file2: reading active writers 2025/10/05 02:50:34 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/05 02:50:34 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:50:34 DEBUG : file2: vfs cache: starting upload 2025/10/05 02:50:34 DEBUG : Looking for writers 2025/10/05 02:50:34 DEBUG : file1: reading active writers 2025/10/05 02:50:34 DEBUG : file2: reading active writers 2025/10/05 02:50:34 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/05 02:50:34 DEBUG : Looking for writers 2025/10/05 02:50:34 DEBUG : file1: reading active writers 2025/10/05 02:50:34 DEBUG : file2: reading active writers 2025/10/05 02:50:34 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/05 02:50:34 DEBUG : Looking for writers 2025/10/05 02:50:34 DEBUG : file1: reading active writers 2025/10/05 02:50:34 DEBUG : file2: reading active writers 2025/10/05 02:50:34 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/10/05 02:50:35 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/05 02:50:35 INFO : file2: Copied (new) 2025/10/05 02:50:35 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-05 02:50:34.248071885 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/05 02:50:35 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/05 02:50:35 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/05 02:50:35 INFO : file2: vfs cache: upload succeeded try #1 2025/10/05 02:50:35.209879 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 02:50:35.209956 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 02:50:35 DEBUG : Looking for writers 2025/10/05 02:50:35 DEBUG : file2: reading active writers 2025/10/05 02:50:35 DEBUG : file1: reading active writers 2025/10/05 02:50:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:36 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 02:50:36 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 02:50:36 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:50:36 DEBUG : Looking for writers 2025/10/05 02:50:36 DEBUG : file1: reading active writers 2025/10/05 02:50:36 DEBUG : file2: reading active writers 2025/10/05 02:50:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:37.224271 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 02:50:37.224343 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 02:50:37 DEBUG : Looking for writers 2025/10/05 02:50:37 DEBUG : file1: reading active writers 2025/10/05 02:50:37 DEBUG : file2: reading active writers 2025/10/05 02:50:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:38 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:50:38 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 02:50:38 DEBUG : Looking for writers 2025/10/05 02:50:38 DEBUG : file1: reading active writers 2025/10/05 02:50:38 DEBUG : file2: reading active writers 2025/10/05 02:50:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:38 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:50:39 DEBUG : Looking for writers 2025/10/05 02:50:39 DEBUG : file1: reading active writers 2025/10/05 02:50:39 DEBUG : file2: reading active writers 2025/10/05 02:50:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:39.591296 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 02:50:39.591328 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 02:50:40 DEBUG : Looking for writers 2025/10/05 02:50:40 DEBUG : file1: reading active writers 2025/10/05 02:50:40 DEBUG : file2: reading active writers 2025/10/05 02:50:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50: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 02:50:40 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 02:50:41 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:50:41 DEBUG : Looking for writers 2025/10/05 02:50:41 DEBUG : file1: reading active writers 2025/10/05 02:50:41 DEBUG : file2: reading active writers 2025/10/05 02:50:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:42.321517 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 02:50:42.321549 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 02:50:42 DEBUG : Looking for writers 2025/10/05 02:50:42 DEBUG : file1: reading active writers 2025/10/05 02:50:42 DEBUG : file2: reading active writers 2025/10/05 02:50:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:43 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:50:43 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 02:50:43 DEBUG : Looking for writers 2025/10/05 02:50:43 DEBUG : file1: reading active writers 2025/10/05 02:50:43 DEBUG : file2: reading active writers 2025/10/05 02:50:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:44 DEBUG : Looking for writers 2025/10/05 02:50:44 DEBUG : file1: reading active writers 2025/10/05 02:50:44 DEBUG : file2: reading active writers 2025/10/05 02:50:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:45 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:50:45 DEBUG : Looking for writers 2025/10/05 02:50:45 DEBUG : file1: reading active writers 2025/10/05 02:50:45 DEBUG : file2: reading active writers 2025/10/05 02:50:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:45.891954 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 02:50:45.892007 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 02:50:46 DEBUG : Looking for writers 2025/10/05 02:50:46 DEBUG : file1: reading active writers 2025/10/05 02:50:46 DEBUG : file2: reading active writers 2025/10/05 02:50:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:46 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:50:46 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 02:50:47 DEBUG : Looking for writers 2025/10/05 02:50:47 DEBUG : file1: reading active writers 2025/10/05 02:50:47 DEBUG : file2: reading active writers 2025/10/05 02:50:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:48 DEBUG : Looking for writers 2025/10/05 02:50:48 DEBUG : file1: reading active writers 2025/10/05 02:50:48 DEBUG : file2: reading active writers 2025/10/05 02:50:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:49 DEBUG : Looking for writers 2025/10/05 02:50:49 DEBUG : file2: reading active writers 2025/10/05 02:50:49 DEBUG : file1: reading active writers 2025/10/05 02:50:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:50 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:50:50 DEBUG : Looking for writers 2025/10/05 02:50:50 DEBUG : file1: reading active writers 2025/10/05 02:50:50 DEBUG : file2: reading active writers 2025/10/05 02:50:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:50.986804 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 02:50:50.986838 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 02:50:51 DEBUG : Looking for writers 2025/10/05 02:50:51 DEBUG : file1: reading active writers 2025/10/05 02:50:51 DEBUG : file2: reading active writers 2025/10/05 02:50:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:52 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:50:52 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:50:52 DEBUG : Looking for writers 2025/10/05 02:50:52 DEBUG : file1: reading active writers 2025/10/05 02:50:52 DEBUG : file2: reading active writers 2025/10/05 02:50:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:53 DEBUG : Looking for writers 2025/10/05 02:50:53 DEBUG : file1: reading active writers 2025/10/05 02:50:53 DEBUG : file2: reading active writers 2025/10/05 02:50:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:54 DEBUG : Looking for writers 2025/10/05 02:50:54 DEBUG : file1: reading active writers 2025/10/05 02:50:54 DEBUG : file2: reading active writers 2025/10/05 02:50:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:55 DEBUG : Looking for writers 2025/10/05 02:50:55 DEBUG : file1: reading active writers 2025/10/05 02:50:55 DEBUG : file2: reading active writers 2025/10/05 02:50:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:56 DEBUG : Looking for writers 2025/10/05 02:50:56 DEBUG : file2: reading active writers 2025/10/05 02:50:56 DEBUG : file1: reading active writers 2025/10/05 02:50:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:57 DEBUG : Looking for writers 2025/10/05 02:50:57 DEBUG : file1: reading active writers 2025/10/05 02:50:57 DEBUG : file2: reading active writers 2025/10/05 02:50:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:58 DEBUG : Looking for writers 2025/10/05 02:50:58 DEBUG : file1: reading active writers 2025/10/05 02:50:58 DEBUG : file2: reading active writers 2025/10/05 02:50:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:50:58 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:50:59.475102 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 02:50:59.475131 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 02:50:59 DEBUG : Looking for writers 2025/10/05 02:50:59 DEBUG : file1: reading active writers 2025/10/05 02:50:59 DEBUG : file2: reading active writers 2025/10/05 02:50:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:51: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 02:51:00 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:51:00 DEBUG : Looking for writers 2025/10/05 02:51:00 DEBUG : file1: reading active writers 2025/10/05 02:51:00 DEBUG : file2: reading active writers 2025/10/05 02:51:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:51:01 DEBUG : Looking for writers 2025/10/05 02:51:01 DEBUG : file1: reading active writers 2025/10/05 02:51:01 DEBUG : file2: reading active writers 2025/10/05 02:51:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:51:02 DEBUG : Looking for writers 2025/10/05 02:51:02 DEBUG : file1: reading active writers 2025/10/05 02:51:02 DEBUG : file2: reading active writers 2025/10/05 02:51:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:51:03 DEBUG : Looking for writers 2025/10/05 02:51:03 DEBUG : file1: reading active writers 2025/10/05 02:51:03 DEBUG : file2: reading active writers 2025/10/05 02:51:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:51:04 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000241c20 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00a8d0808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824810735680} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992848000715659025 ext:1004321000870 loc:0x4132400} ATime:{wall:13992848000716026684 ext:1004321368539 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000241c20 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00a8d0908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824810735936} name:file2 opens:0 downloaders: o:0xc000700640 fd: info:{ModTime:{wall:13992848000717244109 ext:1004322585964 loc:0x4132400} ATime:{wall:13992848000717535445 ext:1004322877300 loc:0x4132400} Size:0 Rs:[] Fingerprint:0,2025-10-05 02:50:34.248071885 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 02:51:04 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 02:51:13 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:51:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:51:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 02:51:33 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/05 02:52:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:52:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 02:52:33 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': 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 02:53:03.190954 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 02:53:03.190988 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 02:53:04 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 02:53:04 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 02:53:29 DEBUG : file1: vfs cache: starting upload 2025/10/05 02:53:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:53:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 02:53:33 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/05 02:53:36 DEBUG : forgetting directory cache 2025/10/05 02:54:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:54:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 02:54:33 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/05 02:55:02.694613 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 02:55:02.694645 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 02:55: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 02:55:03 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got file2 (0) fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteNoWrite Messages: 1 objects not found 2025/10/05 02:55:06 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:55:06 DEBUG : Looking for writers 2025/10/05 02:55:06 DEBUG : file1: reading active writers 2025/10/05 02:55:06 DEBUG : file2: reading active writers 2025/10/05 02:55:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 02:55:06 DEBUG : Looking for writers 2025/10/05 02:55:06 DEBUG : file1: reading active writers 2025/10/05 02:55:06 DEBUG : file2: reading active writers 2025/10/05 02:55:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 02:55:06 DEBUG : Looking for writers 2025/10/05 02:55:06 DEBUG : file1: reading active writers 2025/10/05 02:55:06 DEBUG : file2: reading active writers 2025/10/05 02:55:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 02:55:06 DEBUG : Looking for writers 2025/10/05 02:55:06 DEBUG : file1: reading active writers 2025/10/05 02:55:06 DEBUG : file2: reading active writers 2025/10/05 02:55:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 02:55:06 DEBUG : Looking for writers 2025/10/05 02:55:06 DEBUG : file1: reading active writers 2025/10/05 02:55:06 DEBUG : file2: reading active writers 2025/10/05 02:55:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 02:55:06 DEBUG : Looking for writers 2025/10/05 02:55:06 DEBUG : file1: reading active writers 2025/10/05 02:55:06 DEBUG : file2: reading active writers 2025/10/05 02:55:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 02:55:06 DEBUG : Looking for writers 2025/10/05 02:55:06 DEBUG : file1: reading active writers 2025/10/05 02:55:06 DEBUG : file2: reading active writers 2025/10/05 02:55:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 02:55:07 DEBUG : Looking for writers 2025/10/05 02:55:07 DEBUG : file1: reading active writers 2025/10/05 02:55:07 DEBUG : file2: reading active writers 2025/10/05 02:55:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:08 DEBUG : Looking for writers 2025/10/05 02:55:08 DEBUG : file1: reading active writers 2025/10/05 02:55:08 DEBUG : file2: reading active writers 2025/10/05 02:55:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:09 DEBUG : Looking for writers 2025/10/05 02:55:09 DEBUG : file1: reading active writers 2025/10/05 02:55:09 DEBUG : file2: reading active writers 2025/10/05 02:55:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:10 DEBUG : Looking for writers 2025/10/05 02:55:10 DEBUG : file2: reading active writers 2025/10/05 02:55:10 DEBUG : file1: reading active writers 2025/10/05 02:55:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:11 DEBUG : Looking for writers 2025/10/05 02:55:11 DEBUG : file1: reading active writers 2025/10/05 02:55:11 DEBUG : file2: reading active writers 2025/10/05 02:55:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:12 DEBUG : Looking for writers 2025/10/05 02:55:12 DEBUG : file2: reading active writers 2025/10/05 02:55:12 DEBUG : file1: reading active writers 2025/10/05 02:55:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:13 DEBUG : Looking for writers 2025/10/05 02:55:13 DEBUG : file1: reading active writers 2025/10/05 02:55:13 DEBUG : file2: reading active writers 2025/10/05 02:55:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:14 DEBUG : Looking for writers 2025/10/05 02:55:14 DEBUG : file2: reading active writers 2025/10/05 02:55:14 DEBUG : file1: reading active writers 2025/10/05 02:55:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:15 DEBUG : Looking for writers 2025/10/05 02:55:15 DEBUG : file1: reading active writers 2025/10/05 02:55:15 DEBUG : file2: reading active writers 2025/10/05 02:55:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:16 DEBUG : Looking for writers 2025/10/05 02:55:16 DEBUG : file1: reading active writers 2025/10/05 02:55:16 DEBUG : file2: reading active writers 2025/10/05 02:55:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:17 DEBUG : Looking for writers 2025/10/05 02:55:17 DEBUG : file1: reading active writers 2025/10/05 02:55:17 DEBUG : file2: reading active writers 2025/10/05 02:55:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:18 DEBUG : Looking for writers 2025/10/05 02:55:18 DEBUG : file1: reading active writers 2025/10/05 02:55:18 DEBUG : file2: reading active writers 2025/10/05 02:55:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:19 DEBUG : Looking for writers 2025/10/05 02:55:19 DEBUG : file1: reading active writers 2025/10/05 02:55:19 DEBUG : file2: reading active writers 2025/10/05 02:55:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:20 DEBUG : Looking for writers 2025/10/05 02:55:20 DEBUG : file1: reading active writers 2025/10/05 02:55:20 DEBUG : file2: reading active writers 2025/10/05 02:55:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:21 DEBUG : Looking for writers 2025/10/05 02:55:21 DEBUG : file1: reading active writers 2025/10/05 02:55:21 DEBUG : file2: reading active writers 2025/10/05 02:55:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:22 DEBUG : Looking for writers 2025/10/05 02:55:22 DEBUG : file1: reading active writers 2025/10/05 02:55:22 DEBUG : file2: reading active writers 2025/10/05 02:55:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:23 DEBUG : Looking for writers 2025/10/05 02:55:23 DEBUG : file1: reading active writers 2025/10/05 02:55:23 DEBUG : file2: reading active writers 2025/10/05 02:55:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:24 DEBUG : Looking for writers 2025/10/05 02:55:24 DEBUG : file1: reading active writers 2025/10/05 02:55:24 DEBUG : file2: reading active writers 2025/10/05 02:55:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:25 DEBUG : Looking for writers 2025/10/05 02:55:25 DEBUG : file1: reading active writers 2025/10/05 02:55:25 DEBUG : file2: reading active writers 2025/10/05 02:55:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:26 DEBUG : Looking for writers 2025/10/05 02:55:26 DEBUG : file1: reading active writers 2025/10/05 02:55:26 DEBUG : file2: reading active writers 2025/10/05 02:55:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:27 DEBUG : Looking for writers 2025/10/05 02:55:27 DEBUG : file1: reading active writers 2025/10/05 02:55:27 DEBUG : file2: reading active writers 2025/10/05 02:55:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:28 DEBUG : Looking for writers 2025/10/05 02:55:28 DEBUG : file1: reading active writers 2025/10/05 02:55:28 DEBUG : file2: reading active writers 2025/10/05 02:55:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:29 DEBUG : Looking for writers 2025/10/05 02:55:29 DEBUG : file2: reading active writers 2025/10/05 02:55:29 DEBUG : file1: reading active writers 2025/10/05 02:55:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:30 DEBUG : Looking for writers 2025/10/05 02:55:30 DEBUG : file1: reading active writers 2025/10/05 02:55:30 DEBUG : file2: reading active writers 2025/10/05 02:55:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:31 DEBUG : Looking for writers 2025/10/05 02:55:31 DEBUG : file1: reading active writers 2025/10/05 02:55:31 DEBUG : file2: reading active writers 2025/10/05 02:55:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:32 DEBUG : Looking for writers 2025/10/05 02:55:32 DEBUG : file1: reading active writers 2025/10/05 02:55:32 DEBUG : file2: reading active writers 2025/10/05 02:55:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:33 DEBUG : Looking for writers 2025/10/05 02:55:33 DEBUG : file2: reading active writers 2025/10/05 02:55:33 DEBUG : file1: reading active writers 2025/10/05 02:55:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 02:55:33 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 02:55:33 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 1, uploading 0, total size 0 (was 0) 2025/10/05 02:55:34 DEBUG : Looking for writers 2025/10/05 02:55:34 DEBUG : file1: reading active writers 2025/10/05 02:55:34 DEBUG : file2: reading active writers 2025/10/05 02:55:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:35 DEBUG : Looking for writers 2025/10/05 02:55:35 DEBUG : file1: reading active writers 2025/10/05 02:55:35 DEBUG : file2: reading active writers 2025/10/05 02:55:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:55:36 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000241c20 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00a8d0808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824810735680} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992848000715659025 ext:1004321000870 loc:0x4132400} ATime:{wall:13992848000716026684 ext:1004321368539 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000241c20 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00a8d0908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824810735936} name:file2 opens:0 downloaders: o:0xc000700640 fd: info:{ModTime:{wall:13992848000717244109 ext:1004322585964 loc:0x4132400} ATime:{wall:13992848000717535445 ext:1004322877300 loc:0x4132400} Size:0 Rs:[] Fingerprint:0,2025-10-05 02:50:34.248071885 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 02:55:36 DEBUG : >WaitForWriters: 2025/10/05 02:55:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting 2025/10/05 02:56:38 DEBUG : forgetting directory cache --- FAIL: TestRWFileHandleWriteNoWrite (422.29s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:57:36 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:57:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:57:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:36 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:36 DEBUG : Config file has changed externally - reloading 2025/10/05 02:57:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:57:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:36 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:57:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:36 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:57:38.455070 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:57:38.455107 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:57:38 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:57:38 DEBUG : Looking for writers 2025/10/05 02:57:38 DEBUG : >WaitForWriters: 2025/10/05 02:57:38 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (3.63s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:57:39 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:57:39 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:57:39 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:39 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:57:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:57:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:39 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:57:41.824389 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:57:41.824427 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:57:41 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:57:41 DEBUG : Looking for writers 2025/10/05 02:57:41 DEBUG : >WaitForWriters: 2025/10/05 02:57:41 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (3.41s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:57:43 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:57:43 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:57:43 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:43 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:57:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:57:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:57:43 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 02:57:43 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:57:43 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 02:57:43 DEBUG : file1: newRWFileHandle: 2025/10/05 02:57:43 DEBUG : file1(0xc006178040): openPending: 2025/10/05 02:57:43 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 02:57:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 02:57:43 DEBUG : file1(0xc006178040): >openPending: err= 2025/10/05 02:57:43 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 02:57:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 02:57:43 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 02:57:43 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 02:57:44.754956 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:57:44.754995 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:57:44 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:57:44 DEBUG : Looking for writers 2025/10/05 02:57:44 DEBUG : file1: reading active writers 2025/10/05 02:57:44 DEBUG : file1: active writers 1 2025/10/05 02:57:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/05 02:57:44 DEBUG : Looking for writers 2025/10/05 02:57:44 DEBUG : file1: reading active writers 2025/10/05 02:57:44 DEBUG : file1: active writers 1 2025/10/05 02:57:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/05 02:57:44 DEBUG : Looking for writers 2025/10/05 02:57:44 DEBUG : file1: reading active writers 2025/10/05 02:57:44 DEBUG : file1: active writers 1 2025/10/05 02:57:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/05 02:57:44 DEBUG : Looking for writers 2025/10/05 02:57:44 DEBUG : file1: reading active writers 2025/10/05 02:57:44 DEBUG : file1: active writers 1 2025/10/05 02:57:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/05 02:57:44 DEBUG : Looking for writers 2025/10/05 02:57:44 DEBUG : file1: reading active writers 2025/10/05 02:57:44 DEBUG : file1: active writers 1 2025/10/05 02:57:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/05 02:57:45 DEBUG : Looking for writers 2025/10/05 02:57:45 DEBUG : file1: reading active writers 2025/10/05 02:57:45 DEBUG : file1: active writers 1 2025/10/05 02:57:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/05 02:57:45 DEBUG : Looking for writers 2025/10/05 02:57:45 DEBUG : file1: reading active writers 2025/10/05 02:57:45 DEBUG : file1: active writers 1 2025/10/05 02:57:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/05 02:57:46 DEBUG : Looking for writers 2025/10/05 02:57:46 DEBUG : file1: reading active writers 2025/10/05 02:57:46 DEBUG : file1: active writers 1 2025/10/05 02:57:46 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:47 DEBUG : Looking for writers 2025/10/05 02:57:47 DEBUG : file1: reading active writers 2025/10/05 02:57:47 DEBUG : file1: active writers 1 2025/10/05 02:57:47 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:48 DEBUG : Looking for writers 2025/10/05 02:57:48 DEBUG : file1: reading active writers 2025/10/05 02:57:48 DEBUG : file1: active writers 1 2025/10/05 02:57:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:49 DEBUG : Looking for writers 2025/10/05 02:57:49 DEBUG : file1: reading active writers 2025/10/05 02:57:49 DEBUG : file1: active writers 1 2025/10/05 02:57:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:50 DEBUG : Looking for writers 2025/10/05 02:57:50 DEBUG : file1: reading active writers 2025/10/05 02:57:50 DEBUG : file1: active writers 1 2025/10/05 02:57:50 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:51 DEBUG : Looking for writers 2025/10/05 02:57:51 DEBUG : file1: reading active writers 2025/10/05 02:57:51 DEBUG : file1: active writers 1 2025/10/05 02:57:51 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:52 DEBUG : Looking for writers 2025/10/05 02:57:52 DEBUG : file1: reading active writers 2025/10/05 02:57:52 DEBUG : file1: active writers 1 2025/10/05 02:57:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:53 DEBUG : Looking for writers 2025/10/05 02:57:53 DEBUG : file1: reading active writers 2025/10/05 02:57:53 DEBUG : file1: active writers 1 2025/10/05 02:57:53 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:54 DEBUG : Looking for writers 2025/10/05 02:57:54 DEBUG : file1: reading active writers 2025/10/05 02:57:54 DEBUG : file1: active writers 1 2025/10/05 02:57:54 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:55 DEBUG : Looking for writers 2025/10/05 02:57:55 DEBUG : file1: reading active writers 2025/10/05 02:57:55 DEBUG : file1: active writers 1 2025/10/05 02:57:55 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:56 DEBUG : Looking for writers 2025/10/05 02:57:56 DEBUG : file1: reading active writers 2025/10/05 02:57:56 DEBUG : file1: active writers 1 2025/10/05 02:57:56 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:57 DEBUG : Looking for writers 2025/10/05 02:57:57 DEBUG : file1: reading active writers 2025/10/05 02:57:57 DEBUG : file1: active writers 1 2025/10/05 02:57:57 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:58 DEBUG : Looking for writers 2025/10/05 02:57:58 DEBUG : file1: reading active writers 2025/10/05 02:57:58 DEBUG : file1: active writers 1 2025/10/05 02:57:58 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:57:59 DEBUG : Looking for writers 2025/10/05 02:57:59 DEBUG : file1: reading active writers 2025/10/05 02:57:59 DEBUG : file1: active writers 1 2025/10/05 02:57:59 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:00 DEBUG : Looking for writers 2025/10/05 02:58:00 DEBUG : file1: reading active writers 2025/10/05 02:58:00 DEBUG : file1: active writers 1 2025/10/05 02:58:00 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:01 DEBUG : Looking for writers 2025/10/05 02:58:01 DEBUG : file1: reading active writers 2025/10/05 02:58:01 DEBUG : file1: active writers 1 2025/10/05 02:58:01 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:02 DEBUG : Looking for writers 2025/10/05 02:58:02 DEBUG : file1: reading active writers 2025/10/05 02:58:02 DEBUG : file1: active writers 1 2025/10/05 02:58:02 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:03 DEBUG : Looking for writers 2025/10/05 02:58:03 DEBUG : file1: reading active writers 2025/10/05 02:58:03 DEBUG : file1: active writers 1 2025/10/05 02:58:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:04 DEBUG : Looking for writers 2025/10/05 02:58:04 DEBUG : file1: reading active writers 2025/10/05 02:58:04 DEBUG : file1: active writers 1 2025/10/05 02:58:04 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:05 DEBUG : Looking for writers 2025/10/05 02:58:05 DEBUG : file1: reading active writers 2025/10/05 02:58:05 DEBUG : file1: active writers 1 2025/10/05 02:58:05 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:06 DEBUG : Looking for writers 2025/10/05 02:58:06 DEBUG : file1: reading active writers 2025/10/05 02:58:06 DEBUG : file1: active writers 1 2025/10/05 02:58:06 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:07 DEBUG : Looking for writers 2025/10/05 02:58:07 DEBUG : file1: reading active writers 2025/10/05 02:58:07 DEBUG : file1: active writers 1 2025/10/05 02:58:07 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:08 DEBUG : Looking for writers 2025/10/05 02:58:08 DEBUG : file1: reading active writers 2025/10/05 02:58:08 DEBUG : file1: active writers 1 2025/10/05 02:58:08 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:09 DEBUG : Looking for writers 2025/10/05 02:58:09 DEBUG : file1: reading active writers 2025/10/05 02:58:09 DEBUG : file1: active writers 1 2025/10/05 02:58:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:10 DEBUG : Looking for writers 2025/10/05 02:58:10 DEBUG : file1: reading active writers 2025/10/05 02:58:10 DEBUG : file1: active writers 1 2025/10/05 02:58:10 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:11 DEBUG : Looking for writers 2025/10/05 02:58:11 DEBUG : file1: reading active writers 2025/10/05 02:58:11 DEBUG : file1: active writers 1 2025/10/05 02:58:11 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:12 DEBUG : Looking for writers 2025/10/05 02:58:12 DEBUG : file1: reading active writers 2025/10/05 02:58:12 DEBUG : file1: active writers 1 2025/10/05 02:58:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:13 DEBUG : Looking for writers 2025/10/05 02:58:13 DEBUG : file1: reading active writers 2025/10/05 02:58:13 DEBUG : file1: active writers 1 2025/10/05 02:58:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:14 DEBUG : Looking for writers 2025/10/05 02:58:14 DEBUG : file1: reading active writers 2025/10/05 02:58:14 DEBUG : file1: active writers 1 2025/10/05 02:58:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 02:58:14 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a11590 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc005e7e708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824732804928} name:file1 opens:1 downloaders: o: fd:0xc00082c8c0 info:{ModTime:{wall:13992848461687644801 ext:1433657744160 loc:0x4132400} ATime:{wall:13992848461687644801 ext:1433657744160 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/05 02:58:14 DEBUG : >WaitForWriters: 2025/10/05 02:58:14 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (32.05s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:58:15 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:58:15 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 02:58:15 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:58:15 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:58:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:58:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:58:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:58:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:58:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 02:58:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-ranedeh2fumu" 2025/10/05 02:58:15 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 02:58:15 DEBUG : forgetting directory cache 2025/10/05 02:58:16.561846 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:58:16.561873 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:58:16 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:58:16 DEBUG : Looking for writers 2025/10/05 02:58:16 DEBUG : >WaitForWriters: 2025/10/05 02:58:16 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (1.79s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:58:18.233153 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:58:18.233191 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "FiLeA" to "proton drive root link ID 'rclone-test-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (1.69s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:58:19.996678 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:58:19.996745 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.76s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:58:20 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:58:20 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:58:21.508922 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 02:58:21.508954 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-ranedeh2fumu'": a draft exist - usually this means a file is being uploaded at 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 02:58:22 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:58:22 DEBUG : Looking for writers 2025/10/05 02:58:22 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (2.51s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:58:23 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:58:23 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:58:23.957263 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 02:58:23.957295 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-ranedeh2fumu'": a draft exist - usually this means a file is being uploaded at 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 02:58:25 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:58:25 DEBUG : Looking for writers 2025/10/05 02:58:25 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (2.45s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:58:25 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:58:25 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:58:26.408637 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 02:58:26.408694 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-ranedeh2fumu'": a draft exist - usually this means a file is being uploaded at 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 02:58:27 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:58:27 DEBUG : Looking for writers 2025/10/05 02:58:27 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (2.45s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:58:28 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:58:28 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:58:29.953521 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 02:58:29.953612 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 02:58:29 DEBUG : WaitForWriters: timeout=30s 2025/10/05 02:58:29 DEBUG : Looking for writers 2025/10/05 02:58:29 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (3.37s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 02:58:31 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 02:58:31 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 02:58:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 02:58:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 02:58:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 02:58:31 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 02:58:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 02:58:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 02:58:31 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/05 02:58:31 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/05 02:58:31 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/05 02:58:31 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': File to upload is small (5 bytes), uploading instead of streaming 2025/10/05 02:58:32.476318 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 02:58:32.476356 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 02:58: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 02:58:33 DEBUG : file1: Remove: 2025/10/05 02:58:33 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 02:58:33 DEBUG : file1: >Remove: err= write_test.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:144 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:153 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/05 03:00:34 DEBUG : forgetting directory cache 2025/10/05 03:00:34 DEBUG : Removed virtual directory entry vAddFile: "file2" fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want file1 (5) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleMethods Messages: 1 objects not found 2025/10/05 03:02:35 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:02:35 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:02:35 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:02:35 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:02:35 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:02:35 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:02:35 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': File to upload is small (0 bytes), uploading instead of streaming 2025/10/05 03:03:36.184071 WARN RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=131&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401), Attempt 1 2025/10/05 03:03:36.184105 ERROR RESTY 401 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=131&PageSize=150&ShowAll=1: Invalid access token (Code=401, Status=401) 2025/10/05 03:03:36 DEBUG : Saving config "client_uid" in section "TestProtonDrive" of the config file 2025/10/05 03:03:36 DEBUG : Config file has changed externally - reloading 2025/10/05 03:03:36 DEBUG : Saving config "client_access_token" in section "TestProtonDrive" of the config file 2025/10/05 03:03:36 DEBUG : Saving config "client_refresh_token" in section "TestProtonDrive" of the config file 2025/10/05 03:03:36 DEBUG : Saving config "client_salted_key_pass" in section "TestProtonDrive" of the config file 2025/10/05 03:03:36 DEBUG : forgetting directory cache 2025/10/05 03:04:30.577239 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:04:30.577298 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:04:31 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 03:04:31 DEBUG : file1: Remove: 2025/10/05 03:04:31 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:04:31 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 03:04:31 DEBUG : Re-reading directory (6m0.103995234s old) 2025/10/05 03:04: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 03:04:32 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:04:32 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:04:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:04:32 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:04:32 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:04: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 03:04:32 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:04:32 DEBUG : Looking for writers 2025/10/05 03:04:32 DEBUG : file1: reading active writers 2025/10/05 03:04:32 DEBUG : file1: active writers 1 2025/10/05 03:04:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/05 03:04:32 DEBUG : Looking for writers 2025/10/05 03:04:32 DEBUG : file1: reading active writers 2025/10/05 03:04:32 DEBUG : file1: active writers 1 2025/10/05 03:04:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/05 03:04:32 DEBUG : Looking for writers 2025/10/05 03:04:32 DEBUG : file1: reading active writers 2025/10/05 03:04:32 DEBUG : file1: active writers 1 2025/10/05 03:04:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/05 03:04:32 DEBUG : Looking for writers 2025/10/05 03:04:32 DEBUG : file1: reading active writers 2025/10/05 03:04:32 DEBUG : file1: active writers 1 2025/10/05 03:04:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/05 03:04:32 DEBUG : Looking for writers 2025/10/05 03:04:32 DEBUG : file1: reading active writers 2025/10/05 03:04:32 DEBUG : file1: active writers 1 2025/10/05 03:04:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/05 03:04:32 DEBUG : Looking for writers 2025/10/05 03:04:32 DEBUG : file1: reading active writers 2025/10/05 03:04:32 DEBUG : file1: active writers 1 2025/10/05 03:04:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/05 03:04:32 DEBUG : Looking for writers 2025/10/05 03:04:32 DEBUG : file1: reading active writers 2025/10/05 03:04:32 DEBUG : file1: active writers 1 2025/10/05 03:04:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/05 03:04:33 DEBUG : Looking for writers 2025/10/05 03:04:33 DEBUG : file1: reading active writers 2025/10/05 03:04:33 DEBUG : file1: active writers 1 2025/10/05 03:04:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:34 DEBUG : Looking for writers 2025/10/05 03:04:34 DEBUG : file1: reading active writers 2025/10/05 03:04:34 DEBUG : file1: active writers 1 2025/10/05 03:04:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:35 DEBUG : Looking for writers 2025/10/05 03:04:35 DEBUG : file1: reading active writers 2025/10/05 03:04:35 DEBUG : file1: active writers 1 2025/10/05 03:04:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:36 DEBUG : Looking for writers 2025/10/05 03:04:36 DEBUG : file1: reading active writers 2025/10/05 03:04:36 DEBUG : file1: active writers 1 2025/10/05 03:04:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:37 DEBUG : Looking for writers 2025/10/05 03:04:37 DEBUG : file1: reading active writers 2025/10/05 03:04:37 DEBUG : file1: active writers 1 2025/10/05 03:04:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:38 DEBUG : Looking for writers 2025/10/05 03:04:38 DEBUG : file1: reading active writers 2025/10/05 03:04:38 DEBUG : file1: active writers 1 2025/10/05 03:04:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:39 DEBUG : Looking for writers 2025/10/05 03:04:39 DEBUG : file1: reading active writers 2025/10/05 03:04:39 DEBUG : file1: active writers 1 2025/10/05 03:04:39 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:40 DEBUG : Looking for writers 2025/10/05 03:04:40 DEBUG : file1: reading active writers 2025/10/05 03:04:40 DEBUG : file1: active writers 1 2025/10/05 03:04:40 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:41 DEBUG : Looking for writers 2025/10/05 03:04:41 DEBUG : file1: reading active writers 2025/10/05 03:04:41 DEBUG : file1: active writers 1 2025/10/05 03:04:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:42 DEBUG : Looking for writers 2025/10/05 03:04:42 DEBUG : file1: reading active writers 2025/10/05 03:04:42 DEBUG : file1: active writers 1 2025/10/05 03:04:42 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:43 DEBUG : Looking for writers 2025/10/05 03:04:43 DEBUG : file1: reading active writers 2025/10/05 03:04:43 DEBUG : file1: active writers 1 2025/10/05 03:04:43 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:44 DEBUG : Looking for writers 2025/10/05 03:04:44 DEBUG : file1: reading active writers 2025/10/05 03:04:44 DEBUG : file1: active writers 1 2025/10/05 03:04:44 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:45 DEBUG : Looking for writers 2025/10/05 03:04:45 DEBUG : file1: reading active writers 2025/10/05 03:04:45 DEBUG : file1: active writers 1 2025/10/05 03:04:45 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:46 DEBUG : Looking for writers 2025/10/05 03:04:46 DEBUG : file1: reading active writers 2025/10/05 03:04:46 DEBUG : file1: active writers 1 2025/10/05 03:04:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:47 DEBUG : Looking for writers 2025/10/05 03:04:47 DEBUG : file1: reading active writers 2025/10/05 03:04:47 DEBUG : file1: active writers 1 2025/10/05 03:04:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:48 DEBUG : Looking for writers 2025/10/05 03:04:48 DEBUG : file1: reading active writers 2025/10/05 03:04:48 DEBUG : file1: active writers 1 2025/10/05 03:04:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:49 DEBUG : Looking for writers 2025/10/05 03:04:49 DEBUG : file1: reading active writers 2025/10/05 03:04:49 DEBUG : file1: active writers 1 2025/10/05 03:04:49 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:50 DEBUG : Looking for writers 2025/10/05 03:04:50 DEBUG : file1: reading active writers 2025/10/05 03:04:50 DEBUG : file1: active writers 1 2025/10/05 03:04:50 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:51 DEBUG : Looking for writers 2025/10/05 03:04:51 DEBUG : file1: reading active writers 2025/10/05 03:04:51 DEBUG : file1: active writers 1 2025/10/05 03:04:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:52 DEBUG : Looking for writers 2025/10/05 03:04:52 DEBUG : file1: reading active writers 2025/10/05 03:04:52 DEBUG : file1: active writers 1 2025/10/05 03:04:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:53 DEBUG : Looking for writers 2025/10/05 03:04:53 DEBUG : file1: reading active writers 2025/10/05 03:04:53 DEBUG : file1: active writers 1 2025/10/05 03:04:53 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:54 DEBUG : Looking for writers 2025/10/05 03:04:54 DEBUG : file1: reading active writers 2025/10/05 03:04:54 DEBUG : file1: active writers 1 2025/10/05 03:04:54 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:55 DEBUG : Looking for writers 2025/10/05 03:04:55 DEBUG : file1: reading active writers 2025/10/05 03:04:55 DEBUG : file1: active writers 1 2025/10/05 03:04:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:56 DEBUG : Looking for writers 2025/10/05 03:04:56 DEBUG : file1: reading active writers 2025/10/05 03:04:56 DEBUG : file1: active writers 1 2025/10/05 03:04:56 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:57 DEBUG : Looking for writers 2025/10/05 03:04:57 DEBUG : file1: reading active writers 2025/10/05 03:04:57 DEBUG : file1: active writers 1 2025/10/05 03:04:57 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:58 DEBUG : Looking for writers 2025/10/05 03:04:58 DEBUG : file1: reading active writers 2025/10/05 03:04:58 DEBUG : file1: active writers 1 2025/10/05 03:04:58 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:04:59 DEBUG : Looking for writers 2025/10/05 03:04:59 DEBUG : file1: reading active writers 2025/10/05 03:04:59 DEBUG : file1: active writers 1 2025/10/05 03:04:59 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:05:00 DEBUG : Looking for writers 2025/10/05 03:05:00 DEBUG : file1: reading active writers 2025/10/05 03:05:00 DEBUG : file1: active writers 1 2025/10/05 03:05:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:05:01 DEBUG : Looking for writers 2025/10/05 03:05:01 DEBUG : file1: reading active writers 2025/10/05 03:05:01 DEBUG : file1: active writers 1 2025/10/05 03:05:01 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:05:02 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/05 03:05:02 DEBUG : >WaitForWriters: 2025/10/05 03:05:02.834528 WARN RESTY 429 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/NaOU6lTr00CsO_t1-r3I3l5FcMOtItB4FCCU08MwEbvi9kt0JuCpzdx53Qjtx5DGFvqHcaMWL3dNUBGglsEnQw==/children?Page=1&PageSize=150&ShowAll=1: Too many recent API requests (Code=429, Status=429), Attempt 1 time="2025-10-05T03:05:02Z" level=warning msg="Too many requests, retrying after delay" after=34 method=GET pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/NaOU6lTr00CsO_t1-r3I3l5FcMOtItB4FCCU08MwEbvi9kt0JuCpzdx53Qjtx5DGFvqHcaMWL3dNUBGglsEnQw==/children?Page=1&PageSize=150&ShowAll=1" --- FAIL: TestWriteFileHandleMethods (425.61s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 03:05:36 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 03:05:36 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:05:36 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:05:37 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:05:37 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:05:37 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:05:37 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:05:37 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:05:37 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/05 03:05:38 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/05 03:05:38 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/05 03:05:38 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/05 03:05:38 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': File to upload is small (11 bytes), uploading instead of streaming 2025/10/05 03:05:38.927889 WARN RESTY 429 GET https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/NaOU6lTr00CsO_t1-r3I3l5FcMOtItB4FCCU08MwEbvi9kt0JuCpzdx53Qjtx5DGFvqHcaMWL3dNUBGglsEnQw==/children?Page=1&PageSize=150&ShowAll=1: Too many recent API requests (Code=429, Status=429), Attempt 1 time="2025-10-05T03:05:38Z" level=warning msg="Too many requests, retrying after delay" after=37 method=GET pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/NaOU6lTr00CsO_t1-r3I3l5FcMOtItB4FCCU08MwEbvi9kt0JuCpzdx53Qjtx5DGFvqHcaMWL3dNUBGglsEnQw==/children?Page=1&PageSize=150&ShowAll=1" 2025/10/05 03:06:16.408883 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:06:16.408912 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:06:17 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 03:06:17 DEBUG : file1: Remove: 2025/10/05 03:06:17 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:06:17 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 03:06:17 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 03:06:38 DEBUG : forgetting directory cache 2025/10/05 03:07:36 DEBUG : forgetting directory cache 2025/10/05 03:07:39 DEBUG : forgetting directory cache 2025/10/05 03:07:43 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 03:08:20 DEBUG : forgetting directory cache 2025/10/05 03:08:23 DEBUG : forgetting directory cache 2025/10/05 03:08:25 DEBUG : forgetting directory cache 2025/10/05 03:08:28 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 03:10:05 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:10:05 DEBUG : Looking for writers 2025/10/05 03:10:05 DEBUG : >WaitForWriters: 2025/10/05 03:10:34 DEBUG : forgetting directory cache --- FAIL: TestWriteFileHandleWriteAt (380.66s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 03:11:57 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 03:11:57 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:11:57 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:11:57 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:11:57 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:11:57 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:11:57 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:11:57 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/05 03:11:57 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:11:57 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': File to upload is small (5 bytes), uploading instead of streaming 2025/10/05 03:11:58.833410 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:11:58.833439 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:11:59 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 03:11:59 DEBUG : file1: Remove: 2025/10/05 03:11:59 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:11:59 DEBUG : file1: >Remove: err= 2025/10/05 03:11:59 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 03:11:59 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 03:11:59 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:11:59 DEBUG : Looking for writers 2025/10/05 03:11:59 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (2.79s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 03:12:00 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 03:12:00 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:00 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:12:00 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:12:00 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:12:00 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:12:00 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:12:00 DEBUG : file1: WriteFileHandle.Release closing 2025/10/05 03:12:00 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:12:00 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': File to upload is small (0 bytes), uploading instead of streaming 2025/10/05 03:12:01.621518 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:12:01.621547 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:12:02 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:12:02 DEBUG : file1: Remove: 2025/10/05 03:12:02 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:12:02 DEBUG : file1: >Remove: err= 2025/10/05 03:12:02 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 03:12:02 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/05 03:12:02 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:02 DEBUG : Looking for writers 2025/10/05 03:12:02 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (2.84s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 03:12:03 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 03:12:03 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:12:03 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:12:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:12:03 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:12:03 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:12:03 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:12:03 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': File to upload is small (2 bytes), uploading instead of streaming 2025/10/05 03:12:04.457858 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:12:04.457890 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:12:05 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:12:05 DEBUG : file1: Remove: 2025/10/05 03:12:05 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:12:05 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 03:12:05 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:05 DEBUG : Looking for writers 2025/10/05 03:12:05 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (2.91s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 03:12:06 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 03:12:06 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:06 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:12:06 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:12:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:12:06 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:12:06 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:12:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:12:06 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': File to upload is small (0 bytes), uploading instead of streaming 2025/10/05 03:12:07.276613 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:12:07.276655 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:12:08 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:12:08 DEBUG : file1: Remove: 2025/10/05 03:12:08 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:12:08 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 03:12:08 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/05 03:12:08 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 03:12:08 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:08 DEBUG : Looking for writers 2025/10/05 03:12:08 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (2.68s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 03:12:08 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 03:12:08 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:08 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:12:09 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:12:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:12:09 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:12:09 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:12:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:12:09 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': File to upload is small (100 bytes), uploading instead of streaming 2025/10/05 03:12:09.990943 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:12:09.990978 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:12:11 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 03:12:11 DEBUG : file1: Remove: 2025/10/05 03:12:11 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:12:11 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 03:12:11 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/05 03:12:11 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 03:12:11 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:11 DEBUG : Looking for writers 2025/10/05 03:12:11 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (2.70s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 03:12:11 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 03:12:11 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:13.931956 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:13.931996 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:13 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:13 DEBUG : Looking for writers 2025/10/05 03:12:13 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (3.83s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 03:12:15 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 03:12:15 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:17.461230 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:17.461255 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "a/top.txt" to "proton drive root link ID 'rclone-test-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:17 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:17 DEBUG : Looking for writers 2025/10/05 03:12:17 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (3.64s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 03:12:19 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 03:12:19 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:21.606346 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:21.606384 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-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:21 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:21 DEBUG : Looking for writers 2025/10/05 03:12:21 DEBUG : >WaitForWriters: 2025/10/05 03:12:21.659563 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:21.659601 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (4.10s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-ranedeh2fumu'", Local "Local file system at /tmp/rclone1049504658", Modify Window "1s" 2025/10/05 03:12:23 INFO : proton drive root link ID 'rclone-test-ranedeh2fumu': poll-interval is not supported by this remote 2025/10/05 03:12:23 NOTICE: proton drive root link ID 'rclone-test-ranedeh2fumu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:25.069132 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:25.069159 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir1/a.txt" to "proton drive root link ID 'rclone-test-ranedeh2fumu'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:25 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:25 DEBUG : Looking for writers 2025/10/05 03:12:25 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (3.37s) FAIL 2025/10/05 03:12:26 DEBUG : proton drive root link ID 'rclone-test-ranedeh2fumu': 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 38m37.18214426s (try 2/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]