"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseSensitivity|TestDirCreate|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMetadataExtension|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSOpenFile|TestVFSRename|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$'" - Starting (try 5/5) 2025/10/02 03:27:02 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-jevixom2hixi" 2025/10/02 03:27:02 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/02 03:27:02 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': Has cached credentials 2025/10/02 03:27:04 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': Used cached credential to initialize the ProtonDrive API 2025/10/02 03:27:05 DEBUG : Creating backend with remote "/tmp/rclone2532585471" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:05 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:05 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:08.028209 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:08.028245 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:08 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:08 DEBUG : Looking for writers 2025/10/02 03:27:08 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (4.38s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:09 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:09 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:11.262438 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:11.262473 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:11 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:11 DEBUG : Looking for writers 2025/10/02 03:27:11 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (3.23s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:12 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:12 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:14.525459 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:14.525488 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:14 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:14 DEBUG : Looking for writers 2025/10/02 03:27:14 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (3.20s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:15 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:15 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:17.779462 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:17.779485 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:17 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:17 DEBUG : Looking for writers 2025/10/02 03:27:17 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (3.34s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:19 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:19 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:21.118308 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:21.118338 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:21 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:21 DEBUG : Looking for writers 2025/10/02 03:27:21 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (3.38s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:22 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:22 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:24.458963 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:24.459006 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:24 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:24 DEBUG : Looking for writers 2025/10/02 03:27:24 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (3.36s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:25 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:25 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:27.795873 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:27.795911 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:27 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:27 DEBUG : Looking for writers 2025/10/02 03:27:27 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (3.20s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:29 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:29 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:31.091137 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:31.091164 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:31 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:31 DEBUG : Looking for writers 2025/10/02 03:27:31 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (3.34s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:32 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:32 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:34.486474 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:34.486511 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:34 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:34 DEBUG : Looking for writers 2025/10/02 03:27:34 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (3.49s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:35 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:35 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:37.871508 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:37.871544 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:37 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:37 DEBUG : Looking for writers 2025/10/02 03:27:37 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (3.31s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:39 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:39 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:41.172595 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:41.172621 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:41 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:41 DEBUG : Looking for writers 2025/10/02 03:27:41 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (3.34s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:42 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:42 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:44.539738 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:44.539759 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:44 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:44 DEBUG : Looking for writers 2025/10/02 03:27:44 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (3.37s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:45 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:45 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:48.004435 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:48.004466 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:48 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:48 DEBUG : Looking for writers 2025/10/02 03:27:48 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (3.46s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:49 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:49 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:51.284186 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:51.284212 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:51 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:51 DEBUG : Looking for writers 2025/10/02 03:27:51 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (3.28s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:52 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:52 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:54.679518 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:54.679545 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:54 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:54 DEBUG : Looking for writers 2025/10/02 03:27:54 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (3.35s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:56 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:56 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:27:58.025222 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:27:58.025261 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:27:58 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:27:58 DEBUG : Looking for writers 2025/10/02 03:27:58 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (3.36s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:27:59 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:27:59 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:01.405438 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:01.405470 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:01 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:01 DEBUG : Looking for writers 2025/10/02 03:28:01 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (3.49s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:02 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:02 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:04.893902 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:04.893924 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:04 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:04 DEBUG : Looking for writers 2025/10/02 03:28:04 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (3.41s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:06 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:06 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:08.258578 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:08.258613 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:08 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:08 DEBUG : Looking for writers 2025/10/02 03:28:08 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (3.30s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:09 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:09 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:11.475753 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:11.475779 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:11 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:11 DEBUG : Looking for writers 2025/10/02 03:28:11 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (3.32s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:12 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:12 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:14.838895 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:14.838941 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:14 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:14 DEBUG : Looking for writers 2025/10/02 03:28:14 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (3.31s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:16 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:16 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:18.379968 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:18.380016 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:18 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:18 DEBUG : Looking for writers 2025/10/02 03:28:18 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:19 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:19 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:21.707072 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:21.707107 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:21 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:21 DEBUG : Looking for writers 2025/10/02 03:28:21 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:23 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:23 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:25.097753 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:25.097802 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:25 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:25 DEBUG : Looking for writers 2025/10/02 03:28:25 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:26 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:26 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:28:26 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:26 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:26 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:28:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:26 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:26 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:28:26 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:26 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:28:28.447971 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:28.448003 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:28 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:28 DEBUG : Looking for writers 2025/10/02 03:28:28 DEBUG : >WaitForWriters: 2025/10/02 03:28:28 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:29 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:29 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:28:29 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:29 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:28:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:28:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:29 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:28:31.775277 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:31.775315 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:31 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:31 DEBUG : Looking for writers 2025/10/02 03:28:31 DEBUG : >WaitForWriters: 2025/10/02 03:28:31 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:33 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:33 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:28:33 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:33 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:28:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:28:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:33 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:28:35.204475 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:35.204509 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:35 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:35 DEBUG : Looking for writers 2025/10/02 03:28:35 DEBUG : >WaitForWriters: 2025/10/02 03:28:35 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (20.35s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (3.51s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (3.36s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (3.36s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (3.37s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (3.33s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (3.41s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:36 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:36 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:38.462784 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:38.462811 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:38 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:38 DEBUG : Looking for writers 2025/10/02 03:28:38 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (3.20s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:39 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:39 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:41.728188 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:41.728236 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:41 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:41 DEBUG : Looking for writers 2025/10/02 03:28:41 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (3.37s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:43 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:43 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:45.165101 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:45.165178 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:45 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:45 DEBUG : Looking for writers 2025/10/02 03:28:45 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (3.50s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:46 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:46 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:48.694224 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:48.694268 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:48 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:48 DEBUG : Looking for writers 2025/10/02 03:28:48 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (3.42s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:50 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:50 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:52.034188 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:52.034213 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:52 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:52 DEBUG : Looking for writers 2025/10/02 03:28:52 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (3.43s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:53 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:53 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:55.479321 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:55.479356 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:55 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:55 DEBUG : Looking for writers 2025/10/02 03:28:55 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:28:56 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:28:56 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:28:56 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:28:56 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:56 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:28:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:28:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:28:56 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:28:58.822073 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:28:58.822103 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:28:58 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:28:58 DEBUG : Looking for writers 2025/10/02 03:28:58 DEBUG : >WaitForWriters: 2025/10/02 03:28:58 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:00 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:00 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:29:00 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:29:00 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:00 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:00 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:29:02.293700 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:02.293739 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:02 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:02 DEBUG : Looking for writers 2025/10/02 03:29:02 DEBUG : >WaitForWriters: 2025/10/02 03:29:02 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:03 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:03 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:29:03 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:03 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:03 DEBUG : Config file has changed externally - reloading 2025/10/02 03:29:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:03 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:29:05.669899 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:05.669938 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:05 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:05 DEBUG : Looking for writers 2025/10/02 03:29:05 DEBUG : >WaitForWriters: 2025/10/02 03:29:05 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:07 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:07 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:29:07 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:07 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:07 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:07 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:07 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:07 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:29:09.042419 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:09.042456 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:09 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:09 DEBUG : Looking for writers 2025/10/02 03:29:09 DEBUG : >WaitForWriters: 2025/10/02 03:29:09 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:10 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:10 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:29:10 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:10 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:10 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:29:12.584447 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:12.584486 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:12 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:12 DEBUG : Looking for writers 2025/10/02 03:29:12 DEBUG : >WaitForWriters: 2025/10/02 03:29:12 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestFileRename (20.50s) --- FAIL: TestFileRename/off,forceCache=false (3.37s) --- FAIL: TestFileRename/minimal,forceCache=false (3.46s) --- FAIL: TestFileRename/minimal,forceCache=true (3.41s) --- FAIL: TestFileRename/writes,forceCache=false (3.34s) --- FAIL: TestFileRename/writes,forceCache=true (3.37s) --- FAIL: TestFileRename/full,forceCache=false (3.55s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:14 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:14 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:29:15.951903 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:15.951985 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:15 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:15 DEBUG : Looking for writers 2025/10/02 03:29:15 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (3.29s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:17 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:17 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:29:19.228961 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:19.229004 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:19 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:19 DEBUG : Looking for writers 2025/10/02 03:29:19 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (3.33s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:20 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:20 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:29:22.547757 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:22.547797 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:22 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:22 DEBUG : Looking for writers 2025/10/02 03:29:22 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (3.30s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:23 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:23 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:29:25.932350 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:25.932432 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:25 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:25 DEBUG : Looking for writers 2025/10/02 03:29:25 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (3.39s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:27 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:27 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:29:29.251337 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:29.251372 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:29 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:29 DEBUG : Looking for writers 2025/10/02 03:29:29 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (3.34s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:30 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:30 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:29:30 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:30 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:30 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:30 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:30 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:30 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:30 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:29:32.691500 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:32.691532 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:32 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:32 DEBUG : Looking for writers 2025/10/02 03:29:32 DEBUG : >WaitForWriters: 2025/10/02 03:29:32 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (3.45s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:34 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:34 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:29:34 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:34 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:34 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:34 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:34 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:34 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:29:36.038311 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:36.038341 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:36 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:36 DEBUG : Looking for writers 2025/10/02 03:29:36 DEBUG : >WaitForWriters: 2025/10/02 03:29:36 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (3.36s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:37 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:37 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:29:37 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:37 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:37 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:29:39.463584 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:39.463618 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:39 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:39 DEBUG : Looking for writers 2025/10/02 03:29:39 DEBUG : >WaitForWriters: 2025/10/02 03:29:39 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (3.36s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:40 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:40 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:29:40 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:40 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:40 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:29:42.836353 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:42.836414 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:42 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:42 DEBUG : Looking for writers 2025/10/02 03:29:42 DEBUG : >WaitForWriters: 2025/10/02 03:29:42 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (3.36s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:44 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:44 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:29:44 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:44 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:44 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:29:46.076012 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:46.076044 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:46 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:46 DEBUG : Looking for writers 2025/10/02 03:29:46 DEBUG : >WaitForWriters: 2025/10/02 03:29:46 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (3.30s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:29:47 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:29:47 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:29:47 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:47 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:29:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:29:47 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:29:47 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:29:47 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:29:47 DEBUG : file1: newRWFileHandle: 2025/10/02 03:29:47 DEBUG : file1(0xc0009583c0): openPending: 2025/10/02 03:29:47 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/02 03:29:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:29:47 DEBUG : file1(0xc0009583c0): >openPending: err= 2025/10/02 03:29:47 DEBUG : file1: >newRWFileHandle: err= 2025/10/02 03:29:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:29:47 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/02 03:29:47 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/02 03:29:47 DEBUG : file1(0xc0009583c0): _writeAt: size=5, off=0 2025/10/02 03:29:47 DEBUG : file1(0xc0009583c0): >_writeAt: n=5, err= 2025/10/02 03:29:47 DEBUG : file1(0xc0009583c0): _writeAt: size=7, off=5 2025/10/02 03:29:47 DEBUG : file1(0xc0009583c0): >_writeAt: n=7, err= 2025/10/02 03:29:47 DEBUG : file1: vfs cache: truncate to size=11 2025/10/02 03:29:47 DEBUG : file1(0xc0009583c0): close: 2025/10/02 03:29:47 DEBUG : file1: vfs cache: setting modification time to 2025-10-02 03:29:47.817603875 +0000 UTC m=+164.889301130 2025/10/02 03:29:47 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/02 03:29:47 DEBUG : file1(0xc0009583c0): >close: err= 2025/10/02 03:29:47 DEBUG : file1(0xc0009583c0): close: 2025/10/02 03:29:47 DEBUG : file1(0xc0009583c0): >close: err=file already closed 2025/10/02 03:29:47 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:29:47 DEBUG : Looking for writers 2025/10/02 03:29:47 DEBUG : file1: reading active writers 2025/10/02 03:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/02 03:29:47 DEBUG : Looking for writers 2025/10/02 03:29:47 DEBUG : file1: reading active writers 2025/10/02 03:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/02 03:29:47 DEBUG : Looking for writers 2025/10/02 03:29:47 DEBUG : file1: reading active writers 2025/10/02 03:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/02 03:29:47 DEBUG : Looking for writers 2025/10/02 03:29:47 DEBUG : file1: reading active writers 2025/10/02 03:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/02 03:29:47 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:29:47 DEBUG : Looking for writers 2025/10/02 03:29:47 DEBUG : file1: reading active writers 2025/10/02 03:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/02 03:29:48 DEBUG : Looking for writers 2025/10/02 03:29:48 DEBUG : file1: reading active writers 2025/10/02 03:29:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/02 03:29:48 DEBUG : Looking for writers 2025/10/02 03:29:48 DEBUG : file1: reading active writers 2025/10/02 03:29:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/02 03:29:49.071993 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:29:49.072029 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:49 ERROR : file1: Failed to copy: 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:29:49 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/02 03:29:49 DEBUG : Looking for writers 2025/10/02 03:29:49 DEBUG : file1: reading active writers 2025/10/02 03:29:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:29:49 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:29:50 DEBUG : Looking for writers 2025/10/02 03:29:50 DEBUG : file1: reading active writers 2025/10/02 03:29:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:29:50.124564 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/02 03:29:50.124607 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/02 03:29:51 DEBUG : Looking for writers 2025/10/02 03:29:51 DEBUG : file1: reading active writers 2025/10/02 03:29:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:29:51 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:29:51 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/02 03:29:51 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:29:52 DEBUG : Looking for writers 2025/10/02 03:29:52 DEBUG : file1: reading active writers 2025/10/02 03:29:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:29:52.568059 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/02 03:29:52.568102 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/02 03:29:53 DEBUG : Looking for writers 2025/10/02 03:29:53 DEBUG : file1: reading active writers 2025/10/02 03:29:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:29:53 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:29:53 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/02 03:29:54 DEBUG : Looking for writers 2025/10/02 03:29:54 DEBUG : file1: reading active writers 2025/10/02 03:29:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:29:54 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:29:55 DEBUG : Looking for writers 2025/10/02 03:29:55 DEBUG : file1: reading active writers 2025/10/02 03:29:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:29:55.338178 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/02 03:29:55.338216 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/02 03:29:56 DEBUG : Looking for writers 2025/10/02 03:29:56 DEBUG : file1: reading active writers 2025/10/02 03:29:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:29:56 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:29:56 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/02 03:29:57 DEBUG : Looking for writers 2025/10/02 03:29:57 DEBUG : file1: reading active writers 2025/10/02 03:29:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:29:58 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:29:58 DEBUG : Looking for writers 2025/10/02 03:29:58 DEBUG : file1: reading active writers 2025/10/02 03:29:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:29:58.904493 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/02 03:29:58.904537 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/02 03:29:59 DEBUG : Looking for writers 2025/10/02 03:29:59 DEBUG : file1: reading active writers 2025/10/02 03:29:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:29:59 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/02 03:29:59 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/02 03:30:00 DEBUG : Looking for writers 2025/10/02 03:30:00 DEBUG : file1: reading active writers 2025/10/02 03:30:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:01 DEBUG : Looking for writers 2025/10/02 03:30:01 DEBUG : file1: reading active writers 2025/10/02 03:30:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:02 DEBUG : Looking for writers 2025/10/02 03:30:02 DEBUG : file1: reading active writers 2025/10/02 03:30:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:03 DEBUG : Looking for writers 2025/10/02 03:30:03 DEBUG : file1: reading active writers 2025/10/02 03:30:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:03 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:30:04.057205 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/02 03:30:04.057243 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/02 03:30:04 DEBUG : Looking for writers 2025/10/02 03:30:04 DEBUG : file1: reading active writers 2025/10/02 03:30:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:05 DEBUG : Looking for writers 2025/10/02 03:30:05 DEBUG : file1: reading active writers 2025/10/02 03:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:05 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:30:05 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/02 03:30:06 DEBUG : Looking for writers 2025/10/02 03:30:06 DEBUG : file1: reading active writers 2025/10/02 03:30:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:07 DEBUG : Looking for writers 2025/10/02 03:30:07 DEBUG : file1: reading active writers 2025/10/02 03:30:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:08 DEBUG : Looking for writers 2025/10/02 03:30:08 DEBUG : file1: reading active writers 2025/10/02 03:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:09 DEBUG : Looking for writers 2025/10/02 03:30:09 DEBUG : file1: reading active writers 2025/10/02 03:30:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:10 DEBUG : Looking for writers 2025/10/02 03:30:10 DEBUG : file1: reading active writers 2025/10/02 03:30:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:11 DEBUG : Looking for writers 2025/10/02 03:30:11 DEBUG : file1: reading active writers 2025/10/02 03:30:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:11 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:30:12 DEBUG : Looking for writers 2025/10/02 03:30:12 DEBUG : file1: reading active writers 2025/10/02 03:30:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:12.450461 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/02 03:30:12.450491 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/02 03:30:13 DEBUG : Looking for writers 2025/10/02 03:30:13 DEBUG : file1: reading active writers 2025/10/02 03:30:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:13 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/02 03:30:13 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/02 03:30:14 DEBUG : Looking for writers 2025/10/02 03:30:14 DEBUG : file1: reading active writers 2025/10/02 03:30:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:15 DEBUG : Looking for writers 2025/10/02 03:30:15 DEBUG : file1: reading active writers 2025/10/02 03:30:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:16 DEBUG : Looking for writers 2025/10/02 03:30:16 DEBUG : file1: reading active writers 2025/10/02 03:30:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:17 DEBUG : Looking for writers 2025/10/02 03:30:17 DEBUG : file1: reading active writers 2025/10/02 03:30:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:30:17 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0008950e0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000558608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639325760} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992572213920507171 ext:164889301130 loc:0x41303e0} ATime:{wall:13992572213920546885 ext:164889340845 loc:0x41303e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/02 03:30:17 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/02 03:30:26 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:30:47 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 03:30:47 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/02 03:31:47 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 03:31:47 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': 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/02 03:31:57.826231 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/02 03:31:57.826287 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/02 03:31:58 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:31:58 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/02 03:32:24 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:32:47 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 03:32:47 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': 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/02 03:33:37.642623 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/02 03:33:37.642652 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/02 03:33: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/02 03:33:38 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/02 03:33:41 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:33:41 DEBUG : Looking for writers 2025/10/02 03:33:41 DEBUG : file1: reading active writers 2025/10/02 03:33:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/02 03:33:41 DEBUG : Looking for writers 2025/10/02 03:33:41 DEBUG : file1: reading active writers 2025/10/02 03:33:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/02 03:33:41 DEBUG : Looking for writers 2025/10/02 03:33:41 DEBUG : file1: reading active writers 2025/10/02 03:33:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/02 03:33:41 DEBUG : Looking for writers 2025/10/02 03:33:41 DEBUG : file1: reading active writers 2025/10/02 03:33:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/02 03:33:41 DEBUG : Looking for writers 2025/10/02 03:33:41 DEBUG : file1: reading active writers 2025/10/02 03:33:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/02 03:33:41 DEBUG : Looking for writers 2025/10/02 03:33:41 DEBUG : file1: reading active writers 2025/10/02 03:33:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/02 03:33:41 DEBUG : Looking for writers 2025/10/02 03:33:41 DEBUG : file1: reading active writers 2025/10/02 03:33:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/02 03:33:42 DEBUG : Looking for writers 2025/10/02 03:33:42 DEBUG : file1: reading active writers 2025/10/02 03:33:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:43 DEBUG : Looking for writers 2025/10/02 03:33:43 DEBUG : file1: reading active writers 2025/10/02 03:33:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:44 DEBUG : Looking for writers 2025/10/02 03:33:44 DEBUG : file1: reading active writers 2025/10/02 03:33:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:45 DEBUG : Looking for writers 2025/10/02 03:33:45 DEBUG : file1: reading active writers 2025/10/02 03:33:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:46 DEBUG : Looking for writers 2025/10/02 03:33:46 DEBUG : file1: reading active writers 2025/10/02 03:33:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:47 DEBUG : Looking for writers 2025/10/02 03:33:47 DEBUG : file1: reading active writers 2025/10/02 03:33:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:47 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 03:33:47 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/02 03:33:48 DEBUG : Looking for writers 2025/10/02 03:33:48 DEBUG : file1: reading active writers 2025/10/02 03:33:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:49 DEBUG : Looking for writers 2025/10/02 03:33:49 DEBUG : file1: reading active writers 2025/10/02 03:33:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:50 DEBUG : Looking for writers 2025/10/02 03:33:50 DEBUG : file1: reading active writers 2025/10/02 03:33:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:51 DEBUG : Looking for writers 2025/10/02 03:33:51 DEBUG : file1: reading active writers 2025/10/02 03:33:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:52 DEBUG : Looking for writers 2025/10/02 03:33:52 DEBUG : file1: reading active writers 2025/10/02 03:33:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:53 DEBUG : Looking for writers 2025/10/02 03:33:53 DEBUG : file1: reading active writers 2025/10/02 03:33:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:54 DEBUG : Looking for writers 2025/10/02 03:33:54 DEBUG : file1: reading active writers 2025/10/02 03:33:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:55 DEBUG : Looking for writers 2025/10/02 03:33:55 DEBUG : file1: reading active writers 2025/10/02 03:33:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:56 DEBUG : Looking for writers 2025/10/02 03:33:56 DEBUG : file1: reading active writers 2025/10/02 03:33:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:57 DEBUG : Looking for writers 2025/10/02 03:33:57 DEBUG : file1: reading active writers 2025/10/02 03:33:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:58 DEBUG : Looking for writers 2025/10/02 03:33:58 DEBUG : file1: reading active writers 2025/10/02 03:33:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:33:59 DEBUG : Looking for writers 2025/10/02 03:33:59 DEBUG : file1: reading active writers 2025/10/02 03:33:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:34:00 DEBUG : Looking for writers 2025/10/02 03:34:00 DEBUG : file1: reading active writers 2025/10/02 03:34:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:34:01 DEBUG : Looking for writers 2025/10/02 03:34:01 DEBUG : file1: reading active writers 2025/10/02 03:34:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:34:02 DEBUG : Looking for writers 2025/10/02 03:34:02 DEBUG : file1: reading active writers 2025/10/02 03:34:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:34:03 DEBUG : Looking for writers 2025/10/02 03:34:03 DEBUG : file1: reading active writers 2025/10/02 03:34:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:34:04 DEBUG : Looking for writers 2025/10/02 03:34:04 DEBUG : file1: reading active writers 2025/10/02 03:34:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:34:05 DEBUG : Looking for writers 2025/10/02 03:34:05 DEBUG : file1: reading active writers 2025/10/02 03:34:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:34:06 DEBUG : Looking for writers 2025/10/02 03:34:06 DEBUG : file1: reading active writers 2025/10/02 03:34:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:34:07 DEBUG : Looking for writers 2025/10/02 03:34:07 DEBUG : file1: reading active writers 2025/10/02 03:34:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:34:08 DEBUG : Looking for writers 2025/10/02 03:34:08 DEBUG : file1: reading active writers 2025/10/02 03:34:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:34:09 DEBUG : Looking for writers 2025/10/02 03:34:09 DEBUG : file1: reading active writers 2025/10/02 03:34:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:34:10 DEBUG : Looking for writers 2025/10/02 03:34:10 DEBUG : file1: reading active writers 2025/10/02 03:34:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:34:11 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0008950e0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000558608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639325760} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992572213920507171 ext:164889301130 loc:0x41303e0} ATime:{wall:13992572213920546885 ext:164889340845 loc:0x41303e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/02 03:34:11 DEBUG : >WaitForWriters: 2025/10/02 03:34:11 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (361.43s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:35:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:35:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:35:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:35:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:35:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:35:48 DEBUG : Config file has changed externally - reloading 2025/10/02 03:35:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:35:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:35:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:35:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:35:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:35:48 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:35:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:35:49 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:35:49 DEBUG : file1: newRWFileHandle: 2025/10/02 03:35:49 DEBUG : file1(0xc00012bc00): openPending: 2025/10/02 03:35:49 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/02 03:35:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:35:49 DEBUG : file1(0xc00012bc00): >openPending: err= 2025/10/02 03:35:49 DEBUG : file1: >newRWFileHandle: err= 2025/10/02 03:35:49 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:35:49 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/02 03:35:49 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/02 03:35:49 DEBUG : file1(0xc00012bc00): _writeAt: size=7, off=0 2025/10/02 03:35:49 DEBUG : file1(0xc00012bc00): >_writeAt: n=7, err= 2025/10/02 03:35:49 DEBUG : file1(0xc00012bc00): _writeAt: size=6, off=5 2025/10/02 03:35:49 DEBUG : file1(0xc00012bc00): >_writeAt: n=6, err= 2025/10/02 03:35:49 DEBUG : file1(0xc00012bc00): close: 2025/10/02 03:35:49 DEBUG : file1: vfs cache: setting modification time to 2025-10-02 03:35:49.238578141 +0000 UTC m=+526.310275396 2025/10/02 03:35:49 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/02 03:35:49 DEBUG : file1(0xc00012bc00): >close: err= 2025/10/02 03:35:49 DEBUG : file1(0xc00012bc00): _writeAt: size=5, off=0 2025/10/02 03:35:49 DEBUG : file1(0xc00012bc00): >_writeAt: n=0, err=file already closed 2025/10/02 03:35:49 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:35:49 DEBUG : Looking for writers 2025/10/02 03:35:49 DEBUG : file1: reading active writers 2025/10/02 03:35:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/02 03:35:49 DEBUG : Looking for writers 2025/10/02 03:35:49 DEBUG : file1: reading active writers 2025/10/02 03:35:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/02 03:35:49 DEBUG : Looking for writers 2025/10/02 03:35:49 DEBUG : file1: reading active writers 2025/10/02 03:35:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/02 03:35:49 DEBUG : Looking for writers 2025/10/02 03:35:49 DEBUG : file1: reading active writers 2025/10/02 03:35:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/02 03:35:49 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:35:49 DEBUG : Looking for writers 2025/10/02 03:35:49 DEBUG : file1: reading active writers 2025/10/02 03:35:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/02 03:35:49 DEBUG : Looking for writers 2025/10/02 03:35:49 DEBUG : file1: reading active writers 2025/10/02 03:35:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/02 03:35:49 DEBUG : Looking for writers 2025/10/02 03:35:49 DEBUG : file1: reading active writers 2025/10/02 03:35:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/02 03:35:50.221576 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/02 03:35:50.221615 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/02 03:35:50 DEBUG : Looking for writers 2025/10/02 03:35:50 DEBUG : file1: reading active writers 2025/10/02 03:35:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:35:51 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:35:51 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/02 03:35:51 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:35:51 DEBUG : Looking for writers 2025/10/02 03:35:51 DEBUG : file1: reading active writers 2025/10/02 03:35:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:35:52.302349 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/02 03:35:52.302383 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/02 03:35:52 DEBUG : Looking for writers 2025/10/02 03:35:52 DEBUG : file1: reading active writers 2025/10/02 03:35:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:35:53 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:35:53 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/02 03:35:53 DEBUG : Looking for writers 2025/10/02 03:35:53 DEBUG : file1: reading active writers 2025/10/02 03:35:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:35:53 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:35:54 DEBUG : Looking for writers 2025/10/02 03:35:54 DEBUG : file1: reading active writers 2025/10/02 03:35:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:35:54.563530 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/02 03:35:54.563642 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/02 03:35:55 DEBUG : Looking for writers 2025/10/02 03:35:55 DEBUG : file1: reading active writers 2025/10/02 03:35:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:35: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/02 03:35:55 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/02 03:35:56 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:35:56 DEBUG : Looking for writers 2025/10/02 03:35:56 DEBUG : file1: reading active writers 2025/10/02 03:35:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:35:57.252949 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/02 03:35:57.252977 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/02 03:35:57 DEBUG : Looking for writers 2025/10/02 03:35:57 DEBUG : file1: reading active writers 2025/10/02 03:35:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:35:58 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:35:58 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/02 03:35:58 DEBUG : Looking for writers 2025/10/02 03:35:58 DEBUG : file1: reading active writers 2025/10/02 03:35:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:35:59 DEBUG : Looking for writers 2025/10/02 03:35:59 DEBUG : file1: reading active writers 2025/10/02 03:35:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:35:59 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:36:00 DEBUG : Looking for writers 2025/10/02 03:36:00 DEBUG : file1: reading active writers 2025/10/02 03:36:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:00.853655 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/02 03:36:00.853679 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/02 03:36:01 DEBUG : Looking for writers 2025/10/02 03:36:01 DEBUG : file1: reading active writers 2025/10/02 03:36:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:01 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:36:01 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/02 03:36:02 DEBUG : Looking for writers 2025/10/02 03:36:02 DEBUG : file1: reading active writers 2025/10/02 03:36:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:03 DEBUG : Looking for writers 2025/10/02 03:36:03 DEBUG : file1: reading active writers 2025/10/02 03:36:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:04 DEBUG : Looking for writers 2025/10/02 03:36:04 DEBUG : file1: reading active writers 2025/10/02 03:36:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:05 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:36:05 DEBUG : Looking for writers 2025/10/02 03:36:05 DEBUG : file1: reading active writers 2025/10/02 03:36:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:05.974237 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/02 03:36:05.974261 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/02 03:36:06 DEBUG : Looking for writers 2025/10/02 03:36:06 DEBUG : file1: reading active writers 2025/10/02 03:36:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36: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/02 03:36:07 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/02 03:36:07 DEBUG : Looking for writers 2025/10/02 03:36:07 DEBUG : file1: reading active writers 2025/10/02 03:36:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:08 DEBUG : Looking for writers 2025/10/02 03:36:08 DEBUG : file1: reading active writers 2025/10/02 03:36:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:09 DEBUG : Looking for writers 2025/10/02 03:36:09 DEBUG : file1: reading active writers 2025/10/02 03:36:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:10 DEBUG : Looking for writers 2025/10/02 03:36:10 DEBUG : file1: reading active writers 2025/10/02 03:36:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:11 DEBUG : Looking for writers 2025/10/02 03:36:11 DEBUG : file1: reading active writers 2025/10/02 03:36:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:12 DEBUG : Looking for writers 2025/10/02 03:36:12 DEBUG : file1: reading active writers 2025/10/02 03:36:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:13 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:36:13 DEBUG : Looking for writers 2025/10/02 03:36:13 DEBUG : file1: reading active writers 2025/10/02 03:36:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:14.385417 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/02 03:36:14.385450 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/02 03:36:14 DEBUG : Looking for writers 2025/10/02 03:36:14 DEBUG : file1: reading active writers 2025/10/02 03:36:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:15 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:36:15 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/02 03:36:15 DEBUG : Looking for writers 2025/10/02 03:36:15 DEBUG : file1: reading active writers 2025/10/02 03:36:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:16 DEBUG : Looking for writers 2025/10/02 03:36:16 DEBUG : file1: reading active writers 2025/10/02 03:36:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:17 DEBUG : Looking for writers 2025/10/02 03:36:17 DEBUG : file1: reading active writers 2025/10/02 03:36:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:18 DEBUG : Looking for writers 2025/10/02 03:36:18 DEBUG : file1: reading active writers 2025/10/02 03:36:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:36:19 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000895680 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000b4fa08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824645581376} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992572602036021725 ext:526310275396 loc:0x41303e0} ATime:{wall:13992572602036064355 ext:526310318027 loc:0x41303e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/02 03:36:19 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/02 03:36:28 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:36:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 03:36:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/02 03:37:05 DEBUG : forgetting directory cache 2025/10/02 03:37:09 DEBUG : forgetting directory cache 2025/10/02 03:37:12 DEBUG : forgetting directory cache 2025/10/02 03:37:15 DEBUG : forgetting directory cache 2025/10/02 03:37:19 DEBUG : forgetting directory cache 2025/10/02 03:37:22 DEBUG : forgetting directory cache 2025/10/02 03:37:25 DEBUG : forgetting directory cache 2025/10/02 03:37:29 DEBUG : forgetting directory cache 2025/10/02 03:37:32 DEBUG : forgetting directory cache 2025/10/02 03:37:35 DEBUG : forgetting directory cache 2025/10/02 03:37:39 DEBUG : forgetting directory cache 2025/10/02 03:37:42 DEBUG : forgetting directory cache 2025/10/02 03:37:45 DEBUG : forgetting directory cache 2025/10/02 03:37:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 03:37:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/02 03:37:49 DEBUG : forgetting directory cache 2025/10/02 03:37:52 DEBUG : forgetting directory cache 2025/10/02 03:37:56 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/02 03:37:57.856897 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/02 03:37:57.856922 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/02 03:37:58 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:37:58 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/02 03:37:59 DEBUG : forgetting directory cache 2025/10/02 03:38:02 DEBUG : forgetting directory cache 2025/10/02 03:38:06 DEBUG : forgetting directory cache 2025/10/02 03:38:09 DEBUG : forgetting directory cache 2025/10/02 03:38:12 DEBUG : forgetting directory cache 2025/10/02 03:38:16 DEBUG : forgetting directory cache 2025/10/02 03:38:19 DEBUG : forgetting directory cache 2025/10/02 03:38:23 DEBUG : forgetting directory cache 2025/10/02 03:38:24 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:38:26 DEBUG : forgetting directory cache 2025/10/02 03:38:29 DEBUG : forgetting directory cache 2025/10/02 03:38:33 DEBUG : forgetting directory cache 2025/10/02 03:38:36 DEBUG : forgetting directory cache 2025/10/02 03:38:39 DEBUG : forgetting directory cache 2025/10/02 03:38:43 DEBUG : forgetting directory cache 2025/10/02 03:38:46 DEBUG : forgetting directory cache 2025/10/02 03:38:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 03:38:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/02 03:38:50 DEBUG : forgetting directory cache 2025/10/02 03:38:53 DEBUG : forgetting directory cache 2025/10/02 03:38:56 DEBUG : forgetting directory cache 2025/10/02 03:39:00 DEBUG : forgetting directory cache 2025/10/02 03:39:03 DEBUG : forgetting directory cache 2025/10/02 03:39:07 DEBUG : forgetting directory cache 2025/10/02 03:39:10 DEBUG : forgetting directory cache 2025/10/02 03:39:14 DEBUG : forgetting directory cache 2025/10/02 03:39:17 DEBUG : forgetting directory cache 2025/10/02 03:39:20 DEBUG : forgetting directory cache 2025/10/02 03:39:23 DEBUG : forgetting directory cache 2025/10/02 03:39:27 DEBUG : forgetting directory cache 2025/10/02 03:39:30 DEBUG : forgetting directory cache 2025/10/02 03:39:34 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/02 03:39:37 DEBUG : forgetting directory cache 2025/10/02 03:39:37.525167 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/02 03:39:37.525276 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/02 03:39: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/02 03:39:38 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:39:40 DEBUG : forgetting directory cache 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/02 03:39:40 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:39:40 DEBUG : Looking for writers 2025/10/02 03:39:40 DEBUG : file1: reading active writers 2025/10/02 03:39:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/02 03:39:40 DEBUG : Looking for writers 2025/10/02 03:39:40 DEBUG : file1: reading active writers 2025/10/02 03:39:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/02 03:39:40 DEBUG : Looking for writers 2025/10/02 03:39:40 DEBUG : file1: reading active writers 2025/10/02 03:39:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/02 03:39:41 DEBUG : Looking for writers 2025/10/02 03:39:41 DEBUG : file1: reading active writers 2025/10/02 03:39:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/02 03:39:41 DEBUG : Looking for writers 2025/10/02 03:39:41 DEBUG : file1: reading active writers 2025/10/02 03:39:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/02 03:39:41 DEBUG : Looking for writers 2025/10/02 03:39:41 DEBUG : file1: reading active writers 2025/10/02 03:39:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/02 03:39:41 DEBUG : Looking for writers 2025/10/02 03:39:41 DEBUG : file1: reading active writers 2025/10/02 03:39:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/02 03:39:42 DEBUG : Looking for writers 2025/10/02 03:39:42 DEBUG : file1: reading active writers 2025/10/02 03:39:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:43 DEBUG : Looking for writers 2025/10/02 03:39:43 DEBUG : file1: reading active writers 2025/10/02 03:39:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:44 DEBUG : Looking for writers 2025/10/02 03:39:44 DEBUG : file1: reading active writers 2025/10/02 03:39:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:44 DEBUG : forgetting directory cache 2025/10/02 03:39:45 DEBUG : Looking for writers 2025/10/02 03:39:45 DEBUG : file1: reading active writers 2025/10/02 03:39:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:46 DEBUG : Looking for writers 2025/10/02 03:39:46 DEBUG : file1: reading active writers 2025/10/02 03:39:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:47 DEBUG : Looking for writers 2025/10/02 03:39:47 DEBUG : file1: reading active writers 2025/10/02 03:39:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:47 DEBUG : forgetting directory cache 2025/10/02 03:39:48 DEBUG : Looking for writers 2025/10/02 03:39:48 DEBUG : file1: reading active writers 2025/10/02 03:39:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 03:39:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/02 03:39:49 DEBUG : Looking for writers 2025/10/02 03:39:49 DEBUG : file1: reading active writers 2025/10/02 03:39:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:50 DEBUG : Looking for writers 2025/10/02 03:39:50 DEBUG : file1: reading active writers 2025/10/02 03:39:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:51 DEBUG : Looking for writers 2025/10/02 03:39:51 DEBUG : file1: reading active writers 2025/10/02 03:39:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:52 DEBUG : Looking for writers 2025/10/02 03:39:52 DEBUG : file1: reading active writers 2025/10/02 03:39:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:53 DEBUG : Looking for writers 2025/10/02 03:39:53 DEBUG : file1: reading active writers 2025/10/02 03:39:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:54 DEBUG : Looking for writers 2025/10/02 03:39:54 DEBUG : file1: reading active writers 2025/10/02 03:39:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:55 DEBUG : Looking for writers 2025/10/02 03:39:55 DEBUG : file1: reading active writers 2025/10/02 03:39:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:56 DEBUG : Looking for writers 2025/10/02 03:39:56 DEBUG : file1: reading active writers 2025/10/02 03:39:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:57 DEBUG : Looking for writers 2025/10/02 03:39:57 DEBUG : file1: reading active writers 2025/10/02 03:39:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:58 DEBUG : Looking for writers 2025/10/02 03:39:58 DEBUG : file1: reading active writers 2025/10/02 03:39:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:39:59 DEBUG : Looking for writers 2025/10/02 03:39:59 DEBUG : file1: reading active writers 2025/10/02 03:39:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:40:00 DEBUG : Looking for writers 2025/10/02 03:40:00 DEBUG : file1: reading active writers 2025/10/02 03:40:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:40:01 DEBUG : Looking for writers 2025/10/02 03:40:01 DEBUG : file1: reading active writers 2025/10/02 03:40:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:40:02 DEBUG : Looking for writers 2025/10/02 03:40:02 DEBUG : file1: reading active writers 2025/10/02 03:40:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:40:03 DEBUG : Looking for writers 2025/10/02 03:40:03 DEBUG : file1: reading active writers 2025/10/02 03:40:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:40:04 DEBUG : Looking for writers 2025/10/02 03:40:04 DEBUG : file1: reading active writers 2025/10/02 03:40:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:40:05 DEBUG : Looking for writers 2025/10/02 03:40:05 DEBUG : file1: reading active writers 2025/10/02 03:40:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:40:06 DEBUG : Looking for writers 2025/10/02 03:40:06 DEBUG : file1: reading active writers 2025/10/02 03:40:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:40:07 DEBUG : Looking for writers 2025/10/02 03:40:07 DEBUG : file1: reading active writers 2025/10/02 03:40:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:40:08 DEBUG : Looking for writers 2025/10/02 03:40:08 DEBUG : file1: reading active writers 2025/10/02 03:40:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:40:09 DEBUG : Looking for writers 2025/10/02 03:40:09 DEBUG : file1: reading active writers 2025/10/02 03:40:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:40:10 DEBUG : Looking for writers 2025/10/02 03:40:10 DEBUG : file1: reading active writers 2025/10/02 03:40:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:40:10 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000895680 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000b4fa08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824645581376} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992572602036021725 ext:526310275396 loc:0x41303e0} ATime:{wall:13992572602036064355 ext:526310318027 loc:0x41303e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/02 03:40:10 DEBUG : >WaitForWriters: 2025/10/02 03:40:10 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteAt (359.28s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:41:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:41:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:41:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:41:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:41:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:41:48 DEBUG : Config file has changed externally - reloading 2025/10/02 03:41:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:41:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:41:48 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:41:48 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:41:48 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:41:48 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:41:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:41:48 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:41:48 DEBUG : file1: newRWFileHandle: 2025/10/02 03:41:48 DEBUG : file1(0xc0004c8f80): openPending: 2025/10/02 03:41:48 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/02 03:41:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:41:48 DEBUG : file1(0xc0004c8f80): >openPending: err= 2025/10/02 03:41:48 DEBUG : file1: >newRWFileHandle: err= 2025/10/02 03:41:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:41:48 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/02 03:41:48 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/02 03:41:48 DEBUG : file1(0xc0004c8f80): close: 2025/10/02 03:41:48 DEBUG : file1: vfs cache: setting modification time to 2025-10-02 03:41:48.518428292 +0000 UTC m=+885.590125547 2025/10/02 03:41:48 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/02 03:41:48 DEBUG : file1(0xc0004c8f80): >close: err= 2025/10/02 03:41:48 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/02 03:41:48 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/02 03:41:48 DEBUG : file2: newRWFileHandle: 2025/10/02 03:41:48 DEBUG : file2(0xc0004c9480): openPending: 2025/10/02 03:41:48 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/02 03:41:48 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/02 03:41:48 DEBUG : file2(0xc0004c9480): >openPending: err= 2025/10/02 03:41:48 DEBUG : file2: >newRWFileHandle: err= 2025/10/02 03:41:48 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/02 03:41:48 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/02 03:41:48 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/02 03:41:48 DEBUG : file2(0xc0004c9480): RWFileHandle.Flush 2025/10/02 03:41:48 DEBUG : file2(0xc0004c9480): RWFileHandle.Release 2025/10/02 03:41:48 DEBUG : file2(0xc0004c9480): close: 2025/10/02 03:41:48 DEBUG : file2: vfs cache: setting modification time to 2025-10-02 03:41:48.520081685 +0000 UTC m=+885.591778941 2025/10/02 03:41:48 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/02 03:41:48 DEBUG : file2(0xc0004c9480): >close: err= 2025/10/02 03:41:48 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:41:48 DEBUG : Looking for writers 2025/10/02 03:41:48 DEBUG : file1: reading active writers 2025/10/02 03:41:48 DEBUG : file2: reading active writers 2025/10/02 03:41:48 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/02 03:41:48 DEBUG : Looking for writers 2025/10/02 03:41:48 DEBUG : file1: reading active writers 2025/10/02 03:41:48 DEBUG : file2: reading active writers 2025/10/02 03:41:48 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/02 03:41:48 DEBUG : Looking for writers 2025/10/02 03:41:48 DEBUG : file1: reading active writers 2025/10/02 03:41:48 DEBUG : file2: reading active writers 2025/10/02 03:41:48 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/02 03:41:48 DEBUG : Looking for writers 2025/10/02 03:41:48 DEBUG : file1: reading active writers 2025/10/02 03:41:48 DEBUG : file2: reading active writers 2025/10/02 03:41:48 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/02 03:41:48 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:41:48 DEBUG : file2: vfs cache: starting upload 2025/10/02 03:41:48 DEBUG : Looking for writers 2025/10/02 03:41:48 DEBUG : file1: reading active writers 2025/10/02 03:41:48 DEBUG : file2: reading active writers 2025/10/02 03:41:48 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/02 03:41:48 DEBUG : Looking for writers 2025/10/02 03:41:48 DEBUG : file1: reading active writers 2025/10/02 03:41:48 DEBUG : file2: reading active writers 2025/10/02 03:41:48 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/02 03:41:49 DEBUG : Looking for writers 2025/10/02 03:41:49 DEBUG : file1: reading active writers 2025/10/02 03:41:49 DEBUG : file2: reading active writers 2025/10/02 03:41:49 DEBUG : Still 0 writers active and 2 cache items in use, waiting 640ms 2025/10/02 03:41:49.433240 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/02 03:41:49.433379 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/02 03:41:49 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/02 03:41:49 INFO : file2: Copied (new) 2025/10/02 03:41:49 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-02 03:41:48.520081685 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/02 03:41:49 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/02 03:41:49 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/02 03:41:49 INFO : file2: vfs cache: upload succeeded try #1 2025/10/02 03:41:49 DEBUG : Looking for writers 2025/10/02 03:41:49 DEBUG : file1: reading active writers 2025/10/02 03:41:49 DEBUG : file2: reading active writers 2025/10/02 03:41:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:41: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/02 03:41:50 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/02 03:41:50 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:41:50 DEBUG : Looking for writers 2025/10/02 03:41:50 DEBUG : file1: reading active writers 2025/10/02 03:41:50 DEBUG : file2: reading active writers 2025/10/02 03:41:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:41:51.446964 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/02 03:41:51.446982 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/02 03:41:51 DEBUG : Looking for writers 2025/10/02 03:41:51 DEBUG : file1: reading active writers 2025/10/02 03:41:51 DEBUG : file2: reading active writers 2025/10/02 03:41:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:41: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/02 03:41:52 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/02 03:41:52 DEBUG : Looking for writers 2025/10/02 03:41:52 DEBUG : file1: reading active writers 2025/10/02 03:41:52 DEBUG : file2: reading active writers 2025/10/02 03:41:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:41:52 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:41:53.751130 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/02 03:41:53.751180 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/02 03:41:53 DEBUG : Looking for writers 2025/10/02 03:41:53 DEBUG : file1: reading active writers 2025/10/02 03:41:53 DEBUG : file2: reading active writers 2025/10/02 03:41:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:41: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/02 03:41:54 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/02 03:41:54 DEBUG : Looking for writers 2025/10/02 03:41:54 DEBUG : file1: reading active writers 2025/10/02 03:41:54 DEBUG : file2: reading active writers 2025/10/02 03:41:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:41:55 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:41:55 DEBUG : Looking for writers 2025/10/02 03:41:55 DEBUG : file1: reading active writers 2025/10/02 03:41:55 DEBUG : file2: reading active writers 2025/10/02 03:41:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:41:56.474146 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/02 03:41:56.474175 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/02 03:41:56 DEBUG : Looking for writers 2025/10/02 03:41:56 DEBUG : file1: reading active writers 2025/10/02 03:41:56 DEBUG : file2: reading active writers 2025/10/02 03:41:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:41:57 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:41:57 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/02 03:41:57 DEBUG : Looking for writers 2025/10/02 03:41:57 DEBUG : file1: reading active writers 2025/10/02 03:41:57 DEBUG : file2: reading active writers 2025/10/02 03:41:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:41:58 DEBUG : Looking for writers 2025/10/02 03:41:58 DEBUG : file1: reading active writers 2025/10/02 03:41:58 DEBUG : file2: reading active writers 2025/10/02 03:41:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:41:59 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:41:59 DEBUG : Looking for writers 2025/10/02 03:41:59 DEBUG : file1: reading active writers 2025/10/02 03:41:59 DEBUG : file2: reading active writers 2025/10/02 03:41:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:00.043937 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/02 03:42:00.043973 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/02 03:42:00 DEBUG : Looking for writers 2025/10/02 03:42:00 DEBUG : file1: reading active writers 2025/10/02 03:42:00 DEBUG : file2: reading active writers 2025/10/02 03:42:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:01 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:42:01 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/02 03:42:01 DEBUG : Looking for writers 2025/10/02 03:42:01 DEBUG : file1: reading active writers 2025/10/02 03:42:01 DEBUG : file2: reading active writers 2025/10/02 03:42:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:02 DEBUG : Looking for writers 2025/10/02 03:42:02 DEBUG : file2: reading active writers 2025/10/02 03:42:02 DEBUG : file1: reading active writers 2025/10/02 03:42:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:03 DEBUG : Looking for writers 2025/10/02 03:42:03 DEBUG : file1: reading active writers 2025/10/02 03:42:03 DEBUG : file2: reading active writers 2025/10/02 03:42:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:04 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:42:04 DEBUG : Looking for writers 2025/10/02 03:42:04 DEBUG : file1: reading active writers 2025/10/02 03:42:04 DEBUG : file2: reading active writers 2025/10/02 03:42:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:05.162200 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/02 03:42:05.162247 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/02 03:42:05 DEBUG : Looking for writers 2025/10/02 03:42:05 DEBUG : file2: reading active writers 2025/10/02 03:42:05 DEBUG : file1: reading active writers 2025/10/02 03:42:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:06 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:42:06 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/02 03:42:06 DEBUG : Looking for writers 2025/10/02 03:42:06 DEBUG : file1: reading active writers 2025/10/02 03:42:06 DEBUG : file2: reading active writers 2025/10/02 03:42:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:07 DEBUG : Looking for writers 2025/10/02 03:42:07 DEBUG : file1: reading active writers 2025/10/02 03:42:07 DEBUG : file2: reading active writers 2025/10/02 03:42:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:08 DEBUG : Looking for writers 2025/10/02 03:42:08 DEBUG : file1: reading active writers 2025/10/02 03:42:08 DEBUG : file2: reading active writers 2025/10/02 03:42:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:09 DEBUG : Looking for writers 2025/10/02 03:42:09 DEBUG : file1: reading active writers 2025/10/02 03:42:09 DEBUG : file2: reading active writers 2025/10/02 03:42:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:10 DEBUG : Looking for writers 2025/10/02 03:42:10 DEBUG : file1: reading active writers 2025/10/02 03:42:10 DEBUG : file2: reading active writers 2025/10/02 03:42:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:11 DEBUG : Looking for writers 2025/10/02 03:42:11 DEBUG : file2: reading active writers 2025/10/02 03:42:11 DEBUG : file1: reading active writers 2025/10/02 03:42:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:12 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:42:12 DEBUG : Looking for writers 2025/10/02 03:42:12 DEBUG : file1: reading active writers 2025/10/02 03:42:12 DEBUG : file2: reading active writers 2025/10/02 03:42:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:13.489915 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/02 03:42:13.489950 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/02 03:42:13 DEBUG : Looking for writers 2025/10/02 03:42:13 DEBUG : file1: reading active writers 2025/10/02 03:42:13 DEBUG : file2: reading active writers 2025/10/02 03:42:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:14 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:42:14 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/02 03:42:14 DEBUG : Looking for writers 2025/10/02 03:42:14 DEBUG : file2: reading active writers 2025/10/02 03:42:14 DEBUG : file1: reading active writers 2025/10/02 03:42:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:15 DEBUG : Looking for writers 2025/10/02 03:42:15 DEBUG : file1: reading active writers 2025/10/02 03:42:15 DEBUG : file2: reading active writers 2025/10/02 03:42:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:16 DEBUG : Looking for writers 2025/10/02 03:42:16 DEBUG : file1: reading active writers 2025/10/02 03:42:16 DEBUG : file2: reading active writers 2025/10/02 03:42:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:17 DEBUG : Looking for writers 2025/10/02 03:42:17 DEBUG : file2: reading active writers 2025/10/02 03:42:17 DEBUG : file1: reading active writers 2025/10/02 03:42:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:42:18 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00061b1d0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc007531408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824756606016} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992572987789186692 ext:885590125547 loc:0x41303e0} ATime:{wall:13992572987789586852 ext:885590525708 loc:0x41303e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc00061b1d0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc007531508 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824756606272} name:file2 opens:0 downloaders: o:0xc0003c2c80 fd: info:{ModTime:{wall:13992572987790840085 ext:885591778941 loc:0x41303e0} ATime:{wall:13992572987791120732 ext:885592059577 loc:0x41303e0} Size:0 Rs:[] Fingerprint:0,2025-10-02 03:41:48.520081685 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/02 03:42:18 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/02 03:42:27 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:42:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 03:42:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/02 03:42:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/02 03:43:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 03:43:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/02 03:43:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': 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/02 03:43:57.699592 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/02 03:43:57.699630 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/02 03:43:58 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:43:58 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/02 03:44:24 DEBUG : file1: vfs cache: starting upload 2025/10/02 03:44:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 03:44:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/02 03:44:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': 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/02 03:45:42.772367 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/02 03:45:42.772406 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/02 03:45: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/02 03:45:43 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/02 03:45:46 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:45:46 DEBUG : Looking for writers 2025/10/02 03:45:46 DEBUG : file1: reading active writers 2025/10/02 03:45:46 DEBUG : file2: reading active writers 2025/10/02 03:45:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/02 03:45:46 DEBUG : Looking for writers 2025/10/02 03:45:46 DEBUG : file1: reading active writers 2025/10/02 03:45:46 DEBUG : file2: reading active writers 2025/10/02 03:45:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/02 03:45:46 DEBUG : Looking for writers 2025/10/02 03:45:46 DEBUG : file1: reading active writers 2025/10/02 03:45:46 DEBUG : file2: reading active writers 2025/10/02 03:45:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/02 03:45:46 DEBUG : Looking for writers 2025/10/02 03:45:46 DEBUG : file1: reading active writers 2025/10/02 03:45:46 DEBUG : file2: reading active writers 2025/10/02 03:45:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/02 03:45:46 DEBUG : Looking for writers 2025/10/02 03:45:46 DEBUG : file1: reading active writers 2025/10/02 03:45:46 DEBUG : file2: reading active writers 2025/10/02 03:45:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/02 03:45:46 DEBUG : Looking for writers 2025/10/02 03:45:46 DEBUG : file1: reading active writers 2025/10/02 03:45:46 DEBUG : file2: reading active writers 2025/10/02 03:45:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/02 03:45:46 DEBUG : Looking for writers 2025/10/02 03:45:46 DEBUG : file1: reading active writers 2025/10/02 03:45:46 DEBUG : file2: reading active writers 2025/10/02 03:45:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/02 03:45:47 DEBUG : Looking for writers 2025/10/02 03:45:47 DEBUG : file1: reading active writers 2025/10/02 03:45:47 DEBUG : file2: reading active writers 2025/10/02 03:45:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:45:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 03:45:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/02 03:45:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 1, uploading 0, total size 0 (was 0) 2025/10/02 03:45:48 DEBUG : Looking for writers 2025/10/02 03:45:48 DEBUG : file1: reading active writers 2025/10/02 03:45:48 DEBUG : file2: reading active writers 2025/10/02 03:45:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:45:49 DEBUG : forgetting directory cache 2025/10/02 03:45:49 DEBUG : Looking for writers 2025/10/02 03:45:49 DEBUG : file1: reading active writers 2025/10/02 03:45:49 DEBUG : file2: reading active writers 2025/10/02 03:45:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:45:50 DEBUG : Looking for writers 2025/10/02 03:45:50 DEBUG : file1: reading active writers 2025/10/02 03:45:50 DEBUG : file2: reading active writers 2025/10/02 03:45:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:45:51 DEBUG : Looking for writers 2025/10/02 03:45:51 DEBUG : file1: reading active writers 2025/10/02 03:45:51 DEBUG : file2: reading active writers 2025/10/02 03:45:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:45:52 DEBUG : Looking for writers 2025/10/02 03:45:52 DEBUG : file1: reading active writers 2025/10/02 03:45:52 DEBUG : file2: reading active writers 2025/10/02 03:45:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:45:53 DEBUG : Looking for writers 2025/10/02 03:45:53 DEBUG : file1: reading active writers 2025/10/02 03:45:53 DEBUG : file2: reading active writers 2025/10/02 03:45:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:45:54 DEBUG : Looking for writers 2025/10/02 03:45:54 DEBUG : file2: reading active writers 2025/10/02 03:45:54 DEBUG : file1: reading active writers 2025/10/02 03:45:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:45:55 DEBUG : Looking for writers 2025/10/02 03:45:55 DEBUG : file1: reading active writers 2025/10/02 03:45:55 DEBUG : file2: reading active writers 2025/10/02 03:45:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:45:56 DEBUG : Looking for writers 2025/10/02 03:45:56 DEBUG : file1: reading active writers 2025/10/02 03:45:56 DEBUG : file2: reading active writers 2025/10/02 03:45:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:45:57 DEBUG : Looking for writers 2025/10/02 03:45:57 DEBUG : file1: reading active writers 2025/10/02 03:45:57 DEBUG : file2: reading active writers 2025/10/02 03:45:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:45:58 DEBUG : Looking for writers 2025/10/02 03:45:58 DEBUG : file1: reading active writers 2025/10/02 03:45:58 DEBUG : file2: reading active writers 2025/10/02 03:45:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:45:59 DEBUG : Looking for writers 2025/10/02 03:45:59 DEBUG : file2: reading active writers 2025/10/02 03:45:59 DEBUG : file1: reading active writers 2025/10/02 03:45:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:00 DEBUG : Looking for writers 2025/10/02 03:46:00 DEBUG : file1: reading active writers 2025/10/02 03:46:00 DEBUG : file2: reading active writers 2025/10/02 03:46:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:01 DEBUG : Looking for writers 2025/10/02 03:46:01 DEBUG : file1: reading active writers 2025/10/02 03:46:01 DEBUG : file2: reading active writers 2025/10/02 03:46:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:02 DEBUG : Looking for writers 2025/10/02 03:46:02 DEBUG : file1: reading active writers 2025/10/02 03:46:02 DEBUG : file2: reading active writers 2025/10/02 03:46:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:03 DEBUG : Looking for writers 2025/10/02 03:46:03 DEBUG : file1: reading active writers 2025/10/02 03:46:03 DEBUG : file2: reading active writers 2025/10/02 03:46:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:04 DEBUG : Looking for writers 2025/10/02 03:46:04 DEBUG : file1: reading active writers 2025/10/02 03:46:04 DEBUG : file2: reading active writers 2025/10/02 03:46:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:05 DEBUG : Looking for writers 2025/10/02 03:46:05 DEBUG : file1: reading active writers 2025/10/02 03:46:05 DEBUG : file2: reading active writers 2025/10/02 03:46:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:06 DEBUG : Looking for writers 2025/10/02 03:46:06 DEBUG : file1: reading active writers 2025/10/02 03:46:06 DEBUG : file2: reading active writers 2025/10/02 03:46:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:07 DEBUG : Looking for writers 2025/10/02 03:46:07 DEBUG : file1: reading active writers 2025/10/02 03:46:07 DEBUG : file2: reading active writers 2025/10/02 03:46:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:08 DEBUG : Looking for writers 2025/10/02 03:46:08 DEBUG : file1: reading active writers 2025/10/02 03:46:08 DEBUG : file2: reading active writers 2025/10/02 03:46:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:09 DEBUG : Looking for writers 2025/10/02 03:46:09 DEBUG : file1: reading active writers 2025/10/02 03:46:09 DEBUG : file2: reading active writers 2025/10/02 03:46:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:10 DEBUG : Looking for writers 2025/10/02 03:46:10 DEBUG : file1: reading active writers 2025/10/02 03:46:10 DEBUG : file2: reading active writers 2025/10/02 03:46:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:11 DEBUG : Looking for writers 2025/10/02 03:46:11 DEBUG : file1: reading active writers 2025/10/02 03:46:11 DEBUG : file2: reading active writers 2025/10/02 03:46:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:12 DEBUG : Looking for writers 2025/10/02 03:46:12 DEBUG : file1: reading active writers 2025/10/02 03:46:12 DEBUG : file2: reading active writers 2025/10/02 03:46:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:13 DEBUG : Looking for writers 2025/10/02 03:46:13 DEBUG : file1: reading active writers 2025/10/02 03:46:13 DEBUG : file2: reading active writers 2025/10/02 03:46:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:14 DEBUG : Looking for writers 2025/10/02 03:46:14 DEBUG : file1: reading active writers 2025/10/02 03:46:14 DEBUG : file2: reading active writers 2025/10/02 03:46:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:15 DEBUG : Looking for writers 2025/10/02 03:46:15 DEBUG : file1: reading active writers 2025/10/02 03:46:15 DEBUG : file2: reading active writers 2025/10/02 03:46:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:46:16 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00061b1d0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc007531408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824756606016} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992572987789186692 ext:885590125547 loc:0x41303e0} ATime:{wall:13992572987789586852 ext:885590525708 loc:0x41303e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc00061b1d0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc007531508 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824756606272} name:file2 opens:0 downloaders: o:0xc0003c2c80 fd: info:{ModTime:{wall:13992572987790840085 ext:885591778941 loc:0x41303e0} ATime:{wall:13992572987791120732 ext:885592059577 loc:0x41303e0} Size:0 Rs:[] Fingerprint:0,2025-10-02 03:41:48.520081685 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/02 03:46:16 DEBUG : >WaitForWriters: 2025/10/02 03:46:16 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteNoWrite (365.71s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:47:53 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:47:53 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:47:53 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:47:53 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:47:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:47:53 DEBUG : Config file has changed externally - reloading 2025/10/02 03:47:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:47:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:47:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:47:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:47:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:47:53 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:47:56.055590 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:47:56.055627 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:47:56 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:47:56 DEBUG : Looking for writers 2025/10/02 03:47:56 DEBUG : >WaitForWriters: 2025/10/02 03:47:56 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (3.51s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:47:57 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:47:57 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:47:57 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:47:57 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:47:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:47:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:47:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:47:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:47:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:47:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:47:57 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:47:59.294040 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:47:59.294075 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:47:59 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:47:59 DEBUG : Looking for writers 2025/10/02 03:47:59 DEBUG : >WaitForWriters: 2025/10/02 03:47:59 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (3.22s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:48:00 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:48:00 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:48:00 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:48:00 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:48:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:48:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:48:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:48:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:48:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:48:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:48:00 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:48:00 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:48:00 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:48:00 DEBUG : file1: newRWFileHandle: 2025/10/02 03:48:00 DEBUG : file1(0xc00071a940): openPending: 2025/10/02 03:48:00 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/02 03:48:00 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:48:00 DEBUG : file1(0xc00071a940): >openPending: err= 2025/10/02 03:48:00 DEBUG : file1: >newRWFileHandle: err= 2025/10/02 03:48:00 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:48:00 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/02 03:48:00 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/02 03:48:01.984107 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:48:01.984153 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:48:01 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:48:01 DEBUG : Looking for writers 2025/10/02 03:48:01 DEBUG : file1: reading active writers 2025/10/02 03:48:01 DEBUG : file1: active writers 1 2025/10/02 03:48:01 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/02 03:48:01 DEBUG : Looking for writers 2025/10/02 03:48:01 DEBUG : file1: reading active writers 2025/10/02 03:48:01 DEBUG : file1: active writers 1 2025/10/02 03:48:01 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/02 03:48:02 DEBUG : Looking for writers 2025/10/02 03:48:02 DEBUG : file1: reading active writers 2025/10/02 03:48:02 DEBUG : file1: active writers 1 2025/10/02 03:48:02 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/02 03:48:02 DEBUG : Looking for writers 2025/10/02 03:48:02 DEBUG : file1: reading active writers 2025/10/02 03:48:02 DEBUG : file1: active writers 1 2025/10/02 03:48:02 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/02 03:48:02 DEBUG : Looking for writers 2025/10/02 03:48:02 DEBUG : file1: reading active writers 2025/10/02 03:48:02 DEBUG : file1: active writers 1 2025/10/02 03:48:02 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/02 03:48:02 DEBUG : Looking for writers 2025/10/02 03:48:02 DEBUG : file1: reading active writers 2025/10/02 03:48:02 DEBUG : file1: active writers 1 2025/10/02 03:48:02 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/02 03:48:02 DEBUG : Looking for writers 2025/10/02 03:48:02 DEBUG : file1: reading active writers 2025/10/02 03:48:02 DEBUG : file1: active writers 1 2025/10/02 03:48:02 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/02 03:48:03 DEBUG : Looking for writers 2025/10/02 03:48:03 DEBUG : file1: reading active writers 2025/10/02 03:48:03 DEBUG : file1: active writers 1 2025/10/02 03:48:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:04 DEBUG : Looking for writers 2025/10/02 03:48:04 DEBUG : file1: reading active writers 2025/10/02 03:48:04 DEBUG : file1: active writers 1 2025/10/02 03:48:04 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:05 DEBUG : Looking for writers 2025/10/02 03:48:05 DEBUG : file1: reading active writers 2025/10/02 03:48:05 DEBUG : file1: active writers 1 2025/10/02 03:48:05 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:06 DEBUG : Looking for writers 2025/10/02 03:48:06 DEBUG : file1: reading active writers 2025/10/02 03:48:06 DEBUG : file1: active writers 1 2025/10/02 03:48:06 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:07 DEBUG : Looking for writers 2025/10/02 03:48:07 DEBUG : file1: reading active writers 2025/10/02 03:48:07 DEBUG : file1: active writers 1 2025/10/02 03:48:07 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:08 DEBUG : Looking for writers 2025/10/02 03:48:08 DEBUG : file1: reading active writers 2025/10/02 03:48:08 DEBUG : file1: active writers 1 2025/10/02 03:48:08 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:09 DEBUG : Looking for writers 2025/10/02 03:48:09 DEBUG : file1: reading active writers 2025/10/02 03:48:09 DEBUG : file1: active writers 1 2025/10/02 03:48:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:10 DEBUG : Looking for writers 2025/10/02 03:48:10 DEBUG : file1: reading active writers 2025/10/02 03:48:10 DEBUG : file1: active writers 1 2025/10/02 03:48:10 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:11 DEBUG : Looking for writers 2025/10/02 03:48:11 DEBUG : file1: reading active writers 2025/10/02 03:48:11 DEBUG : file1: active writers 1 2025/10/02 03:48:11 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:12 DEBUG : Looking for writers 2025/10/02 03:48:12 DEBUG : file1: reading active writers 2025/10/02 03:48:12 DEBUG : file1: active writers 1 2025/10/02 03:48:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:13 DEBUG : Looking for writers 2025/10/02 03:48:13 DEBUG : file1: reading active writers 2025/10/02 03:48:13 DEBUG : file1: active writers 1 2025/10/02 03:48:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:14 DEBUG : Looking for writers 2025/10/02 03:48:14 DEBUG : file1: reading active writers 2025/10/02 03:48:14 DEBUG : file1: active writers 1 2025/10/02 03:48:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:15 DEBUG : Looking for writers 2025/10/02 03:48:15 DEBUG : file1: reading active writers 2025/10/02 03:48:15 DEBUG : file1: active writers 1 2025/10/02 03:48:15 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:16 DEBUG : Looking for writers 2025/10/02 03:48:16 DEBUG : file1: reading active writers 2025/10/02 03:48:16 DEBUG : file1: active writers 1 2025/10/02 03:48:16 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:17 DEBUG : Looking for writers 2025/10/02 03:48:17 DEBUG : file1: reading active writers 2025/10/02 03:48:17 DEBUG : file1: active writers 1 2025/10/02 03:48:17 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:18 DEBUG : Looking for writers 2025/10/02 03:48:18 DEBUG : file1: reading active writers 2025/10/02 03:48:18 DEBUG : file1: active writers 1 2025/10/02 03:48:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:19 DEBUG : Looking for writers 2025/10/02 03:48:19 DEBUG : file1: reading active writers 2025/10/02 03:48:19 DEBUG : file1: active writers 1 2025/10/02 03:48:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:20 DEBUG : Looking for writers 2025/10/02 03:48:20 DEBUG : file1: reading active writers 2025/10/02 03:48:20 DEBUG : file1: active writers 1 2025/10/02 03:48:20 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:21 DEBUG : Looking for writers 2025/10/02 03:48:21 DEBUG : file1: reading active writers 2025/10/02 03:48:21 DEBUG : file1: active writers 1 2025/10/02 03:48:21 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:22 DEBUG : Looking for writers 2025/10/02 03:48:22 DEBUG : file1: reading active writers 2025/10/02 03:48:22 DEBUG : file1: active writers 1 2025/10/02 03:48:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:23 DEBUG : Looking for writers 2025/10/02 03:48:23 DEBUG : file1: reading active writers 2025/10/02 03:48:23 DEBUG : file1: active writers 1 2025/10/02 03:48:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:24 DEBUG : Looking for writers 2025/10/02 03:48:24 DEBUG : file1: reading active writers 2025/10/02 03:48:24 DEBUG : file1: active writers 1 2025/10/02 03:48:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:25 DEBUG : Looking for writers 2025/10/02 03:48:25 DEBUG : file1: reading active writers 2025/10/02 03:48:25 DEBUG : file1: active writers 1 2025/10/02 03:48:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:26 DEBUG : Looking for writers 2025/10/02 03:48:26 DEBUG : file1: reading active writers 2025/10/02 03:48:26 DEBUG : file1: active writers 1 2025/10/02 03:48:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:27 DEBUG : Looking for writers 2025/10/02 03:48:27 DEBUG : file1: reading active writers 2025/10/02 03:48:27 DEBUG : file1: active writers 1 2025/10/02 03:48:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:28 DEBUG : Looking for writers 2025/10/02 03:48:28 DEBUG : file1: reading active writers 2025/10/02 03:48:28 DEBUG : file1: active writers 1 2025/10/02 03:48:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:29 DEBUG : Looking for writers 2025/10/02 03:48:29 DEBUG : file1: reading active writers 2025/10/02 03:48:29 DEBUG : file1: active writers 1 2025/10/02 03:48:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:30 DEBUG : Looking for writers 2025/10/02 03:48:30 DEBUG : file1: reading active writers 2025/10/02 03:48:30 DEBUG : file1: active writers 1 2025/10/02 03:48:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:31 DEBUG : Looking for writers 2025/10/02 03:48:31 DEBUG : file1: reading active writers 2025/10/02 03:48:31 DEBUG : file1: active writers 1 2025/10/02 03:48:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 03:48:31 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00723af00 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc007ca8408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824764433472} name:file1 opens:1 downloaders: o: fd:0xc00011e258 info:{ModTime:{wall:13992573387671115643 ext:1258040095960 loc:0x41303e0} ATime:{wall:13992573387671115643 ext:1258040095960 loc:0x41303e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/02 03:48:31 DEBUG : >WaitForWriters: 2025/10/02 03:48:31 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (31.89s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:48:32 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:48:32 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 03:48:32 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:48:32 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:48:32 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:48:32 DEBUG : Config file has changed externally - reloading 2025/10/02 03:48:32 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:48:32 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:48:32 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:48:32 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 03:48:32 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-jevixom2hixi" 2025/10/02 03:48:32 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 03:48:32 DEBUG : forgetting directory cache 2025/10/02 03:48:33.785018 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:48:33.785043 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:48:33 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:48:33 DEBUG : Looking for writers 2025/10/02 03:48:33 DEBUG : >WaitForWriters: 2025/10/02 03:48:33 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (1.81s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:48:35.464104 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:48:35.464127 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (1.67s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:48:37.141309 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:48:37.141337 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.70s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:48:37 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:48:37 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:48:38.562676 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/02 03:48:38.562725 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-jevixom2hixi'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:48:39 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:48:39 DEBUG : Looking for writers 2025/10/02 03:48:39 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (2.44s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:48:40 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:48:40 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:48:41.077899 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/02 03:48:41.077931 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-jevixom2hixi'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:48:42 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:48:42 DEBUG : Looking for writers 2025/10/02 03:48:42 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (2.49s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:48:42 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:48:42 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:48:43.505937 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/02 03:48:43.505988 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-jevixom2hixi'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:48:44 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:48:44 DEBUG : Looking for writers 2025/10/02 03:48:44 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (2.49s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:48:45 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:48:45 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:48:47.094597 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:48:47.094621 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:48:47 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:48:47 DEBUG : Looking for writers 2025/10/02 03:48:47 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (3.47s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:48:48 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:48:48 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:48:48 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:48:48 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:48:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:48:48 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 03:48:48 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 03:48:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:48:48 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/02 03:48:48 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/02 03:48:48 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/02 03:48:48 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': File to upload is small (5 bytes), uploading instead of streaming 2025/10/02 03:48:49.764776 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/02 03:48:49.765537 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/02 03:48:50 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:48:50 DEBUG : file1: Remove: 2025/10/02 03:48:50 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 03:48:50 DEBUG : file1: >Remove: err= write_test.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:144 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:153 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/02 03:49:47 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/02 03:51:48 DEBUG : forgetting directory cache 2025/10/02 03:51:48 DEBUG : Removed virtual directory entry vAddFile: "file2" fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want file1 (5) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleMethods Messages: 1 objects not found 2025/10/02 03:52:14 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:52:14 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:52:14 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:52:14 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 03:52:14 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 03:52:14 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:52:14 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': File to upload is small (0 bytes), uploading instead of streaming 2025/10/02 03:53:53.699801 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/02 03:53:53.699825 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/02 03:53:54 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:53:54 DEBUG : file1: Remove: 2025/10/02 03:53:54 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 03:53:54 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/02 03:53:54 DEBUG : Re-reading directory (5m5.948959682s old) 2025/10/02 03:53:55 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/02 03:53:55 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:53:55 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:53:55 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:53:55 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 03:53:55 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 03:53:55 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/02 03:53:55 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:53:55 DEBUG : Looking for writers 2025/10/02 03:53:55 DEBUG : file1: reading active writers 2025/10/02 03:53:55 DEBUG : file1: active writers 1 2025/10/02 03:53:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/02 03:53:55 DEBUG : Looking for writers 2025/10/02 03:53:55 DEBUG : file1: reading active writers 2025/10/02 03:53:55 DEBUG : file1: active writers 1 2025/10/02 03:53:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/02 03:53:55 DEBUG : Looking for writers 2025/10/02 03:53:55 DEBUG : file1: reading active writers 2025/10/02 03:53:55 DEBUG : file1: active writers 1 2025/10/02 03:53:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/02 03:53:55 DEBUG : Looking for writers 2025/10/02 03:53:55 DEBUG : file1: reading active writers 2025/10/02 03:53:55 DEBUG : file1: active writers 1 2025/10/02 03:53:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/02 03:53:55 DEBUG : Looking for writers 2025/10/02 03:53:55 DEBUG : file1: reading active writers 2025/10/02 03:53:55 DEBUG : file1: active writers 1 2025/10/02 03:53:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/02 03:53:55 DEBUG : Looking for writers 2025/10/02 03:53:55 DEBUG : file1: reading active writers 2025/10/02 03:53:55 DEBUG : file1: active writers 1 2025/10/02 03:53:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/02 03:53:55 DEBUG : Looking for writers 2025/10/02 03:53:55 DEBUG : file1: reading active writers 2025/10/02 03:53:55 DEBUG : file1: active writers 1 2025/10/02 03:53:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/02 03:53:56 DEBUG : Looking for writers 2025/10/02 03:53:56 DEBUG : file1: reading active writers 2025/10/02 03:53:56 DEBUG : file1: active writers 1 2025/10/02 03:53:56 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:53:57 DEBUG : Looking for writers 2025/10/02 03:53:57 DEBUG : file1: reading active writers 2025/10/02 03:53:57 DEBUG : file1: active writers 1 2025/10/02 03:53:57 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:53:58 DEBUG : Looking for writers 2025/10/02 03:53:58 DEBUG : file1: reading active writers 2025/10/02 03:53:58 DEBUG : file1: active writers 1 2025/10/02 03:53:58 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:53:59 DEBUG : Looking for writers 2025/10/02 03:53:59 DEBUG : file1: reading active writers 2025/10/02 03:53:59 DEBUG : file1: active writers 1 2025/10/02 03:53:59 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:00 DEBUG : Looking for writers 2025/10/02 03:54:00 DEBUG : file1: reading active writers 2025/10/02 03:54:00 DEBUG : file1: active writers 1 2025/10/02 03:54:00 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:01 DEBUG : Looking for writers 2025/10/02 03:54:01 DEBUG : file1: reading active writers 2025/10/02 03:54:01 DEBUG : file1: active writers 1 2025/10/02 03:54:01 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:02 DEBUG : Looking for writers 2025/10/02 03:54:02 DEBUG : file1: reading active writers 2025/10/02 03:54:02 DEBUG : file1: active writers 1 2025/10/02 03:54:02 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:03 DEBUG : Looking for writers 2025/10/02 03:54:03 DEBUG : file1: reading active writers 2025/10/02 03:54:03 DEBUG : file1: active writers 1 2025/10/02 03:54:03 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:04 DEBUG : Looking for writers 2025/10/02 03:54:04 DEBUG : file1: reading active writers 2025/10/02 03:54:04 DEBUG : file1: active writers 1 2025/10/02 03:54:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:05 DEBUG : Looking for writers 2025/10/02 03:54:05 DEBUG : file1: reading active writers 2025/10/02 03:54:05 DEBUG : file1: active writers 1 2025/10/02 03:54:05 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:06 DEBUG : Looking for writers 2025/10/02 03:54:06 DEBUG : file1: reading active writers 2025/10/02 03:54:06 DEBUG : file1: active writers 1 2025/10/02 03:54:06 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:07 DEBUG : Looking for writers 2025/10/02 03:54:07 DEBUG : file1: reading active writers 2025/10/02 03:54:07 DEBUG : file1: active writers 1 2025/10/02 03:54:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:08 DEBUG : Looking for writers 2025/10/02 03:54:08 DEBUG : file1: reading active writers 2025/10/02 03:54:08 DEBUG : file1: active writers 1 2025/10/02 03:54:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:09 DEBUG : Looking for writers 2025/10/02 03:54:09 DEBUG : file1: reading active writers 2025/10/02 03:54:09 DEBUG : file1: active writers 1 2025/10/02 03:54:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:10 DEBUG : Looking for writers 2025/10/02 03:54:10 DEBUG : file1: reading active writers 2025/10/02 03:54:10 DEBUG : file1: active writers 1 2025/10/02 03:54:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:11 DEBUG : Looking for writers 2025/10/02 03:54:11 DEBUG : file1: reading active writers 2025/10/02 03:54:11 DEBUG : file1: active writers 1 2025/10/02 03:54:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:12 DEBUG : Looking for writers 2025/10/02 03:54:12 DEBUG : file1: reading active writers 2025/10/02 03:54:12 DEBUG : file1: active writers 1 2025/10/02 03:54:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:13 DEBUG : Looking for writers 2025/10/02 03:54:13 DEBUG : file1: reading active writers 2025/10/02 03:54:13 DEBUG : file1: active writers 1 2025/10/02 03:54:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:14 DEBUG : Looking for writers 2025/10/02 03:54:14 DEBUG : file1: reading active writers 2025/10/02 03:54:14 DEBUG : file1: active writers 1 2025/10/02 03:54:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:15 DEBUG : Looking for writers 2025/10/02 03:54:15 DEBUG : file1: reading active writers 2025/10/02 03:54:15 DEBUG : file1: active writers 1 2025/10/02 03:54:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:16 DEBUG : Looking for writers 2025/10/02 03:54:16 DEBUG : file1: reading active writers 2025/10/02 03:54:16 DEBUG : file1: active writers 1 2025/10/02 03:54:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:17 DEBUG : Looking for writers 2025/10/02 03:54:17 DEBUG : file1: reading active writers 2025/10/02 03:54:17 DEBUG : file1: active writers 1 2025/10/02 03:54:17 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:18 DEBUG : Looking for writers 2025/10/02 03:54:18 DEBUG : file1: reading active writers 2025/10/02 03:54:18 DEBUG : file1: active writers 1 2025/10/02 03:54:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:19 DEBUG : Looking for writers 2025/10/02 03:54:19 DEBUG : file1: reading active writers 2025/10/02 03:54:19 DEBUG : file1: active writers 1 2025/10/02 03:54:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:20 DEBUG : Looking for writers 2025/10/02 03:54:20 DEBUG : file1: reading active writers 2025/10/02 03:54:20 DEBUG : file1: active writers 1 2025/10/02 03:54:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:21 DEBUG : Looking for writers 2025/10/02 03:54:21 DEBUG : file1: reading active writers 2025/10/02 03:54:21 DEBUG : file1: active writers 1 2025/10/02 03:54:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:22 DEBUG : Looking for writers 2025/10/02 03:54:22 DEBUG : file1: reading active writers 2025/10/02 03:54:22 DEBUG : file1: active writers 1 2025/10/02 03:54:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:23 DEBUG : Looking for writers 2025/10/02 03:54:23 DEBUG : file1: reading active writers 2025/10/02 03:54:23 DEBUG : file1: active writers 1 2025/10/02 03:54:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:24 DEBUG : Looking for writers 2025/10/02 03:54:24 DEBUG : file1: reading active writers 2025/10/02 03:54:24 DEBUG : file1: active writers 1 2025/10/02 03:54:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 03:54:25 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/02 03:54:25 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (337.15s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:54:25 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:54:25 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:54:25 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:54:26 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:54:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:54:26 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 03:54:26 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 03:54:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:54:26 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/02 03:54:27 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/02 03:54:27 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/02 03:54:27 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/02 03:54:27 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': File to upload is small (11 bytes), uploading instead of streaming 2025/10/02 03:54:27.946265 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/02 03:54:27.946282 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/02 03:54:29 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:54:29 DEBUG : file1: Remove: 2025/10/02 03:54:29 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 03:54:29 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/02 03:54:29 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/02 03:55:49 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/02 03:57:53 DEBUG : forgetting directory cache 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/02 03:57:56 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:57:56 DEBUG : Looking for writers 2025/10/02 03:57:56 DEBUG : >WaitForWriters: 2025/10/02 03:57:57 DEBUG : forgetting directory cache 2025/10/02 03:58:00 DEBUG : forgetting directory cache 2025/10/02 03:58:37 DEBUG : forgetting directory cache 2025/10/02 03:58:40 DEBUG : forgetting directory cache 2025/10/02 03:58:42 DEBUG : forgetting directory cache 2025/10/02 03:58:45 DEBUG : forgetting directory cache --- FAIL: TestWriteFileHandleWriteAt (309.59s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:59:35 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:59:35 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:59:35 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:59:35 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:59:35 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:59:35 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 03:59:35 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 03:59:35 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/02 03:59:35 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:59:35 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': File to upload is small (5 bytes), uploading instead of streaming 2025/10/02 03:59:36.557979 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/02 03:59:36.558003 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/02 03:59:37 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/02 03:59:37 DEBUG : file1: Remove: 2025/10/02 03:59:37 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 03:59:37 DEBUG : file1: >Remove: err= 2025/10/02 03:59:37 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/02 03:59:37 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/02 03:59:37 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:59:37 DEBUG : Looking for writers 2025/10/02 03:59:37 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (2.85s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:59:38 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:59:38 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:59:38 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:59:38 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:59:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:59:38 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 03:59:38 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 03:59:38 DEBUG : file1: WriteFileHandle.Release closing 2025/10/02 03:59:38 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:59:38 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': File to upload is small (0 bytes), uploading instead of streaming 2025/10/02 03:59:39.345888 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/02 03:59:39.345921 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/02 03:59:40 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 03:59:40 DEBUG : file1: Remove: 2025/10/02 03:59:40 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 03:59:40 DEBUG : file1: >Remove: err= 2025/10/02 03:59:40 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/02 03:59:40 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/02 03:59:40 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:59:40 DEBUG : Looking for writers 2025/10/02 03:59:40 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (2.71s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:59:40 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:59:40 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:59:40 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:59:41 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:59:41 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:59:41 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 03:59:41 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 03:59:41 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:59:41 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': File to upload is small (2 bytes), uploading instead of streaming 2025/10/02 03:59:42.008561 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/02 03:59:42.008584 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/02 03:59:43 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/02 03:59:43 DEBUG : file1: Remove: 2025/10/02 03:59:43 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 03:59:43 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/02 03:59:43 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:59:43 DEBUG : Looking for writers 2025/10/02 03:59:43 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (2.81s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:59:43 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:59:43 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:59:43 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:59:44 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:59:44 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:59:44 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 03:59:44 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 03:59:44 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:59:44 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': File to upload is small (0 bytes), uploading instead of streaming 2025/10/02 03:59:44.896552 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/02 03:59:44.896586 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/02 03:59:45 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/02 03:59:45 DEBUG : file1: Remove: 2025/10/02 03:59:45 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 03:59:45 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/02 03:59:45 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/02 03:59:45 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/02 03:59:45 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:59:45 DEBUG : Looking for writers 2025/10/02 03:59:45 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (2.80s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:59:46 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:59:46 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:59:46 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 03:59:46 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 03:59:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:59:46 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 03:59:46 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 03:59:46 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 03:59:46 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': File to upload is small (100 bytes), uploading instead of streaming 2025/10/02 03:59:47.664645 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/02 03:59:47.664676 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/02 03:59:47 DEBUG : forgetting directory cache 2025/10/02 03:59:48 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/02 03:59:48 DEBUG : file1: Remove: 2025/10/02 03:59:48 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 03:59:48 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/02 03:59:48 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/02 03:59:48 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/02 03:59:48 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:59:48 DEBUG : Looking for writers 2025/10/02 03:59:48 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (2.79s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:59:49 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:59:49 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:59:51.578831 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:59:51.578868 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:59:51 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:59:51 DEBUG : Looking for writers 2025/10/02 03:59:51 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (3.67s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:59:53 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:59:53 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:59:54.896342 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:59:54.896370 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:59:54 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:59:54 DEBUG : Looking for writers 2025/10/02 03:59:54 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (3.40s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 03:59:56 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 03:59:56 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 03:59:58.609980 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:59:58.610004 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 03:59:58 DEBUG : WaitForWriters: timeout=30s 2025/10/02 03:59:58 DEBUG : Looking for writers 2025/10/02 03:59:58 DEBUG : >WaitForWriters: 2025/10/02 03:59:58.906536 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 03:59:58.906563 ERROR RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (3.61s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-jevixom2hixi'", Local "Local file system at /tmp/rclone2532585471", Modify Window "1s" 2025/10/02 04:00:00 INFO : proton drive root link ID 'rclone-test-jevixom2hixi': poll-interval is not supported by this remote 2025/10/02 04:00:00 NOTICE: proton drive root link ID 'rclone-test-jevixom2hixi': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 04:00:02.066612 WARN RESTY 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 04:00:02.066649 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-jevixom2hixi'": 422 POST https://zrh-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 04:00:02 DEBUG : WaitForWriters: timeout=30s 2025/10/02 04:00:02 DEBUG : Looking for writers 2025/10/02 04:00:02 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (3.66s) FAIL 2025/10/02 04:00:03 DEBUG : proton drive root link ID 'rclone-test-jevixom2hixi': 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 33m1.349378356s (try 5/5): exit status 1: Failed [TestDirHandleMethods TestDirHandleReaddir TestDirHandleReaddirnames TestDirMethods TestDirForgetAll TestDirForgetPath TestDirWalk TestDirSetModTime TestDirStat TestDirReadDirAll TestDirOpen TestDirCreate TestDirMkdir TestDirMkdirSub TestDirRemove TestDirRemoveAll TestDirRemoveName TestDirRename TestDirFileOpen TestDirMetadataExtension TestFileMethods TestFileSetModTime/cache=off,open=false,write=false TestFileSetModTime/cache=off,open=true,write=false TestFileSetModTime/cache=off,open=true,write=true TestFileSetModTime/cache=full,open=false,write=false TestFileSetModTime/cache=full,open=true,write=false TestFileSetModTime/cache=full,open=true,write=true TestFileOpenRead TestFileOpenWrite TestFileRemove TestFileRemoveAll TestFileOpen TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestReadFileHandleMethods TestReadFileHandleSeek TestReadFileHandleReadAt TestReadFileHandleFlush TestReadFileHandleRelease TestRWFileHandleMethodsRead TestRWFileHandleSeek TestRWFileHandleReadAt TestRWFileHandleFlushRead TestRWFileHandleReleaseRead TestRWFileHandleMethodsWrite TestRWFileHandleWriteAt TestRWFileHandleWriteNoWrite TestRWFileHandleSizeTruncateExisting TestRWFileHandleSizeCreateExisting TestRWFileModTimeWithOpenWriters TestRWCacheUpdate TestCaseSensitivity TestUnicodeNormalization TestVFSStat TestVFSStatParent TestVFSOpenFile TestVFSRename TestWriteFileHandleMethods TestWriteFileHandleWriteAt TestWriteFileHandleFlush TestWriteFileHandleRelease TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestFileReadAtNonZeroLength TestZipManyFiles TestZipManySubDirs TestZipLargeFiles TestZipDirsInRoot]