"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseSensitivity|TestDirCreate|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMetadataExtension|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSOpenFile|TestVFSRename|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$'" - Starting (try 3/5) 2025/10/02 02:27:23 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-dizikup8havo" 2025/10/02 02:27:23 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/02 02:27:23 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': Using username and password to log in 2025/10/02 02:27:26 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': Used username and password to initialize the ProtonDrive API 2025/10/02 02:27:26 DEBUG : Saving config "client_uid" in section "TestProtonDrive" of the config file 2025/10/02 02:27:26 DEBUG : Saving config "client_access_token" in section "TestProtonDrive" of the config file 2025/10/02 02:27:26 DEBUG : Saving config "client_refresh_token" in section "TestProtonDrive" of the config file 2025/10/02 02:27:26 DEBUG : Saving config "client_salted_key_pass" in section "TestProtonDrive" of the config file 2025/10/02 02:27:26 DEBUG : Creating backend with remote "/tmp/rclone819688921" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:27:26 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:27:26 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:27:28.110131 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:27:28.110179 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:27:28 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:27:28 DEBUG : Looking for writers 2025/10/02 02:27:28 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (2.59s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:27:28 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:27:28 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:27:30.153147 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:27:30.153233 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:27:30 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:27:30 DEBUG : Looking for writers 2025/10/02 02:27:30 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (2.10s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:27:31 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:27:31 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:27:32.196170 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:27:32.196201 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:27:32 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:27:32 DEBUG : Looking for writers 2025/10/02 02:27:32 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (2.05s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:27:33 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:27:33 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:27:34.720787 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:27:34.720827 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:27:34 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:27:34 DEBUG : Looking for writers 2025/10/02 02:27:34 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (2.48s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:27:35 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:27:35 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:27:36.730575 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:27:36.730611 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:27:36 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:27:36 DEBUG : Looking for writers 2025/10/02 02:27:36 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (2.00s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:27:37 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:27:37 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:27:38.820404 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:27:38.820439 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:27:38 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:27:38 DEBUG : Looking for writers 2025/10/02 02:27:38 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (2.10s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:27:39 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:27:39 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:27:41.012462 WARN RESTY 429 POST https://fra-storage.proton.me/storage/blocks: Too many recent API requests (Code=429, Status=429), Attempt 1 time="2025-10-02T02:27:41Z" level=warning msg="Too many requests, retrying after delay" after=32 method=POST pkg=go-proton-api status=429 url="https://fra-storage.proton.me/storage/blocks" 2025/10/02 02:28:13.361455 WARN RESTY 400 POST https://fra-storage.proton.me/storage/blocks: Upload file empty (Code=2003, Status=400), Attempt 2 2025/10/02 02:28:13.361501 ERROR RESTY 400 POST https://fra-storage.proton.me/storage/blocks: Upload file empty (Code=2003, Status=400) run.go:285: Failed to put "dir/file1" to "proton drive root link ID 'rclone-test-dizikup8havo'": 400 POST https://fra-storage.proton.me/storage/blocks: Upload file empty (Code=2003, Status=400) 2025/10/02 02:28:13 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:13 DEBUG : Looking for writers 2025/10/02 02:28:13 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (34.53s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:14 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:14 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:15.390120 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:15.390146 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:15 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:15 DEBUG : Looking for writers 2025/10/02 02:28:15 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (2.09s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:16 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:16 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:17.503375 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:17.503410 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:17 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:17 DEBUG : Looking for writers 2025/10/02 02:28:17 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (2.06s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:18 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:18 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:19.490161 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:19.490208 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:19 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:19 DEBUG : Looking for writers 2025/10/02 02:28:19 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (2.01s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:20 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:20 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:21.558063 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:21.558097 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:21 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:21 DEBUG : Looking for writers 2025/10/02 02:28:21 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (2.09s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:22 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:22 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:23.578193 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:23.578464 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:23 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:23 DEBUG : Looking for writers 2025/10/02 02:28:23 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (2.01s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:24 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:24 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:25.648660 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:25.648755 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:25 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:25 DEBUG : Looking for writers 2025/10/02 02:28:25 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (2.13s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:26 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:26 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:27.747858 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:27.747903 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:27 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:27 DEBUG : Looking for writers 2025/10/02 02:28:27 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (2.06s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:28 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:28 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:29.851375 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:29.851404 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:29 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:29 DEBUG : Looking for writers 2025/10/02 02:28:29 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (2.11s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:30 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:30 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:31.948141 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:31.948169 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:31 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:31 DEBUG : Looking for writers 2025/10/02 02:28:31 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (2.07s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:32 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:32 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:34.001426 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:34.001472 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:34 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:34 DEBUG : Looking for writers 2025/10/02 02:28:34 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (2.07s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:34 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:34 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:35.992122 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:35.992174 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:35 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:35 DEBUG : Looking for writers 2025/10/02 02:28:35 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (1.98s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:36 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:36 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:38.024374 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:38.024411 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:38 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:38 DEBUG : Looking for writers 2025/10/02 02:28:38 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (2.09s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:38 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:38 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:40.149002 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:40.149039 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:40 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:40 DEBUG : Looking for writers 2025/10/02 02:28:40 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (2.10s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:41 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:41 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:42.209701 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:42.209806 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:42 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:42 DEBUG : Looking for writers 2025/10/02 02:28:42 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (2.03s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:43 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:43 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:44.248324 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:44.248426 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:44 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:44 DEBUG : Looking for writers 2025/10/02 02:28:44 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:45 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:45 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:46.329583 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:46.329634 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:46 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:46 DEBUG : Looking for writers 2025/10/02 02:28:46 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:47 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:47 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:48.375345 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:48.375371 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:48 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:48 DEBUG : Looking for writers 2025/10/02 02:28:48 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:49 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:49 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:28:49 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:49 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:28:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:49 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:49 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:28:49 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:49 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:28:50.480900 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:50.480924 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:50 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:50 DEBUG : Looking for writers 2025/10/02 02:28:50 DEBUG : >WaitForWriters: 2025/10/02 02:28:50 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:51 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:51 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:28:51 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:51 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:28:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:51 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:51 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:28:51 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:51 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:28:52.517085 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:52.517123 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:52 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:52 DEBUG : Looking for writers 2025/10/02 02:28:52 DEBUG : >WaitForWriters: 2025/10/02 02:28:52 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:53 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:53 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:28:53 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:53 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:28:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:53 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:53 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:28:53 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:28:53 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:28:54.650334 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:54.650370 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:54 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:54 DEBUG : Looking for writers 2025/10/02 02:28:54 DEBUG : >WaitForWriters: 2025/10/02 02:28:54 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (12.44s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (2.05s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (2.07s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (2.10s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (2.06s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (2.09s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (2.07s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:55 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:55 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:56.700209 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:56.700238 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:56 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:56 DEBUG : Looking for writers 2025/10/02 02:28:56 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (2.08s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:57 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:57 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:28:58.784064 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:28:58.784179 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:28:58 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:28:58 DEBUG : Looking for writers 2025/10/02 02:28:58 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (2.06s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:28:59 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:28:59 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:29:00.817789 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:00.818601 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:00 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:00 DEBUG : Looking for writers 2025/10/02 02:29:00 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (2.08s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:01 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:01 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:29:02.902760 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:02.902800 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:02 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:02 DEBUG : Looking for writers 2025/10/02 02:29:02 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (2.10s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:03 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:03 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:29:05.519390 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:05.519426 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:05 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:05 DEBUG : Looking for writers 2025/10/02 02:29:05 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (2.60s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:06 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:06 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:29:07.564731 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:07.565537 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:07 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:07 DEBUG : Looking for writers 2025/10/02 02:29:07 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:08 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:08 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:29:08 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:29:08 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:08 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:08 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:29:09.658407 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:09.658428 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:09 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:09 DEBUG : Looking for writers 2025/10/02 02:29:09 DEBUG : >WaitForWriters: 2025/10/02 02:29:09 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:10 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:10 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:29:10 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:29:10 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:10 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:10 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:29:11.816130 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:11.816163 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:11 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:11 DEBUG : Looking for writers 2025/10/02 02:29:11 DEBUG : >WaitForWriters: 2025/10/02 02:29:11 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:12 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:12 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:29:12 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:12 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:12 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:12 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:12 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:12 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:12 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:29:13.911628 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:13.911664 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:13 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:13 DEBUG : Looking for writers 2025/10/02 02:29:13 DEBUG : >WaitForWriters: 2025/10/02 02:29:13 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:14 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:14 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:29:14 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:14 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:14 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:29:15.998817 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:15.998873 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:15 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:15 DEBUG : Looking for writers 2025/10/02 02:29:15 DEBUG : >WaitForWriters: 2025/10/02 02:29:15 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:16 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:16 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:29:16 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:16 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:16 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:29:18.084430 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:18.084466 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:18 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:18 DEBUG : Looking for writers 2025/10/02 02:29:18 DEBUG : >WaitForWriters: 2025/10/02 02:29:18 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting --- FAIL: TestFileRename (12.55s) --- FAIL: TestFileRename/off,forceCache=false (2.05s) --- FAIL: TestFileRename/minimal,forceCache=false (2.15s) --- FAIL: TestFileRename/minimal,forceCache=true (2.07s) --- FAIL: TestFileRename/writes,forceCache=false (2.11s) --- FAIL: TestFileRename/writes,forceCache=true (2.05s) --- FAIL: TestFileRename/full,forceCache=false (2.12s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:18 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:18 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:29:20.295062 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:20.295077 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:20 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:20 DEBUG : Looking for writers 2025/10/02 02:29:20 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (2.24s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:21 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:21 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:29:22.396951 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:22.396996 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:22 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:22 DEBUG : Looking for writers 2025/10/02 02:29:22 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (2.02s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:23 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:23 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:29:24.476389 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:24.476420 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:24 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:24 DEBUG : Looking for writers 2025/10/02 02:29:24 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (2.12s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:25 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:25 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:29:26.574422 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:26.574453 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:26 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:26 DEBUG : Looking for writers 2025/10/02 02:29:26 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (2.09s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:27 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:27 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:29:28.617848 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:28.617873 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:28 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:28 DEBUG : Looking for writers 2025/10/02 02:29:28 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (2.00s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:29 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:29 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:29:29 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:29 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:29 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:29 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:29 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:29 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:29:30.718008 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:30.718023 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:30 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:30 DEBUG : Looking for writers 2025/10/02 02:29:30 DEBUG : >WaitForWriters: 2025/10/02 02:29:30 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (2.12s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:31 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:31 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:29:31 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:31 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:31 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:31 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:31 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:29:32.788141 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:32.788419 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:32 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:32 DEBUG : Looking for writers 2025/10/02 02:29:32 DEBUG : >WaitForWriters: 2025/10/02 02:29:32 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (2.08s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:33 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:33 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:29:33 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:33 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:33 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:33 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:33 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:33 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:29:34.875169 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:34.875195 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:34 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:34 DEBUG : Looking for writers 2025/10/02 02:29:34 DEBUG : >WaitForWriters: 2025/10/02 02:29:34 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (2.06s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:35 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:35 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:29:35 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:35 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:35 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:35 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:35 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:29:36.895517 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:36.895561 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:36 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:36 DEBUG : Looking for writers 2025/10/02 02:29:36 DEBUG : >WaitForWriters: 2025/10/02 02:29:36 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (2.10s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:37 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:37 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:29:37 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:37 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:37 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:37 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:37 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:37 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:29:39.036242 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:39.036449 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:39 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:39 DEBUG : Looking for writers 2025/10/02 02:29:39 DEBUG : >WaitForWriters: 2025/10/02 02:29:39 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (2.09s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:29:39 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:29:39 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:29:39 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:39 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:39 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:29:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:29:39 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:29:39 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:29:40 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:29:40 DEBUG : file1: newRWFileHandle: 2025/10/02 02:29:40 DEBUG : file1(0xc000672140): openPending: 2025/10/02 02:29:40 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/02 02:29:40 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:29:40 DEBUG : file1(0xc000672140): >openPending: err= 2025/10/02 02:29:40 DEBUG : file1: >newRWFileHandle: err= 2025/10/02 02:29:40 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:29:40 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/02 02:29:40 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/02 02:29:40 DEBUG : file1(0xc000672140): _writeAt: size=5, off=0 2025/10/02 02:29:40 DEBUG : file1(0xc000672140): >_writeAt: n=5, err= 2025/10/02 02:29:40 DEBUG : file1(0xc000672140): _writeAt: size=7, off=5 2025/10/02 02:29:40 DEBUG : file1(0xc000672140): >_writeAt: n=7, err= 2025/10/02 02:29:40 DEBUG : file1: vfs cache: truncate to size=11 2025/10/02 02:29:40 DEBUG : file1(0xc000672140): close: 2025/10/02 02:29:40 DEBUG : file1: vfs cache: setting modification time to 2025-10-02 02:29:40.134821234 +0000 UTC m=+136.544307707 2025/10/02 02:29:40 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/02 02:29:40 DEBUG : file1(0xc000672140): >close: err= 2025/10/02 02:29:40 DEBUG : file1(0xc000672140): close: 2025/10/02 02:29:40 DEBUG : file1(0xc000672140): >close: err=file already closed 2025/10/02 02:29:40 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:29:40 DEBUG : Looking for writers 2025/10/02 02:29:40 DEBUG : file1: reading active writers 2025/10/02 02:29:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/02 02:29:40 DEBUG : Looking for writers 2025/10/02 02:29:40 DEBUG : file1: reading active writers 2025/10/02 02:29:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/02 02:29:40 DEBUG : Looking for writers 2025/10/02 02:29:40 DEBUG : file1: reading active writers 2025/10/02 02:29:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/02 02:29:40 DEBUG : Looking for writers 2025/10/02 02:29:40 DEBUG : file1: reading active writers 2025/10/02 02:29:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/02 02:29:40 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:29:40 DEBUG : Looking for writers 2025/10/02 02:29:40 DEBUG : file1: reading active writers 2025/10/02 02:29:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/02 02:29:40 DEBUG : Looking for writers 2025/10/02 02:29:40 DEBUG : file1: reading active writers 2025/10/02 02:29:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/02 02:29:40 DEBUG : Looking for writers 2025/10/02 02:29:40 DEBUG : file1: reading active writers 2025/10/02 02:29:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/02 02:29:41.019479 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:29:41.019546 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:41 ERROR : file1: Failed to copy: 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:29:41 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/02 02:29:41 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:29:41 DEBUG : Looking for writers 2025/10/02 02:29:41 DEBUG : file1: reading active writers 2025/10/02 02:29:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:41.642032 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:29:41.642084 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:29:42 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:29:42 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:29:42 DEBUG : Looking for writers 2025/10/02 02:29:42 DEBUG : file1: reading active writers 2025/10/02 02:29:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:42 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:29:43.085420 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:29:43.085440 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:29:43 DEBUG : Looking for writers 2025/10/02 02:29:43 DEBUG : file1: reading active writers 2025/10/02 02:29:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:43 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:29:43 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:29:44 DEBUG : Looking for writers 2025/10/02 02:29:44 DEBUG : file1: reading active writers 2025/10/02 02:29:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:44 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:29:44.993436 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:29:44.993470 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:29:45 DEBUG : Looking for writers 2025/10/02 02:29:45 DEBUG : file1: reading active writers 2025/10/02 02:29:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29: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/02 02:29:45 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:29:46 DEBUG : Looking for writers 2025/10/02 02:29:46 DEBUG : file1: reading active writers 2025/10/02 02:29:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:47 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:29:47 DEBUG : Looking for writers 2025/10/02 02:29:47 DEBUG : file1: reading active writers 2025/10/02 02:29:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:47.697985 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:29:47.698055 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:29:48 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:29:48 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:29:48 DEBUG : Looking for writers 2025/10/02 02:29:48 DEBUG : file1: reading active writers 2025/10/02 02:29:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:49 DEBUG : Looking for writers 2025/10/02 02:29:49 DEBUG : file1: reading active writers 2025/10/02 02:29:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:50 DEBUG : Looking for writers 2025/10/02 02:29:50 DEBUG : file1: reading active writers 2025/10/02 02:29:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:51 DEBUG : Looking for writers 2025/10/02 02:29:51 DEBUG : file1: reading active writers 2025/10/02 02:29:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:51 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:29:51.955424 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:29:51.955461 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:29:52 DEBUG : Looking for writers 2025/10/02 02:29:52 DEBUG : file1: reading active writers 2025/10/02 02:29:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:52 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:29:52 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:29:53 DEBUG : Looking for writers 2025/10/02 02:29:53 DEBUG : file1: reading active writers 2025/10/02 02:29:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:54 DEBUG : Looking for writers 2025/10/02 02:29:54 DEBUG : file1: reading active writers 2025/10/02 02:29:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:55 DEBUG : Looking for writers 2025/10/02 02:29:55 DEBUG : file1: reading active writers 2025/10/02 02:29:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:56 DEBUG : Looking for writers 2025/10/02 02:29:56 DEBUG : file1: reading active writers 2025/10/02 02:29:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:57 DEBUG : Looking for writers 2025/10/02 02:29:57 DEBUG : file1: reading active writers 2025/10/02 02:29:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:58 DEBUG : Looking for writers 2025/10/02 02:29:58 DEBUG : file1: reading active writers 2025/10/02 02:29:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:59 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:29:59 DEBUG : Looking for writers 2025/10/02 02:29:59 DEBUG : file1: reading active writers 2025/10/02 02:29:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:29:59.466616 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:29:59.466648 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:30: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/02 02:30:00 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:30:00 DEBUG : Looking for writers 2025/10/02 02:30:00 DEBUG : file1: reading active writers 2025/10/02 02:30:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:30:01 DEBUG : Looking for writers 2025/10/02 02:30:01 DEBUG : file1: reading active writers 2025/10/02 02:30:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:30:02 DEBUG : Looking for writers 2025/10/02 02:30:02 DEBUG : file1: reading active writers 2025/10/02 02:30:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:30:03 DEBUG : Looking for writers 2025/10/02 02:30:03 DEBUG : file1: reading active writers 2025/10/02 02:30:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:30:04 DEBUG : Looking for writers 2025/10/02 02:30:04 DEBUG : file1: reading active writers 2025/10/02 02:30:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:30:05 DEBUG : Looking for writers 2025/10/02 02:30:05 DEBUG : file1: reading active writers 2025/10/02 02:30:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:30:06 DEBUG : Looking for writers 2025/10/02 02:30:06 DEBUG : file1: reading active writers 2025/10/02 02:30:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:30:07 DEBUG : Looking for writers 2025/10/02 02:30:07 DEBUG : file1: reading active writers 2025/10/02 02:30:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:30:08 DEBUG : Looking for writers 2025/10/02 02:30:08 DEBUG : file1: reading active writers 2025/10/02 02:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:30:09 DEBUG : Looking for writers 2025/10/02 02:30:09 DEBUG : file1: reading active writers 2025/10/02 02:30:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:30:10 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00024ba40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0001f6708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635778880} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992568340250965362 ext:136544307707 loc:0x41303e0} ATime:{wall:13992568340250991782 ext:136544334127 loc:0x41303e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/02 02:30:10 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/02 02:30:12 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:30:39 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 02:30:39 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/02 02:31:39 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 02:31:39 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/02 02:31:42.653159 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:31:42.653196 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:31:43 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:31:43 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/02 02:32:08 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:32:39 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 02:32:39 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/02 02:33:15.800150 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:33:15.800185 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:33: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/02 02:33:16 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Should be true Test: TestRWFileHandleMethodsWrite Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:337 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleMethodsWrite Messages: 1 objects not found 2025/10/02 02:33:19 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:33:19 DEBUG : Looking for writers 2025/10/02 02:33:19 DEBUG : file1: reading active writers 2025/10/02 02:33:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/02 02:33:19 DEBUG : Looking for writers 2025/10/02 02:33:19 DEBUG : file1: reading active writers 2025/10/02 02:33:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/02 02:33:19 DEBUG : Looking for writers 2025/10/02 02:33:19 DEBUG : file1: reading active writers 2025/10/02 02:33:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/02 02:33:19 DEBUG : Looking for writers 2025/10/02 02:33:19 DEBUG : file1: reading active writers 2025/10/02 02:33:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/02 02:33:19 DEBUG : Looking for writers 2025/10/02 02:33:19 DEBUG : file1: reading active writers 2025/10/02 02:33:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/02 02:33:19 DEBUG : Looking for writers 2025/10/02 02:33:19 DEBUG : file1: reading active writers 2025/10/02 02:33:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/02 02:33:20 DEBUG : Looking for writers 2025/10/02 02:33:20 DEBUG : file1: reading active writers 2025/10/02 02:33:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/02 02:33:20 DEBUG : Looking for writers 2025/10/02 02:33:20 DEBUG : file1: reading active writers 2025/10/02 02:33:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:21 DEBUG : Looking for writers 2025/10/02 02:33:21 DEBUG : file1: reading active writers 2025/10/02 02:33:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:22 DEBUG : Looking for writers 2025/10/02 02:33:22 DEBUG : file1: reading active writers 2025/10/02 02:33:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:23 DEBUG : Looking for writers 2025/10/02 02:33:23 DEBUG : file1: reading active writers 2025/10/02 02:33:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:24 DEBUG : Looking for writers 2025/10/02 02:33:24 DEBUG : file1: reading active writers 2025/10/02 02:33:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:25 DEBUG : Looking for writers 2025/10/02 02:33:25 DEBUG : file1: reading active writers 2025/10/02 02:33:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:26 DEBUG : Looking for writers 2025/10/02 02:33:26 DEBUG : file1: reading active writers 2025/10/02 02:33:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:27 DEBUG : Looking for writers 2025/10/02 02:33:27 DEBUG : file1: reading active writers 2025/10/02 02:33:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:28 DEBUG : Looking for writers 2025/10/02 02:33:28 DEBUG : file1: reading active writers 2025/10/02 02:33:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:29 DEBUG : Looking for writers 2025/10/02 02:33:29 DEBUG : file1: reading active writers 2025/10/02 02:33:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:30 DEBUG : Looking for writers 2025/10/02 02:33:30 DEBUG : file1: reading active writers 2025/10/02 02:33:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:31 DEBUG : Looking for writers 2025/10/02 02:33:31 DEBUG : file1: reading active writers 2025/10/02 02:33:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:32 DEBUG : Looking for writers 2025/10/02 02:33:32 DEBUG : file1: reading active writers 2025/10/02 02:33:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:33 DEBUG : Looking for writers 2025/10/02 02:33:33 DEBUG : file1: reading active writers 2025/10/02 02:33:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:34 DEBUG : Looking for writers 2025/10/02 02:33:34 DEBUG : file1: reading active writers 2025/10/02 02:33:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:35 DEBUG : Looking for writers 2025/10/02 02:33:35 DEBUG : file1: reading active writers 2025/10/02 02:33:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:36 DEBUG : Looking for writers 2025/10/02 02:33:36 DEBUG : file1: reading active writers 2025/10/02 02:33:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:37 DEBUG : Looking for writers 2025/10/02 02:33:37 DEBUG : file1: reading active writers 2025/10/02 02:33:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:38 DEBUG : Looking for writers 2025/10/02 02:33:38 DEBUG : file1: reading active writers 2025/10/02 02:33:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:39 DEBUG : Looking for writers 2025/10/02 02:33:39 DEBUG : file1: reading active writers 2025/10/02 02:33:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:39 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 02:33:39 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/02 02:33:40 DEBUG : Looking for writers 2025/10/02 02:33:40 DEBUG : file1: reading active writers 2025/10/02 02:33:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:41 DEBUG : Looking for writers 2025/10/02 02:33:41 DEBUG : file1: reading active writers 2025/10/02 02:33:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:42 DEBUG : Looking for writers 2025/10/02 02:33:42 DEBUG : file1: reading active writers 2025/10/02 02:33:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:43 DEBUG : Looking for writers 2025/10/02 02:33:43 DEBUG : file1: reading active writers 2025/10/02 02:33:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:44 DEBUG : Looking for writers 2025/10/02 02:33:44 DEBUG : file1: reading active writers 2025/10/02 02:33:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:45 DEBUG : Looking for writers 2025/10/02 02:33:45 DEBUG : file1: reading active writers 2025/10/02 02:33:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:46 DEBUG : Looking for writers 2025/10/02 02:33:46 DEBUG : file1: reading active writers 2025/10/02 02:33:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:47 DEBUG : Looking for writers 2025/10/02 02:33:47 DEBUG : file1: reading active writers 2025/10/02 02:33:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:48 DEBUG : Looking for writers 2025/10/02 02:33:48 DEBUG : file1: reading active writers 2025/10/02 02:33:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:33:49 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00024ba40 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0001f6708 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824635778880} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992568340250965362 ext:136544307707 loc:0x41303e0} ATime:{wall:13992568340250991782 ext:136544334127 loc:0x41303e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/02 02:33:49 DEBUG : >WaitForWriters: 2025/10/02 02:33:49 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (340.56s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:35:20 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:35:20 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:35:20 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:35:20 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:35:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:35:20 DEBUG : Config file has changed externally - reloading 2025/10/02 02:35:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:35:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:35:20 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:35:20 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:35:20 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:35:20 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:35:20 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:35:20 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:35:20 DEBUG : file1: newRWFileHandle: 2025/10/02 02:35:20 DEBUG : file1(0xc000672440): openPending: 2025/10/02 02:35:20 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/02 02:35:20 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:35:20 DEBUG : file1(0xc000672440): >openPending: err= 2025/10/02 02:35:20 DEBUG : file1: >newRWFileHandle: err= 2025/10/02 02:35:20 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:35:20 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/02 02:35:20 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/02 02:35:20 DEBUG : file1(0xc000672440): _writeAt: size=7, off=0 2025/10/02 02:35:20 DEBUG : file1(0xc000672440): >_writeAt: n=7, err= 2025/10/02 02:35:20 DEBUG : file1(0xc000672440): _writeAt: size=6, off=5 2025/10/02 02:35:20 DEBUG : file1(0xc000672440): >_writeAt: n=6, err= 2025/10/02 02:35:20 DEBUG : file1(0xc000672440): close: 2025/10/02 02:35:20 DEBUG : file1: vfs cache: setting modification time to 2025-10-02 02:35:20.660844425 +0000 UTC m=+477.070330858 2025/10/02 02:35:20 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/02 02:35:20 DEBUG : file1(0xc000672440): >close: err= 2025/10/02 02:35:20 DEBUG : file1(0xc000672440): _writeAt: size=5, off=0 2025/10/02 02:35:20 DEBUG : file1(0xc000672440): >_writeAt: n=0, err=file already closed 2025/10/02 02:35:20 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:35:20 DEBUG : Looking for writers 2025/10/02 02:35:20 DEBUG : file1: reading active writers 2025/10/02 02:35:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/02 02:35:20 DEBUG : Looking for writers 2025/10/02 02:35:20 DEBUG : file1: reading active writers 2025/10/02 02:35:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/02 02:35:20 DEBUG : Looking for writers 2025/10/02 02:35:20 DEBUG : file1: reading active writers 2025/10/02 02:35:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/02 02:35:20 DEBUG : Looking for writers 2025/10/02 02:35:20 DEBUG : file1: reading active writers 2025/10/02 02:35:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/02 02:35:20 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:35:20 DEBUG : Looking for writers 2025/10/02 02:35:20 DEBUG : file1: reading active writers 2025/10/02 02:35:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/02 02:35:20 DEBUG : Looking for writers 2025/10/02 02:35:20 DEBUG : file1: reading active writers 2025/10/02 02:35:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/02 02:35:21.163527 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:35:21.163644 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:35:21 DEBUG : Looking for writers 2025/10/02 02:35:21 DEBUG : file1: reading active writers 2025/10/02 02:35:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/02 02:35:21 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:35:21 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:35:21 DEBUG : Looking for writers 2025/10/02 02:35:21 DEBUG : file1: reading active writers 2025/10/02 02:35:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:22 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:35:22.427206 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:35:22.427273 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:35:22 DEBUG : Looking for writers 2025/10/02 02:35:22 DEBUG : file1: reading active writers 2025/10/02 02:35:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:23 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:35:23 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:35:23 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:35:23 DEBUG : Looking for writers 2025/10/02 02:35:23 DEBUG : file1: reading active writers 2025/10/02 02:35:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:23.946098 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:35:23.946155 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:35: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/02 02:35:24 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:35:24 DEBUG : Looking for writers 2025/10/02 02:35:24 DEBUG : file1: reading active writers 2025/10/02 02:35:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:25 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:35:25.800016 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:35:25.800054 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:35:25 DEBUG : Looking for writers 2025/10/02 02:35:25 DEBUG : file1: reading active writers 2025/10/02 02:35:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35: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/02 02:35:26 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:35:26 DEBUG : Looking for writers 2025/10/02 02:35:26 DEBUG : file1: reading active writers 2025/10/02 02:35:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:27 DEBUG : Looking for writers 2025/10/02 02:35:27 DEBUG : file1: reading active writers 2025/10/02 02:35:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:28 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:35:28.486956 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:35:28.486975 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:35:28 DEBUG : Looking for writers 2025/10/02 02:35:28 DEBUG : file1: reading active writers 2025/10/02 02:35:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35: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/02 02:35:29 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:35:29 DEBUG : Looking for writers 2025/10/02 02:35:29 DEBUG : file1: reading active writers 2025/10/02 02:35:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:30 DEBUG : Looking for writers 2025/10/02 02:35:30 DEBUG : file1: reading active writers 2025/10/02 02:35:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:31 DEBUG : Looking for writers 2025/10/02 02:35:31 DEBUG : file1: reading active writers 2025/10/02 02:35:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:32 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:35:32.781689 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:35:32.781753 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:35:32 DEBUG : Looking for writers 2025/10/02 02:35:32 DEBUG : file1: reading active writers 2025/10/02 02:35:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35: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/02 02:35:33 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:35:33 DEBUG : Looking for writers 2025/10/02 02:35:33 DEBUG : file1: reading active writers 2025/10/02 02:35:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:34 DEBUG : Looking for writers 2025/10/02 02:35:34 DEBUG : file1: reading active writers 2025/10/02 02:35:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:35 DEBUG : Looking for writers 2025/10/02 02:35:35 DEBUG : file1: reading active writers 2025/10/02 02:35:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:36 DEBUG : Looking for writers 2025/10/02 02:35:36 DEBUG : file1: reading active writers 2025/10/02 02:35:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:37 DEBUG : Looking for writers 2025/10/02 02:35:37 DEBUG : file1: reading active writers 2025/10/02 02:35:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:38 DEBUG : Looking for writers 2025/10/02 02:35:38 DEBUG : file1: reading active writers 2025/10/02 02:35:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:39 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:35:39 DEBUG : Looking for writers 2025/10/02 02:35:39 DEBUG : file1: reading active writers 2025/10/02 02:35:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:40.365949 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:35:40.365984 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:35:40 DEBUG : Looking for writers 2025/10/02 02:35:40 DEBUG : file1: reading active writers 2025/10/02 02:35:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:41 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:35:41 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:35:41 DEBUG : Looking for writers 2025/10/02 02:35:41 DEBUG : file1: reading active writers 2025/10/02 02:35:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:42 DEBUG : Looking for writers 2025/10/02 02:35:42 DEBUG : file1: reading active writers 2025/10/02 02:35:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:43 DEBUG : Looking for writers 2025/10/02 02:35:43 DEBUG : file1: reading active writers 2025/10/02 02:35:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:44 DEBUG : Looking for writers 2025/10/02 02:35:44 DEBUG : file1: reading active writers 2025/10/02 02:35:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:45 DEBUG : Looking for writers 2025/10/02 02:35:45 DEBUG : file1: reading active writers 2025/10/02 02:35:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:46 DEBUG : Looking for writers 2025/10/02 02:35:46 DEBUG : file1: reading active writers 2025/10/02 02:35:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:47 DEBUG : Looking for writers 2025/10/02 02:35:47 DEBUG : file1: reading active writers 2025/10/02 02:35:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:48 DEBUG : Looking for writers 2025/10/02 02:35:48 DEBUG : file1: reading active writers 2025/10/02 02:35:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:49 DEBUG : Looking for writers 2025/10/02 02:35:49 DEBUG : file1: reading active writers 2025/10/02 02:35:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:35:50 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000ac3770 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0008a2a08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824642775616} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992568705849208713 ext:477070330858 loc:0x41303e0} ATime:{wall:13992568705849221567 ext:477070343711 loc:0x41303e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/02 02:35:50 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/02 02:35:53 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:36:20 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 02:36:20 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/02 02:37:20 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 02:37:20 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/02 02:37:24.537796 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:37:24.537835 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:37: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/02 02:37: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/02 02:37:26 DEBUG : forgetting directory cache 2025/10/02 02:37:28 DEBUG : forgetting directory cache 2025/10/02 02:37:31 DEBUG : forgetting directory cache 2025/10/02 02:37:33 DEBUG : forgetting directory cache 2025/10/02 02:37:35 DEBUG : forgetting directory cache 2025/10/02 02:37:37 DEBUG : forgetting directory cache 2025/10/02 02:37:39 DEBUG : forgetting directory cache 2025/10/02 02:37:50 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:38:14 DEBUG : forgetting directory cache 2025/10/02 02:38:16 DEBUG : forgetting directory cache 2025/10/02 02:38:18 DEBUG : forgetting directory cache 2025/10/02 02:38:20 DEBUG : forgetting directory cache 2025/10/02 02:38:20 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 02:38:20 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/02 02:38:22 DEBUG : forgetting directory cache 2025/10/02 02:38:24 DEBUG : forgetting directory cache 2025/10/02 02:38:26 DEBUG : forgetting directory cache 2025/10/02 02:38:28 DEBUG : forgetting directory cache 2025/10/02 02:38:30 DEBUG : forgetting directory cache 2025/10/02 02:38:32 DEBUG : forgetting directory cache 2025/10/02 02:38:34 DEBUG : forgetting directory cache 2025/10/02 02:38:36 DEBUG : forgetting directory cache 2025/10/02 02:38:38 DEBUG : forgetting directory cache 2025/10/02 02:38:41 DEBUG : forgetting directory cache 2025/10/02 02:38:43 DEBUG : forgetting directory cache 2025/10/02 02:38:45 DEBUG : forgetting directory cache 2025/10/02 02:38:47 DEBUG : forgetting directory cache 2025/10/02 02:38:49 DEBUG : forgetting directory cache 2025/10/02 02:38:51 DEBUG : forgetting directory cache 2025/10/02 02:38:53 DEBUG : forgetting directory cache 2025/10/02 02:38:55 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/02 02:38:56.716255 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:38:56.716281 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:38:57 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:38: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 2025/10/02 02:38:57 DEBUG : forgetting directory cache 2025/10/02 02:38:59 DEBUG : forgetting directory cache fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteAt Messages: 1 objects not found 2025/10/02 02:39:00 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:39:00 DEBUG : Looking for writers 2025/10/02 02:39:00 DEBUG : file1: reading active writers 2025/10/02 02:39:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/02 02:39:00 DEBUG : Looking for writers 2025/10/02 02:39:00 DEBUG : file1: reading active writers 2025/10/02 02:39:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/02 02:39:00 DEBUG : Looking for writers 2025/10/02 02:39:00 DEBUG : file1: reading active writers 2025/10/02 02:39:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/02 02:39:00 DEBUG : Looking for writers 2025/10/02 02:39:00 DEBUG : file1: reading active writers 2025/10/02 02:39:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/02 02:39:00 DEBUG : Looking for writers 2025/10/02 02:39:00 DEBUG : file1: reading active writers 2025/10/02 02:39:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/02 02:39:00 DEBUG : Looking for writers 2025/10/02 02:39:00 DEBUG : file1: reading active writers 2025/10/02 02:39:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/02 02:39:01 DEBUG : Looking for writers 2025/10/02 02:39:01 DEBUG : file1: reading active writers 2025/10/02 02:39:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/02 02:39:01 DEBUG : forgetting directory cache 2025/10/02 02:39:01 DEBUG : Looking for writers 2025/10/02 02:39:01 DEBUG : file1: reading active writers 2025/10/02 02:39:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:02 DEBUG : Looking for writers 2025/10/02 02:39:02 DEBUG : file1: reading active writers 2025/10/02 02:39:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:03 DEBUG : Looking for writers 2025/10/02 02:39:03 DEBUG : file1: reading active writers 2025/10/02 02:39:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:03 DEBUG : forgetting directory cache 2025/10/02 02:39:04 DEBUG : Looking for writers 2025/10/02 02:39:04 DEBUG : file1: reading active writers 2025/10/02 02:39:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:05 DEBUG : Looking for writers 2025/10/02 02:39:05 DEBUG : file1: reading active writers 2025/10/02 02:39:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:06 DEBUG : forgetting directory cache 2025/10/02 02:39:06 DEBUG : Looking for writers 2025/10/02 02:39:06 DEBUG : file1: reading active writers 2025/10/02 02:39:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:07 DEBUG : Looking for writers 2025/10/02 02:39:07 DEBUG : file1: reading active writers 2025/10/02 02:39:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:08 DEBUG : forgetting directory cache 2025/10/02 02:39:08 DEBUG : Looking for writers 2025/10/02 02:39:08 DEBUG : file1: reading active writers 2025/10/02 02:39:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:09 DEBUG : Looking for writers 2025/10/02 02:39:09 DEBUG : file1: reading active writers 2025/10/02 02:39:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:10 DEBUG : forgetting directory cache 2025/10/02 02:39:10 DEBUG : Looking for writers 2025/10/02 02:39:10 DEBUG : file1: reading active writers 2025/10/02 02:39:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:11 DEBUG : Looking for writers 2025/10/02 02:39:11 DEBUG : file1: reading active writers 2025/10/02 02:39:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:12 DEBUG : forgetting directory cache 2025/10/02 02:39:12 DEBUG : Looking for writers 2025/10/02 02:39:12 DEBUG : file1: reading active writers 2025/10/02 02:39:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:13 DEBUG : Looking for writers 2025/10/02 02:39:13 DEBUG : file1: reading active writers 2025/10/02 02:39:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:14 DEBUG : Looking for writers 2025/10/02 02:39:14 DEBUG : file1: reading active writers 2025/10/02 02:39:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:14 DEBUG : forgetting directory cache 2025/10/02 02:39:15 DEBUG : Looking for writers 2025/10/02 02:39:15 DEBUG : file1: reading active writers 2025/10/02 02:39:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:16 DEBUG : Looking for writers 2025/10/02 02:39:16 DEBUG : file1: reading active writers 2025/10/02 02:39:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:16 DEBUG : forgetting directory cache 2025/10/02 02:39:17 DEBUG : Looking for writers 2025/10/02 02:39:17 DEBUG : file1: reading active writers 2025/10/02 02:39:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:18 DEBUG : Looking for writers 2025/10/02 02:39:18 DEBUG : file1: reading active writers 2025/10/02 02:39:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:18 DEBUG : forgetting directory cache 2025/10/02 02:39:19 DEBUG : Looking for writers 2025/10/02 02:39:19 DEBUG : file1: reading active writers 2025/10/02 02:39:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:20 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 02:39:20 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 11 (was 11) 2025/10/02 02:39:20 DEBUG : Looking for writers 2025/10/02 02:39:20 DEBUG : file1: reading active writers 2025/10/02 02:39:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:21 DEBUG : forgetting directory cache 2025/10/02 02:39:21 DEBUG : Looking for writers 2025/10/02 02:39:21 DEBUG : file1: reading active writers 2025/10/02 02:39:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:22 DEBUG : Looking for writers 2025/10/02 02:39:22 DEBUG : file1: reading active writers 2025/10/02 02:39:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:23 DEBUG : forgetting directory cache 2025/10/02 02:39:23 DEBUG : Looking for writers 2025/10/02 02:39:23 DEBUG : file1: reading active writers 2025/10/02 02:39:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:24 DEBUG : Looking for writers 2025/10/02 02:39:24 DEBUG : file1: reading active writers 2025/10/02 02:39:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:25 DEBUG : forgetting directory cache 2025/10/02 02:39:25 DEBUG : Looking for writers 2025/10/02 02:39:25 DEBUG : file1: reading active writers 2025/10/02 02:39:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:26 DEBUG : Looking for writers 2025/10/02 02:39:26 DEBUG : file1: reading active writers 2025/10/02 02:39:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:27 DEBUG : forgetting directory cache 2025/10/02 02:39:27 DEBUG : Looking for writers 2025/10/02 02:39:27 DEBUG : file1: reading active writers 2025/10/02 02:39:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:28 DEBUG : Looking for writers 2025/10/02 02:39:28 DEBUG : file1: reading active writers 2025/10/02 02:39:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:29 DEBUG : forgetting directory cache 2025/10/02 02:39:29 DEBUG : Looking for writers 2025/10/02 02:39:29 DEBUG : file1: reading active writers 2025/10/02 02:39:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:39:30 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000ac3770 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0008a2a08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824642775616} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992568705849208713 ext:477070330858 loc:0x41303e0} ATime:{wall:13992568705849221567 ext:477070343711 loc:0x41303e0} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/02 02:39:30 DEBUG : >WaitForWriters: 2025/10/02 02:39:30 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting 2025/10/02 02:39:31 DEBUG : forgetting directory cache 2025/10/02 02:39:33 DEBUG : forgetting directory cache 2025/10/02 02:39:35 DEBUG : forgetting directory cache 2025/10/02 02:39:37 DEBUG : forgetting directory cache 2025/10/02 02:39:40 DEBUG : forgetting directory cache --- FAIL: TestRWFileHandleWriteAt (339.45s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:40:59 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:40:59 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:40:59 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:40:59 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:40:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:40:59 DEBUG : Config file has changed externally - reloading 2025/10/02 02:40:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:40:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:40:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:40:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:40:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:40:59 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:40:59 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:41:00 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:41:00 DEBUG : file1: newRWFileHandle: 2025/10/02 02:41:00 DEBUG : file1(0xc007364780): openPending: 2025/10/02 02:41:00 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/02 02:41:00 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:41:00 DEBUG : file1(0xc007364780): >openPending: err= 2025/10/02 02:41:00 DEBUG : file1: >newRWFileHandle: err= 2025/10/02 02:41:00 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:41:00 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/02 02:41:00 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/02 02:41:00 DEBUG : file1(0xc007364780): close: 2025/10/02 02:41:00 DEBUG : file1: vfs cache: setting modification time to 2025-10-02 02:41:00.111501821 +0000 UTC m=+816.520988285 2025/10/02 02:41:00 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/02 02:41:00 DEBUG : file1(0xc007364780): >close: err= 2025/10/02 02:41:00 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/02 02:41:00 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/02 02:41:00 DEBUG : file2: newRWFileHandle: 2025/10/02 02:41:00 DEBUG : file2(0xc007364c80): openPending: 2025/10/02 02:41:00 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/02 02:41:00 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/02 02:41:00 DEBUG : file2(0xc007364c80): >openPending: err= 2025/10/02 02:41:00 DEBUG : file2: >newRWFileHandle: err= 2025/10/02 02:41:00 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/02 02:41:00 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/02 02:41:00 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/02 02:41:00 DEBUG : file2(0xc007364c80): RWFileHandle.Flush 2025/10/02 02:41:00 DEBUG : file2(0xc007364c80): RWFileHandle.Release 2025/10/02 02:41:00 DEBUG : file2(0xc007364c80): close: 2025/10/02 02:41:00 DEBUG : file2: vfs cache: setting modification time to 2025-10-02 02:41:00.113013469 +0000 UTC m=+816.522499942 2025/10/02 02:41:00 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/02 02:41:00 DEBUG : file2(0xc007364c80): >close: err= 2025/10/02 02:41:00 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:41:00 DEBUG : Looking for writers 2025/10/02 02:41:00 DEBUG : file1: reading active writers 2025/10/02 02:41:00 DEBUG : file2: reading active writers 2025/10/02 02:41:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/02 02:41:00 DEBUG : Looking for writers 2025/10/02 02:41:00 DEBUG : file2: reading active writers 2025/10/02 02:41:00 DEBUG : file1: reading active writers 2025/10/02 02:41:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/02 02:41:00 DEBUG : Looking for writers 2025/10/02 02:41:00 DEBUG : file2: reading active writers 2025/10/02 02:41:00 DEBUG : file1: reading active writers 2025/10/02 02:41:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/02 02:41:00 DEBUG : Looking for writers 2025/10/02 02:41:00 DEBUG : file2: reading active writers 2025/10/02 02:41:00 DEBUG : file1: reading active writers 2025/10/02 02:41:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/02 02:41:00 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:41:00 DEBUG : file2: vfs cache: starting upload 2025/10/02 02:41:00 DEBUG : Looking for writers 2025/10/02 02:41:00 DEBUG : file1: reading active writers 2025/10/02 02:41:00 DEBUG : file2: reading active writers 2025/10/02 02:41:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/02 02:41:00 DEBUG : Looking for writers 2025/10/02 02:41:00 DEBUG : file2: reading active writers 2025/10/02 02:41:00 DEBUG : file1: reading active writers 2025/10/02 02:41:00 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/02 02:41:00.624651 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:41:00.624681 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:41:00 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/02 02:41:00 INFO : file2: Copied (new) 2025/10/02 02:41:00 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-02 02:41:00.113013469 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/02 02:41:00 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/02 02:41:00 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/02 02:41:00 INFO : file2: vfs cache: upload succeeded try #1 2025/10/02 02:41:00 DEBUG : Looking for writers 2025/10/02 02:41:00 DEBUG : file1: reading active writers 2025/10/02 02:41:00 DEBUG : file2: reading active writers 2025/10/02 02:41:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/02 02:41:01 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:41:01 ERROR : file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:41:01 DEBUG : Looking for writers 2025/10/02 02:41:01 DEBUG : file1: reading active writers 2025/10/02 02:41:01 DEBUG : file2: reading active writers 2025/10/02 02:41:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:01 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:41:01.977921 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:41:01.977956 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:41:02 DEBUG : Looking for writers 2025/10/02 02:41:02 DEBUG : file1: reading active writers 2025/10/02 02:41:02 DEBUG : file2: reading active writers 2025/10/02 02:41:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41: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/02 02:41:02 ERROR : file1: vfs cache: failed to upload try #2, will retry in 400ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:41:03 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:41:03 DEBUG : Looking for writers 2025/10/02 02:41:03 DEBUG : file1: reading active writers 2025/10/02 02:41:03 DEBUG : file2: reading active writers 2025/10/02 02:41:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:03.457437 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:41:03.457469 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:41:04 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:41:04 ERROR : file1: vfs cache: failed to upload try #3, will retry in 800ms: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:41:04 DEBUG : Looking for writers 2025/10/02 02:41:04 DEBUG : file1: reading active writers 2025/10/02 02:41:04 DEBUG : file2: reading active writers 2025/10/02 02:41:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:04 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:41:05.318313 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:41:05.318341 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:41:05 DEBUG : Looking for writers 2025/10/02 02:41:05 DEBUG : file1: reading active writers 2025/10/02 02:41:05 DEBUG : file2: reading active writers 2025/10/02 02:41:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:05 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:41:05 ERROR : file1: vfs cache: failed to upload try #4, will retry in 1.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:41:06 DEBUG : Looking for writers 2025/10/02 02:41:06 DEBUG : file1: reading active writers 2025/10/02 02:41:06 DEBUG : file2: reading active writers 2025/10/02 02:41:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:07 DEBUG : Looking for writers 2025/10/02 02:41:07 DEBUG : file1: reading active writers 2025/10/02 02:41:07 DEBUG : file2: reading active writers 2025/10/02 02:41:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:07 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:41:08.005267 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:41:08.005289 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:41:08 DEBUG : Looking for writers 2025/10/02 02:41:08 DEBUG : file1: reading active writers 2025/10/02 02:41:08 DEBUG : file2: reading active writers 2025/10/02 02:41:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:08 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:41:08 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:41:09 DEBUG : Looking for writers 2025/10/02 02:41:09 DEBUG : file1: reading active writers 2025/10/02 02:41:09 DEBUG : file2: reading active writers 2025/10/02 02:41:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:10 DEBUG : Looking for writers 2025/10/02 02:41:10 DEBUG : file1: reading active writers 2025/10/02 02:41:10 DEBUG : file2: reading active writers 2025/10/02 02:41:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:11 DEBUG : Looking for writers 2025/10/02 02:41:11 DEBUG : file1: reading active writers 2025/10/02 02:41:11 DEBUG : file2: reading active writers 2025/10/02 02:41:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:11 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:41:12.293144 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:41:12.293185 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:41:12 DEBUG : Looking for writers 2025/10/02 02:41:12 DEBUG : file1: reading active writers 2025/10/02 02:41:12 DEBUG : file2: reading active writers 2025/10/02 02:41:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:12 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:41:12 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:41:13 DEBUG : Looking for writers 2025/10/02 02:41:13 DEBUG : file1: reading active writers 2025/10/02 02:41:13 DEBUG : file2: reading active writers 2025/10/02 02:41:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:14 DEBUG : Looking for writers 2025/10/02 02:41:14 DEBUG : file1: reading active writers 2025/10/02 02:41:14 DEBUG : file2: reading active writers 2025/10/02 02:41:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:15 DEBUG : Looking for writers 2025/10/02 02:41:15 DEBUG : file1: reading active writers 2025/10/02 02:41:15 DEBUG : file2: reading active writers 2025/10/02 02:41:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:16 DEBUG : Looking for writers 2025/10/02 02:41:16 DEBUG : file1: reading active writers 2025/10/02 02:41:16 DEBUG : file2: reading active writers 2025/10/02 02:41:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:17 DEBUG : Looking for writers 2025/10/02 02:41:17 DEBUG : file1: reading active writers 2025/10/02 02:41:17 DEBUG : file2: reading active writers 2025/10/02 02:41:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:18 DEBUG : Looking for writers 2025/10/02 02:41:18 DEBUG : file1: reading active writers 2025/10/02 02:41:18 DEBUG : file2: reading active writers 2025/10/02 02:41:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:19 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:41:19 DEBUG : Looking for writers 2025/10/02 02:41:19 DEBUG : file1: reading active writers 2025/10/02 02:41:19 DEBUG : file2: reading active writers 2025/10/02 02:41:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:19.778269 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:41:19.778296 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:41:20 DEBUG : Looking for writers 2025/10/02 02:41:20 DEBUG : file1: reading active writers 2025/10/02 02:41:20 DEBUG : file2: reading active writers 2025/10/02 02:41:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41: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/02 02:41:20 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:41:21 DEBUG : Looking for writers 2025/10/02 02:41:21 DEBUG : file1: reading active writers 2025/10/02 02:41:21 DEBUG : file2: reading active writers 2025/10/02 02:41:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:22 DEBUG : Looking for writers 2025/10/02 02:41:22 DEBUG : file1: reading active writers 2025/10/02 02:41:22 DEBUG : file2: reading active writers 2025/10/02 02:41:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:23 DEBUG : Looking for writers 2025/10/02 02:41:23 DEBUG : file1: reading active writers 2025/10/02 02:41:23 DEBUG : file2: reading active writers 2025/10/02 02:41:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:24 DEBUG : Looking for writers 2025/10/02 02:41:24 DEBUG : file1: reading active writers 2025/10/02 02:41:24 DEBUG : file2: reading active writers 2025/10/02 02:41:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:25 DEBUG : Looking for writers 2025/10/02 02:41:25 DEBUG : file2: reading active writers 2025/10/02 02:41:25 DEBUG : file1: reading active writers 2025/10/02 02:41:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:26 DEBUG : Looking for writers 2025/10/02 02:41:26 DEBUG : file1: reading active writers 2025/10/02 02:41:26 DEBUG : file2: reading active writers 2025/10/02 02:41:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:27 DEBUG : Looking for writers 2025/10/02 02:41:27 DEBUG : file1: reading active writers 2025/10/02 02:41:27 DEBUG : file2: reading active writers 2025/10/02 02:41:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:28 DEBUG : Looking for writers 2025/10/02 02:41:28 DEBUG : file1: reading active writers 2025/10/02 02:41:28 DEBUG : file2: reading active writers 2025/10/02 02:41:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:29 DEBUG : Looking for writers 2025/10/02 02:41:29 DEBUG : file1: reading active writers 2025/10/02 02:41:29 DEBUG : file2: reading active writers 2025/10/02 02:41:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:41:30 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00024bd10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc007c5b108 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824764117312} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992569070372086269 ext:816520988285 loc:0x41303e0} ATime:{wall:13992569070372566982 ext:816521468997 loc:0x41303e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc00024bd10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc007c5b208 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824764117568} name:file2 opens:0 downloaders: o:0xc0005590e0 fd: info:{ModTime:{wall:13992569070373597917 ext:816522499942 loc:0x41303e0} ATime:{wall:13992569070373908910 ext:816522810926 loc:0x41303e0} Size:0 Rs:[] Fingerprint:0,2025-10-02 02:41:00.113013469 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/02 02:41:30 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/02 02:41:33 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:41:59 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 02:41:59 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/02 02:41:59 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/02 02:42:59.771936 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:42:59.771997 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:42:59 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 02:42:59 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/02 02:42:59 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/02 02:43: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/02 02:43:00 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache 2025/10/02 02:43:26 DEBUG : file1: vfs cache: starting upload 2025/10/02 02:43:59 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 02:43:59 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/02 02:43:59 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/02 02:44:33.447336 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:44:33.447370 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:44:34 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:44:34 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got file2 (0) fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteNoWrite Messages: 1 objects not found 2025/10/02 02:44:37 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:44:37 DEBUG : Looking for writers 2025/10/02 02:44:37 DEBUG : file1: reading active writers 2025/10/02 02:44:37 DEBUG : file2: reading active writers 2025/10/02 02:44:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/02 02:44:37 DEBUG : Looking for writers 2025/10/02 02:44:37 DEBUG : file1: reading active writers 2025/10/02 02:44:37 DEBUG : file2: reading active writers 2025/10/02 02:44:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/02 02:44:37 DEBUG : Looking for writers 2025/10/02 02:44:37 DEBUG : file2: reading active writers 2025/10/02 02:44:37 DEBUG : file1: reading active writers 2025/10/02 02:44:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/02 02:44:37 DEBUG : Looking for writers 2025/10/02 02:44:37 DEBUG : file1: reading active writers 2025/10/02 02:44:37 DEBUG : file2: reading active writers 2025/10/02 02:44:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/02 02:44:37 DEBUG : Looking for writers 2025/10/02 02:44:37 DEBUG : file1: reading active writers 2025/10/02 02:44:37 DEBUG : file2: reading active writers 2025/10/02 02:44:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/02 02:44:37 DEBUG : Looking for writers 2025/10/02 02:44:37 DEBUG : file1: reading active writers 2025/10/02 02:44:37 DEBUG : file2: reading active writers 2025/10/02 02:44:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/02 02:44:37 DEBUG : Looking for writers 2025/10/02 02:44:37 DEBUG : file1: reading active writers 2025/10/02 02:44:37 DEBUG : file2: reading active writers 2025/10/02 02:44:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/02 02:44:38 DEBUG : Looking for writers 2025/10/02 02:44:38 DEBUG : file1: reading active writers 2025/10/02 02:44:38 DEBUG : file2: reading active writers 2025/10/02 02:44:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:39 DEBUG : Looking for writers 2025/10/02 02:44:39 DEBUG : file1: reading active writers 2025/10/02 02:44:39 DEBUG : file2: reading active writers 2025/10/02 02:44:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:40 DEBUG : Looking for writers 2025/10/02 02:44:40 DEBUG : file1: reading active writers 2025/10/02 02:44:40 DEBUG : file2: reading active writers 2025/10/02 02:44:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:41 DEBUG : Looking for writers 2025/10/02 02:44:41 DEBUG : file1: reading active writers 2025/10/02 02:44:41 DEBUG : file2: reading active writers 2025/10/02 02:44:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:42 DEBUG : Looking for writers 2025/10/02 02:44:42 DEBUG : file1: reading active writers 2025/10/02 02:44:42 DEBUG : file2: reading active writers 2025/10/02 02:44:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:43 DEBUG : Looking for writers 2025/10/02 02:44:43 DEBUG : file2: reading active writers 2025/10/02 02:44:43 DEBUG : file1: reading active writers 2025/10/02 02:44:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:44 DEBUG : Looking for writers 2025/10/02 02:44:44 DEBUG : file1: reading active writers 2025/10/02 02:44:44 DEBUG : file2: reading active writers 2025/10/02 02:44:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:45 DEBUG : Looking for writers 2025/10/02 02:44:45 DEBUG : file1: reading active writers 2025/10/02 02:44:45 DEBUG : file2: reading active writers 2025/10/02 02:44:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:46 DEBUG : Looking for writers 2025/10/02 02:44:46 DEBUG : file1: reading active writers 2025/10/02 02:44:46 DEBUG : file2: reading active writers 2025/10/02 02:44:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:47 DEBUG : Looking for writers 2025/10/02 02:44:47 DEBUG : file1: reading active writers 2025/10/02 02:44:47 DEBUG : file2: reading active writers 2025/10/02 02:44:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:48 DEBUG : Looking for writers 2025/10/02 02:44:48 DEBUG : file1: reading active writers 2025/10/02 02:44:48 DEBUG : file2: reading active writers 2025/10/02 02:44:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:49 DEBUG : Looking for writers 2025/10/02 02:44:49 DEBUG : file1: reading active writers 2025/10/02 02:44:49 DEBUG : file2: reading active writers 2025/10/02 02:44:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:50 DEBUG : Looking for writers 2025/10/02 02:44:50 DEBUG : file1: reading active writers 2025/10/02 02:44:50 DEBUG : file2: reading active writers 2025/10/02 02:44:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:51 DEBUG : Looking for writers 2025/10/02 02:44:51 DEBUG : file1: reading active writers 2025/10/02 02:44:51 DEBUG : file2: reading active writers 2025/10/02 02:44:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:52 DEBUG : Looking for writers 2025/10/02 02:44:52 DEBUG : file1: reading active writers 2025/10/02 02:44:52 DEBUG : file2: reading active writers 2025/10/02 02:44:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:53 DEBUG : Looking for writers 2025/10/02 02:44:53 DEBUG : file1: reading active writers 2025/10/02 02:44:53 DEBUG : file2: reading active writers 2025/10/02 02:44:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:54 DEBUG : Looking for writers 2025/10/02 02:44:54 DEBUG : file1: reading active writers 2025/10/02 02:44:54 DEBUG : file2: reading active writers 2025/10/02 02:44:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:55 DEBUG : Looking for writers 2025/10/02 02:44:55 DEBUG : file1: reading active writers 2025/10/02 02:44:55 DEBUG : file2: reading active writers 2025/10/02 02:44:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:56 DEBUG : Looking for writers 2025/10/02 02:44:56 DEBUG : file1: reading active writers 2025/10/02 02:44:56 DEBUG : file2: reading active writers 2025/10/02 02:44:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:57 DEBUG : Looking for writers 2025/10/02 02:44:57 DEBUG : file1: reading active writers 2025/10/02 02:44:57 DEBUG : file2: reading active writers 2025/10/02 02:44:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:58 DEBUG : Looking for writers 2025/10/02 02:44:58 DEBUG : file1: reading active writers 2025/10/02 02:44:58 DEBUG : file2: reading active writers 2025/10/02 02:44:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:59 DEBUG : Looking for writers 2025/10/02 02:44:59 DEBUG : file1: reading active writers 2025/10/02 02:44:59 DEBUG : file2: reading active writers 2025/10/02 02:44:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:44:59 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/02 02:44:59 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/02 02:44:59 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 1, uploading 0, total size 0 (was 0) 2025/10/02 02:45:00 DEBUG : Looking for writers 2025/10/02 02:45:00 DEBUG : file1: reading active writers 2025/10/02 02:45:00 DEBUG : file2: reading active writers 2025/10/02 02:45:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:45:01 DEBUG : Looking for writers 2025/10/02 02:45:01 DEBUG : file1: reading active writers 2025/10/02 02:45:01 DEBUG : file2: reading active writers 2025/10/02 02:45:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:45:02 DEBUG : Looking for writers 2025/10/02 02:45:02 DEBUG : file1: reading active writers 2025/10/02 02:45:02 DEBUG : file2: reading active writers 2025/10/02 02:45:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:45:03 DEBUG : Looking for writers 2025/10/02 02:45:03 DEBUG : file1: reading active writers 2025/10/02 02:45:03 DEBUG : file2: reading active writers 2025/10/02 02:45:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:45:04 DEBUG : Looking for writers 2025/10/02 02:45:04 DEBUG : file1: reading active writers 2025/10/02 02:45:04 DEBUG : file2: reading active writers 2025/10/02 02:45:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:45:05 DEBUG : Looking for writers 2025/10/02 02:45:05 DEBUG : file2: reading active writers 2025/10/02 02:45:05 DEBUG : file1: reading active writers 2025/10/02 02:45:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:45:06 DEBUG : Looking for writers 2025/10/02 02:45:06 DEBUG : file2: reading active writers 2025/10/02 02:45:06 DEBUG : file1: reading active writers 2025/10/02 02:45:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:45:07 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc00024bd10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc007c5b108 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824764117312} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13992569070372086269 ext:816520988285 loc:0x41303e0} ATime:{wall:13992569070372566982 ext:816521468997 loc:0x41303e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc00024bd10 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc007c5b208 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824764117568} name:file2 opens:0 downloaders: o:0xc0005590e0 fd: info:{ModTime:{wall:13992569070373597917 ext:816522499942 loc:0x41303e0} ATime:{wall:13992569070373908910 ext:816522810926 loc:0x41303e0} Size:0 Rs:[] Fingerprint:0,2025-10-02 02:41:00.113013469 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/02 02:45:07 DEBUG : >WaitForWriters: 2025/10/02 02:45:07 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting 2025/10/02 02:45:20 DEBUG : forgetting directory cache --- FAIL: TestRWFileHandleWriteNoWrite (340.10s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:46:40 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:46:40 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:46:40 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:40 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:46:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:46:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:40 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:46:41.350623 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:46:41.350673 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:46:41 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:46:41 DEBUG : Looking for writers 2025/10/02 02:46:41 DEBUG : >WaitForWriters: 2025/10/02 02:46:41 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (2.24s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:46:42 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:46:42 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:46:42 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:42 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:46:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:46:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:42 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:46:43.511937 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:46:43.511955 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:46:43 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:46:43 DEBUG : Looking for writers 2025/10/02 02:46:43 DEBUG : >WaitForWriters: 2025/10/02 02:46:43 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (2.23s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:46:44 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:46:44 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:46:44 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:44 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:46:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:46:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:46:44 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:46:44 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:46:44 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:46:44 DEBUG : file1: newRWFileHandle: 2025/10/02 02:46:44 DEBUG : file1(0xc000548600): openPending: 2025/10/02 02:46:44 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/02 02:46:44 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:46:44 DEBUG : file1(0xc000548600): >openPending: err= 2025/10/02 02:46:44 DEBUG : file1: >newRWFileHandle: err= 2025/10/02 02:46:44 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:46:44 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/02 02:46:44 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/02 02:46:45.533366 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:46:45.533416 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:46:45 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:46:45 DEBUG : Looking for writers 2025/10/02 02:46:45 DEBUG : file1: reading active writers 2025/10/02 02:46:45 DEBUG : file1: active writers 1 2025/10/02 02:46:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/02 02:46:45 DEBUG : Looking for writers 2025/10/02 02:46:45 DEBUG : file1: reading active writers 2025/10/02 02:46:45 DEBUG : file1: active writers 1 2025/10/02 02:46:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/02 02:46:45 DEBUG : Looking for writers 2025/10/02 02:46:45 DEBUG : file1: reading active writers 2025/10/02 02:46:45 DEBUG : file1: active writers 1 2025/10/02 02:46:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/02 02:46:45 DEBUG : Looking for writers 2025/10/02 02:46:45 DEBUG : file1: reading active writers 2025/10/02 02:46:45 DEBUG : file1: active writers 1 2025/10/02 02:46:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/02 02:46:45 DEBUG : Looking for writers 2025/10/02 02:46:45 DEBUG : file1: reading active writers 2025/10/02 02:46:45 DEBUG : file1: active writers 1 2025/10/02 02:46:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/02 02:46:45 DEBUG : Looking for writers 2025/10/02 02:46:45 DEBUG : file1: reading active writers 2025/10/02 02:46:45 DEBUG : file1: active writers 1 2025/10/02 02:46:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/02 02:46:46 DEBUG : Looking for writers 2025/10/02 02:46:46 DEBUG : file1: reading active writers 2025/10/02 02:46:46 DEBUG : file1: active writers 1 2025/10/02 02:46:46 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/02 02:46:46 DEBUG : Looking for writers 2025/10/02 02:46:46 DEBUG : file1: reading active writers 2025/10/02 02:46:46 DEBUG : file1: active writers 1 2025/10/02 02:46:46 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:47 DEBUG : Looking for writers 2025/10/02 02:46:47 DEBUG : file1: reading active writers 2025/10/02 02:46:47 DEBUG : file1: active writers 1 2025/10/02 02:46:47 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:48 DEBUG : Looking for writers 2025/10/02 02:46:48 DEBUG : file1: reading active writers 2025/10/02 02:46:48 DEBUG : file1: active writers 1 2025/10/02 02:46:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:49 DEBUG : Looking for writers 2025/10/02 02:46:49 DEBUG : file1: reading active writers 2025/10/02 02:46:49 DEBUG : file1: active writers 1 2025/10/02 02:46:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:50 DEBUG : Looking for writers 2025/10/02 02:46:50 DEBUG : file1: reading active writers 2025/10/02 02:46:50 DEBUG : file1: active writers 1 2025/10/02 02:46:50 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:51 DEBUG : Looking for writers 2025/10/02 02:46:51 DEBUG : file1: reading active writers 2025/10/02 02:46:51 DEBUG : file1: active writers 1 2025/10/02 02:46:51 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:52 DEBUG : Looking for writers 2025/10/02 02:46:52 DEBUG : file1: reading active writers 2025/10/02 02:46:52 DEBUG : file1: active writers 1 2025/10/02 02:46:52 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:53 DEBUG : Looking for writers 2025/10/02 02:46:53 DEBUG : file1: reading active writers 2025/10/02 02:46:53 DEBUG : file1: active writers 1 2025/10/02 02:46:53 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:54 DEBUG : Looking for writers 2025/10/02 02:46:54 DEBUG : file1: reading active writers 2025/10/02 02:46:54 DEBUG : file1: active writers 1 2025/10/02 02:46:54 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:55 DEBUG : Looking for writers 2025/10/02 02:46:55 DEBUG : file1: reading active writers 2025/10/02 02:46:55 DEBUG : file1: active writers 1 2025/10/02 02:46:55 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:56 DEBUG : Looking for writers 2025/10/02 02:46:56 DEBUG : file1: reading active writers 2025/10/02 02:46:56 DEBUG : file1: active writers 1 2025/10/02 02:46:56 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:57 DEBUG : Looking for writers 2025/10/02 02:46:57 DEBUG : file1: reading active writers 2025/10/02 02:46:57 DEBUG : file1: active writers 1 2025/10/02 02:46:57 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:58 DEBUG : Looking for writers 2025/10/02 02:46:58 DEBUG : file1: reading active writers 2025/10/02 02:46:58 DEBUG : file1: active writers 1 2025/10/02 02:46:58 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:46:59 DEBUG : Looking for writers 2025/10/02 02:46:59 DEBUG : file1: reading active writers 2025/10/02 02:46:59 DEBUG : file1: active writers 1 2025/10/02 02:46:59 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:00 DEBUG : Looking for writers 2025/10/02 02:47:00 DEBUG : file1: reading active writers 2025/10/02 02:47:00 DEBUG : file1: active writers 1 2025/10/02 02:47:00 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:01 DEBUG : Looking for writers 2025/10/02 02:47:01 DEBUG : file1: reading active writers 2025/10/02 02:47:01 DEBUG : file1: active writers 1 2025/10/02 02:47:01 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:02 DEBUG : Looking for writers 2025/10/02 02:47:02 DEBUG : file1: reading active writers 2025/10/02 02:47:02 DEBUG : file1: active writers 1 2025/10/02 02:47:02 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:03 DEBUG : Looking for writers 2025/10/02 02:47:03 DEBUG : file1: reading active writers 2025/10/02 02:47:03 DEBUG : file1: active writers 1 2025/10/02 02:47:03 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:04 DEBUG : Looking for writers 2025/10/02 02:47:04 DEBUG : file1: reading active writers 2025/10/02 02:47:04 DEBUG : file1: active writers 1 2025/10/02 02:47:04 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:05 DEBUG : Looking for writers 2025/10/02 02:47:05 DEBUG : file1: reading active writers 2025/10/02 02:47:05 DEBUG : file1: active writers 1 2025/10/02 02:47:05 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:06 DEBUG : Looking for writers 2025/10/02 02:47:06 DEBUG : file1: reading active writers 2025/10/02 02:47:06 DEBUG : file1: active writers 1 2025/10/02 02:47:06 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:07 DEBUG : Looking for writers 2025/10/02 02:47:07 DEBUG : file1: reading active writers 2025/10/02 02:47:07 DEBUG : file1: active writers 1 2025/10/02 02:47:07 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:08 DEBUG : Looking for writers 2025/10/02 02:47:08 DEBUG : file1: reading active writers 2025/10/02 02:47:08 DEBUG : file1: active writers 1 2025/10/02 02:47:08 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:09 DEBUG : Looking for writers 2025/10/02 02:47:09 DEBUG : file1: reading active writers 2025/10/02 02:47:09 DEBUG : file1: active writers 1 2025/10/02 02:47:09 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:10 DEBUG : Looking for writers 2025/10/02 02:47:10 DEBUG : file1: reading active writers 2025/10/02 02:47:10 DEBUG : file1: active writers 1 2025/10/02 02:47:10 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:11 DEBUG : Looking for writers 2025/10/02 02:47:11 DEBUG : file1: reading active writers 2025/10/02 02:47:11 DEBUG : file1: active writers 1 2025/10/02 02:47:11 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:12 DEBUG : Looking for writers 2025/10/02 02:47:12 DEBUG : file1: reading active writers 2025/10/02 02:47:12 DEBUG : file1: active writers 1 2025/10/02 02:47:12 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:13 DEBUG : Looking for writers 2025/10/02 02:47:13 DEBUG : file1: reading active writers 2025/10/02 02:47:13 DEBUG : file1: active writers 1 2025/10/02 02:47:13 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:14 DEBUG : Looking for writers 2025/10/02 02:47:14 DEBUG : file1: reading active writers 2025/10/02 02:47:14 DEBUG : file1: active writers 1 2025/10/02 02:47:14 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/02 02:47:15 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0073fef00 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc007708f08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824758538048} name:file1 opens:1 downloaders: o: fd:0xc000136c70 info:{ModTime:{wall:13992569440312566881 ext:1161094281420 loc:0x41303e0} ATime:{wall:13992569440312566881 ext:1161094281420 loc:0x41303e0} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/02 02:47:15 DEBUG : >WaitForWriters: 2025/10/02 02:47:15 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (31.46s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:47:15 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:47:15 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/02 02:47:15 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:47:15 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:47:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:47:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:47:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:47:15 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:47:15 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/02 02:47:15 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-dizikup8havo" 2025/10/02 02:47:15 INFO : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/02 02:47:16 DEBUG : forgetting directory cache 2025/10/02 02:47:17.007336 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:47:17.007362 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:47:17 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:47:17 DEBUG : Looking for writers 2025/10/02 02:47:17 DEBUG : >WaitForWriters: 2025/10/02 02:47:17 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (1.47s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:47:18.278993 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:47:18.279019 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (1.27s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:47:19.454082 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:47:19.454123 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.20s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:47:19 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:47:19 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:47:20.287683 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:47:20.287777 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-dizikup8havo'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:47:20 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:47:20 DEBUG : Looking for writers 2025/10/02 02:47:20 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (1.46s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:47:21 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:47:21 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:47:21.778626 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:47:21.778657 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-dizikup8havo'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:47:22 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:47:22 DEBUG : Looking for writers 2025/10/02 02:47:22 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (1.49s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:47:22 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:47:22 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:47:23.212932 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:47:23.212959 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-dizikup8havo'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:47:23 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:47:23 DEBUG : Looking for writers 2025/10/02 02:47:23 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (1.46s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:47:24 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:47:24 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:47:25.610196 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:47:25.610229 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:47:25 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:47:25 DEBUG : Looking for writers 2025/10/02 02:47:25 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (2.21s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:47:26 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:47:26 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:47:26 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:47:26 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:47:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:47:26 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 02:47:26 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 02:47:26 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:47:26 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/02 02:47:26 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/02 02:47:26 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/02 02:47:26 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': File to upload is small (5 bytes), uploading instead of streaming 2025/10/02 02:47:27.120334 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:47:27.120365 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:47:27 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:47:27 DEBUG : file1: Remove: 2025/10/02 02:47:27 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 02:47:27 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/02 02:49:40 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/02 02:50:33 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:50:33 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:50:33 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:50:33 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 02:50:33 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 02:50:33 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:50:33 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': File to upload is small (0 bytes), uploading instead of streaming 2025/10/02 02:51:00 DEBUG : forgetting directory cache 2025/10/02 02:51:00 DEBUG : Removed virtual directory entry vAddFile: "file2" 2025/10/02 02:52:03.969096 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:52:03.969135 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:52:04 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:52:04 DEBUG : file1: Remove: 2025/10/02 02:52:04 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 02:52:04 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/02 02:52:04 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:52:04 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:52:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:52:04 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 02:52:04 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 02:52:04 DEBUG : Added virtual directory entry vAddFile: "file1" write_test.go:171: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:171 Error: Not equal: expected: *errors.errorString(&errors.errorString{s:"permission denied"}) actual : () Test: TestWriteFileHandleMethods 2025/10/02 02:52:04 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:52:04 DEBUG : Looking for writers 2025/10/02 02:52:04 DEBUG : file1: reading active writers 2025/10/02 02:52:04 DEBUG : file1: active writers 1 2025/10/02 02:52:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/02 02:52:04 DEBUG : Looking for writers 2025/10/02 02:52:04 DEBUG : file1: reading active writers 2025/10/02 02:52:04 DEBUG : file1: active writers 1 2025/10/02 02:52:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/02 02:52:04 DEBUG : Looking for writers 2025/10/02 02:52:04 DEBUG : file1: reading active writers 2025/10/02 02:52:04 DEBUG : file1: active writers 1 2025/10/02 02:52:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/02 02:52:04 DEBUG : Looking for writers 2025/10/02 02:52:04 DEBUG : file1: reading active writers 2025/10/02 02:52:04 DEBUG : file1: active writers 1 2025/10/02 02:52:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/02 02:52:04 DEBUG : Looking for writers 2025/10/02 02:52:04 DEBUG : file1: reading active writers 2025/10/02 02:52:04 DEBUG : file1: active writers 1 2025/10/02 02:52:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/02 02:52:04 DEBUG : Looking for writers 2025/10/02 02:52:04 DEBUG : file1: reading active writers 2025/10/02 02:52:04 DEBUG : file1: active writers 1 2025/10/02 02:52:04 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/02 02:52:05 DEBUG : Looking for writers 2025/10/02 02:52:05 DEBUG : file1: reading active writers 2025/10/02 02:52:05 DEBUG : file1: active writers 1 2025/10/02 02:52:05 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/02 02:52:05 DEBUG : Looking for writers 2025/10/02 02:52:05 DEBUG : file1: reading active writers 2025/10/02 02:52:05 DEBUG : file1: active writers 1 2025/10/02 02:52:05 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:06 DEBUG : Looking for writers 2025/10/02 02:52:06 DEBUG : file1: reading active writers 2025/10/02 02:52:06 DEBUG : file1: active writers 1 2025/10/02 02:52:06 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:07 DEBUG : Looking for writers 2025/10/02 02:52:07 DEBUG : file1: reading active writers 2025/10/02 02:52:07 DEBUG : file1: active writers 1 2025/10/02 02:52:07 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:08 DEBUG : Looking for writers 2025/10/02 02:52:08 DEBUG : file1: reading active writers 2025/10/02 02:52:08 DEBUG : file1: active writers 1 2025/10/02 02:52:08 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:09 DEBUG : Looking for writers 2025/10/02 02:52:09 DEBUG : file1: reading active writers 2025/10/02 02:52:09 DEBUG : file1: active writers 1 2025/10/02 02:52:09 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:10 DEBUG : Looking for writers 2025/10/02 02:52:10 DEBUG : file1: reading active writers 2025/10/02 02:52:10 DEBUG : file1: active writers 1 2025/10/02 02:52:10 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:11 DEBUG : Looking for writers 2025/10/02 02:52:11 DEBUG : file1: reading active writers 2025/10/02 02:52:11 DEBUG : file1: active writers 1 2025/10/02 02:52:11 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:12 DEBUG : Looking for writers 2025/10/02 02:52:12 DEBUG : file1: reading active writers 2025/10/02 02:52:12 DEBUG : file1: active writers 1 2025/10/02 02:52:12 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:13 DEBUG : Looking for writers 2025/10/02 02:52:13 DEBUG : file1: reading active writers 2025/10/02 02:52:13 DEBUG : file1: active writers 1 2025/10/02 02:52:13 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:14 DEBUG : Looking for writers 2025/10/02 02:52:14 DEBUG : file1: reading active writers 2025/10/02 02:52:14 DEBUG : file1: active writers 1 2025/10/02 02:52:14 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:15 DEBUG : Looking for writers 2025/10/02 02:52:15 DEBUG : file1: reading active writers 2025/10/02 02:52:15 DEBUG : file1: active writers 1 2025/10/02 02:52:15 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:16 DEBUG : Looking for writers 2025/10/02 02:52:16 DEBUG : file1: reading active writers 2025/10/02 02:52:16 DEBUG : file1: active writers 1 2025/10/02 02:52:16 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:17 DEBUG : Looking for writers 2025/10/02 02:52:17 DEBUG : file1: reading active writers 2025/10/02 02:52:17 DEBUG : file1: active writers 1 2025/10/02 02:52:17 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:18 DEBUG : Looking for writers 2025/10/02 02:52:18 DEBUG : file1: reading active writers 2025/10/02 02:52:18 DEBUG : file1: active writers 1 2025/10/02 02:52:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:19 DEBUG : Looking for writers 2025/10/02 02:52:19 DEBUG : file1: reading active writers 2025/10/02 02:52:19 DEBUG : file1: active writers 1 2025/10/02 02:52:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:20 DEBUG : Looking for writers 2025/10/02 02:52:20 DEBUG : file1: reading active writers 2025/10/02 02:52:20 DEBUG : file1: active writers 1 2025/10/02 02:52:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:21 DEBUG : Looking for writers 2025/10/02 02:52:21 DEBUG : file1: reading active writers 2025/10/02 02:52:21 DEBUG : file1: active writers 1 2025/10/02 02:52:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:22 DEBUG : Looking for writers 2025/10/02 02:52:22 DEBUG : file1: reading active writers 2025/10/02 02:52:22 DEBUG : file1: active writers 1 2025/10/02 02:52:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:23 DEBUG : Looking for writers 2025/10/02 02:52:23 DEBUG : file1: reading active writers 2025/10/02 02:52:23 DEBUG : file1: active writers 1 2025/10/02 02:52:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:24 DEBUG : Looking for writers 2025/10/02 02:52:24 DEBUG : file1: reading active writers 2025/10/02 02:52:24 DEBUG : file1: active writers 1 2025/10/02 02:52:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:25 DEBUG : Looking for writers 2025/10/02 02:52:25 DEBUG : file1: reading active writers 2025/10/02 02:52:25 DEBUG : file1: active writers 1 2025/10/02 02:52:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:26 DEBUG : Looking for writers 2025/10/02 02:52:26 DEBUG : file1: reading active writers 2025/10/02 02:52:26 DEBUG : file1: active writers 1 2025/10/02 02:52:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:27 DEBUG : Looking for writers 2025/10/02 02:52:27 DEBUG : file1: reading active writers 2025/10/02 02:52:27 DEBUG : file1: active writers 1 2025/10/02 02:52:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:28 DEBUG : Looking for writers 2025/10/02 02:52:28 DEBUG : file1: reading active writers 2025/10/02 02:52:28 DEBUG : file1: active writers 1 2025/10/02 02:52:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:29 DEBUG : Looking for writers 2025/10/02 02:52:29 DEBUG : file1: reading active writers 2025/10/02 02:52:29 DEBUG : file1: active writers 1 2025/10/02 02:52:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:30 DEBUG : Looking for writers 2025/10/02 02:52:30 DEBUG : file1: reading active writers 2025/10/02 02:52:30 DEBUG : file1: active writers 1 2025/10/02 02:52:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:31 DEBUG : Looking for writers 2025/10/02 02:52:31 DEBUG : file1: reading active writers 2025/10/02 02:52:31 DEBUG : file1: active writers 1 2025/10/02 02:52:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:32 DEBUG : Looking for writers 2025/10/02 02:52:32 DEBUG : file1: reading active writers 2025/10/02 02:52:32 DEBUG : file1: active writers 1 2025/10/02 02:52:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:33 DEBUG : Looking for writers 2025/10/02 02:52:33 DEBUG : file1: reading active writers 2025/10/02 02:52:33 DEBUG : file1: active writers 1 2025/10/02 02:52:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/02 02:52:34 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/02 02:52:34 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (308.51s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:52:35 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:52:35 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:52:35 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:52:35 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:52:35 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:52:35 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 02:52:35 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 02:52:35 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:52:35 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/02 02:52:36 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/02 02:52:36 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/02 02:52:36 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/02 02:52:36 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': File to upload is small (11 bytes), uploading instead of streaming 2025/10/02 02:52:36.665119 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:52:36.665153 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:52:37 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:52:37 DEBUG : file1: Remove: 2025/10/02 02:52:37 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 02:52:37 DEBUG : file1: >Remove: err= write_test.go:221: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:221 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleWriteAt 2025/10/02 02:52:37 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/02 02:55:20 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/02 02:55:48 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:55:48 DEBUG : Looking for writers 2025/10/02 02:55:48 DEBUG : >WaitForWriters: 2025/10/02 02:56:40 DEBUG : forgetting directory cache 2025/10/02 02:56:42 DEBUG : forgetting directory cache 2025/10/02 02:56:44 DEBUG : forgetting directory cache 2025/10/02 02:57:19 DEBUG : forgetting directory cache 2025/10/02 02:57:21 DEBUG : forgetting directory cache 2025/10/02 02:57:22 DEBUG : forgetting directory cache 2025/10/02 02:57:24 DEBUG : forgetting directory cache --- FAIL: TestWriteFileHandleWriteAt (290.63s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:57:25 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:57:25 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:57:25 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:57:25 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:57:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:57:25 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 02:57:25 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 02:57:25 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/02 02:57:25 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:57:25 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': File to upload is small (5 bytes), uploading instead of streaming 2025/10/02 02:57:26.268677 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:57:26.268733 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:57:26 DEBUG : forgetting directory cache 2025/10/02 02:57: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/02 02:57:26 DEBUG : file1: Remove: 2025/10/02 02:57:26 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 02:57:26 DEBUG : file1: >Remove: err= 2025/10/02 02:57:26 ERROR : file1: WriteFileHandle.Flush error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft write_test.go:256: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:256 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleFlush 2025/10/02 02:57:26 DEBUG : file1: WriteFileHandle.Flush nothing to do dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:267 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleFlush 2025/10/02 02:57:26 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:57:26 DEBUG : Looking for writers 2025/10/02 02:57:26 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (1.68s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:57:27 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:57:27 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:57:27 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:57:27 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:57:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:57:27 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 02:57:27 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 02:57:27 DEBUG : file1: WriteFileHandle.Release closing 2025/10/02 02:57:27 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:57:27 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': File to upload is small (0 bytes), uploading instead of streaming 2025/10/02 02:57:27.962341 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:57:27.962374 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:57:28 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:57:28 DEBUG : file1: Remove: 2025/10/02 02:57:28 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 02:57:28 DEBUG : file1: >Remove: err= 2025/10/02 02:57:28 ERROR : file1: WriteFileHandle.Release error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft write_test.go:279: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:279 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleRelease 2025/10/02 02:57:28 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/02 02:57:28 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:57:28 DEBUG : Looking for writers 2025/10/02 02:57:28 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (1.93s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:57:29 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:57:29 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:57:29 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:57:29 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:57:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:57:29 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 02:57:29 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 02:57:29 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:57:29 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': File to upload is small (2 bytes), uploading instead of streaming 2025/10/02 02:57:29.893328 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:57:29.893367 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:57:30 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:57:30 DEBUG : file1: Remove: 2025/10/02 02:57:30 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 02:57:30 DEBUG : file1: >Remove: err= write_test.go:333: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:333 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileModTimeWithOpenWriters 2025/10/02 02:57:30 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:57:30 DEBUG : Looking for writers 2025/10/02 02:57:30 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (1.71s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:57:30 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:57:30 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:57:30 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:57:31 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:57:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:57:31 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 02:57:31 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 02:57:31 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:57:31 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': File to upload is small (0 bytes), uploading instead of streaming 2025/10/02 02:57:31.557018 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:57:31.557073 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:57:32 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:57:32 DEBUG : file1: Remove: 2025/10/02 02:57:32 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 02:57:32 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestFileReadAtZeroLength 2025/10/02 02:57:32 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/02 02:57:32 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:380 Error: Received unexpected error: file does not exist Test: TestFileReadAtZeroLength 2025/10/02 02:57:32 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:57:32 DEBUG : Looking for writers 2025/10/02 02:57:32 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (1.62s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:57:32 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:57:32 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:57:32 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/02 02:57:32 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/02 02:57:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:57:32 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/02 02:57:32 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/02 02:57:32 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/02 02:57:32 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': File to upload is small (100 bytes), uploading instead of streaming 2025/10/02 02:57:33.254086 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/10/02 02:57:33.254125 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/10/02 02:57:33 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/02 02:57:33 DEBUG : file1: Remove: 2025/10/02 02:57:33 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/02 02:57:33 DEBUG : file1: >Remove: err= write_test.go:360: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:360 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestFileReadAtNonZeroLength 2025/10/02 02:57:33 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/02 02:57:33 DEBUG : file1: >OpenFile: fd=, err=file does not exist write_test.go:365: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:365 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:384 Error: Received unexpected error: file does not exist Test: TestFileReadAtNonZeroLength 2025/10/02 02:57:33 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:57:33 DEBUG : Looking for writers 2025/10/02 02:57:33 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (1.73s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:57:34 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:57:34 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:57:35.593132 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:57:35.593192 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:57:35 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:57:35 DEBUG : Looking for writers 2025/10/02 02:57:35 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (2.15s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:57:36 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:57:36 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:57:37.692386 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:57:37.692423 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:57:37 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:57:37 DEBUG : Looking for writers 2025/10/02 02:57:37 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (2.05s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:57:38 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:57:38 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:57:40.180946 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:57:40.181006 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:57:40 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:57:40 DEBUG : Looking for writers 2025/10/02 02:57:40 DEBUG : >WaitForWriters: 2025/10/02 02:57:40.481777 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:57:40.481815 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (2.68s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-dizikup8havo'", Local "Local file system at /tmp/rclone819688921", Modify Window "1s" 2025/10/02 02:57:41 INFO : proton drive root link ID 'rclone-test-dizikup8havo': poll-interval is not supported by this remote 2025/10/02 02:57:41 NOTICE: proton drive root link ID 'rclone-test-dizikup8havo': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/02 02:57:42.386418 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/02 02:57:42.386453 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-dizikup8havo'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/02 02:57:42 DEBUG : WaitForWriters: timeout=30s 2025/10/02 02:57:42 DEBUG : Looking for writers 2025/10/02 02:57:42 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (2.07s) FAIL 2025/10/02 02:57:43 DEBUG : proton drive root link ID 'rclone-test-dizikup8havo': 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 30m20.001823731s (try 3/5): exit status 1: Failed [TestDirHandleMethods TestDirHandleReaddir TestDirHandleReaddirnames TestDirMethods TestDirForgetAll TestDirForgetPath TestDirWalk TestDirSetModTime TestDirStat TestDirReadDirAll TestDirOpen TestDirCreate TestDirMkdir TestDirMkdirSub TestDirRemove TestDirRemoveAll TestDirRemoveName TestDirRename TestDirFileOpen TestDirMetadataExtension TestFileMethods TestFileSetModTime/cache=off,open=false,write=false TestFileSetModTime/cache=off,open=true,write=false TestFileSetModTime/cache=off,open=true,write=true TestFileSetModTime/cache=full,open=false,write=false TestFileSetModTime/cache=full,open=true,write=false TestFileSetModTime/cache=full,open=true,write=true TestFileOpenRead TestFileOpenWrite TestFileRemove TestFileRemoveAll TestFileOpen TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestReadFileHandleMethods TestReadFileHandleSeek TestReadFileHandleReadAt TestReadFileHandleFlush TestReadFileHandleRelease TestRWFileHandleMethodsRead TestRWFileHandleSeek TestRWFileHandleReadAt TestRWFileHandleFlushRead TestRWFileHandleReleaseRead TestRWFileHandleMethodsWrite TestRWFileHandleWriteAt TestRWFileHandleWriteNoWrite TestRWFileHandleSizeTruncateExisting TestRWFileHandleSizeCreateExisting TestRWFileModTimeWithOpenWriters TestRWCacheUpdate TestCaseSensitivity TestUnicodeNormalization TestVFSStat TestVFSStatParent TestVFSOpenFile TestVFSRename TestWriteFileHandleMethods TestWriteFileHandleWriteAt TestWriteFileHandleFlush TestWriteFileHandleRelease TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestFileReadAtNonZeroLength TestZipManyFiles TestZipManySubDirs TestZipLargeFiles TestZipDirsInRoot]