"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseSensitivity|TestDirCreate|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMetadataExtension|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSOpenFile|TestVFSRename|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$'" - Starting (try 5/5) 2025/10/04 04:46:32 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-febidit3ciwo" 2025/10/04 04:46:32 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/04 04:46:32 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': Has cached credentials 2025/10/04 04:46:33 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': Used cached credential to initialize the ProtonDrive API 2025/10/04 04:46:33 DEBUG : Creating backend with remote "/tmp/rclone2475321348" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:33 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:33 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:35.588142 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:35.588167 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:35 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:35 DEBUG : Looking for writers 2025/10/04 04:46:35 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (2.79s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:36 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:36 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:37.740871 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:37.740894 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:37 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:37 DEBUG : Looking for writers 2025/10/04 04:46:37 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (2.09s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:38 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:38 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:39.725566 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:39.725610 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:39 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:39 DEBUG : Looking for writers 2025/10/04 04:46:39 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (1.96s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:40 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:40 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:41.748081 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:41.748119 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:41 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:41 DEBUG : Looking for writers 2025/10/04 04:46:41 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (2.18s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:42 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:42 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:43.827862 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:43.827888 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:43 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:43 DEBUG : Looking for writers 2025/10/04 04:46:43 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (1.96s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:44 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:44 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:45.832121 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:45.832199 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:45 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:45 DEBUG : Looking for writers 2025/10/04 04:46:45 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (1.99s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:46 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:46 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:47.782639 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:47.782656 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:47 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:47 DEBUG : Looking for writers 2025/10/04 04:46:47 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (1.95s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:48 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:48 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:49.751160 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:49.751189 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:49 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:49 DEBUG : Looking for writers 2025/10/04 04:46:49 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (1.97s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:50 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:50 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:51.726567 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:51.726589 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:51 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:51 DEBUG : Looking for writers 2025/10/04 04:46:51 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (2.01s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:52 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:52 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:53.755346 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:53.755378 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:53 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:53 DEBUG : Looking for writers 2025/10/04 04:46:53 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (1.99s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:54 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:54 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:55.847152 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:55.847186 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:55 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:55 DEBUG : Looking for writers 2025/10/04 04:46:55 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (2.08s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:56 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:56 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:57.811966 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:57.811993 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:57 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:57 DEBUG : Looking for writers 2025/10/04 04:46:57 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (1.99s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:46:58 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:46:58 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:46:59.796521 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:46:59.796558 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:46:59 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:46:59 DEBUG : Looking for writers 2025/10/04 04:46:59 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (2.01s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:00 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:00 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:01.881097 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:01.881133 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:01 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:01 DEBUG : Looking for writers 2025/10/04 04:47:01 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (2.07s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:02 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:02 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:03.943485 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:03.943509 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:03 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:03 DEBUG : Looking for writers 2025/10/04 04:47:03 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (2.05s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:04 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:04 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:06.018643 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:06.018676 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:06 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:06 DEBUG : Looking for writers 2025/10/04 04:47:06 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (2.04s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:06 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:06 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:07.987470 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:07.987500 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:07 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:07 DEBUG : Looking for writers 2025/10/04 04:47:07 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (1.99s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:08 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:08 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:09.972160 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:09.972193 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:09 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:09 DEBUG : Looking for writers 2025/10/04 04:47:09 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (1.99s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:10 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:10 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:11.950215 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:11.950255 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:11 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:11 DEBUG : Looking for writers 2025/10/04 04:47:11 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (1.98s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:12 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:12 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:14.097782 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:14.097819 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:14 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:14 DEBUG : Looking for writers 2025/10/04 04:47:14 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (2.13s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:14 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:14 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:16.092566 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:16.092606 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:16 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:16 DEBUG : Looking for writers 2025/10/04 04:47:16 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (1.99s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:16 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:16 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:18.085293 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:18.085325 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:18 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:18 DEBUG : Looking for writers 2025/10/04 04:47:18 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:18 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:18 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:20.173685 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:20.173759 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:20 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:20 DEBUG : Looking for writers 2025/10/04 04:47:20 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:21 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:21 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:22.320684 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:22.320758 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:22 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:22 DEBUG : Looking for writers 2025/10/04 04:47:22 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:23 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:23 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:47:23 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:23 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:23 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:47:24.330297 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:24.330334 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:24 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:24 DEBUG : Looking for writers 2025/10/04 04:47:24 DEBUG : >WaitForWriters: 2025/10/04 04:47:24 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:25 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:47:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:25 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:47:26.396208 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:26.396245 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:26 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:26 DEBUG : Looking for writers 2025/10/04 04:47:26 DEBUG : >WaitForWriters: 2025/10/04 04:47:26 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:27 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:27 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:47:27 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:27 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:27 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:27 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:27 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:27 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:27 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:47:28.431344 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:28.431384 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:28 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:28 DEBUG : Looking for writers 2025/10/04 04:47:28 DEBUG : >WaitForWriters: 2025/10/04 04:47:28 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (12.39s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (2.00s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (2.15s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (2.09s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (2.04s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (2.05s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (2.06s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:29 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:29 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:30.514383 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:30.514417 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:30 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:30 DEBUG : Looking for writers 2025/10/04 04:47:30 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (2.05s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:31 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:31 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:32.493671 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:32.493729 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:32 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:32 DEBUG : Looking for writers 2025/10/04 04:47:32 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (2.00s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:33 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:33 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:34.569066 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:34.569146 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:34 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:34 DEBUG : Looking for writers 2025/10/04 04:47:34 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (2.06s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:35 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:35 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:36.628620 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:36.628657 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:36 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:36 DEBUG : Looking for writers 2025/10/04 04:47:36 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (2.05s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:37 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:37 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:38.668060 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:38.668126 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:38 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:38 DEBUG : Looking for writers 2025/10/04 04:47:38 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (2.10s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:39 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:39 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:40.729690 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:40.729769 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:40 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:40 DEBUG : Looking for writers 2025/10/04 04:47:40 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:41 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:41 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:41 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:47:41 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:41 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:41 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:47:42.763766 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:42.763801 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:42 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:42 DEBUG : Looking for writers 2025/10/04 04:47:42 DEBUG : >WaitForWriters: 2025/10/04 04:47:42 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:43 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:43 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:43 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:47:43 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:43 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:43 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:43 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:43 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:43 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:47:44.731442 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:44.731500 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:44 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:44 DEBUG : Looking for writers 2025/10/04 04:47:44 DEBUG : >WaitForWriters: 2025/10/04 04:47:44 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:45 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:45 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:47:45 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:45 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:45 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:45 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:45 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:45 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:47:46.712892 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:46.712941 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:46 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:46 DEBUG : Looking for writers 2025/10/04 04:47:46 DEBUG : >WaitForWriters: 2025/10/04 04:47:46 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:47 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:47 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:47:47 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:47 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:47 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:47 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:47 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:47 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:47:48.692983 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:48.693032 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:48 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:48 DEBUG : Looking for writers 2025/10/04 04:47:48 DEBUG : >WaitForWriters: 2025/10/04 04:47:48 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:49 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:49 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:47:49 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:49 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:47:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:47:49 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:47:50.738120 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:50.738167 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:50 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:50 DEBUG : Looking for writers 2025/10/04 04:47:50 DEBUG : >WaitForWriters: 2025/10/04 04:47:50 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting --- FAIL: TestFileRename (12.16s) --- FAIL: TestFileRename/off,forceCache=false (2.03s) --- FAIL: TestFileRename/minimal,forceCache=false (2.01s) --- FAIL: TestFileRename/minimal,forceCache=true (1.96s) --- FAIL: TestFileRename/writes,forceCache=false (1.97s) --- FAIL: TestFileRename/writes,forceCache=true (2.04s) --- FAIL: TestFileRename/full,forceCache=false (2.15s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:51 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:51 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:52.858691 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:52.858757 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:52 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:52 DEBUG : Looking for writers 2025/10/04 04:47:52 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (1.98s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:53 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:53 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:55.051919 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:55.051967 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:55 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:55 DEBUG : Looking for writers 2025/10/04 04:47:55 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (2.22s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:55 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:55 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:57.164236 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:57.164272 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:57 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:57 DEBUG : Looking for writers 2025/10/04 04:47:57 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (2.12s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:47:58 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:47:58 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:47:59.180641 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:47:59.180674 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:47:59 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:47:59 DEBUG : Looking for writers 2025/10/04 04:47:59 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (2.03s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:48:00 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:48:00 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 04:48:01.215063 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:48:01.215095 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:48:01 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:48:01 DEBUG : Looking for writers 2025/10/04 04:48:01 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (2.01s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:48:02 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:48:02 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:48:02 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:02 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:48:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:48:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:02 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:48:03.236391 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:48:03.236426 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:48:03 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:48:03 DEBUG : Looking for writers 2025/10/04 04:48:03 DEBUG : >WaitForWriters: 2025/10/04 04:48:03 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (2.05s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:48:04 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:48:04 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:48:04 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:04 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:48:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:04 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:04 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:48:04 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:04 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:48:05.284032 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:48:05.284141 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:48:05 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:48:05 DEBUG : Looking for writers 2025/10/04 04:48:05 DEBUG : >WaitForWriters: 2025/10/04 04:48:05 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (2.01s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:48:06 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:48:06 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:48:06 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:06 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:48:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:48:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:06 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:48:07.362088 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:48:07.362126 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:48:07 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:48:07 DEBUG : Looking for writers 2025/10/04 04:48:07 DEBUG : >WaitForWriters: 2025/10/04 04:48:07 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (2.06s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:48:08 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:48:08 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:48:08 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:08 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:48:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:48:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:08 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:48:09.445790 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:48:09.445814 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:48:09 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:48:09 DEBUG : Looking for writers 2025/10/04 04:48:09 DEBUG : >WaitForWriters: 2025/10/04 04:48:09 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (2.10s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:48:10 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:48:10 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:48:10 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:10 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:48:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:48:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:10 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:48:11.470336 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:48:11.470380 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:48:11 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:48:11 DEBUG : Looking for writers 2025/10/04 04:48:11 DEBUG : >WaitForWriters: 2025/10/04 04:48:11 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (2.04s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:48:12 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:48:12 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:48:12 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:12 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:12 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:48:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:12 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:48:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:48:12 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:48:12 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:48:12 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:48:12 DEBUG : file1: newRWFileHandle: 2025/10/04 04:48:12 DEBUG : file1(0xc0007a4880): openPending: 2025/10/04 04:48:12 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 04:48:12 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:48:12 DEBUG : file1(0xc0007a4880): >openPending: err= 2025/10/04 04:48:12 DEBUG : file1: >newRWFileHandle: err= 2025/10/04 04:48:12 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:48:12 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/04 04:48:12 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/04 04:48:12 DEBUG : file1(0xc0007a4880): _writeAt: size=5, off=0 2025/10/04 04:48:12 DEBUG : file1(0xc0007a4880): >_writeAt: n=5, err= 2025/10/04 04:48:12 DEBUG : file1(0xc0007a4880): _writeAt: size=7, off=5 2025/10/04 04:48:12 DEBUG : file1(0xc0007a4880): >_writeAt: n=7, err= 2025/10/04 04:48:12 DEBUG : file1: vfs cache: truncate to size=11 2025/10/04 04:48:12 DEBUG : file1(0xc0007a4880): close: 2025/10/04 04:48:12 DEBUG : file1: vfs cache: setting modification time to 2025-10-04 04:48:12.541846361 +0000 UTC m=+100.130918138 2025/10/04 04:48:12 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/04 04:48:12 DEBUG : file1(0xc0007a4880): >close: err= 2025/10/04 04:48:12 DEBUG : file1(0xc0007a4880): close: 2025/10/04 04:48:12 DEBUG : file1(0xc0007a4880): >close: err=file already closed 2025/10/04 04:48:12 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:48:12 DEBUG : Looking for writers 2025/10/04 04:48:12 DEBUG : file1: reading active writers 2025/10/04 04:48:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 04:48:12 DEBUG : Looking for writers 2025/10/04 04:48:12 DEBUG : file1: reading active writers 2025/10/04 04:48:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 04:48:12 DEBUG : Looking for writers 2025/10/04 04:48:12 DEBUG : file1: reading active writers 2025/10/04 04:48:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 04:48:12 DEBUG : Looking for writers 2025/10/04 04:48:12 DEBUG : file1: reading active writers 2025/10/04 04:48:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 04:48:12 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:48:12 DEBUG : Looking for writers 2025/10/04 04:48:12 DEBUG : file1: reading active writers 2025/10/04 04:48:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 04:48:12 DEBUG : Looking for writers 2025/10/04 04:48:12 DEBUG : file1: reading active writers 2025/10/04 04:48:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 04:48:13 DEBUG : Looking for writers 2025/10/04 04:48:13 DEBUG : file1: reading active writers 2025/10/04 04:48:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 04:48:13.519111 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 04:48:13.519150 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:48:13 ERROR : file1: Failed to copy: 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:48:13 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 04:48:13 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:48:13 DEBUG : Looking for writers 2025/10/04 04:48:13 DEBUG : file1: reading active writers 2025/10/04 04:48:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:14.157906 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:48:14.157933 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:48:14 DEBUG : Looking for writers 2025/10/04 04:48:14 DEBUG : file1: reading active writers 2025/10/04 04:48:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:14 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:48:14 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:48:15 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:48:15.644198 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:48:15.650834 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:48:15 DEBUG : Looking for writers 2025/10/04 04:48:15 DEBUG : file1: reading active writers 2025/10/04 04:48:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:16 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:48:16 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:48:16 DEBUG : Looking for writers 2025/10/04 04:48:16 DEBUG : file1: reading active writers 2025/10/04 04:48:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:17 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:48:17.522255 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:48:17.522294 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:48:17 DEBUG : Looking for writers 2025/10/04 04:48:17 DEBUG : file1: reading active writers 2025/10/04 04:48:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:18 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:48:18 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:48:18 DEBUG : Looking for writers 2025/10/04 04:48:18 DEBUG : file1: reading active writers 2025/10/04 04:48:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:19 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:48:19 DEBUG : Looking for writers 2025/10/04 04:48:19 DEBUG : file1: reading active writers 2025/10/04 04:48:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:20.186624 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:48:20.186663 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:48:20 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:48:20 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:48:20 DEBUG : Looking for writers 2025/10/04 04:48:20 DEBUG : file1: reading active writers 2025/10/04 04:48:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:21 DEBUG : Looking for writers 2025/10/04 04:48:21 DEBUG : file1: reading active writers 2025/10/04 04:48:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:22 DEBUG : Looking for writers 2025/10/04 04:48:22 DEBUG : file1: reading active writers 2025/10/04 04:48:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:23 DEBUG : Looking for writers 2025/10/04 04:48:23 DEBUG : file1: reading active writers 2025/10/04 04:48:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:24 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:48:24.578764 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:48:24.578815 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:48:24 DEBUG : Looking for writers 2025/10/04 04:48:24 DEBUG : file1: reading active writers 2025/10/04 04:48:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:25 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:48:25 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:48:25 DEBUG : Looking for writers 2025/10/04 04:48:25 DEBUG : file1: reading active writers 2025/10/04 04:48:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:26 DEBUG : Looking for writers 2025/10/04 04:48:26 DEBUG : file1: reading active writers 2025/10/04 04:48:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:27 DEBUG : Looking for writers 2025/10/04 04:48:27 DEBUG : file1: reading active writers 2025/10/04 04:48:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:28 DEBUG : Looking for writers 2025/10/04 04:48:28 DEBUG : file1: reading active writers 2025/10/04 04:48:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:29 DEBUG : Looking for writers 2025/10/04 04:48:29 DEBUG : file1: reading active writers 2025/10/04 04:48:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:30 DEBUG : Looking for writers 2025/10/04 04:48:30 DEBUG : file1: reading active writers 2025/10/04 04:48:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:31 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:48:31 DEBUG : Looking for writers 2025/10/04 04:48:31 DEBUG : file1: reading active writers 2025/10/04 04:48:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:32.077802 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:48:32.077838 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:48:32 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:48:32 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:48:32 DEBUG : Looking for writers 2025/10/04 04:48:32 DEBUG : file1: reading active writers 2025/10/04 04:48:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:33 DEBUG : Looking for writers 2025/10/04 04:48:33 DEBUG : file1: reading active writers 2025/10/04 04:48:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:34 DEBUG : Looking for writers 2025/10/04 04:48:34 DEBUG : file1: reading active writers 2025/10/04 04:48:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:35 DEBUG : Looking for writers 2025/10/04 04:48:35 DEBUG : file1: reading active writers 2025/10/04 04:48:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:36 DEBUG : Looking for writers 2025/10/04 04:48:36 DEBUG : file1: reading active writers 2025/10/04 04:48:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:37 DEBUG : Looking for writers 2025/10/04 04:48:37 DEBUG : file1: reading active writers 2025/10/04 04:48:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:38 DEBUG : Looking for writers 2025/10/04 04:48:38 DEBUG : file1: reading active writers 2025/10/04 04:48:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:39 DEBUG : Looking for writers 2025/10/04 04:48:39 DEBUG : file1: reading active writers 2025/10/04 04:48:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:40 DEBUG : Looking for writers 2025/10/04 04:48:40 DEBUG : file1: reading active writers 2025/10/04 04:48:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:41 DEBUG : Looking for writers 2025/10/04 04:48:41 DEBUG : file1: reading active writers 2025/10/04 04:48:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:48:42 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a96e10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000a66608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824644625984} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992762808187218777 ext:100130918138 loc:0x41313e0} ATime:{wall:13992762808187241870 ext:100130941231 loc:0x41313e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 04:48:42 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/04 04:48:45 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:49:12 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:49:12 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/04 04:50:12 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:50:12 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/04 04:50:28.279523 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:50:28.279553 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:50:28 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:50:28 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/04 04:50:54 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:51:12 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:51:12 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/04 04:51:56.433513 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:51:56.433587 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:51:57 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:51:57 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleMethodsWrite Messages: 1 objects not found 2025/10/04 04:52:00 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:52:00 DEBUG : Looking for writers 2025/10/04 04:52:00 DEBUG : file1: reading active writers 2025/10/04 04:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 04:52:00 DEBUG : Looking for writers 2025/10/04 04:52:00 DEBUG : file1: reading active writers 2025/10/04 04:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 04:52:00 DEBUG : Looking for writers 2025/10/04 04:52:00 DEBUG : file1: reading active writers 2025/10/04 04:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 04:52:00 DEBUG : Looking for writers 2025/10/04 04:52:00 DEBUG : file1: reading active writers 2025/10/04 04:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 04:52:00 DEBUG : Looking for writers 2025/10/04 04:52:00 DEBUG : file1: reading active writers 2025/10/04 04:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 04:52:00 DEBUG : Looking for writers 2025/10/04 04:52:00 DEBUG : file1: reading active writers 2025/10/04 04:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 04:52:00 DEBUG : Looking for writers 2025/10/04 04:52:00 DEBUG : file1: reading active writers 2025/10/04 04:52:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 04:52:01 DEBUG : Looking for writers 2025/10/04 04:52:01 DEBUG : file1: reading active writers 2025/10/04 04:52:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:02 DEBUG : Looking for writers 2025/10/04 04:52:02 DEBUG : file1: reading active writers 2025/10/04 04:52:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:03 DEBUG : Looking for writers 2025/10/04 04:52:03 DEBUG : file1: reading active writers 2025/10/04 04:52:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:04 DEBUG : Looking for writers 2025/10/04 04:52:04 DEBUG : file1: reading active writers 2025/10/04 04:52:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:05 DEBUG : Looking for writers 2025/10/04 04:52:05 DEBUG : file1: reading active writers 2025/10/04 04:52:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:06 DEBUG : Looking for writers 2025/10/04 04:52:06 DEBUG : file1: reading active writers 2025/10/04 04:52:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:07 DEBUG : Looking for writers 2025/10/04 04:52:07 DEBUG : file1: reading active writers 2025/10/04 04:52:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:08 DEBUG : Looking for writers 2025/10/04 04:52:08 DEBUG : file1: reading active writers 2025/10/04 04:52:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:09 DEBUG : Looking for writers 2025/10/04 04:52:09 DEBUG : file1: reading active writers 2025/10/04 04:52:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:10 DEBUG : Looking for writers 2025/10/04 04:52:10 DEBUG : file1: reading active writers 2025/10/04 04:52:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:11 DEBUG : Looking for writers 2025/10/04 04:52:11 DEBUG : file1: reading active writers 2025/10/04 04:52:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:12 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:52:12 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/04 04:52:12 DEBUG : Looking for writers 2025/10/04 04:52:12 DEBUG : file1: reading active writers 2025/10/04 04:52:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:13 DEBUG : Looking for writers 2025/10/04 04:52:13 DEBUG : file1: reading active writers 2025/10/04 04:52:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:14 DEBUG : Looking for writers 2025/10/04 04:52:14 DEBUG : file1: reading active writers 2025/10/04 04:52:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:15 DEBUG : Looking for writers 2025/10/04 04:52:15 DEBUG : file1: reading active writers 2025/10/04 04:52:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:16 DEBUG : Looking for writers 2025/10/04 04:52:16 DEBUG : file1: reading active writers 2025/10/04 04:52:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:17 DEBUG : Looking for writers 2025/10/04 04:52:17 DEBUG : file1: reading active writers 2025/10/04 04:52:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:18 DEBUG : Looking for writers 2025/10/04 04:52:18 DEBUG : file1: reading active writers 2025/10/04 04:52:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:19 DEBUG : Looking for writers 2025/10/04 04:52:19 DEBUG : file1: reading active writers 2025/10/04 04:52:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:20 DEBUG : Looking for writers 2025/10/04 04:52:20 DEBUG : file1: reading active writers 2025/10/04 04:52:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:21 DEBUG : Looking for writers 2025/10/04 04:52:21 DEBUG : file1: reading active writers 2025/10/04 04:52:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:22 DEBUG : Looking for writers 2025/10/04 04:52:22 DEBUG : file1: reading active writers 2025/10/04 04:52:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:23 DEBUG : Looking for writers 2025/10/04 04:52:23 DEBUG : file1: reading active writers 2025/10/04 04:52:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:24 DEBUG : Looking for writers 2025/10/04 04:52:24 DEBUG : file1: reading active writers 2025/10/04 04:52:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:25 DEBUG : Looking for writers 2025/10/04 04:52:25 DEBUG : file1: reading active writers 2025/10/04 04:52:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:26 DEBUG : Looking for writers 2025/10/04 04:52:26 DEBUG : file1: reading active writers 2025/10/04 04:52:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:27 DEBUG : Looking for writers 2025/10/04 04:52:27 DEBUG : file1: reading active writers 2025/10/04 04:52:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:28 DEBUG : Looking for writers 2025/10/04 04:52:28 DEBUG : file1: reading active writers 2025/10/04 04:52:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:29 DEBUG : Looking for writers 2025/10/04 04:52:29 DEBUG : file1: reading active writers 2025/10/04 04:52:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:52:30 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a96e10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000a66608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824644625984} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992762808187218777 ext:100130918138 loc:0x41313e0} ATime:{wall:13992762808187241870 ext:100130941231 loc:0x41313e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 04:52:30 DEBUG : >WaitForWriters: 2025/10/04 04:52:30 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (344.46s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:53:56 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:53:56 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:53:56 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:53:56 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:53:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:53:56 DEBUG : Config file has changed externally - reloading 2025/10/04 04:53:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:53:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:53:56 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:53:56 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:53:56 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:53:56 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:53:56 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:53:57 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:53:57 DEBUG : file1: newRWFileHandle: 2025/10/04 04:53:57 DEBUG : file1(0xc0003f78c0): openPending: 2025/10/04 04:53:57 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 04:53:57 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:53:57 DEBUG : file1(0xc0003f78c0): >openPending: err= 2025/10/04 04:53:57 DEBUG : file1: >newRWFileHandle: err= 2025/10/04 04:53:57 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:53:57 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/04 04:53:57 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/04 04:53:57 DEBUG : file1(0xc0003f78c0): _writeAt: size=7, off=0 2025/10/04 04:53:57 DEBUG : file1(0xc0003f78c0): >_writeAt: n=7, err= 2025/10/04 04:53:57 DEBUG : file1(0xc0003f78c0): _writeAt: size=6, off=5 2025/10/04 04:53:57 DEBUG : file1(0xc0003f78c0): >_writeAt: n=6, err= 2025/10/04 04:53:57 DEBUG : file1(0xc0003f78c0): close: 2025/10/04 04:53:57 DEBUG : file1: vfs cache: setting modification time to 2025-10-04 04:53:57.009413225 +0000 UTC m=+444.598485002 2025/10/04 04:53:57 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/04 04:53:57 DEBUG : file1(0xc0003f78c0): >close: err= 2025/10/04 04:53:57 DEBUG : file1(0xc0003f78c0): _writeAt: size=5, off=0 2025/10/04 04:53:57 DEBUG : file1(0xc0003f78c0): >_writeAt: n=0, err=file already closed 2025/10/04 04:53:57 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:53:57 DEBUG : Looking for writers 2025/10/04 04:53:57 DEBUG : file1: reading active writers 2025/10/04 04:53:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 04:53:57 DEBUG : Looking for writers 2025/10/04 04:53:57 DEBUG : file1: reading active writers 2025/10/04 04:53:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 04:53:57 DEBUG : Looking for writers 2025/10/04 04:53:57 DEBUG : file1: reading active writers 2025/10/04 04:53:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 04:53:57 DEBUG : Looking for writers 2025/10/04 04:53:57 DEBUG : file1: reading active writers 2025/10/04 04:53:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 04:53:57 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:53:57 DEBUG : Looking for writers 2025/10/04 04:53:57 DEBUG : file1: reading active writers 2025/10/04 04:53:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 04:53:57 DEBUG : Looking for writers 2025/10/04 04:53:57 DEBUG : file1: reading active writers 2025/10/04 04:53:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 04:53:57.562823 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:53:57.562849 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:53:57 DEBUG : Looking for writers 2025/10/04 04:53:57 DEBUG : file1: reading active writers 2025/10/04 04:53:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 04:53: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/04 04:53:58 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:53:58 DEBUG : Looking for writers 2025/10/04 04:53:58 DEBUG : file1: reading active writers 2025/10/04 04:53:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:53:58 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:53:58.770860 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:53:58.770884 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:53:59 DEBUG : Looking for writers 2025/10/04 04:53:59 DEBUG : file1: reading active writers 2025/10/04 04:53:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:53:59 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:53:59 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:53:59 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:54:00.226480 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:54:00.226502 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:54:00 DEBUG : Looking for writers 2025/10/04 04:54:00 DEBUG : file1: reading active writers 2025/10/04 04:54:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:00 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:54:00 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:54:01 DEBUG : Looking for writers 2025/10/04 04:54:01 DEBUG : file1: reading active writers 2025/10/04 04:54:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:01 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:54:02.077007 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:54:02.077040 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:54:02 DEBUG : Looking for writers 2025/10/04 04:54:02 DEBUG : file1: reading active writers 2025/10/04 04:54:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54: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/04 04:54:02 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:54:03 DEBUG : Looking for writers 2025/10/04 04:54:03 DEBUG : file1: reading active writers 2025/10/04 04:54:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:04 DEBUG : Looking for writers 2025/10/04 04:54:04 DEBUG : file1: reading active writers 2025/10/04 04:54:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:04 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:54:04.818215 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:54:04.818250 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:54:05 DEBUG : Looking for writers 2025/10/04 04:54:05 DEBUG : file1: reading active writers 2025/10/04 04:54:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54: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/04 04:54:05 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:54:06 DEBUG : Looking for writers 2025/10/04 04:54:06 DEBUG : file1: reading active writers 2025/10/04 04:54:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:07 DEBUG : Looking for writers 2025/10/04 04:54:07 DEBUG : file1: reading active writers 2025/10/04 04:54:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:08 DEBUG : Looking for writers 2025/10/04 04:54:08 DEBUG : file1: reading active writers 2025/10/04 04:54:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:08 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:54:09.058096 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:54:09.058124 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:54:09 DEBUG : Looking for writers 2025/10/04 04:54:09 DEBUG : file1: reading active writers 2025/10/04 04:54:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:09 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:54:09 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:54:10 DEBUG : Looking for writers 2025/10/04 04:54:10 DEBUG : file1: reading active writers 2025/10/04 04:54:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:11 DEBUG : Looking for writers 2025/10/04 04:54:11 DEBUG : file1: reading active writers 2025/10/04 04:54:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:12 DEBUG : Looking for writers 2025/10/04 04:54:12 DEBUG : file1: reading active writers 2025/10/04 04:54:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:13 DEBUG : Looking for writers 2025/10/04 04:54:13 DEBUG : file1: reading active writers 2025/10/04 04:54:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:14 DEBUG : Looking for writers 2025/10/04 04:54:14 DEBUG : file1: reading active writers 2025/10/04 04:54:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:15 DEBUG : Looking for writers 2025/10/04 04:54:15 DEBUG : file1: reading active writers 2025/10/04 04:54:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:16 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:54:16 DEBUG : Looking for writers 2025/10/04 04:54:16 DEBUG : file1: reading active writers 2025/10/04 04:54:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:16.684125 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:54:16.684157 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:54:17 DEBUG : Looking for writers 2025/10/04 04:54:17 DEBUG : file1: reading active writers 2025/10/04 04:54:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54: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/04 04:54:17 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:54:18 DEBUG : Looking for writers 2025/10/04 04:54:18 DEBUG : file1: reading active writers 2025/10/04 04:54:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:19 DEBUG : Looking for writers 2025/10/04 04:54:19 DEBUG : file1: reading active writers 2025/10/04 04:54:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:20 DEBUG : Looking for writers 2025/10/04 04:54:20 DEBUG : file1: reading active writers 2025/10/04 04:54:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:21 DEBUG : Looking for writers 2025/10/04 04:54:21 DEBUG : file1: reading active writers 2025/10/04 04:54:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:22 DEBUG : Looking for writers 2025/10/04 04:54:22 DEBUG : file1: reading active writers 2025/10/04 04:54:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:23 DEBUG : Looking for writers 2025/10/04 04:54:23 DEBUG : file1: reading active writers 2025/10/04 04:54:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:24 DEBUG : Looking for writers 2025/10/04 04:54:24 DEBUG : file1: reading active writers 2025/10/04 04:54:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:25 DEBUG : Looking for writers 2025/10/04 04:54:25 DEBUG : file1: reading active writers 2025/10/04 04:54:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:26 DEBUG : Looking for writers 2025/10/04 04:54:26 DEBUG : file1: reading active writers 2025/10/04 04:54:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:54:27 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a96b40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000a66008 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824644624448} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992763178095714921 ext:444598485002 loc:0x41313e0} ATime:{wall:13992763178095744386 ext:444598514467 loc:0x41313e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 04:54:27 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/04 04:54:30 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:54:56 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:54:56 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/04 04:55:54.984258 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:55:54.984296 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:55:55 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:55:55 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/04 04:55:56 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:55:56 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/04 04:56:21 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:56:33 DEBUG : forgetting directory cache 2025/10/04 04:56:36 DEBUG : forgetting directory cache 2025/10/04 04:56:38 DEBUG : forgetting directory cache 2025/10/04 04:56:40 DEBUG : forgetting directory cache 2025/10/04 04:56:42 DEBUG : forgetting directory cache 2025/10/04 04:56:44 DEBUG : forgetting directory cache 2025/10/04 04:56:46 DEBUG : forgetting directory cache 2025/10/04 04:56:48 DEBUG : forgetting directory cache 2025/10/04 04:56:50 DEBUG : forgetting directory cache 2025/10/04 04:56:52 DEBUG : forgetting directory cache 2025/10/04 04:56:54 DEBUG : forgetting directory cache 2025/10/04 04:56:56 DEBUG : forgetting directory cache 2025/10/04 04:56:56 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:56:56 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/04 04:56:58 DEBUG : forgetting directory cache 2025/10/04 04:57:00 DEBUG : forgetting directory cache 2025/10/04 04:57:02 DEBUG : forgetting directory cache 2025/10/04 04:57:04 DEBUG : forgetting directory cache 2025/10/04 04:57:06 DEBUG : forgetting directory cache 2025/10/04 04:57:08 DEBUG : forgetting directory cache 2025/10/04 04:57:10 DEBUG : forgetting directory cache 2025/10/04 04:57:12 DEBUG : forgetting directory cache 2025/10/04 04:57:14 DEBUG : forgetting directory cache 2025/10/04 04:57:16 DEBUG : forgetting directory cache 2025/10/04 04:57:18 DEBUG : forgetting directory cache 2025/10/04 04:57:21 DEBUG : forgetting directory cache 2025/10/04 04:57:23 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/04 04:57:24.003995 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:57:24.004020 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:57:24 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:57:24 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/04 04:57:25 DEBUG : forgetting directory cache 2025/10/04 04:57:27 DEBUG : forgetting directory cache fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteAt Messages: 1 objects not found 2025/10/04 04:57:27 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:57:27 DEBUG : Looking for writers 2025/10/04 04:57:27 DEBUG : file1: reading active writers 2025/10/04 04:57:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 04:57:27 DEBUG : Looking for writers 2025/10/04 04:57:27 DEBUG : file1: reading active writers 2025/10/04 04:57:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 04:57:27 DEBUG : Looking for writers 2025/10/04 04:57:27 DEBUG : file1: reading active writers 2025/10/04 04:57:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 04:57:27 DEBUG : Looking for writers 2025/10/04 04:57:27 DEBUG : file1: reading active writers 2025/10/04 04:57:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 04:57:27 DEBUG : Looking for writers 2025/10/04 04:57:27 DEBUG : file1: reading active writers 2025/10/04 04:57:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 04:57:28 DEBUG : Looking for writers 2025/10/04 04:57:28 DEBUG : file1: reading active writers 2025/10/04 04:57:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 04:57:28 DEBUG : Looking for writers 2025/10/04 04:57:28 DEBUG : file1: reading active writers 2025/10/04 04:57:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 04:57:29 DEBUG : Looking for writers 2025/10/04 04:57:29 DEBUG : file1: reading active writers 2025/10/04 04:57:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:29 DEBUG : forgetting directory cache 2025/10/04 04:57:30 DEBUG : Looking for writers 2025/10/04 04:57:30 DEBUG : file1: reading active writers 2025/10/04 04:57:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:31 DEBUG : Looking for writers 2025/10/04 04:57:31 DEBUG : file1: reading active writers 2025/10/04 04:57:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:31 DEBUG : forgetting directory cache 2025/10/04 04:57:32 DEBUG : Looking for writers 2025/10/04 04:57:32 DEBUG : file1: reading active writers 2025/10/04 04:57:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:33 DEBUG : Looking for writers 2025/10/04 04:57:33 DEBUG : file1: reading active writers 2025/10/04 04:57:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:33 DEBUG : forgetting directory cache 2025/10/04 04:57:34 DEBUG : Looking for writers 2025/10/04 04:57:34 DEBUG : file1: reading active writers 2025/10/04 04:57:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:35 DEBUG : Looking for writers 2025/10/04 04:57:35 DEBUG : file1: reading active writers 2025/10/04 04:57:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:35 DEBUG : forgetting directory cache 2025/10/04 04:57:36 DEBUG : Looking for writers 2025/10/04 04:57:36 DEBUG : file1: reading active writers 2025/10/04 04:57:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:37 DEBUG : Looking for writers 2025/10/04 04:57:37 DEBUG : file1: reading active writers 2025/10/04 04:57:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:37 DEBUG : forgetting directory cache 2025/10/04 04:57:38 DEBUG : Looking for writers 2025/10/04 04:57:38 DEBUG : file1: reading active writers 2025/10/04 04:57:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:39 DEBUG : Looking for writers 2025/10/04 04:57:39 DEBUG : file1: reading active writers 2025/10/04 04:57:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:39 DEBUG : forgetting directory cache 2025/10/04 04:57:40 DEBUG : Looking for writers 2025/10/04 04:57:40 DEBUG : file1: reading active writers 2025/10/04 04:57:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:41 DEBUG : Looking for writers 2025/10/04 04:57:41 DEBUG : file1: reading active writers 2025/10/04 04:57:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:41 DEBUG : forgetting directory cache 2025/10/04 04:57:42 DEBUG : Looking for writers 2025/10/04 04:57:42 DEBUG : file1: reading active writers 2025/10/04 04:57:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:43 DEBUG : Looking for writers 2025/10/04 04:57:43 DEBUG : file1: reading active writers 2025/10/04 04:57:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:43 DEBUG : forgetting directory cache 2025/10/04 04:57:44 DEBUG : Looking for writers 2025/10/04 04:57:44 DEBUG : file1: reading active writers 2025/10/04 04:57:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:45 DEBUG : Looking for writers 2025/10/04 04:57:45 DEBUG : file1: reading active writers 2025/10/04 04:57:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:45 DEBUG : forgetting directory cache 2025/10/04 04:57:46 DEBUG : Looking for writers 2025/10/04 04:57:46 DEBUG : file1: reading active writers 2025/10/04 04:57:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:47 DEBUG : Looking for writers 2025/10/04 04:57:47 DEBUG : file1: reading active writers 2025/10/04 04:57:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:47 DEBUG : forgetting directory cache 2025/10/04 04:57:48 DEBUG : Looking for writers 2025/10/04 04:57:48 DEBUG : file1: reading active writers 2025/10/04 04:57:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:49 DEBUG : Looking for writers 2025/10/04 04:57:49 DEBUG : file1: reading active writers 2025/10/04 04:57:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:49 DEBUG : forgetting directory cache 2025/10/04 04:57:50 DEBUG : Looking for writers 2025/10/04 04:57:50 DEBUG : file1: reading active writers 2025/10/04 04:57:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:51 DEBUG : Looking for writers 2025/10/04 04:57:51 DEBUG : file1: reading active writers 2025/10/04 04:57:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:51 DEBUG : forgetting directory cache 2025/10/04 04:57:52 DEBUG : Looking for writers 2025/10/04 04:57:52 DEBUG : file1: reading active writers 2025/10/04 04:57:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:53 DEBUG : Looking for writers 2025/10/04 04:57:53 DEBUG : file1: reading active writers 2025/10/04 04:57:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:53 DEBUG : forgetting directory cache 2025/10/04 04:57:54 DEBUG : Looking for writers 2025/10/04 04:57:54 DEBUG : file1: reading active writers 2025/10/04 04:57:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:55 DEBUG : Looking for writers 2025/10/04 04:57:55 DEBUG : file1: reading active writers 2025/10/04 04:57:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:55 DEBUG : forgetting directory cache 2025/10/04 04:57:56 DEBUG : Looking for writers 2025/10/04 04:57:56 DEBUG : file1: reading active writers 2025/10/04 04:57:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:56 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 04:57:56 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/04 04:57:57 DEBUG : Looking for writers 2025/10/04 04:57:57 DEBUG : file1: reading active writers 2025/10/04 04:57:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:57:57 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000a96b40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000a66008 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824644624448} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992763178095714921 ext:444598485002 loc:0x41313e0} ATime:{wall:13992763178095744386 ext:444598514467 loc:0x41313e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 04:57:57 DEBUG : >WaitForWriters: 2025/10/04 04:57:57 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting 2025/10/04 04:57:58 DEBUG : forgetting directory cache 2025/10/04 04:58:00 DEBUG : forgetting directory cache 2025/10/04 04:58:02 DEBUG : forgetting directory cache 2025/10/04 04:58:04 DEBUG : forgetting directory cache 2025/10/04 04:58:06 DEBUG : forgetting directory cache 2025/10/04 04:58:08 DEBUG : forgetting directory cache 2025/10/04 04:58:10 DEBUG : forgetting directory cache 2025/10/04 04:58:12 DEBUG : forgetting directory cache --- FAIL: TestRWFileHandleWriteAt (328.54s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 04:59:25 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 04:59:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 04:59:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:59:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:59:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:59:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:59:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:59:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:59:25 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 04:59:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 04:59:25 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 04:59:25 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 04:59:25 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 04:59:25 DEBUG : file1: newRWFileHandle: 2025/10/04 04:59:25 DEBUG : file1(0xc0003f7600): openPending: 2025/10/04 04:59:25 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 04:59:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:59:25 DEBUG : file1(0xc0003f7600): >openPending: err= 2025/10/04 04:59:25 DEBUG : file1: >newRWFileHandle: err= 2025/10/04 04:59:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 04:59:25 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/04 04:59:25 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/04 04:59:25 DEBUG : file1(0xc0003f7600): close: 2025/10/04 04:59:25 DEBUG : file1: vfs cache: setting modification time to 2025-10-04 04:59:25.535459402 +0000 UTC m=+773.124531180 2025/10/04 04:59:25 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/04 04:59:25 DEBUG : file1(0xc0003f7600): >close: err= 2025/10/04 04:59:25 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/04 04:59:25 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/04 04:59:25 DEBUG : file2: newRWFileHandle: 2025/10/04 04:59:25 DEBUG : file2(0xc0003f7b00): openPending: 2025/10/04 04:59:25 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 04:59:25 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/04 04:59:25 DEBUG : file2(0xc0003f7b00): >openPending: err= 2025/10/04 04:59:25 DEBUG : file2: >newRWFileHandle: err= 2025/10/04 04:59:25 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/04 04:59:25 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/04 04:59:25 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/04 04:59:25 DEBUG : file2(0xc0003f7b00): RWFileHandle.Flush 2025/10/04 04:59:25 DEBUG : file2(0xc0003f7b00): RWFileHandle.Release 2025/10/04 04:59:25 DEBUG : file2(0xc0003f7b00): close: 2025/10/04 04:59:25 DEBUG : file2: vfs cache: setting modification time to 2025-10-04 04:59:25.537200912 +0000 UTC m=+773.126272679 2025/10/04 04:59:25 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/04 04:59:25 DEBUG : file2(0xc0003f7b00): >close: err= 2025/10/04 04:59:25 DEBUG : WaitForWriters: timeout=30s 2025/10/04 04:59:25 DEBUG : Looking for writers 2025/10/04 04:59:25 DEBUG : file1: reading active writers 2025/10/04 04:59:25 DEBUG : file2: reading active writers 2025/10/04 04:59:25 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/04 04:59:25 DEBUG : Looking for writers 2025/10/04 04:59:25 DEBUG : file1: reading active writers 2025/10/04 04:59:25 DEBUG : file2: reading active writers 2025/10/04 04:59:25 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/04 04:59:25 DEBUG : Looking for writers 2025/10/04 04:59:25 DEBUG : file1: reading active writers 2025/10/04 04:59:25 DEBUG : file2: reading active writers 2025/10/04 04:59:25 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/04 04:59:25 DEBUG : Looking for writers 2025/10/04 04:59:25 DEBUG : file1: reading active writers 2025/10/04 04:59:25 DEBUG : file2: reading active writers 2025/10/04 04:59:25 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/04 04:59:25 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:59:25 DEBUG : file2: vfs cache: starting upload 2025/10/04 04:59:25 DEBUG : Looking for writers 2025/10/04 04:59:25 DEBUG : file1: reading active writers 2025/10/04 04:59:25 DEBUG : file2: reading active writers 2025/10/04 04:59:25 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/04 04:59:25 DEBUG : Looking for writers 2025/10/04 04:59:25 DEBUG : file1: reading active writers 2025/10/04 04:59:25 DEBUG : file2: reading active writers 2025/10/04 04:59:25 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/04 04:59:26.020248 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:59:26.020281 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:59:26 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/04 04:59:26 INFO : file2: Copied (new) 2025/10/04 04:59:26 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-04 04:59:25.537200912 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/04 04:59:26 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/04 04:59:26 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/04 04:59:26 INFO : file2: vfs cache: upload succeeded try #1 2025/10/04 04:59:26 DEBUG : Looking for writers 2025/10/04 04:59:26 DEBUG : file1: reading active writers 2025/10/04 04:59:26 DEBUG : file2: reading active writers 2025/10/04 04:59:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 04:59: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/04 04:59:26 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:26 DEBUG : Looking for writers 2025/10/04 04:59:26 DEBUG : file1: reading active writers 2025/10/04 04:59:26 DEBUG : file2: reading active writers 2025/10/04 04:59:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:26 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:59:27.400117 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:59:27.400158 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:59:27 DEBUG : Looking for writers 2025/10/04 04:59:27 DEBUG : file2: reading active writers 2025/10/04 04:59:27 DEBUG : file1: reading active writers 2025/10/04 04:59:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:28 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:28 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:28 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:59:28 DEBUG : Looking for writers 2025/10/04 04:59:28 DEBUG : file1: reading active writers 2025/10/04 04:59:28 DEBUG : file2: reading active writers 2025/10/04 04:59:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:28.833866 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:59:28.833896 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:59:29 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:29 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:29 DEBUG : Looking for writers 2025/10/04 04:59:29 DEBUG : file1: reading active writers 2025/10/04 04:59:29 DEBUG : file2: reading active writers 2025/10/04 04:59:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:30 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:59:30.692407 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:59:30.692446 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:59:30 DEBUG : Looking for writers 2025/10/04 04:59:30 DEBUG : file2: reading active writers 2025/10/04 04:59:30 DEBUG : file1: reading active writers 2025/10/04 04:59:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:31 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:31 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:31 DEBUG : Looking for writers 2025/10/04 04:59:31 DEBUG : file1: reading active writers 2025/10/04 04:59:31 DEBUG : file2: reading active writers 2025/10/04 04:59:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:32 DEBUG : Looking for writers 2025/10/04 04:59:32 DEBUG : file1: reading active writers 2025/10/04 04:59:32 DEBUG : file2: reading active writers 2025/10/04 04:59:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:32 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:59:33.339107 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:59:33.339140 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:59:33 DEBUG : Looking for writers 2025/10/04 04:59:33 DEBUG : file1: reading active writers 2025/10/04 04:59:33 DEBUG : file2: reading active writers 2025/10/04 04:59:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:33 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:33 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:34 DEBUG : Looking for writers 2025/10/04 04:59:34 DEBUG : file1: reading active writers 2025/10/04 04:59:34 DEBUG : file2: reading active writers 2025/10/04 04:59:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:35 DEBUG : Looking for writers 2025/10/04 04:59:35 DEBUG : file1: reading active writers 2025/10/04 04:59:35 DEBUG : file2: reading active writers 2025/10/04 04:59:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:36 DEBUG : Looking for writers 2025/10/04 04:59:36 DEBUG : file1: reading active writers 2025/10/04 04:59:36 DEBUG : file2: reading active writers 2025/10/04 04:59:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:37 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:59:37.595474 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:59:37.595513 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:59:37 DEBUG : Looking for writers 2025/10/04 04:59:37 DEBUG : file1: reading active writers 2025/10/04 04:59:37 DEBUG : file2: reading active writers 2025/10/04 04:59:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:38 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:38 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:38 DEBUG : Looking for writers 2025/10/04 04:59:38 DEBUG : file1: reading active writers 2025/10/04 04:59:38 DEBUG : file2: reading active writers 2025/10/04 04:59:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:39 DEBUG : Looking for writers 2025/10/04 04:59:39 DEBUG : file1: reading active writers 2025/10/04 04:59:39 DEBUG : file2: reading active writers 2025/10/04 04:59:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:40 DEBUG : Looking for writers 2025/10/04 04:59:40 DEBUG : file1: reading active writers 2025/10/04 04:59:40 DEBUG : file2: reading active writers 2025/10/04 04:59:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:41 DEBUG : Looking for writers 2025/10/04 04:59:41 DEBUG : file1: reading active writers 2025/10/04 04:59:41 DEBUG : file2: reading active writers 2025/10/04 04:59:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:42 DEBUG : Looking for writers 2025/10/04 04:59:42 DEBUG : file1: reading active writers 2025/10/04 04:59:42 DEBUG : file2: reading active writers 2025/10/04 04:59:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:43 DEBUG : Looking for writers 2025/10/04 04:59:43 DEBUG : file1: reading active writers 2025/10/04 04:59:43 DEBUG : file2: reading active writers 2025/10/04 04:59:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:44 DEBUG : file1: vfs cache: starting upload 2025/10/04 04:59:44 DEBUG : Looking for writers 2025/10/04 04:59:44 DEBUG : file2: reading active writers 2025/10/04 04:59:44 DEBUG : file1: reading active writers 2025/10/04 04:59:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:45.018520 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 04:59:45.018564 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 04:59:45 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:45 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 04:59:45 DEBUG : Looking for writers 2025/10/04 04:59:45 DEBUG : file1: reading active writers 2025/10/04 04:59:45 DEBUG : file2: reading active writers 2025/10/04 04:59:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:46 DEBUG : Looking for writers 2025/10/04 04:59:46 DEBUG : file1: reading active writers 2025/10/04 04:59:46 DEBUG : file2: reading active writers 2025/10/04 04:59:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:47 DEBUG : Looking for writers 2025/10/04 04:59:47 DEBUG : file1: reading active writers 2025/10/04 04:59:47 DEBUG : file2: reading active writers 2025/10/04 04:59:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:48 DEBUG : Looking for writers 2025/10/04 04:59:48 DEBUG : file1: reading active writers 2025/10/04 04:59:48 DEBUG : file2: reading active writers 2025/10/04 04:59:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:49 DEBUG : Looking for writers 2025/10/04 04:59:49 DEBUG : file1: reading active writers 2025/10/04 04:59:49 DEBUG : file2: reading active writers 2025/10/04 04:59:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:50 DEBUG : Looking for writers 2025/10/04 04:59:50 DEBUG : file1: reading active writers 2025/10/04 04:59:50 DEBUG : file2: reading active writers 2025/10/04 04:59:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:51 DEBUG : Looking for writers 2025/10/04 04:59:51 DEBUG : file2: reading active writers 2025/10/04 04:59:51 DEBUG : file1: reading active writers 2025/10/04 04:59:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:52 DEBUG : Looking for writers 2025/10/04 04:59:52 DEBUG : file1: reading active writers 2025/10/04 04:59:52 DEBUG : file2: reading active writers 2025/10/04 04:59:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:53 DEBUG : Looking for writers 2025/10/04 04:59:53 DEBUG : file1: reading active writers 2025/10/04 04:59:53 DEBUG : file2: reading active writers 2025/10/04 04:59:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:54 DEBUG : Looking for writers 2025/10/04 04:59:54 DEBUG : file1: reading active writers 2025/10/04 04:59:54 DEBUG : file2: reading active writers 2025/10/04 04:59:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 04:59:55 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0009092c0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000a66c08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824644627520} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992763530809079370 ext:773124531180 loc:0x41313e0} ATime:{wall:13992763530809549713 ext:773125001532 loc:0x41313e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc0009092c0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000a66d08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824644627776} name:file2 opens:0 downloaders: o:0xc00068f720 fd: info:{ModTime:{wall:13992763530810820880 ext:773126272679 loc:0x41313e0} ATime:{wall:13992763530811167441 ext:773126619250 loc:0x41313e0} Size:0 Rs:[] Fingerprint:0,2025-10-04 04:59:25.537200912 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 04:59:55 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/04 04:59:58 DEBUG : file1: vfs cache: starting upload 2025/10/04 05:00:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 05:00:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/04 05:00:25 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/04 05:01:24.864906 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:01:24.864951 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 05:01:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 05:01:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/04 05:01:25 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/04 05:01:25 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:01:25 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/04 05:01:51 DEBUG : file1: vfs cache: starting upload 2025/10/04 05:02:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 05:02:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/04 05:02:25 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/04 05:02:55.502934 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:02:55.502974 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 05:02:56 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:02:56 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got file2 (0) fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteNoWrite Messages: 1 objects not found 2025/10/04 05:02:59 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:02:59 DEBUG : Looking for writers 2025/10/04 05:02:59 DEBUG : file1: reading active writers 2025/10/04 05:02:59 DEBUG : file2: reading active writers 2025/10/04 05:02:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/04 05:02:59 DEBUG : Looking for writers 2025/10/04 05:02:59 DEBUG : file1: reading active writers 2025/10/04 05:02:59 DEBUG : file2: reading active writers 2025/10/04 05:02:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/04 05:02:59 DEBUG : Looking for writers 2025/10/04 05:02:59 DEBUG : file1: reading active writers 2025/10/04 05:02:59 DEBUG : file2: reading active writers 2025/10/04 05:02:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/04 05:02:59 DEBUG : Looking for writers 2025/10/04 05:02:59 DEBUG : file1: reading active writers 2025/10/04 05:02:59 DEBUG : file2: reading active writers 2025/10/04 05:02:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/04 05:02:59 DEBUG : Looking for writers 2025/10/04 05:02:59 DEBUG : file1: reading active writers 2025/10/04 05:02:59 DEBUG : file2: reading active writers 2025/10/04 05:02:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/04 05:02:59 DEBUG : Looking for writers 2025/10/04 05:02:59 DEBUG : file1: reading active writers 2025/10/04 05:02:59 DEBUG : file2: reading active writers 2025/10/04 05:02:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/04 05:03:00 DEBUG : Looking for writers 2025/10/04 05:03:00 DEBUG : file1: reading active writers 2025/10/04 05:03:00 DEBUG : file2: reading active writers 2025/10/04 05:03:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/04 05:03:00 DEBUG : Looking for writers 2025/10/04 05:03:00 DEBUG : file1: reading active writers 2025/10/04 05:03:00 DEBUG : file2: reading active writers 2025/10/04 05:03:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:01 DEBUG : Looking for writers 2025/10/04 05:03:01 DEBUG : file2: reading active writers 2025/10/04 05:03:01 DEBUG : file1: reading active writers 2025/10/04 05:03:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:02 DEBUG : Looking for writers 2025/10/04 05:03:02 DEBUG : file1: reading active writers 2025/10/04 05:03:02 DEBUG : file2: reading active writers 2025/10/04 05:03:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:03 DEBUG : Looking for writers 2025/10/04 05:03:03 DEBUG : file1: reading active writers 2025/10/04 05:03:03 DEBUG : file2: reading active writers 2025/10/04 05:03:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:04 DEBUG : Looking for writers 2025/10/04 05:03:04 DEBUG : file1: reading active writers 2025/10/04 05:03:04 DEBUG : file2: reading active writers 2025/10/04 05:03:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:05 DEBUG : Looking for writers 2025/10/04 05:03:05 DEBUG : file1: reading active writers 2025/10/04 05:03:05 DEBUG : file2: reading active writers 2025/10/04 05:03:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:06 DEBUG : Looking for writers 2025/10/04 05:03:06 DEBUG : file1: reading active writers 2025/10/04 05:03:06 DEBUG : file2: reading active writers 2025/10/04 05:03:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:07 DEBUG : Looking for writers 2025/10/04 05:03:07 DEBUG : file1: reading active writers 2025/10/04 05:03:07 DEBUG : file2: reading active writers 2025/10/04 05:03:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:08 DEBUG : Looking for writers 2025/10/04 05:03:08 DEBUG : file1: reading active writers 2025/10/04 05:03:08 DEBUG : file2: reading active writers 2025/10/04 05:03:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:09 DEBUG : Looking for writers 2025/10/04 05:03:09 DEBUG : file1: reading active writers 2025/10/04 05:03:09 DEBUG : file2: reading active writers 2025/10/04 05:03:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:10 DEBUG : Looking for writers 2025/10/04 05:03:10 DEBUG : file1: reading active writers 2025/10/04 05:03:10 DEBUG : file2: reading active writers 2025/10/04 05:03:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:11 DEBUG : Looking for writers 2025/10/04 05:03:11 DEBUG : file1: reading active writers 2025/10/04 05:03:11 DEBUG : file2: reading active writers 2025/10/04 05:03:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:12 DEBUG : Looking for writers 2025/10/04 05:03:12 DEBUG : file1: reading active writers 2025/10/04 05:03:12 DEBUG : file2: reading active writers 2025/10/04 05:03:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:13 DEBUG : Looking for writers 2025/10/04 05:03:13 DEBUG : file1: reading active writers 2025/10/04 05:03:13 DEBUG : file2: reading active writers 2025/10/04 05:03:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:14 DEBUG : Looking for writers 2025/10/04 05:03:14 DEBUG : file1: reading active writers 2025/10/04 05:03:14 DEBUG : file2: reading active writers 2025/10/04 05:03:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:15 DEBUG : Looking for writers 2025/10/04 05:03:15 DEBUG : file1: reading active writers 2025/10/04 05:03:15 DEBUG : file2: reading active writers 2025/10/04 05:03:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:16 DEBUG : Looking for writers 2025/10/04 05:03:16 DEBUG : file1: reading active writers 2025/10/04 05:03:16 DEBUG : file2: reading active writers 2025/10/04 05:03:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:17 DEBUG : Looking for writers 2025/10/04 05:03:17 DEBUG : file1: reading active writers 2025/10/04 05:03:17 DEBUG : file2: reading active writers 2025/10/04 05:03:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:18 DEBUG : Looking for writers 2025/10/04 05:03:18 DEBUG : file2: reading active writers 2025/10/04 05:03:18 DEBUG : file1: reading active writers 2025/10/04 05:03:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:19 DEBUG : Looking for writers 2025/10/04 05:03:19 DEBUG : file1: reading active writers 2025/10/04 05:03:19 DEBUG : file2: reading active writers 2025/10/04 05:03:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:20 DEBUG : Looking for writers 2025/10/04 05:03:20 DEBUG : file1: reading active writers 2025/10/04 05:03:20 DEBUG : file2: reading active writers 2025/10/04 05:03:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:21 DEBUG : Looking for writers 2025/10/04 05:03:21 DEBUG : file1: reading active writers 2025/10/04 05:03:21 DEBUG : file2: reading active writers 2025/10/04 05:03:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:22 DEBUG : Looking for writers 2025/10/04 05:03:22 DEBUG : file1: reading active writers 2025/10/04 05:03:22 DEBUG : file2: reading active writers 2025/10/04 05:03:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:23 DEBUG : Looking for writers 2025/10/04 05:03:23 DEBUG : file1: reading active writers 2025/10/04 05:03:23 DEBUG : file2: reading active writers 2025/10/04 05:03:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:24 DEBUG : Looking for writers 2025/10/04 05:03:24 DEBUG : file1: reading active writers 2025/10/04 05:03:24 DEBUG : file2: reading active writers 2025/10/04 05:03:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/04 05:03:25 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/04 05:03:25 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 1, uploading 0, total size 0 (was 0) 2025/10/04 05:03:25 DEBUG : Looking for writers 2025/10/04 05:03:25 DEBUG : file1: reading active writers 2025/10/04 05:03:25 DEBUG : file2: reading active writers 2025/10/04 05:03:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:26 DEBUG : Looking for writers 2025/10/04 05:03:26 DEBUG : file1: reading active writers 2025/10/04 05:03:26 DEBUG : file2: reading active writers 2025/10/04 05:03:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:27 DEBUG : Looking for writers 2025/10/04 05:03:27 DEBUG : file1: reading active writers 2025/10/04 05:03:27 DEBUG : file2: reading active writers 2025/10/04 05:03:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:28 DEBUG : Looking for writers 2025/10/04 05:03:28 DEBUG : file2: reading active writers 2025/10/04 05:03:28 DEBUG : file1: reading active writers 2025/10/04 05:03:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:03:29 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0009092c0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000a66c08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824644627520} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992763530809079370 ext:773124531180 loc:0x41313e0} ATime:{wall:13992763530809549713 ext:773125001532 loc:0x41313e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc0009092c0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc000a66d08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824644627776} name:file2 opens:0 downloaders: o:0xc00068f720 fd: info:{ModTime:{wall:13992763530810820880 ext:773126272679 loc:0x41313e0} ATime:{wall:13992763530811167441 ext:773126619250 loc:0x41313e0} Size:0 Rs:[] Fingerprint:0,2025-10-04 04:59:25.537200912 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/04 05:03:29 DEBUG : >WaitForWriters: 2025/10/04 05:03:29 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting 2025/10/04 05:03:57 DEBUG : forgetting directory cache --- FAIL: TestRWFileHandleWriteNoWrite (332.40s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:04:57 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:04:57 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 05:04:57 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:04:57 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:04:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:04:57 DEBUG : Config file has changed externally - reloading 2025/10/04 05:04:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 05:04:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:04:57 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:04:57 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 05:04:57 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:04:57 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 05:04:59.104539 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 05:04:59.104582 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 05:04:59 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:04:59 DEBUG : Looking for writers 2025/10/04 05:04:59 DEBUG : >WaitForWriters: 2025/10/04 05:04:59 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (2.23s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:04:59 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:04:59 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 05:04:59 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:04:59 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:04:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:04:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 05:04:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:04:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:04:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 05:04:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:04:59 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 05:05:01.180651 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 05:05:01.180681 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 05:05:01 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:05:01 DEBUG : Looking for writers 2025/10/04 05:05:01 DEBUG : >WaitForWriters: 2025/10/04 05:05:01 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (2.08s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:05:02 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:05:02 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 05:05:02 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:05:02 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:05:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:05:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 05:05:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:05:02 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:05:02 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 05:05:02 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:05:02 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 05:05:02 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 05:05:02 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 05:05:02 DEBUG : file1: newRWFileHandle: 2025/10/04 05:05:02 DEBUG : file1(0xc008008680): openPending: 2025/10/04 05:05:02 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/04 05:05:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:05:02 DEBUG : file1(0xc008008680): >openPending: err= 2025/10/04 05:05:02 DEBUG : file1: >newRWFileHandle: err= 2025/10/04 05:05:02 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:05:02 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/04 05:05:02 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/04 05:05:03.101232 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 05:05:03.101265 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 05:05:03 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:05:03 DEBUG : Looking for writers 2025/10/04 05:05:03 DEBUG : file1: reading active writers 2025/10/04 05:05:03 DEBUG : file1: active writers 1 2025/10/04 05:05:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/04 05:05:03 DEBUG : Looking for writers 2025/10/04 05:05:03 DEBUG : file1: reading active writers 2025/10/04 05:05:03 DEBUG : file1: active writers 1 2025/10/04 05:05:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/04 05:05:03 DEBUG : Looking for writers 2025/10/04 05:05:03 DEBUG : file1: reading active writers 2025/10/04 05:05:03 DEBUG : file1: active writers 1 2025/10/04 05:05:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/04 05:05:03 DEBUG : Looking for writers 2025/10/04 05:05:03 DEBUG : file1: reading active writers 2025/10/04 05:05:03 DEBUG : file1: active writers 1 2025/10/04 05:05:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/04 05:05:03 DEBUG : Looking for writers 2025/10/04 05:05:03 DEBUG : file1: reading active writers 2025/10/04 05:05:03 DEBUG : file1: active writers 1 2025/10/04 05:05:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/04 05:05:03 DEBUG : Looking for writers 2025/10/04 05:05:03 DEBUG : file1: reading active writers 2025/10/04 05:05:03 DEBUG : file1: active writers 1 2025/10/04 05:05:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/04 05:05:03 DEBUG : Looking for writers 2025/10/04 05:05:03 DEBUG : file1: reading active writers 2025/10/04 05:05:03 DEBUG : file1: active writers 1 2025/10/04 05:05:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/04 05:05:04 DEBUG : Looking for writers 2025/10/04 05:05:04 DEBUG : file1: reading active writers 2025/10/04 05:05:04 DEBUG : file1: active writers 1 2025/10/04 05:05:04 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:05 DEBUG : Looking for writers 2025/10/04 05:05:05 DEBUG : file1: reading active writers 2025/10/04 05:05:05 DEBUG : file1: active writers 1 2025/10/04 05:05:05 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:06 DEBUG : Looking for writers 2025/10/04 05:05:06 DEBUG : file1: reading active writers 2025/10/04 05:05:06 DEBUG : file1: active writers 1 2025/10/04 05:05:06 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:07 DEBUG : Looking for writers 2025/10/04 05:05:07 DEBUG : file1: reading active writers 2025/10/04 05:05:07 DEBUG : file1: active writers 1 2025/10/04 05:05:07 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:08 DEBUG : Looking for writers 2025/10/04 05:05:08 DEBUG : file1: reading active writers 2025/10/04 05:05:08 DEBUG : file1: active writers 1 2025/10/04 05:05:08 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:09 DEBUG : Looking for writers 2025/10/04 05:05:09 DEBUG : file1: reading active writers 2025/10/04 05:05:09 DEBUG : file1: active writers 1 2025/10/04 05:05:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:10 DEBUG : Looking for writers 2025/10/04 05:05:10 DEBUG : file1: reading active writers 2025/10/04 05:05:10 DEBUG : file1: active writers 1 2025/10/04 05:05:10 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:11 DEBUG : Looking for writers 2025/10/04 05:05:11 DEBUG : file1: reading active writers 2025/10/04 05:05:11 DEBUG : file1: active writers 1 2025/10/04 05:05:11 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:12 DEBUG : Looking for writers 2025/10/04 05:05:12 DEBUG : file1: reading active writers 2025/10/04 05:05:12 DEBUG : file1: active writers 1 2025/10/04 05:05:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:13 DEBUG : Looking for writers 2025/10/04 05:05:13 DEBUG : file1: reading active writers 2025/10/04 05:05:13 DEBUG : file1: active writers 1 2025/10/04 05:05:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:14 DEBUG : Looking for writers 2025/10/04 05:05:14 DEBUG : file1: reading active writers 2025/10/04 05:05:14 DEBUG : file1: active writers 1 2025/10/04 05:05:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:15 DEBUG : Looking for writers 2025/10/04 05:05:15 DEBUG : file1: reading active writers 2025/10/04 05:05:15 DEBUG : file1: active writers 1 2025/10/04 05:05:15 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:16 DEBUG : Looking for writers 2025/10/04 05:05:16 DEBUG : file1: reading active writers 2025/10/04 05:05:16 DEBUG : file1: active writers 1 2025/10/04 05:05:16 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:17 DEBUG : Looking for writers 2025/10/04 05:05:17 DEBUG : file1: reading active writers 2025/10/04 05:05:17 DEBUG : file1: active writers 1 2025/10/04 05:05:17 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:18 DEBUG : Looking for writers 2025/10/04 05:05:18 DEBUG : file1: reading active writers 2025/10/04 05:05:18 DEBUG : file1: active writers 1 2025/10/04 05:05:18 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:19 DEBUG : Looking for writers 2025/10/04 05:05:19 DEBUG : file1: reading active writers 2025/10/04 05:05:19 DEBUG : file1: active writers 1 2025/10/04 05:05:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:20 DEBUG : Looking for writers 2025/10/04 05:05:20 DEBUG : file1: reading active writers 2025/10/04 05:05:20 DEBUG : file1: active writers 1 2025/10/04 05:05:20 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:21 DEBUG : Looking for writers 2025/10/04 05:05:21 DEBUG : file1: reading active writers 2025/10/04 05:05:21 DEBUG : file1: active writers 1 2025/10/04 05:05:21 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:22 DEBUG : Looking for writers 2025/10/04 05:05:22 DEBUG : file1: reading active writers 2025/10/04 05:05:22 DEBUG : file1: active writers 1 2025/10/04 05:05:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:23 DEBUG : Looking for writers 2025/10/04 05:05:23 DEBUG : file1: reading active writers 2025/10/04 05:05:23 DEBUG : file1: active writers 1 2025/10/04 05:05:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:24 DEBUG : Looking for writers 2025/10/04 05:05:24 DEBUG : file1: reading active writers 2025/10/04 05:05:24 DEBUG : file1: active writers 1 2025/10/04 05:05:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:25 DEBUG : Looking for writers 2025/10/04 05:05:25 DEBUG : file1: reading active writers 2025/10/04 05:05:25 DEBUG : file1: active writers 1 2025/10/04 05:05:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:26 DEBUG : Looking for writers 2025/10/04 05:05:26 DEBUG : file1: reading active writers 2025/10/04 05:05:26 DEBUG : file1: active writers 1 2025/10/04 05:05:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:27 DEBUG : Looking for writers 2025/10/04 05:05:27 DEBUG : file1: reading active writers 2025/10/04 05:05:27 DEBUG : file1: active writers 1 2025/10/04 05:05:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:28 DEBUG : Looking for writers 2025/10/04 05:05:28 DEBUG : file1: reading active writers 2025/10/04 05:05:28 DEBUG : file1: active writers 1 2025/10/04 05:05:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:29 DEBUG : Looking for writers 2025/10/04 05:05:29 DEBUG : file1: reading active writers 2025/10/04 05:05:29 DEBUG : file1: active writers 1 2025/10/04 05:05:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:30 DEBUG : Looking for writers 2025/10/04 05:05:30 DEBUG : file1: reading active writers 2025/10/04 05:05:30 DEBUG : file1: active writers 1 2025/10/04 05:05:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:31 DEBUG : Looking for writers 2025/10/04 05:05:31 DEBUG : file1: reading active writers 2025/10/04 05:05:31 DEBUG : file1: active writers 1 2025/10/04 05:05:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:32 DEBUG : Looking for writers 2025/10/04 05:05:32 DEBUG : file1: reading active writers 2025/10/04 05:05:32 DEBUG : file1: active writers 1 2025/10/04 05:05:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/04 05:05:33 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc007c182d0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc005da4e08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824731913792} name:file1 opens:1 downloaders: o: fd:0xc000782378 info:{ModTime:{wall:13992763892385685064 ext:1109850142144 loc:0x41313e0} ATime:{wall:13992763892385685064 ext:1109850142144 loc:0x41313e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/04 05:05:33 DEBUG : >WaitForWriters: 2025/10/04 05:05:33 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (31.44s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:05:33 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:05:33 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/04 05:05:33 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:05:33 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:05:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:05:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 05:05:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:05:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:05:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/04 05:05:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-febidit3ciwo" 2025/10/04 05:05:33 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/04 05:05:33 DEBUG : forgetting directory cache 2025/10/04 05:05:34.353261 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 05:05:34.353293 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 05:05:34 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:05:34 DEBUG : Looking for writers 2025/10/04 05:05:34 DEBUG : >WaitForWriters: 2025/10/04 05:05:34 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (1.30s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:05:35.535762 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 05:05:35.535794 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (1.14s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:05:36.726860 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 05:05:36.726890 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.18s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:05:37 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:05:37 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:05:37.525806 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:05:37.525870 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-febidit3ciwo'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:05:38 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:05:38 DEBUG : Looking for writers 2025/10/04 05:05:38 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (1.45s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:05:38 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:05:38 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:05:38.946228 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:05:38.946260 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-febidit3ciwo'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:05:39 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:05:39 DEBUG : Looking for writers 2025/10/04 05:05:39 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (1.39s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:05:39 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:05:39 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:05:40.366768 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:05:40.366797 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-febidit3ciwo'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:05:41 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:05:41 DEBUG : Looking for writers 2025/10/04 05:05:41 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (1.44s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:05:41 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:05:41 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:05:42.555385 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 05:05:42.555428 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 05:05:42 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:05:42 DEBUG : Looking for writers 2025/10/04 05:05:42 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (2.04s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:05:43 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:05:43 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:05:43 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 05:05:43 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 05:05:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:05:43 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 05:05:43 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 05:05:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:05:43 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/04 05:05:43 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/04 05:05:43 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/04 05:05:43 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': File to upload is small (5 bytes), uploading instead of streaming 2025/10/04 05:05:44.042760 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:05:44.042790 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 05:05:44 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:05:44 DEBUG : file1: Remove: 2025/10/04 05:05:44 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 05:05:44 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/04 05:08:12 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:157 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want file1 (5) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleMethods Messages: 1 objects not found 2025/10/04 05:08:53 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 05:08:53 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 05:08:53 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:08:53 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 05:08:53 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 05:08:53 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:08:53 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': File to upload is small (0 bytes), uploading instead of streaming 2025/10/04 05:09:25 DEBUG : forgetting directory cache 2025/10/04 05:09:25 DEBUG : Removed virtual directory entry vAddFile: "file2" 2025/10/04 05:10:25.694803 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:10:25.694848 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 05:10:26 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:10:26 DEBUG : file1: Remove: 2025/10/04 05:10:26 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 05:10:26 DEBUG : file1: >Remove: err= write_test.go:163: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:163 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:164 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods 2025/10/04 05:10:26 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 05:10:26 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 05:10:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:10:26 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 05:10:26 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 05:10:26 DEBUG : Added virtual directory entry vAddFile: "file1" write_test.go:171: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:171 Error: Not equal: expected: *errors.errorString(&errors.errorString{s:"permission denied"}) actual : () Test: TestWriteFileHandleMethods 2025/10/04 05:10:26 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:10:26 DEBUG : Looking for writers 2025/10/04 05:10:26 DEBUG : file1: reading active writers 2025/10/04 05:10:26 DEBUG : file1: active writers 1 2025/10/04 05:10:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/04 05:10:26 DEBUG : Looking for writers 2025/10/04 05:10:26 DEBUG : file1: reading active writers 2025/10/04 05:10:26 DEBUG : file1: active writers 1 2025/10/04 05:10:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/04 05:10:26 DEBUG : Looking for writers 2025/10/04 05:10:26 DEBUG : file1: reading active writers 2025/10/04 05:10:26 DEBUG : file1: active writers 1 2025/10/04 05:10:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/04 05:10:26 DEBUG : Looking for writers 2025/10/04 05:10:26 DEBUG : file1: reading active writers 2025/10/04 05:10:26 DEBUG : file1: active writers 1 2025/10/04 05:10:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/04 05:10:26 DEBUG : Looking for writers 2025/10/04 05:10:26 DEBUG : file1: reading active writers 2025/10/04 05:10:26 DEBUG : file1: active writers 1 2025/10/04 05:10:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/04 05:10:26 DEBUG : Looking for writers 2025/10/04 05:10:26 DEBUG : file1: reading active writers 2025/10/04 05:10:26 DEBUG : file1: active writers 1 2025/10/04 05:10:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/04 05:10:26 DEBUG : Looking for writers 2025/10/04 05:10:26 DEBUG : file1: reading active writers 2025/10/04 05:10:26 DEBUG : file1: active writers 1 2025/10/04 05:10:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/04 05:10:27 DEBUG : Looking for writers 2025/10/04 05:10:27 DEBUG : file1: reading active writers 2025/10/04 05:10:27 DEBUG : file1: active writers 1 2025/10/04 05:10:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:28 DEBUG : Looking for writers 2025/10/04 05:10:28 DEBUG : file1: reading active writers 2025/10/04 05:10:28 DEBUG : file1: active writers 1 2025/10/04 05:10:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:29 DEBUG : Looking for writers 2025/10/04 05:10:29 DEBUG : file1: reading active writers 2025/10/04 05:10:29 DEBUG : file1: active writers 1 2025/10/04 05:10:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:30 DEBUG : Looking for writers 2025/10/04 05:10:30 DEBUG : file1: reading active writers 2025/10/04 05:10:30 DEBUG : file1: active writers 1 2025/10/04 05:10:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:31 DEBUG : Looking for writers 2025/10/04 05:10:31 DEBUG : file1: reading active writers 2025/10/04 05:10:31 DEBUG : file1: active writers 1 2025/10/04 05:10:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:32 DEBUG : Looking for writers 2025/10/04 05:10:32 DEBUG : file1: reading active writers 2025/10/04 05:10:32 DEBUG : file1: active writers 1 2025/10/04 05:10:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:33 DEBUG : Looking for writers 2025/10/04 05:10:33 DEBUG : file1: reading active writers 2025/10/04 05:10:33 DEBUG : file1: active writers 1 2025/10/04 05:10:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:34 DEBUG : Looking for writers 2025/10/04 05:10:34 DEBUG : file1: reading active writers 2025/10/04 05:10:34 DEBUG : file1: active writers 1 2025/10/04 05:10:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:35 DEBUG : Looking for writers 2025/10/04 05:10:35 DEBUG : file1: reading active writers 2025/10/04 05:10:35 DEBUG : file1: active writers 1 2025/10/04 05:10:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:36 DEBUG : Looking for writers 2025/10/04 05:10:36 DEBUG : file1: reading active writers 2025/10/04 05:10:36 DEBUG : file1: active writers 1 2025/10/04 05:10:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:37 DEBUG : Looking for writers 2025/10/04 05:10:37 DEBUG : file1: reading active writers 2025/10/04 05:10:37 DEBUG : file1: active writers 1 2025/10/04 05:10:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:38 DEBUG : Looking for writers 2025/10/04 05:10:38 DEBUG : file1: reading active writers 2025/10/04 05:10:38 DEBUG : file1: active writers 1 2025/10/04 05:10:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:39 DEBUG : Looking for writers 2025/10/04 05:10:39 DEBUG : file1: reading active writers 2025/10/04 05:10:39 DEBUG : file1: active writers 1 2025/10/04 05:10:39 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:40 DEBUG : Looking for writers 2025/10/04 05:10:40 DEBUG : file1: reading active writers 2025/10/04 05:10:40 DEBUG : file1: active writers 1 2025/10/04 05:10:40 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:41 DEBUG : Looking for writers 2025/10/04 05:10:41 DEBUG : file1: reading active writers 2025/10/04 05:10:41 DEBUG : file1: active writers 1 2025/10/04 05:10:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:42 DEBUG : Looking for writers 2025/10/04 05:10:42 DEBUG : file1: reading active writers 2025/10/04 05:10:42 DEBUG : file1: active writers 1 2025/10/04 05:10:42 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:43 DEBUG : Looking for writers 2025/10/04 05:10:43 DEBUG : file1: reading active writers 2025/10/04 05:10:43 DEBUG : file1: active writers 1 2025/10/04 05:10:43 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:44 DEBUG : Looking for writers 2025/10/04 05:10:44 DEBUG : file1: reading active writers 2025/10/04 05:10:44 DEBUG : file1: active writers 1 2025/10/04 05:10:44 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:45 DEBUG : Looking for writers 2025/10/04 05:10:45 DEBUG : file1: reading active writers 2025/10/04 05:10:45 DEBUG : file1: active writers 1 2025/10/04 05:10:45 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:46 DEBUG : Looking for writers 2025/10/04 05:10:46 DEBUG : file1: reading active writers 2025/10/04 05:10:46 DEBUG : file1: active writers 1 2025/10/04 05:10:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:47 DEBUG : Looking for writers 2025/10/04 05:10:47 DEBUG : file1: reading active writers 2025/10/04 05:10:47 DEBUG : file1: active writers 1 2025/10/04 05:10:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:48 DEBUG : Looking for writers 2025/10/04 05:10:48 DEBUG : file1: reading active writers 2025/10/04 05:10:48 DEBUG : file1: active writers 1 2025/10/04 05:10:48 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:49 DEBUG : Looking for writers 2025/10/04 05:10:49 DEBUG : file1: reading active writers 2025/10/04 05:10:49 DEBUG : file1: active writers 1 2025/10/04 05:10:49 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:50 DEBUG : Looking for writers 2025/10/04 05:10:50 DEBUG : file1: reading active writers 2025/10/04 05:10:50 DEBUG : file1: active writers 1 2025/10/04 05:10:50 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:51 DEBUG : Looking for writers 2025/10/04 05:10:51 DEBUG : file1: reading active writers 2025/10/04 05:10:51 DEBUG : file1: active writers 1 2025/10/04 05:10:51 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:52 DEBUG : Looking for writers 2025/10/04 05:10:52 DEBUG : file1: reading active writers 2025/10/04 05:10:52 DEBUG : file1: active writers 1 2025/10/04 05:10:52 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:53 DEBUG : Looking for writers 2025/10/04 05:10:53 DEBUG : file1: reading active writers 2025/10/04 05:10:53 DEBUG : file1: active writers 1 2025/10/04 05:10:53 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:54 DEBUG : Looking for writers 2025/10/04 05:10:54 DEBUG : file1: reading active writers 2025/10/04 05:10:54 DEBUG : file1: active writers 1 2025/10/04 05:10:54 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:55 DEBUG : Looking for writers 2025/10/04 05:10:55 DEBUG : file1: reading active writers 2025/10/04 05:10:55 DEBUG : file1: active writers 1 2025/10/04 05:10:55 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/04 05:10:56 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/04 05:10:56 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (313.31s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:10:56 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:10:56 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:10:56 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 05:10:56 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 05:10:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:10:56 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 05:10:56 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 05:10:56 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:10:56 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/04 05:10:57 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/04 05:10:57 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/04 05:10:57 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/04 05:10:57 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': File to upload is small (11 bytes), uploading instead of streaming 2025/10/04 05:10:58.361106 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:10:58.361154 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 05:10:58 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:10:58 DEBUG : file1: Remove: 2025/10/04 05:10:58 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 05:10:58 DEBUG : file1: >Remove: err= write_test.go:221: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:221 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleWriteAt 2025/10/04 05:10:58 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:231 Error: Not equal: expected: []string{"file1,11,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" -} +([]string) Test: TestWriteFileHandleWriteAt fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/04 05:13:57 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleWriteAt Messages: 1 objects not found 2025/10/04 05:14:08 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:14:08 DEBUG : Looking for writers 2025/10/04 05:14:08 DEBUG : >WaitForWriters: 2025/10/04 05:14:57 DEBUG : forgetting directory cache 2025/10/04 05:14:59 DEBUG : forgetting directory cache 2025/10/04 05:15:02 DEBUG : forgetting directory cache 2025/10/04 05:15:37 DEBUG : forgetting directory cache 2025/10/04 05:15:38 DEBUG : forgetting directory cache 2025/10/04 05:15:39 DEBUG : forgetting directory cache --- FAIL: TestWriteFileHandleWriteAt (283.50s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:15:40 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:15:40 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:15:40 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 05:15:40 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 05:15:40 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:15:40 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 05:15:40 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 05:15:40 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/04 05:15:40 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:15:40 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': File to upload is small (5 bytes), uploading instead of streaming 2025/10/04 05:15:40.847812 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:15:40.847849 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 05:15:41 DEBUG : forgetting directory cache 2025/10/04 05:15:41 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:15:41 DEBUG : file1: Remove: 2025/10/04 05:15:41 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 05:15:41 DEBUG : file1: >Remove: err= 2025/10/04 05:15:41 ERROR : file1: WriteFileHandle.Flush error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft write_test.go:256: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:256 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleFlush 2025/10/04 05:15:41 DEBUG : file1: WriteFileHandle.Flush nothing to do dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:267 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleFlush 2025/10/04 05:15:41 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:15:41 DEBUG : Looking for writers 2025/10/04 05:15:41 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (1.67s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:15:41 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:15:41 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:15:41 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 05:15:42 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 05:15:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:15:42 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 05:15:42 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 05:15:42 DEBUG : file1: WriteFileHandle.Release closing 2025/10/04 05:15:42 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:15:42 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': File to upload is small (0 bytes), uploading instead of streaming 2025/10/04 05:15:42.567997 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:15:42.568039 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 05:15:43 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:15:43 DEBUG : file1: Remove: 2025/10/04 05:15:43 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 05:15:43 DEBUG : file1: >Remove: err= 2025/10/04 05:15:43 ERROR : file1: WriteFileHandle.Release error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft write_test.go:279: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:279 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleRelease 2025/10/04 05:15:43 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/04 05:15:43 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:15:43 DEBUG : Looking for writers 2025/10/04 05:15:43 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (1.66s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:15:43 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:15:43 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:15:43 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 05:15:43 DEBUG : forgetting directory cache 2025/10/04 05:15:43 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 05:15:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:15:43 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 05:15:43 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 05:15:43 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:15:43 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': File to upload is small (2 bytes), uploading instead of streaming 2025/10/04 05:15:44.199154 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:15:44.199195 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 05:15:44 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:15:44 DEBUG : file1: Remove: 2025/10/04 05:15:44 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 05:15:44 DEBUG : file1: >Remove: err= write_test.go:333: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:333 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileModTimeWithOpenWriters 2025/10/04 05:15:44 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:15:44 DEBUG : Looking for writers 2025/10/04 05:15:44 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (1.62s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:15:45 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:15:45 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:15:45 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 05:15:45 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 05:15:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:15:45 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 05:15:45 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 05:15:45 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:15:45 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': File to upload is small (0 bytes), uploading instead of streaming 2025/10/04 05:15:45.999189 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:15:45.999223 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 05:15:46 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:15:46 DEBUG : file1: Remove: 2025/10/04 05:15:46 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 05:15:46 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestFileReadAtZeroLength 2025/10/04 05:15:46 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/04 05:15:46 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: file does not exist Test: TestFileReadAtZeroLength 2025/10/04 05:15:46 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:15:46 DEBUG : Looking for writers 2025/10/04 05:15:46 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (1.96s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:15:47 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:15:47 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:15:47 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/04 05:15:47 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/04 05:15:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:15:47 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/04 05:15:47 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/04 05:15:47 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/04 05:15:47 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': File to upload is small (100 bytes), uploading instead of streaming 2025/10/04 05:15:47.835862 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/04 05:15:47.835903 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/04 05:15:48 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/04 05:15:48 DEBUG : file1: Remove: 2025/10/04 05:15:48 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/04 05:15:48 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestFileReadAtNonZeroLength 2025/10/04 05:15:48 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/04 05:15:48 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: file does not exist Test: TestFileReadAtNonZeroLength 2025/10/04 05:15:48 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:15:48 DEBUG : Looking for writers 2025/10/04 05:15:48 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (1.74s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:15:48 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:15:48 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:15:50.309614 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 05:15:50.309668 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 05:15:50 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:15:50 DEBUG : Looking for writers 2025/10/04 05:15:50 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (2.24s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:15:51 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:15:51 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:15:52.339606 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 05:15:52.339674 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 05:15:52 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:15:52 DEBUG : Looking for writers 2025/10/04 05:15:52 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (2.06s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:15:53 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:15:53 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:15:54.948396 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 05:15:54.948435 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 05:15:54 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:15:54 DEBUG : Looking for writers 2025/10/04 05:15:54 DEBUG : >WaitForWriters: 2025/10/04 05:15:55.253085 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 05:15:55.253131 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (2.62s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-febidit3ciwo'", Local "Local file system at /tmp/rclone2475321348", Modify Window "1s" 2025/10/04 05:15:55 INFO : proton drive root link ID 'rclone-test-febidit3ciwo': poll-interval is not supported by this remote 2025/10/04 05:15:55 NOTICE: proton drive root link ID 'rclone-test-febidit3ciwo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/04 05:15:57.075268 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/04 05:15:57.075293 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-febidit3ciwo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/04 05:15:57 DEBUG : WaitForWriters: timeout=30s 2025/10/04 05:15:57 DEBUG : Looking for writers 2025/10/04 05:15:57 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (2.14s) FAIL 2025/10/04 05:15:57 DEBUG : proton drive root link ID 'rclone-test-febidit3ciwo': 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 29m26.037748595s (try 5/5): exit status 1: Failed [TestDirHandleMethods TestDirHandleReaddir TestDirHandleReaddirnames TestDirMethods TestDirForgetAll TestDirForgetPath TestDirWalk TestDirSetModTime TestDirStat TestDirReadDirAll TestDirOpen TestDirCreate TestDirMkdir TestDirMkdirSub TestDirRemove TestDirRemoveAll TestDirRemoveName TestDirRename TestDirFileOpen TestDirMetadataExtension TestFileMethods TestFileSetModTime/cache=off,open=false,write=false TestFileSetModTime/cache=off,open=true,write=false TestFileSetModTime/cache=off,open=true,write=true TestFileSetModTime/cache=full,open=false,write=false TestFileSetModTime/cache=full,open=true,write=false TestFileSetModTime/cache=full,open=true,write=true TestFileOpenRead TestFileOpenWrite TestFileRemove TestFileRemoveAll TestFileOpen TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestReadFileHandleMethods TestReadFileHandleSeek TestReadFileHandleReadAt TestReadFileHandleFlush TestReadFileHandleRelease TestRWFileHandleMethodsRead TestRWFileHandleSeek TestRWFileHandleReadAt TestRWFileHandleFlushRead TestRWFileHandleReleaseRead TestRWFileHandleMethodsWrite TestRWFileHandleWriteAt TestRWFileHandleWriteNoWrite TestRWFileHandleSizeTruncateExisting TestRWFileHandleSizeCreateExisting TestRWFileModTimeWithOpenWriters TestRWCacheUpdate TestCaseSensitivity TestUnicodeNormalization TestVFSStat TestVFSStatParent TestVFSOpenFile TestVFSRename TestWriteFileHandleMethods TestWriteFileHandleWriteAt TestWriteFileHandleFlush TestWriteFileHandleRelease TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestFileReadAtNonZeroLength TestZipManyFiles TestZipManySubDirs TestZipLargeFiles TestZipDirsInRoot]