"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseSensitivity|TestDirCreate|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMetadataExtension|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSOpenFile|TestVFSRename|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$'" - Starting (try 3/5) 2025/10/05 03:12:27 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-migeyiw0puke" 2025/10/05 03:12:27 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/05 03:12:27 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': Has cached credentials 2025/10/05 03:12:28 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': Used cached credential to initialize the ProtonDrive API 2025/10/05 03:12:28 DEBUG : Creating backend with remote "/tmp/rclone588139798" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:28 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:28 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:30.208950 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:30.209004 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:30 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:30 DEBUG : Looking for writers 2025/10/05 03:12:30 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (2.80s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:31 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:31 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:32.313243 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:32.313295 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:32 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:32 DEBUG : Looking for writers 2025/10/05 03:12:32 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (2.01s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:33 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:33 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:34.322619 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:34.322660 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:34 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:34 DEBUG : Looking for writers 2025/10/05 03:12:34 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (2.00s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:35 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:35 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:36.319655 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:36.319737 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:36 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:36 DEBUG : Looking for writers 2025/10/05 03:12:36 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (2.02s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:37 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:37 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:38.335066 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:38.335115 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:38 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:38 DEBUG : Looking for writers 2025/10/05 03:12:38 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (2.05s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:39 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:39 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:40.350304 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:40.350348 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:40 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:40 DEBUG : Looking for writers 2025/10/05 03:12:40 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (1.97s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:41 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:41 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:42.340988 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:42.341038 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:42 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:42 DEBUG : Looking for writers 2025/10/05 03:12:42 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (2.02s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:43 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:43 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:44.322599 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:44.322627 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:44 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:44 DEBUG : Looking for writers 2025/10/05 03:12:44 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (1.96s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:45 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:45 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:46.299822 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:46.299866 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:46 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:46 DEBUG : Looking for writers 2025/10/05 03:12:46 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (1.97s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:47 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:47 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:48.241381 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:48.241439 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:48 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:48 DEBUG : Looking for writers 2025/10/05 03:12:48 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (1.92s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:49 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:49 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:50.214455 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:50.214490 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:50 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:50 DEBUG : Looking for writers 2025/10/05 03:12:50 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (1.98s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:51 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:51 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:52.171823 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:52.171858 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:52 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:52 DEBUG : Looking for writers 2025/10/05 03:12:52 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (1.97s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:52 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:52 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:54.120425 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:54.120463 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:54 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:54 DEBUG : Looking for writers 2025/10/05 03:12:54 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (1.98s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:54 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:54 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:56.277114 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:56.277194 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:56 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:56 DEBUG : Looking for writers 2025/10/05 03:12:56 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (2.11s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:57 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:57 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:12:58.241842 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:12:58.241870 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:12:58 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:12:58 DEBUG : Looking for writers 2025/10/05 03:12:58 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (2.03s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:12:59 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:12:59 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:00.282155 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:00.282200 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:00 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:00 DEBUG : Looking for writers 2025/10/05 03:13:00 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (2.00s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:01 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:01 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:02.307927 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:02.307959 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:02 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:02 DEBUG : Looking for writers 2025/10/05 03:13:02 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (2.01s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:03 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:03 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:04.356145 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:04.356183 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:04 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:04 DEBUG : Looking for writers 2025/10/05 03:13:04 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (2.17s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:05 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:05 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:06.494007 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:06.494039 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:06 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:06 DEBUG : Looking for writers 2025/10/05 03:13:06 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (2.04s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:07 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:07 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:08.519026 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:08.519047 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:08 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:08 DEBUG : Looking for writers 2025/10/05 03:13:08 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (2.01s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:09 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:09 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:10.553879 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:10.553910 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:10 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:10 DEBUG : Looking for writers 2025/10/05 03:13:10 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (2.07s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:11 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:11 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:12.520301 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:12.520336 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:12 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:12 DEBUG : Looking for writers 2025/10/05 03:13:12 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:13 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:13 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:14.540052 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:14.540089 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:14 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:14 DEBUG : Looking for writers 2025/10/05 03:13:14 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:15 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:15 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:16.624965 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:16.624989 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:16 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:16 DEBUG : Looking for writers 2025/10/05 03:13:16 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:17 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:17 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:13:17 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:17 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:17 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:17 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:17 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:17 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:13:18.683629 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:18.683680 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:18 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:18 DEBUG : Looking for writers 2025/10/05 03:13:18 DEBUG : >WaitForWriters: 2025/10/05 03:13:18 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:19 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:19 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:13:19 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:19 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:19 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:19 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:19 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:19 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:13:20.627514 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:20.627554 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:20 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:20 DEBUG : Looking for writers 2025/10/05 03:13:20 DEBUG : >WaitForWriters: 2025/10/05 03:13:20 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:21 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:21 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:13:21 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:21 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:21 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:13:22.702608 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:22.702640 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:22 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:22 DEBUG : Looking for writers 2025/10/05 03:13:22 DEBUG : >WaitForWriters: 2025/10/05 03:13:22 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (12.15s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (1.94s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (2.06s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (2.11s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (1.97s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (1.98s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (2.08s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:23 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:23 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:24.768349 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:24.768384 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:24 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:24 DEBUG : Looking for writers 2025/10/05 03:13:24 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (2.06s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:25 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:25 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:26.760320 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:26.760346 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:26 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:26 DEBUG : Looking for writers 2025/10/05 03:13:26 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (2.00s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:27 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:27 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:28.801589 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:28.801643 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:28 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:28 DEBUG : Looking for writers 2025/10/05 03:13:28 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (2.06s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:29 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:29 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:30.824909 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:30.824941 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:30 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:30 DEBUG : Looking for writers 2025/10/05 03:13:30 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (2.11s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:31 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:31 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:32.976139 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:32.976181 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:32 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:32 DEBUG : Looking for writers 2025/10/05 03:13:32 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (2.03s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:33 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:33 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:35.107604 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:35.107644 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:35 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:35 DEBUG : Looking for writers 2025/10/05 03:13:35 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:35 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:35 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:35 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:13:35 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:35 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:35 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:35 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:35 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:13:37.197106 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:37.197147 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:37 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:37 DEBUG : Looking for writers 2025/10/05 03:13:37 DEBUG : >WaitForWriters: 2025/10/05 03:13:37 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:38 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:38 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:38 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:13:38 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:38 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:38 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:13:39.283396 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:39.283434 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:39 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:39 DEBUG : Looking for writers 2025/10/05 03:13:39 DEBUG : >WaitForWriters: 2025/10/05 03:13:39 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:40 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:40 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:13:40 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:40 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:40 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:13:41.392013 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:41.392046 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:41 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:41 DEBUG : Looking for writers 2025/10/05 03:13:41 DEBUG : >WaitForWriters: 2025/10/05 03:13:41 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:42 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:42 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:13:42 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:42 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:42 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:13:43.436976 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:43.437016 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:43 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:43 DEBUG : Looking for writers 2025/10/05 03:13:43 DEBUG : >WaitForWriters: 2025/10/05 03:13:43 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:44 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:44 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:13:44 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:44 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:44 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:13:45.491191 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:45.491222 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:45 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:45 DEBUG : Looking for writers 2025/10/05 03:13:45 DEBUG : >WaitForWriters: 2025/10/05 03:13:45 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestFileRename (12.50s) --- FAIL: TestFileRename/off,forceCache=false (2.11s) --- FAIL: TestFileRename/minimal,forceCache=false (2.15s) --- FAIL: TestFileRename/minimal,forceCache=true (2.04s) --- FAIL: TestFileRename/writes,forceCache=false (2.11s) --- FAIL: TestFileRename/writes,forceCache=true (2.12s) --- FAIL: TestFileRename/full,forceCache=false (1.96s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:46 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:46 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:47.469229 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:47.469296 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:47 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:47 DEBUG : Looking for writers 2025/10/05 03:13:47 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (2.01s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:48 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:48 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:49.493643 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:49.493696 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:49 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:49 DEBUG : Looking for writers 2025/10/05 03:13:49 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (2.00s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:50 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:50 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:51.491520 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:51.491598 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:51 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:51 DEBUG : Looking for writers 2025/10/05 03:13:51 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (2.03s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:52 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:52 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:53.538220 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:53.538268 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:53 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:53 DEBUG : Looking for writers 2025/10/05 03:13:53 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (2.00s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:54 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:54 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:13:55.558589 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:55.558613 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:55 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:55 DEBUG : Looking for writers 2025/10/05 03:13:55 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (2.03s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:56 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:56 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:13:56 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:56 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:56 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:13:57.536987 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:57.537017 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:57 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:57 DEBUG : Looking for writers 2025/10/05 03:13:57 DEBUG : >WaitForWriters: 2025/10/05 03:13:57 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (2.00s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:13:58 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:13:58 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:13:58 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:58 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:13:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:13:58 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:13:59.537038 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:13:59.537085 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:13:59 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:13:59 DEBUG : Looking for writers 2025/10/05 03:13:59 DEBUG : >WaitForWriters: 2025/10/05 03:13:59 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (1.99s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:14:00 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:14:00 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:14:00 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:00 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:14:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:00 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:00 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:14:00 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:00 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:14:01.576825 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:14:01.576860 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:14:01 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:14:01 DEBUG : Looking for writers 2025/10/05 03:14:01 DEBUG : >WaitForWriters: 2025/10/05 03:14:01 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (2.22s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:14:02 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:14:02 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:14:02 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:02 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:14:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:14:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:02 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:14:03.764048 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:14:03.764084 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:14:03 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:14:03 DEBUG : Looking for writers 2025/10/05 03:14:03 DEBUG : >WaitForWriters: 2025/10/05 03:14:03 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (1.99s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:14:04 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:14:04 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:14:04 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:04 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:14:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:14:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:04 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:14:05.725503 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:14:05.725526 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:14:05 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:14:05 DEBUG : Looking for writers 2025/10/05 03:14:05 DEBUG : >WaitForWriters: 2025/10/05 03:14:05 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (1.99s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:14:06 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:14:06 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:14:06 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:06 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:14:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:14:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:14:06 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:14:06 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:14:06 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:14:06 DEBUG : file1: newRWFileHandle: 2025/10/05 03:14:06 DEBUG : file1(0xc00011f580): openPending: 2025/10/05 03:14:06 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 03:14:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:14:06 DEBUG : file1(0xc00011f580): >openPending: err= 2025/10/05 03:14:06 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 03:14:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:14:06 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 03:14:06 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 03:14:06 DEBUG : file1(0xc00011f580): _writeAt: size=5, off=0 2025/10/05 03:14:06 DEBUG : file1(0xc00011f580): >_writeAt: n=5, err= 2025/10/05 03:14:06 DEBUG : file1(0xc00011f580): _writeAt: size=7, off=5 2025/10/05 03:14:06 DEBUG : file1(0xc00011f580): >_writeAt: n=7, err= 2025/10/05 03:14:06 DEBUG : file1: vfs cache: truncate to size=11 2025/10/05 03:14:06 DEBUG : file1(0xc00011f580): close: 2025/10/05 03:14:06 DEBUG : file1: vfs cache: setting modification time to 2025-10-05 03:14:06.764043003 +0000 UTC m=+99.646911598 2025/10/05 03:14:06 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/05 03:14:06 DEBUG : file1(0xc00011f580): >close: err= 2025/10/05 03:14:06 DEBUG : file1(0xc00011f580): close: 2025/10/05 03:14:06 DEBUG : file1(0xc00011f580): >close: err=file already closed 2025/10/05 03:14:06 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:14:06 DEBUG : Looking for writers 2025/10/05 03:14:06 DEBUG : file1: reading active writers 2025/10/05 03:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 03:14:06 DEBUG : Looking for writers 2025/10/05 03:14:06 DEBUG : file1: reading active writers 2025/10/05 03:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 03:14:06 DEBUG : Looking for writers 2025/10/05 03:14:06 DEBUG : file1: reading active writers 2025/10/05 03:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 03:14:06 DEBUG : Looking for writers 2025/10/05 03:14:06 DEBUG : file1: reading active writers 2025/10/05 03:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 03:14:06 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:14:06 DEBUG : Looking for writers 2025/10/05 03:14:06 DEBUG : file1: reading active writers 2025/10/05 03:14:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 03:14:07 DEBUG : Looking for writers 2025/10/05 03:14:07 DEBUG : file1: reading active writers 2025/10/05 03:14:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 03:14:07 DEBUG : Looking for writers 2025/10/05 03:14:07 DEBUG : file1: reading active writers 2025/10/05 03:14:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 03:14:07.680394 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:14:07.680428 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:14:07 ERROR : file1: Failed to copy: 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:14:07 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:14:07 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:14:08 DEBUG : Looking for writers 2025/10/05 03:14:08 DEBUG : file1: reading active writers 2025/10/05 03:14:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:08.314376 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:14:08.314403 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:14:08 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:14:08 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:14:09 DEBUG : Looking for writers 2025/10/05 03:14:09 DEBUG : file1: reading active writers 2025/10/05 03:14:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:09 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:14:09.761154 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:14:09.761298 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:14:10 DEBUG : Looking for writers 2025/10/05 03:14:10 DEBUG : file1: reading active writers 2025/10/05 03:14:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:10 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:14:10 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:14:11 DEBUG : Looking for writers 2025/10/05 03:14:11 DEBUG : file1: reading active writers 2025/10/05 03:14:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:11 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:14:11.894994 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:14:11.895033 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:14:12 DEBUG : Looking for writers 2025/10/05 03:14:12 DEBUG : file1: reading active writers 2025/10/05 03:14:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:12 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:14:12 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:14:13 DEBUG : Looking for writers 2025/10/05 03:14:13 DEBUG : file1: reading active writers 2025/10/05 03:14:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:14 DEBUG : Looking for writers 2025/10/05 03:14:14 DEBUG : file1: reading active writers 2025/10/05 03:14:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:14 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:14:14.566593 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:14:14.566632 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:14:15 DEBUG : Looking for writers 2025/10/05 03:14:15 DEBUG : file1: reading active writers 2025/10/05 03:14:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14: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/05 03:14:15 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:14:16 DEBUG : Looking for writers 2025/10/05 03:14:16 DEBUG : file1: reading active writers 2025/10/05 03:14:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:17 DEBUG : Looking for writers 2025/10/05 03:14:17 DEBUG : file1: reading active writers 2025/10/05 03:14:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:18 DEBUG : Looking for writers 2025/10/05 03:14:18 DEBUG : file1: reading active writers 2025/10/05 03:14:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:18 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:14:18.904453 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:14:18.904484 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:14:19 DEBUG : Looking for writers 2025/10/05 03:14:19 DEBUG : file1: reading active writers 2025/10/05 03:14:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:19 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:14:19 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:14:20 DEBUG : Looking for writers 2025/10/05 03:14:20 DEBUG : file1: reading active writers 2025/10/05 03:14:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:21 DEBUG : Looking for writers 2025/10/05 03:14:21 DEBUG : file1: reading active writers 2025/10/05 03:14:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:22 DEBUG : Looking for writers 2025/10/05 03:14:22 DEBUG : file1: reading active writers 2025/10/05 03:14:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:23 DEBUG : Looking for writers 2025/10/05 03:14:23 DEBUG : file1: reading active writers 2025/10/05 03:14:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:24 DEBUG : Looking for writers 2025/10/05 03:14:24 DEBUG : file1: reading active writers 2025/10/05 03:14:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:25 DEBUG : Looking for writers 2025/10/05 03:14:25 DEBUG : file1: reading active writers 2025/10/05 03:14:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:25 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:14:26 DEBUG : Looking for writers 2025/10/05 03:14:26 DEBUG : file1: reading active writers 2025/10/05 03:14:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:26.341845 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:14:26.341882 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:14:26 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:14:26 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:14:27 DEBUG : Looking for writers 2025/10/05 03:14:27 DEBUG : file1: reading active writers 2025/10/05 03:14:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:28 DEBUG : Looking for writers 2025/10/05 03:14:28 DEBUG : file1: reading active writers 2025/10/05 03:14:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:29 DEBUG : Looking for writers 2025/10/05 03:14:29 DEBUG : file1: reading active writers 2025/10/05 03:14:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:30 DEBUG : Looking for writers 2025/10/05 03:14:30 DEBUG : file1: reading active writers 2025/10/05 03:14:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:31 DEBUG : Looking for writers 2025/10/05 03:14:31 DEBUG : file1: reading active writers 2025/10/05 03:14:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:32 DEBUG : Looking for writers 2025/10/05 03:14:32 DEBUG : file1: reading active writers 2025/10/05 03:14:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:33 DEBUG : Looking for writers 2025/10/05 03:14:33 DEBUG : file1: reading active writers 2025/10/05 03:14:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:34 DEBUG : Looking for writers 2025/10/05 03:14:34 DEBUG : file1: reading active writers 2025/10/05 03:14:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:35 DEBUG : Looking for writers 2025/10/05 03:14:35 DEBUG : file1: reading active writers 2025/10/05 03:14:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:36 DEBUG : Looking for writers 2025/10/05 03:14:36 DEBUG : file1: reading active writers 2025/10/05 03:14:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:14:36 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0006572c0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0001f7a08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635783744} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992849517356670715 ext:99646911598 loc:0x4132400} ATime:{wall:13992849517356703718 ext:99646944600 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 03:14:36 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 03:14:39 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:15:06 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:15:06 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 03:16:06 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:16:06 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/05 03:16:43.105137 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:16:43.105181 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:16:43 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:16:43 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/05 03:17:06 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:17:06 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/05 03:17:09 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:18:06 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:18:06 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/05 03:18:28.317208 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:18:28.317229 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:18:28 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:18:28 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleMethodsWrite Messages: 1 objects not found 2025/10/05 03:18:32 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:18:32 DEBUG : Looking for writers 2025/10/05 03:18:32 DEBUG : file1: reading active writers 2025/10/05 03:18:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 03:18:32 DEBUG : Looking for writers 2025/10/05 03:18:32 DEBUG : file1: reading active writers 2025/10/05 03:18:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 03:18:32 DEBUG : Looking for writers 2025/10/05 03:18:32 DEBUG : file1: reading active writers 2025/10/05 03:18:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 03:18:32 DEBUG : Looking for writers 2025/10/05 03:18:32 DEBUG : file1: reading active writers 2025/10/05 03:18:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 03:18:32 DEBUG : Looking for writers 2025/10/05 03:18:32 DEBUG : file1: reading active writers 2025/10/05 03:18:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 03:18:32 DEBUG : Looking for writers 2025/10/05 03:18:32 DEBUG : file1: reading active writers 2025/10/05 03:18:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 03:18:32 DEBUG : Looking for writers 2025/10/05 03:18:32 DEBUG : file1: reading active writers 2025/10/05 03:18:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 03:18:33 DEBUG : Looking for writers 2025/10/05 03:18:33 DEBUG : file1: reading active writers 2025/10/05 03:18:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:34 DEBUG : Looking for writers 2025/10/05 03:18:34 DEBUG : file1: reading active writers 2025/10/05 03:18:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:35 DEBUG : Looking for writers 2025/10/05 03:18:35 DEBUG : file1: reading active writers 2025/10/05 03:18:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:36 DEBUG : Looking for writers 2025/10/05 03:18:36 DEBUG : file1: reading active writers 2025/10/05 03:18:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:37 DEBUG : Looking for writers 2025/10/05 03:18:37 DEBUG : file1: reading active writers 2025/10/05 03:18:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:38 DEBUG : Looking for writers 2025/10/05 03:18:38 DEBUG : file1: reading active writers 2025/10/05 03:18:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:39 DEBUG : Looking for writers 2025/10/05 03:18:39 DEBUG : file1: reading active writers 2025/10/05 03:18:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:40 DEBUG : Looking for writers 2025/10/05 03:18:40 DEBUG : file1: reading active writers 2025/10/05 03:18:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:41 DEBUG : Looking for writers 2025/10/05 03:18:41 DEBUG : file1: reading active writers 2025/10/05 03:18:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:42 DEBUG : Looking for writers 2025/10/05 03:18:42 DEBUG : file1: reading active writers 2025/10/05 03:18:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:43 DEBUG : Looking for writers 2025/10/05 03:18:43 DEBUG : file1: reading active writers 2025/10/05 03:18:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:44 DEBUG : Looking for writers 2025/10/05 03:18:44 DEBUG : file1: reading active writers 2025/10/05 03:18:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:45 DEBUG : Looking for writers 2025/10/05 03:18:45 DEBUG : file1: reading active writers 2025/10/05 03:18:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:46 DEBUG : Looking for writers 2025/10/05 03:18:46 DEBUG : file1: reading active writers 2025/10/05 03:18:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:47 DEBUG : Looking for writers 2025/10/05 03:18:47 DEBUG : file1: reading active writers 2025/10/05 03:18:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:48 DEBUG : Looking for writers 2025/10/05 03:18:48 DEBUG : file1: reading active writers 2025/10/05 03:18:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:49 DEBUG : Looking for writers 2025/10/05 03:18:49 DEBUG : file1: reading active writers 2025/10/05 03:18:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:50 DEBUG : Looking for writers 2025/10/05 03:18:50 DEBUG : file1: reading active writers 2025/10/05 03:18:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:51 DEBUG : Looking for writers 2025/10/05 03:18:51 DEBUG : file1: reading active writers 2025/10/05 03:18:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:52 DEBUG : Looking for writers 2025/10/05 03:18:52 DEBUG : file1: reading active writers 2025/10/05 03:18:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:53 DEBUG : Looking for writers 2025/10/05 03:18:53 DEBUG : file1: reading active writers 2025/10/05 03:18:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:54 DEBUG : Looking for writers 2025/10/05 03:18:54 DEBUG : file1: reading active writers 2025/10/05 03:18:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:55 DEBUG : Looking for writers 2025/10/05 03:18:55 DEBUG : file1: reading active writers 2025/10/05 03:18:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:56 DEBUG : Looking for writers 2025/10/05 03:18:56 DEBUG : file1: reading active writers 2025/10/05 03:18:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:57 DEBUG : Looking for writers 2025/10/05 03:18:57 DEBUG : file1: reading active writers 2025/10/05 03:18:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:58 DEBUG : Looking for writers 2025/10/05 03:18:58 DEBUG : file1: reading active writers 2025/10/05 03:18:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:18:59 DEBUG : Looking for writers 2025/10/05 03:18:59 DEBUG : file1: reading active writers 2025/10/05 03:18:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:19:00 DEBUG : Looking for writers 2025/10/05 03:19:00 DEBUG : file1: reading active writers 2025/10/05 03:19:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:19:01 DEBUG : Looking for writers 2025/10/05 03:19:01 DEBUG : file1: reading active writers 2025/10/05 03:19:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:19:02 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0006572c0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0001f7a08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635783744} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992849517356670715 ext:99646911598 loc:0x4132400} ATime:{wall:13992849517356703718 ext:99646944600 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 03:19:02 DEBUG : >WaitForWriters: 2025/10/05 03:19:02 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (399.18s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:20:45 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:20:45 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:20:45 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:20:45 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:20:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:20:45 DEBUG : Config file has changed externally - reloading 2025/10/05 03:20:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:20:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:20:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:20:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:20:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:20:45 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:20:45 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:20:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:20:45 DEBUG : file1: newRWFileHandle: 2025/10/05 03:20:45 DEBUG : file1(0xc0007e1cc0): openPending: 2025/10/05 03:20:45 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 03:20:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:20:45 DEBUG : file1(0xc0007e1cc0): >openPending: err= 2025/10/05 03:20:45 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 03:20:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:20:45 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 03:20:45 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 03:20:45 DEBUG : file1(0xc0007e1cc0): _writeAt: size=7, off=0 2025/10/05 03:20:45 DEBUG : file1(0xc0007e1cc0): >_writeAt: n=7, err= 2025/10/05 03:20:45 DEBUG : file1(0xc0007e1cc0): _writeAt: size=6, off=5 2025/10/05 03:20:45 DEBUG : file1(0xc0007e1cc0): >_writeAt: n=6, err= 2025/10/05 03:20:45 DEBUG : file1(0xc0007e1cc0): close: 2025/10/05 03:20:45 DEBUG : file1: vfs cache: setting modification time to 2025-10-05 03:20:45.949662068 +0000 UTC m=+498.832530643 2025/10/05 03:20:45 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/05 03:20:45 DEBUG : file1(0xc0007e1cc0): >close: err= 2025/10/05 03:20:45 DEBUG : file1(0xc0007e1cc0): _writeAt: size=5, off=0 2025/10/05 03:20:45 DEBUG : file1(0xc0007e1cc0): >_writeAt: n=0, err=file already closed 2025/10/05 03:20:45 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:20:45 DEBUG : Looking for writers 2025/10/05 03:20:45 DEBUG : file1: reading active writers 2025/10/05 03:20:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 03:20:45 DEBUG : Looking for writers 2025/10/05 03:20:45 DEBUG : file1: reading active writers 2025/10/05 03:20:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 03:20:45 DEBUG : Looking for writers 2025/10/05 03:20:45 DEBUG : file1: reading active writers 2025/10/05 03:20:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 03:20:46 DEBUG : Looking for writers 2025/10/05 03:20:46 DEBUG : file1: reading active writers 2025/10/05 03:20:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 03:20:46 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:20:46 DEBUG : Looking for writers 2025/10/05 03:20:46 DEBUG : file1: reading active writers 2025/10/05 03:20:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 03:20:46 DEBUG : Looking for writers 2025/10/05 03:20:46 DEBUG : file1: reading active writers 2025/10/05 03:20:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 03:20:46.480032 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:20:46.480058 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:20:46 DEBUG : Looking for writers 2025/10/05 03:20:46 DEBUG : file1: reading active writers 2025/10/05 03:20:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 03:20:47 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:20:47 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:20:47 DEBUG : Looking for writers 2025/10/05 03:20:47 DEBUG : file1: reading active writers 2025/10/05 03:20:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:20:47 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:20:47.757342 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:20:47.757365 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:20:48 DEBUG : Looking for writers 2025/10/05 03:20:48 DEBUG : file1: reading active writers 2025/10/05 03:20:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:20:48 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:20:48 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:20:48 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:20:49.201125 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:20:49.201166 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:20:49 DEBUG : Looking for writers 2025/10/05 03:20:49 DEBUG : file1: reading active writers 2025/10/05 03:20:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:20:49 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:20:49 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:20:50 DEBUG : Looking for writers 2025/10/05 03:20:50 DEBUG : file1: reading active writers 2025/10/05 03:20:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:20:50 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:20:51.095345 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:20:51.095411 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:20:51 DEBUG : Looking for writers 2025/10/05 03:20:51 DEBUG : file1: reading active writers 2025/10/05 03:20:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:20:51 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:20:51 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:20:52 DEBUG : Looking for writers 2025/10/05 03:20:52 DEBUG : file1: reading active writers 2025/10/05 03:20:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:20:53 DEBUG : Looking for writers 2025/10/05 03:20:53 DEBUG : file1: reading active writers 2025/10/05 03:20:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:20:53 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:20:53.989007 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:20:53.989044 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:20:54 DEBUG : Looking for writers 2025/10/05 03:20:54 DEBUG : file1: reading active writers 2025/10/05 03:20:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:20:54 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:20:54 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:20:55 DEBUG : Looking for writers 2025/10/05 03:20:55 DEBUG : file1: reading active writers 2025/10/05 03:20:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:20:56 DEBUG : Looking for writers 2025/10/05 03:20:56 DEBUG : file1: reading active writers 2025/10/05 03:20:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:20:57 DEBUG : Looking for writers 2025/10/05 03:20:57 DEBUG : file1: reading active writers 2025/10/05 03:20:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:20:57 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:20:58.229412 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:20:58.229477 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:20:58 DEBUG : Looking for writers 2025/10/05 03:20:58 DEBUG : file1: reading active writers 2025/10/05 03:20:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:20:58 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:20:58 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:20:59 DEBUG : Looking for writers 2025/10/05 03:20:59 DEBUG : file1: reading active writers 2025/10/05 03:20:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:00 DEBUG : Looking for writers 2025/10/05 03:21:00 DEBUG : file1: reading active writers 2025/10/05 03:21:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:01 DEBUG : Looking for writers 2025/10/05 03:21:01 DEBUG : file1: reading active writers 2025/10/05 03:21:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:02 DEBUG : Looking for writers 2025/10/05 03:21:02 DEBUG : file1: reading active writers 2025/10/05 03:21:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:03 DEBUG : Looking for writers 2025/10/05 03:21:03 DEBUG : file1: reading active writers 2025/10/05 03:21:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:04 DEBUG : Looking for writers 2025/10/05 03:21:04 DEBUG : file1: reading active writers 2025/10/05 03:21:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:05 DEBUG : Looking for writers 2025/10/05 03:21:05 DEBUG : file1: reading active writers 2025/10/05 03:21:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:05 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:21:05.726397 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:21:05.726444 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:21:06 DEBUG : Looking for writers 2025/10/05 03:21:06 DEBUG : file1: reading active writers 2025/10/05 03:21:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:06 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:21:06 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:21:07 DEBUG : Looking for writers 2025/10/05 03:21:07 DEBUG : file1: reading active writers 2025/10/05 03:21:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:08 DEBUG : Looking for writers 2025/10/05 03:21:08 DEBUG : file1: reading active writers 2025/10/05 03:21:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:09 DEBUG : Looking for writers 2025/10/05 03:21:09 DEBUG : file1: reading active writers 2025/10/05 03:21:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:10 DEBUG : Looking for writers 2025/10/05 03:21:10 DEBUG : file1: reading active writers 2025/10/05 03:21:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:11 DEBUG : Looking for writers 2025/10/05 03:21:11 DEBUG : file1: reading active writers 2025/10/05 03:21:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:12 DEBUG : Looking for writers 2025/10/05 03:21:12 DEBUG : file1: reading active writers 2025/10/05 03:21:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:13 DEBUG : Looking for writers 2025/10/05 03:21:13 DEBUG : file1: reading active writers 2025/10/05 03:21:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:14 DEBUG : Looking for writers 2025/10/05 03:21:14 DEBUG : file1: reading active writers 2025/10/05 03:21:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:15 DEBUG : Looking for writers 2025/10/05 03:21:15 DEBUG : file1: reading active writers 2025/10/05 03:21:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:21:15 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc009b06000 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009bdc408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824797152320} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992849945965277556 ext:498832530643 loc:0x4132400} ATime:{wall:13992849945965295660 ext:498832548747 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 03:21:15 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 03:21:19 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:21:45 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:21:45 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 03:22:28 DEBUG : forgetting directory cache 2025/10/05 03:22:31 DEBUG : forgetting directory cache 2025/10/05 03:22:33 DEBUG : forgetting directory cache 2025/10/05 03:22:35 DEBUG : forgetting directory cache 2025/10/05 03:22:37 DEBUG : forgetting directory cache 2025/10/05 03:22:39 DEBUG : forgetting directory cache 2025/10/05 03:22:41 DEBUG : forgetting directory cache 2025/10/05 03:22:43 DEBUG : forgetting directory cache 2025/10/05 03:22:45 DEBUG : forgetting directory cache 2025/10/05 03:22:45 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:22:45 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 03:22:47 DEBUG : forgetting directory cache 2025/10/05 03:22:49 DEBUG : forgetting directory cache 2025/10/05 03:22:51 DEBUG : forgetting directory cache 2025/10/05 03:22:52 DEBUG : forgetting directory cache 2025/10/05 03:22:54 DEBUG : forgetting directory cache 2025/10/05 03:22:57 DEBUG : forgetting directory cache 2025/10/05 03:22:59 DEBUG : forgetting directory cache 2025/10/05 03:23:01 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/05 03:23:01.358582 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:23:01.358619 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:23:02 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:23:02 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:23:03 DEBUG : forgetting directory cache fstest.go:301: Flushing the directory cache 2025/10/05 03:23:05 DEBUG : forgetting directory cache 2025/10/05 03:23:07 DEBUG : forgetting directory cache 2025/10/05 03:23:09 DEBUG : forgetting directory cache 2025/10/05 03:23:11 DEBUG : forgetting directory cache 2025/10/05 03:23:13 DEBUG : forgetting directory cache 2025/10/05 03:23:15 DEBUG : forgetting directory cache 2025/10/05 03:23:17 DEBUG : forgetting directory cache 2025/10/05 03:23:19 DEBUG : forgetting directory cache 2025/10/05 03:23:21 DEBUG : forgetting directory cache 2025/10/05 03:23:23 DEBUG : forgetting directory cache 2025/10/05 03:23:25 DEBUG : forgetting directory cache 2025/10/05 03:23:27 DEBUG : forgetting directory cache 2025/10/05 03:23:27 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:23:29 DEBUG : forgetting directory cache 2025/10/05 03:23:31 DEBUG : forgetting directory cache 2025/10/05 03:23:33 DEBUG : forgetting directory cache 2025/10/05 03:23:35 DEBUG : forgetting directory cache 2025/10/05 03:23:38 DEBUG : forgetting directory cache 2025/10/05 03:23:40 DEBUG : forgetting directory cache 2025/10/05 03:23:42 DEBUG : forgetting directory cache 2025/10/05 03:23:44 DEBUG : forgetting directory cache 2025/10/05 03:23:45 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:23:45 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/05 03:23:46 DEBUG : forgetting directory cache 2025/10/05 03:23:48 DEBUG : forgetting directory cache 2025/10/05 03:23:50 DEBUG : forgetting directory cache 2025/10/05 03:23:52 DEBUG : forgetting directory cache 2025/10/05 03:23:54 DEBUG : forgetting directory cache 2025/10/05 03:23:56 DEBUG : forgetting directory cache 2025/10/05 03:23:58 DEBUG : forgetting directory cache 2025/10/05 03:24:00 DEBUG : forgetting directory cache 2025/10/05 03:24:02 DEBUG : forgetting directory cache 2025/10/05 03:24:04 DEBUG : forgetting directory cache 2025/10/05 03:24:06 DEBUG : forgetting directory cache 2025/10/05 03:24:45 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:24:45 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/05 03:24:46.182269 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:24:46.182291 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:24:46 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:24:46 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteAt Messages: 1 objects not found 2025/10/05 03:24:49 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:24:49 DEBUG : Looking for writers 2025/10/05 03:24:49 DEBUG : file1: reading active writers 2025/10/05 03:24:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 03:24:49 DEBUG : Looking for writers 2025/10/05 03:24:49 DEBUG : file1: reading active writers 2025/10/05 03:24:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 03:24:49 DEBUG : Looking for writers 2025/10/05 03:24:49 DEBUG : file1: reading active writers 2025/10/05 03:24:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 03:24:50 DEBUG : Looking for writers 2025/10/05 03:24:50 DEBUG : file1: reading active writers 2025/10/05 03:24:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 03:24:50 DEBUG : Looking for writers 2025/10/05 03:24:50 DEBUG : file1: reading active writers 2025/10/05 03:24:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 03:24:50 DEBUG : Looking for writers 2025/10/05 03:24:50 DEBUG : file1: reading active writers 2025/10/05 03:24:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 03:24:50 DEBUG : Looking for writers 2025/10/05 03:24:50 DEBUG : file1: reading active writers 2025/10/05 03:24:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 03:24:51 DEBUG : Looking for writers 2025/10/05 03:24:51 DEBUG : file1: reading active writers 2025/10/05 03:24:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:24:52 DEBUG : Looking for writers 2025/10/05 03:24:52 DEBUG : file1: reading active writers 2025/10/05 03:24:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:24:53 DEBUG : Looking for writers 2025/10/05 03:24:53 DEBUG : file1: reading active writers 2025/10/05 03:24:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:24:54 DEBUG : Looking for writers 2025/10/05 03:24:54 DEBUG : file1: reading active writers 2025/10/05 03:24:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:24:55 DEBUG : Looking for writers 2025/10/05 03:24:55 DEBUG : file1: reading active writers 2025/10/05 03:24:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:24:56 DEBUG : Looking for writers 2025/10/05 03:24:56 DEBUG : file1: reading active writers 2025/10/05 03:24:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:24:57 DEBUG : Looking for writers 2025/10/05 03:24:57 DEBUG : file1: reading active writers 2025/10/05 03:24:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:24:58 DEBUG : Looking for writers 2025/10/05 03:24:58 DEBUG : file1: reading active writers 2025/10/05 03:24:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:24:59 DEBUG : Looking for writers 2025/10/05 03:24:59 DEBUG : file1: reading active writers 2025/10/05 03:24:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:00 DEBUG : Looking for writers 2025/10/05 03:25:00 DEBUG : file1: reading active writers 2025/10/05 03:25:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:01 DEBUG : Looking for writers 2025/10/05 03:25:01 DEBUG : file1: reading active writers 2025/10/05 03:25:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:02 DEBUG : Looking for writers 2025/10/05 03:25:02 DEBUG : file1: reading active writers 2025/10/05 03:25:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:03 DEBUG : Looking for writers 2025/10/05 03:25:03 DEBUG : file1: reading active writers 2025/10/05 03:25:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:04 DEBUG : Looking for writers 2025/10/05 03:25:04 DEBUG : file1: reading active writers 2025/10/05 03:25:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:05 DEBUG : Looking for writers 2025/10/05 03:25:05 DEBUG : file1: reading active writers 2025/10/05 03:25:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:06 DEBUG : Looking for writers 2025/10/05 03:25:06 DEBUG : file1: reading active writers 2025/10/05 03:25:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:07 DEBUG : Looking for writers 2025/10/05 03:25:07 DEBUG : file1: reading active writers 2025/10/05 03:25:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:08 DEBUG : Looking for writers 2025/10/05 03:25:08 DEBUG : file1: reading active writers 2025/10/05 03:25:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:09 DEBUG : Looking for writers 2025/10/05 03:25:09 DEBUG : file1: reading active writers 2025/10/05 03:25:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:10 DEBUG : Looking for writers 2025/10/05 03:25:10 DEBUG : file1: reading active writers 2025/10/05 03:25:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:11 DEBUG : Looking for writers 2025/10/05 03:25:11 DEBUG : file1: reading active writers 2025/10/05 03:25:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:12 DEBUG : Looking for writers 2025/10/05 03:25:12 DEBUG : file1: reading active writers 2025/10/05 03:25:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:13 DEBUG : Looking for writers 2025/10/05 03:25:13 DEBUG : file1: reading active writers 2025/10/05 03:25:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:14 DEBUG : Looking for writers 2025/10/05 03:25:14 DEBUG : file1: reading active writers 2025/10/05 03:25:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:15 DEBUG : Looking for writers 2025/10/05 03:25:15 DEBUG : file1: reading active writers 2025/10/05 03:25:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:16 DEBUG : Looking for writers 2025/10/05 03:25:16 DEBUG : file1: reading active writers 2025/10/05 03:25:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:17 DEBUG : Looking for writers 2025/10/05 03:25:17 DEBUG : file1: reading active writers 2025/10/05 03:25:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:18 DEBUG : Looking for writers 2025/10/05 03:25:18 DEBUG : file1: reading active writers 2025/10/05 03:25:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:19 DEBUG : Looking for writers 2025/10/05 03:25:19 DEBUG : file1: reading active writers 2025/10/05 03:25:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:25:19 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc009b06000 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009bdc408 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824797152320} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992849945965277556 ext:498832530643 loc:0x4132400} ATime:{wall:13992849945965295660 ext:498832548747 loc:0x4132400} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 03:25:19 DEBUG : >WaitForWriters: 2025/10/05 03:25:19 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteAt (378.20s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:27:03 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:27:03 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:27:03 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:27:03 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:27:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:27:03 DEBUG : Config file has changed externally - reloading 2025/10/05 03:27:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:27:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:27:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:27:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:27:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:27:03 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:27:03 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:27:04 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:27:04 DEBUG : file1: newRWFileHandle: 2025/10/05 03:27:04 DEBUG : file1(0xc00011ed00): openPending: 2025/10/05 03:27:04 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 03:27:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:27:04 DEBUG : file1(0xc00011ed00): >openPending: err= 2025/10/05 03:27:04 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 03:27:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:27:04 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 03:27:04 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 03:27:04 DEBUG : file1(0xc00011ed00): close: 2025/10/05 03:27:04 DEBUG : file1: vfs cache: setting modification time to 2025-10-05 03:27:04.151233635 +0000 UTC m=+877.034102240 2025/10/05 03:27:04 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/05 03:27:04 DEBUG : file1(0xc00011ed00): >close: err= 2025/10/05 03:27:04 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/05 03:27:04 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/05 03:27:04 DEBUG : file2: newRWFileHandle: 2025/10/05 03:27:04 DEBUG : file2(0xc00011f640): openPending: 2025/10/05 03:27:04 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 03:27:04 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/05 03:27:04 DEBUG : file2(0xc00011f640): >openPending: err= 2025/10/05 03:27:04 DEBUG : file2: >newRWFileHandle: err= 2025/10/05 03:27:04 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/05 03:27:04 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/05 03:27:04 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/05 03:27:04 DEBUG : file2(0xc00011f640): RWFileHandle.Flush 2025/10/05 03:27:04 DEBUG : file2(0xc00011f640): RWFileHandle.Release 2025/10/05 03:27:04 DEBUG : file2(0xc00011f640): close: 2025/10/05 03:27:04 DEBUG : file2: vfs cache: setting modification time to 2025-10-05 03:27:04.152531622 +0000 UTC m=+877.035400227 2025/10/05 03:27:04 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/05 03:27:04 DEBUG : file2(0xc00011f640): >close: err= 2025/10/05 03:27:04 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:27:04 DEBUG : Looking for writers 2025/10/05 03:27:04 DEBUG : file1: reading active writers 2025/10/05 03:27:04 DEBUG : file2: reading active writers 2025/10/05 03:27:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/05 03:27:04 DEBUG : Looking for writers 2025/10/05 03:27:04 DEBUG : file1: reading active writers 2025/10/05 03:27:04 DEBUG : file2: reading active writers 2025/10/05 03:27:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/05 03:27:04 DEBUG : Looking for writers 2025/10/05 03:27:04 DEBUG : file2: reading active writers 2025/10/05 03:27:04 DEBUG : file1: reading active writers 2025/10/05 03:27:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/05 03:27:04 DEBUG : Looking for writers 2025/10/05 03:27:04 DEBUG : file1: reading active writers 2025/10/05 03:27:04 DEBUG : file2: reading active writers 2025/10/05 03:27:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/05 03:27:04 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:27:04 DEBUG : file2: vfs cache: starting upload 2025/10/05 03:27:04 DEBUG : Looking for writers 2025/10/05 03:27:04 DEBUG : file2: reading active writers 2025/10/05 03:27:04 DEBUG : file1: reading active writers 2025/10/05 03:27:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/05 03:27:04 DEBUG : Looking for writers 2025/10/05 03:27:04 DEBUG : file1: reading active writers 2025/10/05 03:27:04 DEBUG : file2: reading active writers 2025/10/05 03:27:04 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/05 03:27:04.650907 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:27:04.650949 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:27:04 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/05 03:27:04 INFO : file2: Copied (new) 2025/10/05 03:27:04 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-05 03:27:04.152531622 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/05 03:27:04 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/05 03:27:04 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/05 03:27:04 INFO : file2: vfs cache: upload succeeded try #1 2025/10/05 03:27:04 DEBUG : Looking for writers 2025/10/05 03:27:04 DEBUG : file1: reading active writers 2025/10/05 03:27:04 DEBUG : file2: reading active writers 2025/10/05 03:27:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 03:27:05 DEBUG : Looking for writers 2025/10/05 03:27:05 DEBUG : file1: reading active writers 2025/10/05 03:27:05 DEBUG : file2: reading active writers 2025/10/05 03:27:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:05 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:05 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:05 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:27:06.080794 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:27:06.080826 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:27:06 DEBUG : Looking for writers 2025/10/05 03:27:06 DEBUG : file1: reading active writers 2025/10/05 03:27:06 DEBUG : file2: reading active writers 2025/10/05 03:27:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:06 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:06 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:07 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:27:07 DEBUG : Looking for writers 2025/10/05 03:27:07 DEBUG : file1: reading active writers 2025/10/05 03:27:07 DEBUG : file2: reading active writers 2025/10/05 03:27:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:07.521968 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:27:07.521992 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:27:08 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:08 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:08 DEBUG : Looking for writers 2025/10/05 03:27:08 DEBUG : file2: reading active writers 2025/10/05 03:27:08 DEBUG : file1: reading active writers 2025/10/05 03:27:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:08 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:27:09.385917 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:27:09.385966 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:27:09 DEBUG : Looking for writers 2025/10/05 03:27:09 DEBUG : file1: reading active writers 2025/10/05 03:27:09 DEBUG : file2: reading active writers 2025/10/05 03:27:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:10 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:10 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:10 DEBUG : Looking for writers 2025/10/05 03:27:10 DEBUG : file2: reading active writers 2025/10/05 03:27:10 DEBUG : file1: reading active writers 2025/10/05 03:27:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:11 DEBUG : Looking for writers 2025/10/05 03:27:11 DEBUG : file1: reading active writers 2025/10/05 03:27:11 DEBUG : file2: reading active writers 2025/10/05 03:27:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:11 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:27:12.186199 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:27:12.186235 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:27:12 DEBUG : Looking for writers 2025/10/05 03:27:12 DEBUG : file1: reading active writers 2025/10/05 03:27:12 DEBUG : file2: reading active writers 2025/10/05 03:27:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:12 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:12 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:13 DEBUG : Looking for writers 2025/10/05 03:27:13 DEBUG : file1: reading active writers 2025/10/05 03:27:13 DEBUG : file2: reading active writers 2025/10/05 03:27:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:14 DEBUG : Looking for writers 2025/10/05 03:27:14 DEBUG : file1: reading active writers 2025/10/05 03:27:14 DEBUG : file2: reading active writers 2025/10/05 03:27:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:15 DEBUG : Looking for writers 2025/10/05 03:27:15 DEBUG : file2: reading active writers 2025/10/05 03:27:15 DEBUG : file1: reading active writers 2025/10/05 03:27:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:16 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:27:16.432487 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:27:16.432522 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:27:16 DEBUG : Looking for writers 2025/10/05 03:27:16 DEBUG : file1: reading active writers 2025/10/05 03:27:16 DEBUG : file2: reading active writers 2025/10/05 03:27:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:17 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:17 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:17 DEBUG : Looking for writers 2025/10/05 03:27:17 DEBUG : file1: reading active writers 2025/10/05 03:27:17 DEBUG : file2: reading active writers 2025/10/05 03:27:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:18 DEBUG : Looking for writers 2025/10/05 03:27:18 DEBUG : file1: reading active writers 2025/10/05 03:27:18 DEBUG : file2: reading active writers 2025/10/05 03:27:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:19 DEBUG : Looking for writers 2025/10/05 03:27:19 DEBUG : file1: reading active writers 2025/10/05 03:27:19 DEBUG : file2: reading active writers 2025/10/05 03:27:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:20 DEBUG : Looking for writers 2025/10/05 03:27:20 DEBUG : file1: reading active writers 2025/10/05 03:27:20 DEBUG : file2: reading active writers 2025/10/05 03:27:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:21 DEBUG : Looking for writers 2025/10/05 03:27:21 DEBUG : file2: reading active writers 2025/10/05 03:27:21 DEBUG : file1: reading active writers 2025/10/05 03:27:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:22 DEBUG : Looking for writers 2025/10/05 03:27:22 DEBUG : file1: reading active writers 2025/10/05 03:27:22 DEBUG : file2: reading active writers 2025/10/05 03:27:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:23 DEBUG : Looking for writers 2025/10/05 03:27:23 DEBUG : file1: reading active writers 2025/10/05 03:27:23 DEBUG : file2: reading active writers 2025/10/05 03:27:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:23 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:27:23.914912 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:27:23.914947 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:27:24 DEBUG : Looking for writers 2025/10/05 03:27:24 DEBUG : file2: reading active writers 2025/10/05 03:27:24 DEBUG : file1: reading active writers 2025/10/05 03:27:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:24 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:24 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:27:25 DEBUG : Looking for writers 2025/10/05 03:27:25 DEBUG : file1: reading active writers 2025/10/05 03:27:25 DEBUG : file2: reading active writers 2025/10/05 03:27:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:26 DEBUG : Looking for writers 2025/10/05 03:27:26 DEBUG : file1: reading active writers 2025/10/05 03:27:26 DEBUG : file2: reading active writers 2025/10/05 03:27:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:27 DEBUG : Looking for writers 2025/10/05 03:27:27 DEBUG : file1: reading active writers 2025/10/05 03:27:27 DEBUG : file2: reading active writers 2025/10/05 03:27:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:28 DEBUG : Looking for writers 2025/10/05 03:27:28 DEBUG : file1: reading active writers 2025/10/05 03:27:28 DEBUG : file2: reading active writers 2025/10/05 03:27:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:29 DEBUG : Looking for writers 2025/10/05 03:27:29 DEBUG : file1: reading active writers 2025/10/05 03:27:29 DEBUG : file2: reading active writers 2025/10/05 03:27:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:30 DEBUG : Looking for writers 2025/10/05 03:27:30 DEBUG : file1: reading active writers 2025/10/05 03:27:30 DEBUG : file2: reading active writers 2025/10/05 03:27:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:31 DEBUG : Looking for writers 2025/10/05 03:27:31 DEBUG : file1: reading active writers 2025/10/05 03:27:31 DEBUG : file2: reading active writers 2025/10/05 03:27:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:32 DEBUG : Looking for writers 2025/10/05 03:27:32 DEBUG : file1: reading active writers 2025/10/05 03:27:32 DEBUG : file2: reading active writers 2025/10/05 03:27:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:33 DEBUG : Looking for writers 2025/10/05 03:27:33 DEBUG : file1: reading active writers 2025/10/05 03:27:33 DEBUG : file2: reading active writers 2025/10/05 03:27:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:27:34 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file2": &{c:0xc000657770 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009c6c708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824797742912} name:file2 opens:0 downloaders: o:0xc0006c8820 fd: info:{ModTime:{wall:13992850352116298406 ext:877035400227 loc:0x4132400} ATime:{wall:13992850352116634888 ext:877035736719 loc:0x4132400} Size:0 Rs:[] Fingerprint:0,2025-10-05 03:27:04.152531622 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, "file1": &{c:0xc000657770 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009c6c608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824797742656} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992850352115000419 ext:877034102240 loc:0x4132400} ATime:{wall:13992850352115328446 ext:877034430497 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 03:27:34 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 03:27:37 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:28:03 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:28:03 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 03:28:03 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/05 03:29:03 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:29:03 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 03:29:03 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/05 03:29:18.526894 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:29:18.526918 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:29:19 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:29:19 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/05 03:29:44 DEBUG : file1: vfs cache: starting upload 2025/10/05 03:30:03 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:30:03 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 03:30:03 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/05 03:30:45 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/05 03:31:03.233235 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:31:03.233269 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:31:03 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:31:03 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:31:03 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/05 03:31:03 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/05 03:31:03 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 1, uploading 0, total size 0 (was 0) fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got file2 (0) fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteNoWrite Messages: 1 objects not found 2025/10/05 03:31:07 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:31:07 DEBUG : Looking for writers 2025/10/05 03:31:07 DEBUG : file2: reading active writers 2025/10/05 03:31:07 DEBUG : file1: reading active writers 2025/10/05 03:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/05 03:31:07 DEBUG : Looking for writers 2025/10/05 03:31:07 DEBUG : file1: reading active writers 2025/10/05 03:31:07 DEBUG : file2: reading active writers 2025/10/05 03:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/05 03:31:07 DEBUG : Looking for writers 2025/10/05 03:31:07 DEBUG : file1: reading active writers 2025/10/05 03:31:07 DEBUG : file2: reading active writers 2025/10/05 03:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/05 03:31:07 DEBUG : Looking for writers 2025/10/05 03:31:07 DEBUG : file2: reading active writers 2025/10/05 03:31:07 DEBUG : file1: reading active writers 2025/10/05 03:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/05 03:31:07 DEBUG : Looking for writers 2025/10/05 03:31:07 DEBUG : file1: reading active writers 2025/10/05 03:31:07 DEBUG : file2: reading active writers 2025/10/05 03:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/05 03:31:07 DEBUG : Looking for writers 2025/10/05 03:31:07 DEBUG : file1: reading active writers 2025/10/05 03:31:07 DEBUG : file2: reading active writers 2025/10/05 03:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/05 03:31:07 DEBUG : Looking for writers 2025/10/05 03:31:07 DEBUG : file1: reading active writers 2025/10/05 03:31:07 DEBUG : file2: reading active writers 2025/10/05 03:31:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/05 03:31:08 DEBUG : Looking for writers 2025/10/05 03:31:08 DEBUG : file1: reading active writers 2025/10/05 03:31:08 DEBUG : file2: reading active writers 2025/10/05 03:31:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:09 DEBUG : Looking for writers 2025/10/05 03:31:09 DEBUG : file1: reading active writers 2025/10/05 03:31:09 DEBUG : file2: reading active writers 2025/10/05 03:31:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:10 DEBUG : Looking for writers 2025/10/05 03:31:10 DEBUG : file1: reading active writers 2025/10/05 03:31:10 DEBUG : file2: reading active writers 2025/10/05 03:31:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:11 DEBUG : Looking for writers 2025/10/05 03:31:11 DEBUG : file1: reading active writers 2025/10/05 03:31:11 DEBUG : file2: reading active writers 2025/10/05 03:31:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:12 DEBUG : Looking for writers 2025/10/05 03:31:12 DEBUG : file1: reading active writers 2025/10/05 03:31:12 DEBUG : file2: reading active writers 2025/10/05 03:31:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:13 DEBUG : Looking for writers 2025/10/05 03:31:13 DEBUG : file2: reading active writers 2025/10/05 03:31:13 DEBUG : file1: reading active writers 2025/10/05 03:31:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:14 DEBUG : Looking for writers 2025/10/05 03:31:14 DEBUG : file2: reading active writers 2025/10/05 03:31:14 DEBUG : file1: reading active writers 2025/10/05 03:31:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:15 DEBUG : Looking for writers 2025/10/05 03:31:15 DEBUG : file1: reading active writers 2025/10/05 03:31:15 DEBUG : file2: reading active writers 2025/10/05 03:31:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:16 DEBUG : Looking for writers 2025/10/05 03:31:16 DEBUG : file1: reading active writers 2025/10/05 03:31:16 DEBUG : file2: reading active writers 2025/10/05 03:31:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:17 DEBUG : Looking for writers 2025/10/05 03:31:17 DEBUG : file1: reading active writers 2025/10/05 03:31:17 DEBUG : file2: reading active writers 2025/10/05 03:31:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:18 DEBUG : Looking for writers 2025/10/05 03:31:18 DEBUG : file1: reading active writers 2025/10/05 03:31:18 DEBUG : file2: reading active writers 2025/10/05 03:31:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:19 DEBUG : Looking for writers 2025/10/05 03:31:19 DEBUG : file1: reading active writers 2025/10/05 03:31:19 DEBUG : file2: reading active writers 2025/10/05 03:31:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:20 DEBUG : Looking for writers 2025/10/05 03:31:20 DEBUG : file1: reading active writers 2025/10/05 03:31:20 DEBUG : file2: reading active writers 2025/10/05 03:31:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:21 DEBUG : Looking for writers 2025/10/05 03:31:21 DEBUG : file1: reading active writers 2025/10/05 03:31:21 DEBUG : file2: reading active writers 2025/10/05 03:31:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:22 DEBUG : Looking for writers 2025/10/05 03:31:22 DEBUG : file1: reading active writers 2025/10/05 03:31:22 DEBUG : file2: reading active writers 2025/10/05 03:31:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:23 DEBUG : Looking for writers 2025/10/05 03:31:23 DEBUG : file1: reading active writers 2025/10/05 03:31:23 DEBUG : file2: reading active writers 2025/10/05 03:31:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:24 DEBUG : Looking for writers 2025/10/05 03:31:24 DEBUG : file2: reading active writers 2025/10/05 03:31:24 DEBUG : file1: reading active writers 2025/10/05 03:31:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:25 DEBUG : Looking for writers 2025/10/05 03:31:25 DEBUG : file1: reading active writers 2025/10/05 03:31:25 DEBUG : file2: reading active writers 2025/10/05 03:31:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:26 DEBUG : Looking for writers 2025/10/05 03:31:26 DEBUG : file1: reading active writers 2025/10/05 03:31:26 DEBUG : file2: reading active writers 2025/10/05 03:31:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:27 DEBUG : Looking for writers 2025/10/05 03:31:27 DEBUG : file1: reading active writers 2025/10/05 03:31:27 DEBUG : file2: reading active writers 2025/10/05 03:31:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:28 DEBUG : Looking for writers 2025/10/05 03:31:28 DEBUG : file1: reading active writers 2025/10/05 03:31:28 DEBUG : file2: reading active writers 2025/10/05 03:31:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:29 DEBUG : Looking for writers 2025/10/05 03:31:29 DEBUG : file1: reading active writers 2025/10/05 03:31:29 DEBUG : file2: reading active writers 2025/10/05 03:31:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:30 DEBUG : Looking for writers 2025/10/05 03:31:30 DEBUG : file1: reading active writers 2025/10/05 03:31:30 DEBUG : file2: reading active writers 2025/10/05 03:31:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:31 DEBUG : Looking for writers 2025/10/05 03:31:31 DEBUG : file1: reading active writers 2025/10/05 03:31:31 DEBUG : file2: reading active writers 2025/10/05 03:31:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:32 DEBUG : Looking for writers 2025/10/05 03:31:32 DEBUG : file1: reading active writers 2025/10/05 03:31:32 DEBUG : file2: reading active writers 2025/10/05 03:31:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:33 DEBUG : Looking for writers 2025/10/05 03:31:33 DEBUG : file1: reading active writers 2025/10/05 03:31:33 DEBUG : file2: reading active writers 2025/10/05 03:31:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:34 DEBUG : Looking for writers 2025/10/05 03:31:34 DEBUG : file1: reading active writers 2025/10/05 03:31:34 DEBUG : file2: reading active writers 2025/10/05 03:31:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:35 DEBUG : Looking for writers 2025/10/05 03:31:35 DEBUG : file1: reading active writers 2025/10/05 03:31:35 DEBUG : file2: reading active writers 2025/10/05 03:31:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:36 DEBUG : Looking for writers 2025/10/05 03:31:36 DEBUG : file1: reading active writers 2025/10/05 03:31:36 DEBUG : file2: reading active writers 2025/10/05 03:31:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:31:37 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000657770 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009c6c608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824797742656} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992850352115000419 ext:877034102240 loc:0x4132400} ATime:{wall:13992850352115328446 ext:877034430497 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc000657770 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc009c6c708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824797742912} name:file2 opens:0 downloaders: o:0xc0006c8820 fd: info:{ModTime:{wall:13992850352116298406 ext:877035400227 loc:0x4132400} ATime:{wall:13992850352116634888 ext:877035736719 loc:0x4132400} Size:0 Rs:[] Fingerprint:0,2025-10-05 03:27:04.152531622 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/05 03:31:37 DEBUG : >WaitForWriters: 2025/10/05 03:31:37 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteNoWrite (377.69s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:33:21 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:33:21 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:33:21 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:21 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:21 DEBUG : Config file has changed externally - reloading 2025/10/05 03:33:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:33:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:33:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:21 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:33:23.062552 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:33:23.062617 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:33:23 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:33:23 DEBUG : Looking for writers 2025/10/05 03:33:23 DEBUG : >WaitForWriters: 2025/10/05 03:33:23 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (2.28s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:33:23 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:33:23 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:33:23 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:23 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:33:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:33:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:23 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:33:25.082634 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:33:25.082673 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:33:25 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:33:25 DEBUG : Looking for writers 2025/10/05 03:33:25 DEBUG : >WaitForWriters: 2025/10/05 03:33:25 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (2.06s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:33:25 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:33:25 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:33:25 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:25 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:33:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:33:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:25 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:33:25 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:33:26 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:33:26 DEBUG : file1: newRWFileHandle: 2025/10/05 03:33:26 DEBUG : file1(0xc008ccf400): openPending: 2025/10/05 03:33:26 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/05 03:33:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:33:26 DEBUG : file1(0xc008ccf400): >openPending: err= 2025/10/05 03:33:26 DEBUG : file1: >newRWFileHandle: err= 2025/10/05 03:33:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:33:26 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/05 03:33:26 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/05 03:33:27.022951 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:33:27.022980 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "time_test" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:33:27 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:33:27 DEBUG : Looking for writers 2025/10/05 03:33:27 DEBUG : file1: reading active writers 2025/10/05 03:33:27 DEBUG : file1: active writers 1 2025/10/05 03:33:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/05 03:33:27 DEBUG : Looking for writers 2025/10/05 03:33:27 DEBUG : file1: reading active writers 2025/10/05 03:33:27 DEBUG : file1: active writers 1 2025/10/05 03:33:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/05 03:33:27 DEBUG : Looking for writers 2025/10/05 03:33:27 DEBUG : file1: reading active writers 2025/10/05 03:33:27 DEBUG : file1: active writers 1 2025/10/05 03:33:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/05 03:33:27 DEBUG : Looking for writers 2025/10/05 03:33:27 DEBUG : file1: reading active writers 2025/10/05 03:33:27 DEBUG : file1: active writers 1 2025/10/05 03:33:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/05 03:33:27 DEBUG : Looking for writers 2025/10/05 03:33:27 DEBUG : file1: reading active writers 2025/10/05 03:33:27 DEBUG : file1: active writers 1 2025/10/05 03:33:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/05 03:33:27 DEBUG : Looking for writers 2025/10/05 03:33:27 DEBUG : file1: reading active writers 2025/10/05 03:33:27 DEBUG : file1: active writers 1 2025/10/05 03:33:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/05 03:33:27 DEBUG : Looking for writers 2025/10/05 03:33:27 DEBUG : file1: reading active writers 2025/10/05 03:33:27 DEBUG : file1: active writers 1 2025/10/05 03:33:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/05 03:33:28 DEBUG : Looking for writers 2025/10/05 03:33:28 DEBUG : file1: reading active writers 2025/10/05 03:33:28 DEBUG : file1: active writers 1 2025/10/05 03:33:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:29 DEBUG : Looking for writers 2025/10/05 03:33:29 DEBUG : file1: reading active writers 2025/10/05 03:33:29 DEBUG : file1: active writers 1 2025/10/05 03:33:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:30 DEBUG : Looking for writers 2025/10/05 03:33:30 DEBUG : file1: reading active writers 2025/10/05 03:33:30 DEBUG : file1: active writers 1 2025/10/05 03:33:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:31 DEBUG : Looking for writers 2025/10/05 03:33:31 DEBUG : file1: reading active writers 2025/10/05 03:33:31 DEBUG : file1: active writers 1 2025/10/05 03:33:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:32 DEBUG : Looking for writers 2025/10/05 03:33:32 DEBUG : file1: reading active writers 2025/10/05 03:33:32 DEBUG : file1: active writers 1 2025/10/05 03:33:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:33 DEBUG : Looking for writers 2025/10/05 03:33:33 DEBUG : file1: reading active writers 2025/10/05 03:33:33 DEBUG : file1: active writers 1 2025/10/05 03:33:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:34 DEBUG : Looking for writers 2025/10/05 03:33:34 DEBUG : file1: reading active writers 2025/10/05 03:33:34 DEBUG : file1: active writers 1 2025/10/05 03:33:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:35 DEBUG : Looking for writers 2025/10/05 03:33:35 DEBUG : file1: reading active writers 2025/10/05 03:33:35 DEBUG : file1: active writers 1 2025/10/05 03:33:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:36 DEBUG : Looking for writers 2025/10/05 03:33:36 DEBUG : file1: reading active writers 2025/10/05 03:33:36 DEBUG : file1: active writers 1 2025/10/05 03:33:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:37 DEBUG : Looking for writers 2025/10/05 03:33:37 DEBUG : file1: reading active writers 2025/10/05 03:33:37 DEBUG : file1: active writers 1 2025/10/05 03:33:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:38 DEBUG : Looking for writers 2025/10/05 03:33:38 DEBUG : file1: reading active writers 2025/10/05 03:33:38 DEBUG : file1: active writers 1 2025/10/05 03:33:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:39 DEBUG : Looking for writers 2025/10/05 03:33:39 DEBUG : file1: reading active writers 2025/10/05 03:33:39 DEBUG : file1: active writers 1 2025/10/05 03:33:39 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:40 DEBUG : Looking for writers 2025/10/05 03:33:40 DEBUG : file1: reading active writers 2025/10/05 03:33:40 DEBUG : file1: active writers 1 2025/10/05 03:33:40 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:41 DEBUG : Looking for writers 2025/10/05 03:33:41 DEBUG : file1: reading active writers 2025/10/05 03:33:41 DEBUG : file1: active writers 1 2025/10/05 03:33:41 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:42 DEBUG : Looking for writers 2025/10/05 03:33:42 DEBUG : file1: reading active writers 2025/10/05 03:33:42 DEBUG : file1: active writers 1 2025/10/05 03:33:42 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:43 DEBUG : Looking for writers 2025/10/05 03:33:43 DEBUG : file1: reading active writers 2025/10/05 03:33:43 DEBUG : file1: active writers 1 2025/10/05 03:33:43 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:44 DEBUG : Looking for writers 2025/10/05 03:33:44 DEBUG : file1: reading active writers 2025/10/05 03:33:44 DEBUG : file1: active writers 1 2025/10/05 03:33:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:45 DEBUG : Looking for writers 2025/10/05 03:33:45 DEBUG : file1: reading active writers 2025/10/05 03:33:45 DEBUG : file1: active writers 1 2025/10/05 03:33:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:46 DEBUG : Looking for writers 2025/10/05 03:33:46 DEBUG : file1: reading active writers 2025/10/05 03:33:46 DEBUG : file1: active writers 1 2025/10/05 03:33:46 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:47 DEBUG : Looking for writers 2025/10/05 03:33:47 DEBUG : file1: reading active writers 2025/10/05 03:33:47 DEBUG : file1: active writers 1 2025/10/05 03:33:47 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:48 DEBUG : Looking for writers 2025/10/05 03:33:48 DEBUG : file1: reading active writers 2025/10/05 03:33:48 DEBUG : file1: active writers 1 2025/10/05 03:33:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:49 DEBUG : Looking for writers 2025/10/05 03:33:49 DEBUG : file1: reading active writers 2025/10/05 03:33:49 DEBUG : file1: active writers 1 2025/10/05 03:33:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:50 DEBUG : Looking for writers 2025/10/05 03:33:50 DEBUG : file1: reading active writers 2025/10/05 03:33:50 DEBUG : file1: active writers 1 2025/10/05 03:33:50 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:51 DEBUG : Looking for writers 2025/10/05 03:33:51 DEBUG : file1: reading active writers 2025/10/05 03:33:51 DEBUG : file1: active writers 1 2025/10/05 03:33:51 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:52 DEBUG : Looking for writers 2025/10/05 03:33:52 DEBUG : file1: reading active writers 2025/10/05 03:33:52 DEBUG : file1: active writers 1 2025/10/05 03:33:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:53 DEBUG : Looking for writers 2025/10/05 03:33:53 DEBUG : file1: reading active writers 2025/10/05 03:33:53 DEBUG : file1: active writers 1 2025/10/05 03:33:53 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:54 DEBUG : Looking for writers 2025/10/05 03:33:54 DEBUG : file1: reading active writers 2025/10/05 03:33:54 DEBUG : file1: active writers 1 2025/10/05 03:33:54 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:55 DEBUG : Looking for writers 2025/10/05 03:33:55 DEBUG : file1: reading active writers 2025/10/05 03:33:55 DEBUG : file1: active writers 1 2025/10/05 03:33:55 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:56 DEBUG : Looking for writers 2025/10/05 03:33:56 DEBUG : file1: reading active writers 2025/10/05 03:33:56 DEBUG : file1: active writers 1 2025/10/05 03:33:56 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/05 03:33:57 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc009b07e00 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0031b6508 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824685847872} name:file1 opens:1 downloaders: o: fd:0xc000118350 info:{ModTime:{wall:13992850762330228262 ext:1259079953335 loc:0x4132400} ATime:{wall:13992850762330228262 ext:1259079953335 loc:0x4132400} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/05 03:33:57 DEBUG : >WaitForWriters: 2025/10/05 03:33:57 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (31.44s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:33:57 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:33:57 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/05 03:33:57 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:57 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:33:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/05 03:33:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-migeyiw0puke" 2025/10/05 03:33:57 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/05 03:33:57 DEBUG : forgetting directory cache 2025/10/05 03:33:58.346362 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:33:58.346400 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "TestRWCacheUpdate" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:33:58 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:33:58 DEBUG : Looking for writers 2025/10/05 03:33:58 DEBUG : >WaitForWriters: 2025/10/05 03:33:58 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (1.31s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:33:59.549699 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:33:59.549805 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "FiLeA" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (1.22s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:34:00.711410 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:34:00.711438 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "normal name with no special characters.txt" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.15s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:34:01 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:34:01 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:34:01.496732 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:34:01.496776 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-migeyiw0puke'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:34:02 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:34:02 DEBUG : Looking for writers 2025/10/05 03:34:02 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (1.39s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:34:02 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:34:02 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:34:02.889103 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:34:02.889138 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-migeyiw0puke'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:34:03 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:34:03 DEBUG : Looking for writers 2025/10/05 03:34:03 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (1.44s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:34:03 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:34:03 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:34:04.330971 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:34:04.331006 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-migeyiw0puke'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:34:04 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:34:04 DEBUG : Looking for writers 2025/10/05 03:34:04 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (1.43s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:34:05 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:34:05 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:34:06.567001 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:34:06.567030 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir/file2" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:34:06 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:34:06 DEBUG : Looking for writers 2025/10/05 03:34:06 DEBUG : >WaitForWriters: 2025/10/05 03:34:06 DEBUG : forgetting directory cache --- FAIL: TestVFSRename (2.07s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:34:07 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:34:07 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:34:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:34:07 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:34:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:34:07 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:34:07 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:34:07 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:34:07 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/05 03:34:07 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/05 03:34:07 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/05 03:34:07 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': File to upload is small (5 bytes), uploading instead of streaming 2025/10/05 03:34:08.039145 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:34:08.039188 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:34:08 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:34:08 DEBUG : file1: Remove: 2025/10/05 03:34:08 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:34:08 DEBUG : file1: >Remove: err= write_test.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:144 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:153 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/05 03:37:04 DEBUG : forgetting directory cache 2025/10/05 03:37:04 DEBUG : Removed virtual directory entry vAddFile: "file2" fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want file1 (5) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleMethods Messages: 1 objects not found 2025/10/05 03:37:40 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:37:40 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:37:40 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:37:40 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:37:40 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:37:40 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:37:40 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': File to upload is small (0 bytes), uploading instead of streaming 2025/10/05 03:39:22.903619 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:39:22.903658 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:39:23 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:39:23 DEBUG : file1: Remove: 2025/10/05 03:39:23 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:39:23 DEBUG : file1: >Remove: err= write_test.go:163: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:163 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods 2025/10/05 03:39:23 DEBUG : Re-reading directory (5m15.919409139s old) 2025/10/05 03:39:23 DEBUG : Removed virtual directory entry vDel: "file1" dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:164 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods 2025/10/05 03:39:23 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:39:23 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:39:23 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:39:23 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:39:23 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:39:23 DEBUG : Added virtual directory entry vAddFile: "file1" write_test.go:171: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:171 Error: Not equal: expected: *errors.errorString(&errors.errorString{s:"permission denied"}) actual : () Test: TestWriteFileHandleMethods 2025/10/05 03:39:23 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:39:23 DEBUG : Looking for writers 2025/10/05 03:39:23 DEBUG : file1: reading active writers 2025/10/05 03:39:23 DEBUG : file1: active writers 1 2025/10/05 03:39:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/05 03:39:23 DEBUG : Looking for writers 2025/10/05 03:39:23 DEBUG : file1: reading active writers 2025/10/05 03:39:23 DEBUG : file1: active writers 1 2025/10/05 03:39:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/05 03:39:23 DEBUG : Looking for writers 2025/10/05 03:39:23 DEBUG : file1: reading active writers 2025/10/05 03:39:23 DEBUG : file1: active writers 1 2025/10/05 03:39:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/05 03:39:23 DEBUG : Looking for writers 2025/10/05 03:39:23 DEBUG : file1: reading active writers 2025/10/05 03:39:23 DEBUG : file1: active writers 1 2025/10/05 03:39:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/05 03:39:23 DEBUG : Looking for writers 2025/10/05 03:39:23 DEBUG : file1: reading active writers 2025/10/05 03:39:23 DEBUG : file1: active writers 1 2025/10/05 03:39:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/05 03:39:24 DEBUG : Looking for writers 2025/10/05 03:39:24 DEBUG : file1: reading active writers 2025/10/05 03:39:24 DEBUG : file1: active writers 1 2025/10/05 03:39:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/05 03:39:24 DEBUG : Looking for writers 2025/10/05 03:39:24 DEBUG : file1: reading active writers 2025/10/05 03:39:24 DEBUG : file1: active writers 1 2025/10/05 03:39:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/05 03:39:25 DEBUG : Looking for writers 2025/10/05 03:39:25 DEBUG : file1: reading active writers 2025/10/05 03:39:25 DEBUG : file1: active writers 1 2025/10/05 03:39:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:26 DEBUG : Looking for writers 2025/10/05 03:39:26 DEBUG : file1: reading active writers 2025/10/05 03:39:26 DEBUG : file1: active writers 1 2025/10/05 03:39:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:27 DEBUG : Looking for writers 2025/10/05 03:39:27 DEBUG : file1: reading active writers 2025/10/05 03:39:27 DEBUG : file1: active writers 1 2025/10/05 03:39:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:28 DEBUG : Looking for writers 2025/10/05 03:39:28 DEBUG : file1: reading active writers 2025/10/05 03:39:28 DEBUG : file1: active writers 1 2025/10/05 03:39:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:29 DEBUG : Looking for writers 2025/10/05 03:39:29 DEBUG : file1: reading active writers 2025/10/05 03:39:29 DEBUG : file1: active writers 1 2025/10/05 03:39:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:30 DEBUG : Looking for writers 2025/10/05 03:39:30 DEBUG : file1: reading active writers 2025/10/05 03:39:30 DEBUG : file1: active writers 1 2025/10/05 03:39:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:31 DEBUG : Looking for writers 2025/10/05 03:39:31 DEBUG : file1: reading active writers 2025/10/05 03:39:31 DEBUG : file1: active writers 1 2025/10/05 03:39:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:32 DEBUG : Looking for writers 2025/10/05 03:39:32 DEBUG : file1: reading active writers 2025/10/05 03:39:32 DEBUG : file1: active writers 1 2025/10/05 03:39:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:33 DEBUG : Looking for writers 2025/10/05 03:39:33 DEBUG : file1: reading active writers 2025/10/05 03:39:33 DEBUG : file1: active writers 1 2025/10/05 03:39:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:34 DEBUG : Looking for writers 2025/10/05 03:39:34 DEBUG : file1: reading active writers 2025/10/05 03:39:34 DEBUG : file1: active writers 1 2025/10/05 03:39:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:35 DEBUG : Looking for writers 2025/10/05 03:39:35 DEBUG : file1: reading active writers 2025/10/05 03:39:35 DEBUG : file1: active writers 1 2025/10/05 03:39:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:36 DEBUG : Looking for writers 2025/10/05 03:39:36 DEBUG : file1: reading active writers 2025/10/05 03:39:36 DEBUG : file1: active writers 1 2025/10/05 03:39:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:37 DEBUG : Looking for writers 2025/10/05 03:39:37 DEBUG : file1: reading active writers 2025/10/05 03:39:37 DEBUG : file1: active writers 1 2025/10/05 03:39:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:38 DEBUG : Looking for writers 2025/10/05 03:39:38 DEBUG : file1: reading active writers 2025/10/05 03:39:38 DEBUG : file1: active writers 1 2025/10/05 03:39:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:39 DEBUG : Looking for writers 2025/10/05 03:39:39 DEBUG : file1: reading active writers 2025/10/05 03:39:39 DEBUG : file1: active writers 1 2025/10/05 03:39:39 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:40 DEBUG : Looking for writers 2025/10/05 03:39:40 DEBUG : file1: reading active writers 2025/10/05 03:39:40 DEBUG : file1: active writers 1 2025/10/05 03:39:40 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:41 DEBUG : Looking for writers 2025/10/05 03:39:41 DEBUG : file1: reading active writers 2025/10/05 03:39:41 DEBUG : file1: active writers 1 2025/10/05 03:39:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:42 DEBUG : Looking for writers 2025/10/05 03:39:42 DEBUG : file1: reading active writers 2025/10/05 03:39:42 DEBUG : file1: active writers 1 2025/10/05 03:39:42 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:43 DEBUG : Looking for writers 2025/10/05 03:39:43 DEBUG : file1: reading active writers 2025/10/05 03:39:43 DEBUG : file1: active writers 1 2025/10/05 03:39:43 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:44 DEBUG : Looking for writers 2025/10/05 03:39:44 DEBUG : file1: reading active writers 2025/10/05 03:39:44 DEBUG : file1: active writers 1 2025/10/05 03:39:44 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:45 DEBUG : Looking for writers 2025/10/05 03:39:45 DEBUG : file1: reading active writers 2025/10/05 03:39:45 DEBUG : file1: active writers 1 2025/10/05 03:39:45 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:46 DEBUG : Looking for writers 2025/10/05 03:39:46 DEBUG : file1: reading active writers 2025/10/05 03:39:46 DEBUG : file1: active writers 1 2025/10/05 03:39:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:47 DEBUG : Looking for writers 2025/10/05 03:39:47 DEBUG : file1: reading active writers 2025/10/05 03:39:47 DEBUG : file1: active writers 1 2025/10/05 03:39:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:48 DEBUG : Looking for writers 2025/10/05 03:39:48 DEBUG : file1: reading active writers 2025/10/05 03:39:48 DEBUG : file1: active writers 1 2025/10/05 03:39:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:49 DEBUG : Looking for writers 2025/10/05 03:39:49 DEBUG : file1: reading active writers 2025/10/05 03:39:49 DEBUG : file1: active writers 1 2025/10/05 03:39:49 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:50 DEBUG : Looking for writers 2025/10/05 03:39:50 DEBUG : file1: reading active writers 2025/10/05 03:39:50 DEBUG : file1: active writers 1 2025/10/05 03:39:50 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:51 DEBUG : Looking for writers 2025/10/05 03:39:51 DEBUG : file1: reading active writers 2025/10/05 03:39:51 DEBUG : file1: active writers 1 2025/10/05 03:39:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:52 DEBUG : Looking for writers 2025/10/05 03:39:52 DEBUG : file1: reading active writers 2025/10/05 03:39:52 DEBUG : file1: active writers 1 2025/10/05 03:39:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:53 DEBUG : Looking for writers 2025/10/05 03:39:53 DEBUG : file1: reading active writers 2025/10/05 03:39:53 DEBUG : file1: active writers 1 2025/10/05 03:39:53 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/05 03:39:53 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/05 03:39:53 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (346.71s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:39:54 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:39:54 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:39:54 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:39:54 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:39:54 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:39:54 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:39:54 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:39:54 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:39:54 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/05 03:39:55 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/05 03:39:55 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/05 03:39:55 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/05 03:39:55 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': File to upload is small (11 bytes), uploading instead of streaming 2025/10/05 03:39:55.771968 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:39:55.772014 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:39:56 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:39:56 DEBUG : file1: Remove: 2025/10/05 03:39:56 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:39:56 DEBUG : file1: >Remove: err= write_test.go:221: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:221 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleWriteAt 2025/10/05 03:39:56 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:231 Error: Not equal: expected: []string{"file1,11,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" -} +([]string) Test: TestWriteFileHandleWriteAt fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/05 03:40:45 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/05 03:43:21 DEBUG : forgetting directory cache 2025/10/05 03:43:23 DEBUG : forgetting directory cache 2025/10/05 03:43:26 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleWriteAt Messages: 1 objects not found 2025/10/05 03:43:37 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:43:37 DEBUG : Looking for writers 2025/10/05 03:43:37 DEBUG : >WaitForWriters: 2025/10/05 03:44:01 DEBUG : forgetting directory cache 2025/10/05 03:44:02 DEBUG : forgetting directory cache 2025/10/05 03:44:03 DEBUG : forgetting directory cache 2025/10/05 03:44:05 DEBUG : forgetting directory cache 2025/10/05 03:44:06 DEBUG : forgetting directory cache --- FAIL: TestWriteFileHandleWriteAt (335.51s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:45:29 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:45:29 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:45:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:45:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:45:29 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:45:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:45:29 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/05 03:45:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:45:29 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': File to upload is small (5 bytes), uploading instead of streaming 2025/10/05 03:45:30.260377 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:45:30.260414 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:45:30 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:45:30 DEBUG : file1: Remove: 2025/10/05 03:45:30 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:45:30 DEBUG : file1: >Remove: err= 2025/10/05 03:45:30 ERROR : file1: WriteFileHandle.Flush error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft write_test.go:256: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:256 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleFlush 2025/10/05 03:45:30 DEBUG : file1: WriteFileHandle.Flush nothing to do dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:267 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleFlush 2025/10/05 03:45:30 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:30 DEBUG : Looking for writers 2025/10/05 03:45:30 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (1.59s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:45:31 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:45:31 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:31 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:45:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:45:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:45:31 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:45:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:45:31 DEBUG : file1: WriteFileHandle.Release closing 2025/10/05 03:45:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:45:31 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': File to upload is small (0 bytes), uploading instead of streaming 2025/10/05 03:45:31.869942 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:45:31.869979 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:45:32 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:45:32 DEBUG : file1: Remove: 2025/10/05 03:45:32 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:45:32 DEBUG : file1: >Remove: err= 2025/10/05 03:45:32 ERROR : file1: WriteFileHandle.Release error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft write_test.go:279: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:279 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleRelease 2025/10/05 03:45:32 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/05 03:45:32 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:32 DEBUG : Looking for writers 2025/10/05 03:45:32 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (1.66s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:45:32 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:45:32 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:32 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:45:33 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:45:33 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:45:33 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:45:33 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:45:33 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:45:33 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': File to upload is small (2 bytes), uploading instead of streaming 2025/10/05 03:45:33.540448 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:45:33.540485 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:45:34 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:45:34 DEBUG : file1: Remove: 2025/10/05 03:45:34 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:45:34 DEBUG : file1: >Remove: err= write_test.go:333: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:333 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileModTimeWithOpenWriters 2025/10/05 03:45:34 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:34 DEBUG : Looking for writers 2025/10/05 03:45:34 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (1.65s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:45:34 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:45:34 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:34 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:45:34 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:45:34 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:45:34 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:45:34 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:45:34 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:45:34 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': File to upload is small (0 bytes), uploading instead of streaming 2025/10/05 03:45:35.166845 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:45:35.166878 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:45:35 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/05 03:45:35 DEBUG : file1: Remove: 2025/10/05 03:45:35 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:45:35 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestFileReadAtZeroLength 2025/10/05 03:45:35 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/05 03:45:35 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: file does not exist Test: TestFileReadAtZeroLength 2025/10/05 03:45:35 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:35 DEBUG : Looking for writers 2025/10/05 03:45:35 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (1.68s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:45:36 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:45:36 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:36 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/05 03:45:36 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/05 03:45:36 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:45:36 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/05 03:45:36 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/05 03:45:36 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/05 03:45:36 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': File to upload is small (100 bytes), uploading instead of streaming 2025/10/05 03:45:36.832491 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/05 03:45:36.832525 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/05 03:45: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/05 03:45:37 DEBUG : file1: Remove: 2025/10/05 03:45:37 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/05 03:45:37 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestFileReadAtNonZeroLength 2025/10/05 03:45:37 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/05 03:45:37 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: file does not exist Test: TestFileReadAtNonZeroLength 2025/10/05 03:45:37 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:37 DEBUG : Looking for writers 2025/10/05 03:45:37 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (1.63s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:45:37 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:45:37 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:39.191339 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:45:39.191384 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "flat/f000.txt" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:45:39 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:39 DEBUG : Looking for writers 2025/10/05 03:45:39 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (2.19s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:45:40 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:45:40 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:41.242393 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:45:41.242426 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "a/top.txt" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:45:41 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:41 DEBUG : Looking for writers 2025/10/05 03:45:41 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (2.02s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:45:42 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:45:42 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:43.862213 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:45:43.862252 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "bigdir/big.bin" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:45:43 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:43 DEBUG : Looking for writers 2025/10/05 03:45:43 DEBUG : >WaitForWriters: 2025/10/05 03:45:44.115774 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:45:44.115812 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (2.68s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-migeyiw0puke'", Local "Local file system at /tmp/rclone588139798", Modify Window "1s" 2025/10/05 03:45:44 INFO : proton drive root link ID 'rclone-test-migeyiw0puke': poll-interval is not supported by this remote 2025/10/05 03:45:44 NOTICE: proton drive root link ID 'rclone-test-migeyiw0puke': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/05 03:45:45.974270 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/05 03:45:45.974335 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) run.go:285: Failed to put "dir1/a.txt" to "proton drive root link ID 'rclone-test-migeyiw0puke'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/05 03:45:45 DEBUG : WaitForWriters: timeout=30s 2025/10/05 03:45:45 DEBUG : Looking for writers 2025/10/05 03:45:45 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (2.07s) FAIL 2025/10/05 03:45:46 DEBUG : proton drive root link ID 'rclone-test-migeyiw0puke': 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 33m20.034841667s (try 3/5): exit status 1: Failed [TestDirHandleMethods TestDirHandleReaddir TestDirHandleReaddirnames TestDirMethods TestDirForgetAll TestDirForgetPath TestDirWalk TestDirSetModTime TestDirStat TestDirReadDirAll TestDirOpen TestDirCreate TestDirMkdir TestDirMkdirSub TestDirRemove TestDirRemoveAll TestDirRemoveName TestDirRename TestDirFileOpen TestDirMetadataExtension TestFileMethods TestFileSetModTime/cache=off,open=false,write=false TestFileSetModTime/cache=off,open=true,write=false TestFileSetModTime/cache=off,open=true,write=true TestFileSetModTime/cache=full,open=false,write=false TestFileSetModTime/cache=full,open=true,write=false TestFileSetModTime/cache=full,open=true,write=true TestFileOpenRead TestFileOpenWrite TestFileRemove TestFileRemoveAll TestFileOpen TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestReadFileHandleMethods TestReadFileHandleSeek TestReadFileHandleReadAt TestReadFileHandleFlush TestReadFileHandleRelease TestRWFileHandleMethodsRead TestRWFileHandleSeek TestRWFileHandleReadAt TestRWFileHandleFlushRead TestRWFileHandleReleaseRead TestRWFileHandleMethodsWrite TestRWFileHandleWriteAt TestRWFileHandleWriteNoWrite TestRWFileHandleSizeTruncateExisting TestRWFileHandleSizeCreateExisting TestRWFileModTimeWithOpenWriters TestRWCacheUpdate TestCaseSensitivity TestUnicodeNormalization TestVFSStat TestVFSStatParent TestVFSOpenFile TestVFSRename TestWriteFileHandleMethods TestWriteFileHandleWriteAt TestWriteFileHandleFlush TestWriteFileHandleRelease TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestFileReadAtNonZeroLength TestZipManyFiles TestZipManySubDirs TestZipLargeFiles TestZipDirsInRoot]