"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCaseSensitivity|TestDirCreate|TestDirFileOpen|TestDirForgetAll|TestDirForgetPath|TestDirHandleMethods|TestDirHandleReaddir|TestDirHandleReaddirnames|TestDirMetadataExtension|TestDirMethods|TestDirMkdir|TestDirMkdirSub|TestDirOpen|TestDirReadDirAll|TestDirRemove|TestDirRemoveAll|TestDirRemoveName|TestDirRename|TestDirSetModTime|TestDirStat|TestDirWalk|TestFileMethods|TestFileOpen|TestFileOpenRead|TestFileOpenWrite|TestFileReadAtNonZeroLength|TestFileReadAtZeroLength|TestFileRemove|TestFileRemoveAll|TestRWCacheUpdate|TestRWFileHandleFlushRead|TestRWFileHandleMethodsRead|TestRWFileHandleMethodsWrite|TestRWFileHandleReadAt|TestRWFileHandleReleaseRead|TestRWFileHandleSeek|TestRWFileHandleSizeCreateExisting|TestRWFileHandleSizeTruncateExisting|TestRWFileHandleWriteAt|TestRWFileHandleWriteNoWrite|TestRWFileModTimeWithOpenWriters|TestReadFileHandleFlush|TestReadFileHandleMethods|TestReadFileHandleReadAt|TestReadFileHandleRelease|TestReadFileHandleSeek|TestUnicodeNormalization|TestVFSOpenFile|TestVFSRename|TestVFSStat|TestVFSStatParent|TestWriteFileHandleFlush|TestWriteFileHandleMethods|TestWriteFileHandleRelease|TestWriteFileHandleWriteAt|TestWriteFileModTimeWithOpenWriters|TestZipDirsInRoot|TestZipLargeFiles|TestZipManyFiles|TestZipManySubDirs)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$|^TestFileSetModTime$/^(cache=full,open=false,write=false|cache=full,open=true,write=false|cache=full,open=true,write=true|cache=off,open=false,write=false|cache=off,open=true,write=false|cache=off,open=true,write=true)$'" - Starting (try 2/5) 2025/10/07 05:07:26 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-rusagis7pede" 2025/10/07 05:07:26 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/10/07 05:07:26 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': Has cached credentials 2025/10/07 05:07:26 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': Used cached credential to initialize the ProtonDrive API 2025/10/07 05:07:27 DEBUG : Creating backend with remote "/tmp/rclone3178123716" === RUN TestDirHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:27 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:27 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:29.183812 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:29.183852 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:29 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:29 DEBUG : Looking for writers 2025/10/07 05:07:29 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleMethods (2.77s) === RUN TestDirHandleReaddir run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:30 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:30 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:31.229376 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:31.229432 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:31 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:31 DEBUG : Looking for writers 2025/10/07 05:07:31 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddir (2.09s) === RUN TestDirHandleReaddirnames run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:32 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:32 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:33.297380 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:33.297413 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:33 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:33 DEBUG : Looking for writers 2025/10/07 05:07:33 DEBUG : >WaitForWriters: --- FAIL: TestDirHandleReaddirnames (2.04s) === RUN TestDirMethods run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:34 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:34 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:35.315849 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:35.315882 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:35 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:35 DEBUG : Looking for writers 2025/10/07 05:07:35 DEBUG : >WaitForWriters: --- FAIL: TestDirMethods (2.00s) === RUN TestDirForgetAll run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:36 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:36 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:37.409122 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:37.409188 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:37 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:37 DEBUG : Looking for writers 2025/10/07 05:07:37 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetAll (2.10s) === RUN TestDirForgetPath run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:38 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:38 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:39.449094 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:39.449123 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:39 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:39 DEBUG : Looking for writers 2025/10/07 05:07:39 DEBUG : >WaitForWriters: --- FAIL: TestDirForgetPath (2.05s) === RUN TestDirWalk run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:40 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:40 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:41.587668 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:41.587746 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:41 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:41 DEBUG : Looking for writers 2025/10/07 05:07:41 DEBUG : >WaitForWriters: --- FAIL: TestDirWalk (2.18s) === RUN TestDirSetModTime run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:42 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:42 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:43.704556 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:43.704587 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:43 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:43 DEBUG : Looking for writers 2025/10/07 05:07:43 DEBUG : >WaitForWriters: --- FAIL: TestDirSetModTime (2.09s) === RUN TestDirStat run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:44 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:44 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:45.827566 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:45.827610 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:45 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:45 DEBUG : Looking for writers 2025/10/07 05:07:45 DEBUG : >WaitForWriters: --- FAIL: TestDirStat (2.13s) === RUN TestDirReadDirAll run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:46 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:46 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:47.900026 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:47.900098 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:47 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:47 DEBUG : Looking for writers 2025/10/07 05:07:47 DEBUG : >WaitForWriters: --- FAIL: TestDirReadDirAll (2.10s) === RUN TestDirOpen run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:48 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:48 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:50.038788 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:50.038815 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:50 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:50 DEBUG : Looking for writers 2025/10/07 05:07:50 DEBUG : >WaitForWriters: --- FAIL: TestDirOpen (2.08s) === RUN TestDirCreate run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:50 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:50 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:52.094899 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:52.094918 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:52 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:52 DEBUG : Looking for writers 2025/10/07 05:07:52 DEBUG : >WaitForWriters: --- FAIL: TestDirCreate (2.10s) === RUN TestDirMkdir run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:52 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:52 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:54.197371 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:54.197662 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:54 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:54 DEBUG : Looking for writers 2025/10/07 05:07:54 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdir (2.08s) === RUN TestDirMkdirSub run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:55 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:55 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:56.444426 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:56.444457 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:56 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:56 DEBUG : Looking for writers 2025/10/07 05:07:56 DEBUG : >WaitForWriters: --- FAIL: TestDirMkdirSub (2.25s) === RUN TestDirRemove run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:57 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:57 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:07:58.534939 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:07:58.534960 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:07:58 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:07:58 DEBUG : Looking for writers 2025/10/07 05:07:58 DEBUG : >WaitForWriters: --- FAIL: TestDirRemove (2.11s) === RUN TestDirRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:07:59 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:07:59 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:00.589625 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:00.589660 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:00 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:00 DEBUG : Looking for writers 2025/10/07 05:08:00 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveAll (2.04s) === RUN TestDirRemoveName run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:01 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:01 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:02.678142 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:02.678174 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:02 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:02 DEBUG : Looking for writers 2025/10/07 05:08:02 DEBUG : >WaitForWriters: --- FAIL: TestDirRemoveName (2.11s) === RUN TestDirRename run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:03 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:03 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:04.836298 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:04.836333 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:04 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:04 DEBUG : Looking for writers 2025/10/07 05:08:04 DEBUG : >WaitForWriters: --- FAIL: TestDirRename (2.22s) === RUN TestDirFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:05 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:05 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:07.126607 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:07.126672 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:07 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:07 DEBUG : Looking for writers 2025/10/07 05:08:07 DEBUG : >WaitForWriters: --- FAIL: TestDirFileOpen (2.21s) === RUN TestDirMetadataExtension run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:08 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:08 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:09.339556 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:09.339615 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:09 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:09 DEBUG : Looking for writers 2025/10/07 05:08:09 DEBUG : >WaitForWriters: --- FAIL: TestDirMetadataExtension (2.20s) === RUN TestFileMethods run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:10 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:10 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:11.461467 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:11.461534 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:11 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:11 DEBUG : Looking for writers 2025/10/07 05:08:11 DEBUG : >WaitForWriters: --- FAIL: TestFileMethods (2.14s) === RUN TestFileSetModTime === RUN TestFileSetModTime/cache=off,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:12 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:12 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:13.609420 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:13.609455 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:13 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:13 DEBUG : Looking for writers 2025/10/07 05:08:13 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:14 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:14 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:15.787922 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:15.787965 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:15 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:15 DEBUG : Looking for writers 2025/10/07 05:08:15 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=off,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:16 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:16 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:17.968082 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:17.968137 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:17 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:17 DEBUG : Looking for writers 2025/10/07 05:08:17 DEBUG : >WaitForWriters: === RUN TestFileSetModTime/cache=full,open=false,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:18 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:18 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:08:18 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:18 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:18 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:08:20.089332 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:20.089384 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:20 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:20 DEBUG : Looking for writers 2025/10/07 05:08:20 DEBUG : >WaitForWriters: 2025/10/07 05:08:20 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=false run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:21 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:21 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:08:21 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:21 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:21 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:21 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:21 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:21 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:08:22.284363 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:22.284402 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:22 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:22 DEBUG : Looking for writers 2025/10/07 05:08:22 DEBUG : >WaitForWriters: 2025/10/07 05:08:22 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting === RUN TestFileSetModTime/cache=full,open=true,write=true run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:23 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:23 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:08:23 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:23 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:23 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:23 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:23 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:23 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:08:24.370209 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:24.370243 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:24 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:24 DEBUG : Looking for writers 2025/10/07 05:08:24 DEBUG : >WaitForWriters: 2025/10/07 05:08:24 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestFileSetModTime (12.90s) --- FAIL: TestFileSetModTime/cache=off,open=false,write=false (2.12s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=false (2.22s) --- FAIL: TestFileSetModTime/cache=off,open=true,write=true (2.13s) --- FAIL: TestFileSetModTime/cache=full,open=false,write=false (2.19s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=false (2.11s) --- FAIL: TestFileSetModTime/cache=full,open=true,write=true (2.12s) === RUN TestFileOpenRead run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:25 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:25 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:26.457219 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:26.457296 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:26 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:26 DEBUG : Looking for writers 2025/10/07 05:08:26 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenRead (2.10s) === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:27 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:27 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:28.549590 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:28.549640 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:28 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:28 DEBUG : Looking for writers 2025/10/07 05:08:28 DEBUG : >WaitForWriters: --- FAIL: TestFileOpenWrite (2.10s) === RUN TestFileRemove run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:29 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:29 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:30.686217 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:30.686256 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:30 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:30 DEBUG : Looking for writers 2025/10/07 05:08:30 DEBUG : >WaitForWriters: --- FAIL: TestFileRemove (2.13s) === RUN TestFileRemoveAll run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:31 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:31 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:32.787023 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:32.787058 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:32 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:32 DEBUG : Looking for writers 2025/10/07 05:08:32 DEBUG : >WaitForWriters: --- FAIL: TestFileRemoveAll (2.26s) === RUN TestFileOpen run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:33 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:33 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:35.051287 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:35.051337 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:35 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:35 DEBUG : Looking for writers 2025/10/07 05:08:35 DEBUG : >WaitForWriters: --- FAIL: TestFileOpen (2.09s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:35 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:35 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:37.161675 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:37.161776 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:37 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:37 DEBUG : Looking for writers 2025/10/07 05:08:37 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:38 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:38 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:38 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:08:38 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:38 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:38 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:38 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:38 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:38 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:08:39.324558 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:39.324597 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:39 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:39 DEBUG : Looking for writers 2025/10/07 05:08:39 DEBUG : >WaitForWriters: 2025/10/07 05:08:39 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:40 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:40 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:40 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:08:40 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:40 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:40 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:40 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:40 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:40 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:08:41.505639 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:41.505672 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:41 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:41 DEBUG : Looking for writers 2025/10/07 05:08:41 DEBUG : >WaitForWriters: 2025/10/07 05:08:41 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:42 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:42 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:08:42 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:42 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:42 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:42 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:42 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:42 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:08:43.653224 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:43.653257 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:43 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:43 DEBUG : Looking for writers 2025/10/07 05:08:43 DEBUG : >WaitForWriters: 2025/10/07 05:08:43 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:44 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:44 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:08:44 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:44 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:44 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:44 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:44 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:44 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:08:45.857416 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:45.857455 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:45 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:45 DEBUG : Looking for writers 2025/10/07 05:08:45 DEBUG : >WaitForWriters: 2025/10/07 05:08:45 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:46 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:46 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:08:46 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:46 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:46 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:46 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:46 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:46 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:08:48.008216 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:48.008259 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:48 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:48 DEBUG : Looking for writers 2025/10/07 05:08:48 DEBUG : >WaitForWriters: 2025/10/07 05:08:48 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestFileRename (12.98s) --- FAIL: TestFileRename/off,forceCache=false (2.15s) --- FAIL: TestFileRename/minimal,forceCache=false (2.11s) --- FAIL: TestFileRename/minimal,forceCache=true (2.16s) --- FAIL: TestFileRename/writes,forceCache=false (2.19s) --- FAIL: TestFileRename/writes,forceCache=true (2.19s) --- FAIL: TestFileRename/full,forceCache=false (2.17s) === RUN TestReadFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:48 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:48 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:50.245879 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:50.245915 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:50 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:50 DEBUG : Looking for writers 2025/10/07 05:08:50 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleMethods (2.18s) === RUN TestReadFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:51 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:51 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:52.406980 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:52.407016 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:52 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:52 DEBUG : Looking for writers 2025/10/07 05:08:52 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleSeek (2.19s) === RUN TestReadFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:53 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:53 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:54.540150 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:54.540197 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:54 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:54 DEBUG : Looking for writers 2025/10/07 05:08:54 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleReadAt (2.15s) === RUN TestReadFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:55 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:55 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:56.661776 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:56.661819 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:56 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:56 DEBUG : Looking for writers 2025/10/07 05:08:56 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleFlush (2.07s) === RUN TestReadFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:57 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:57 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:08:58.740670 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:08:58.740701 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:08:58 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:08:58 DEBUG : Looking for writers 2025/10/07 05:08:58 DEBUG : >WaitForWriters: --- FAIL: TestReadFileHandleRelease (2.13s) === RUN TestRWFileHandleMethodsRead run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:08:59 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:08:59 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:08:59 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:59 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:59 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:59 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:08:59 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:08:59 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:09:00.963442 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:09:00.963479 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:09:00 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:09:00 DEBUG : Looking for writers 2025/10/07 05:09:00 DEBUG : >WaitForWriters: 2025/10/07 05:09:00 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsRead (2.20s) === RUN TestRWFileHandleSeek run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:09:01 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:09:01 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:09:01 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:01 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:09:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:01 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:01 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:09:01 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:01 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:09:03.066192 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:09:03.066229 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:09:03 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:09:03 DEBUG : Looking for writers 2025/10/07 05:09:03 DEBUG : >WaitForWriters: 2025/10/07 05:09:03 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSeek (2.13s) === RUN TestRWFileHandleReadAt run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:09:03 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:09:03 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:09:03 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:03 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:09:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:03 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:03 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:09:03 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:03 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:09:05.215762 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:09:05.215798 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:09:05 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:09:05 DEBUG : Looking for writers 2025/10/07 05:09:05 DEBUG : >WaitForWriters: 2025/10/07 05:09:05 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReadAt (2.11s) === RUN TestRWFileHandleFlushRead run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:09:06 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:09:06 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:09:06 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:06 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:09:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:06 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:06 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:09:06 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:06 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:09:07.261326 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:09:07.261354 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:09:07 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:09:07 DEBUG : Looking for writers 2025/10/07 05:09:07 DEBUG : >WaitForWriters: 2025/10/07 05:09:07 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleFlushRead (2.12s) === RUN TestRWFileHandleReleaseRead run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:09:08 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:09:08 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:09:08 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:08 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:09:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:08 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:08 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:09:08 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:08 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:09:09.487514 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:09:09.487558 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:09:09 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:09:09 DEBUG : Looking for writers 2025/10/07 05:09:09 DEBUG : >WaitForWriters: 2025/10/07 05:09:09 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleReleaseRead (2.16s) === RUN TestRWFileHandleMethodsWrite run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:09:10 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:09:10 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:09:10 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:10 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:09:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:10 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:10 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:09:10 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:09:10 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:09:10 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:09:10 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:09:10 DEBUG : file1: newRWFileHandle: 2025/10/07 05:09:10 DEBUG : file1(0xc000999240): openPending: 2025/10/07 05:09:10 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/07 05:09:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:09:10 DEBUG : file1(0xc000999240): >openPending: err= 2025/10/07 05:09:10 DEBUG : file1: >newRWFileHandle: err= 2025/10/07 05:09:10 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:09:10 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/07 05:09:10 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/07 05:09:10 DEBUG : file1(0xc000999240): _writeAt: size=5, off=0 2025/10/07 05:09:10 DEBUG : file1(0xc000999240): >_writeAt: n=5, err= 2025/10/07 05:09:10 DEBUG : file1(0xc000999240): _writeAt: size=7, off=5 2025/10/07 05:09:10 DEBUG : file1(0xc000999240): >_writeAt: n=7, err= 2025/10/07 05:09:10 DEBUG : file1: vfs cache: truncate to size=11 2025/10/07 05:09:10 DEBUG : file1(0xc000999240): close: 2025/10/07 05:09:10 DEBUG : file1: vfs cache: setting modification time to 2025-10-07 05:09:10.582532542 +0000 UTC m=+104.628638700 2025/10/07 05:09:10 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/07 05:09:10 DEBUG : file1(0xc000999240): >close: err= 2025/10/07 05:09:10 DEBUG : file1(0xc000999240): close: 2025/10/07 05:09:10 DEBUG : file1(0xc000999240): >close: err=file already closed 2025/10/07 05:09:10 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:09:10 DEBUG : Looking for writers 2025/10/07 05:09:10 DEBUG : file1: reading active writers 2025/10/07 05:09:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/07 05:09:10 DEBUG : Looking for writers 2025/10/07 05:09:10 DEBUG : file1: reading active writers 2025/10/07 05:09:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/07 05:09:10 DEBUG : Looking for writers 2025/10/07 05:09:10 DEBUG : file1: reading active writers 2025/10/07 05:09:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/07 05:09:10 DEBUG : Looking for writers 2025/10/07 05:09:10 DEBUG : file1: reading active writers 2025/10/07 05:09:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/07 05:09:10 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:09:10 DEBUG : Looking for writers 2025/10/07 05:09:10 DEBUG : file1: reading active writers 2025/10/07 05:09:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/07 05:09:10 DEBUG : Looking for writers 2025/10/07 05:09:10 DEBUG : file1: reading active writers 2025/10/07 05:09:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/07 05:09:11 DEBUG : Looking for writers 2025/10/07 05:09:11 DEBUG : file1: reading active writers 2025/10/07 05:09:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/07 05:09:11 DEBUG : Looking for writers 2025/10/07 05:09:11 DEBUG : file1: reading active writers 2025/10/07 05:09:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:12.025157 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:09:12.025196 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:09:12 ERROR : file1: Failed to copy: 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:09:12 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/07 05:09:12 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:09:12.689745 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/07 05:09:12.689782 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/07 05:09:12 DEBUG : Looking for writers 2025/10/07 05:09:12 DEBUG : file1: reading active writers 2025/10/07 05:09:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:13 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:09:13 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/07 05:09:13 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:09:13 DEBUG : Looking for writers 2025/10/07 05:09:13 DEBUG : file1: reading active writers 2025/10/07 05:09:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:14.542776 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/07 05:09:14.542812 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/07 05:09:14 DEBUG : Looking for writers 2025/10/07 05:09:14 DEBUG : file1: reading active writers 2025/10/07 05:09:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:15 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:09:15 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/07 05:09:15 DEBUG : Looking for writers 2025/10/07 05:09:15 DEBUG : file1: reading active writers 2025/10/07 05:09:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:16 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:09:16.630611 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/07 05:09:16.630654 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/07 05:09:16 DEBUG : Looking for writers 2025/10/07 05:09:16 DEBUG : file1: reading active writers 2025/10/07 05:09:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:17 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:09:17 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/07 05:09:17 DEBUG : Looking for writers 2025/10/07 05:09:17 DEBUG : file1: reading active writers 2025/10/07 05:09:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:18 DEBUG : Looking for writers 2025/10/07 05:09:18 DEBUG : file1: reading active writers 2025/10/07 05:09:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:18 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:09:19.463452 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/07 05:09:19.463473 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/07 05:09:19 DEBUG : Looking for writers 2025/10/07 05:09:19 DEBUG : file1: reading active writers 2025/10/07 05:09:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09: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/07 05:09:20 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:09:20 DEBUG : Looking for writers 2025/10/07 05:09:20 DEBUG : file1: reading active writers 2025/10/07 05:09:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:21 DEBUG : Looking for writers 2025/10/07 05:09:21 DEBUG : file1: reading active writers 2025/10/07 05:09:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:22 DEBUG : Looking for writers 2025/10/07 05:09:22 DEBUG : file1: reading active writers 2025/10/07 05:09:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:23 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:09:23.765591 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/07 05:09:23.765646 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/07 05:09:23 DEBUG : Looking for writers 2025/10/07 05:09:23 DEBUG : file1: reading active writers 2025/10/07 05:09:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09: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/07 05:09:24 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/07 05:09:24 DEBUG : Looking for writers 2025/10/07 05:09:24 DEBUG : file1: reading active writers 2025/10/07 05:09:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:25 DEBUG : Looking for writers 2025/10/07 05:09:25 DEBUG : file1: reading active writers 2025/10/07 05:09:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:26 DEBUG : Looking for writers 2025/10/07 05:09:26 DEBUG : file1: reading active writers 2025/10/07 05:09:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:27 DEBUG : Looking for writers 2025/10/07 05:09:27 DEBUG : file1: reading active writers 2025/10/07 05:09:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:28 DEBUG : Looking for writers 2025/10/07 05:09:28 DEBUG : file1: reading active writers 2025/10/07 05:09:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:29 DEBUG : Looking for writers 2025/10/07 05:09:29 DEBUG : file1: reading active writers 2025/10/07 05:09:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:30 DEBUG : Looking for writers 2025/10/07 05:09:30 DEBUG : file1: reading active writers 2025/10/07 05:09:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:30 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:09:31.290842 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/07 05:09:31.290885 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/07 05:09:31 DEBUG : Looking for writers 2025/10/07 05:09:31 DEBUG : file1: reading active writers 2025/10/07 05:09:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:31 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:09:31 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/07 05:09:32 DEBUG : Looking for writers 2025/10/07 05:09:32 DEBUG : file1: reading active writers 2025/10/07 05:09:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:33 DEBUG : Looking for writers 2025/10/07 05:09:33 DEBUG : file1: reading active writers 2025/10/07 05:09:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:34 DEBUG : Looking for writers 2025/10/07 05:09:34 DEBUG : file1: reading active writers 2025/10/07 05:09:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:35 DEBUG : Looking for writers 2025/10/07 05:09:35 DEBUG : file1: reading active writers 2025/10/07 05:09:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:36 DEBUG : Looking for writers 2025/10/07 05:09:36 DEBUG : file1: reading active writers 2025/10/07 05:09:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:37 DEBUG : Looking for writers 2025/10/07 05:09:37 DEBUG : file1: reading active writers 2025/10/07 05:09:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:38 DEBUG : Looking for writers 2025/10/07 05:09:38 DEBUG : file1: reading active writers 2025/10/07 05:09:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:39 DEBUG : Looking for writers 2025/10/07 05:09:39 DEBUG : file1: reading active writers 2025/10/07 05:09:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:09:40 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000804780 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00092c608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824643339840} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993042472875900350 ext:104628638700 loc:0x4135660} ATime:{wall:13993042472875930697 ext:104628669047 loc:0x4135660} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/07 05:09:40 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/07 05:09:44 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:10:10 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 05:10:10 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/07 05:11:10 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 05:11:10 INFO : proton drive root link ID 'rclone-test-rusagis7pede': 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/07 05:11:42.375529 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/07 05:11:42.375559 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/07 05:11: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/07 05:11: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/07 05:12:08 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:12:10 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 05:12:10 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/07 05:13:10 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 05:13:10 INFO : proton drive root link ID 'rclone-test-rusagis7pede': 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/07 05:13:25.529865 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/07 05:13:25.529897 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/07 05:13: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/07 05:13:26 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/07 05:13:29 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:13:29 DEBUG : Looking for writers 2025/10/07 05:13:29 DEBUG : file1: reading active writers 2025/10/07 05:13:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/07 05:13:29 DEBUG : Looking for writers 2025/10/07 05:13:29 DEBUG : file1: reading active writers 2025/10/07 05:13:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/07 05:13:29 DEBUG : Looking for writers 2025/10/07 05:13:29 DEBUG : file1: reading active writers 2025/10/07 05:13:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/07 05:13:29 DEBUG : Looking for writers 2025/10/07 05:13:29 DEBUG : file1: reading active writers 2025/10/07 05:13:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/07 05:13:29 DEBUG : Looking for writers 2025/10/07 05:13:29 DEBUG : file1: reading active writers 2025/10/07 05:13:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/07 05:13:29 DEBUG : Looking for writers 2025/10/07 05:13:29 DEBUG : file1: reading active writers 2025/10/07 05:13:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/07 05:13:29 DEBUG : Looking for writers 2025/10/07 05:13:29 DEBUG : file1: reading active writers 2025/10/07 05:13:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/07 05:13:30 DEBUG : Looking for writers 2025/10/07 05:13:30 DEBUG : file1: reading active writers 2025/10/07 05:13:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:31 DEBUG : Looking for writers 2025/10/07 05:13:31 DEBUG : file1: reading active writers 2025/10/07 05:13:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:32 DEBUG : Looking for writers 2025/10/07 05:13:32 DEBUG : file1: reading active writers 2025/10/07 05:13:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:33 DEBUG : Looking for writers 2025/10/07 05:13:33 DEBUG : file1: reading active writers 2025/10/07 05:13:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:34 DEBUG : Looking for writers 2025/10/07 05:13:34 DEBUG : file1: reading active writers 2025/10/07 05:13:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:35 DEBUG : Looking for writers 2025/10/07 05:13:35 DEBUG : file1: reading active writers 2025/10/07 05:13:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:36 DEBUG : Looking for writers 2025/10/07 05:13:36 DEBUG : file1: reading active writers 2025/10/07 05:13:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:37 DEBUG : Looking for writers 2025/10/07 05:13:37 DEBUG : file1: reading active writers 2025/10/07 05:13:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:38 DEBUG : Looking for writers 2025/10/07 05:13:38 DEBUG : file1: reading active writers 2025/10/07 05:13:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:39 DEBUG : Looking for writers 2025/10/07 05:13:39 DEBUG : file1: reading active writers 2025/10/07 05:13:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:40 DEBUG : Looking for writers 2025/10/07 05:13:40 DEBUG : file1: reading active writers 2025/10/07 05:13:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:41 DEBUG : Looking for writers 2025/10/07 05:13:41 DEBUG : file1: reading active writers 2025/10/07 05:13:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:42 DEBUG : Looking for writers 2025/10/07 05:13:42 DEBUG : file1: reading active writers 2025/10/07 05:13:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:43 DEBUG : Looking for writers 2025/10/07 05:13:43 DEBUG : file1: reading active writers 2025/10/07 05:13:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:44 DEBUG : Looking for writers 2025/10/07 05:13:44 DEBUG : file1: reading active writers 2025/10/07 05:13:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:45 DEBUG : Looking for writers 2025/10/07 05:13:45 DEBUG : file1: reading active writers 2025/10/07 05:13:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:46 DEBUG : Looking for writers 2025/10/07 05:13:46 DEBUG : file1: reading active writers 2025/10/07 05:13:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:47 DEBUG : Looking for writers 2025/10/07 05:13:47 DEBUG : file1: reading active writers 2025/10/07 05:13:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:48 DEBUG : Looking for writers 2025/10/07 05:13:48 DEBUG : file1: reading active writers 2025/10/07 05:13:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:49 DEBUG : Looking for writers 2025/10/07 05:13:49 DEBUG : file1: reading active writers 2025/10/07 05:13:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:50 DEBUG : Looking for writers 2025/10/07 05:13:50 DEBUG : file1: reading active writers 2025/10/07 05:13:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:51 DEBUG : Looking for writers 2025/10/07 05:13:51 DEBUG : file1: reading active writers 2025/10/07 05:13:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:52 DEBUG : Looking for writers 2025/10/07 05:13:52 DEBUG : file1: reading active writers 2025/10/07 05:13:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:53 DEBUG : Looking for writers 2025/10/07 05:13:53 DEBUG : file1: reading active writers 2025/10/07 05:13:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:54 DEBUG : Looking for writers 2025/10/07 05:13:54 DEBUG : file1: reading active writers 2025/10/07 05:13:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:55 DEBUG : Looking for writers 2025/10/07 05:13:55 DEBUG : file1: reading active writers 2025/10/07 05:13:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:56 DEBUG : Looking for writers 2025/10/07 05:13:56 DEBUG : file1: reading active writers 2025/10/07 05:13:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:57 DEBUG : Looking for writers 2025/10/07 05:13:57 DEBUG : file1: reading active writers 2025/10/07 05:13:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:58 DEBUG : Looking for writers 2025/10/07 05:13:58 DEBUG : file1: reading active writers 2025/10/07 05:13:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:13:59 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc000804780 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00092c608 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824643339840} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993042472875900350 ext:104628638700 loc:0x4135660} ATime:{wall:13993042472875930697 ext:104628669047 loc:0x4135660} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/07 05:13:59 DEBUG : >WaitForWriters: 2025/10/07 05:13:59 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleMethodsWrite (390.70s) === RUN TestRWFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:15:41 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:15:41 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:15:41 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:15:41 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:15:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:15:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:15:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:15:41 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:15:41 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:15:41 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:15:41 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:15:41 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:15:41 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:15:41 DEBUG : file1: newRWFileHandle: 2025/10/07 05:15:41 DEBUG : file1(0xc00090c700): openPending: 2025/10/07 05:15:41 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/07 05:15:41 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:15:41 DEBUG : file1(0xc00090c700): >openPending: err= 2025/10/07 05:15:41 DEBUG : file1: >newRWFileHandle: err= 2025/10/07 05:15:41 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:15:41 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/07 05:15:41 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/07 05:15:41 DEBUG : file1(0xc00090c700): _writeAt: size=7, off=0 2025/10/07 05:15:41 DEBUG : file1(0xc00090c700): >_writeAt: n=7, err= 2025/10/07 05:15:41 DEBUG : file1(0xc00090c700): _writeAt: size=6, off=5 2025/10/07 05:15:41 DEBUG : file1(0xc00090c700): >_writeAt: n=6, err= 2025/10/07 05:15:41 DEBUG : file1(0xc00090c700): close: 2025/10/07 05:15:41 DEBUG : file1: vfs cache: setting modification time to 2025-10-07 05:15:41.434077351 +0000 UTC m=+495.480183508 2025/10/07 05:15:41 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/07 05:15:41 DEBUG : file1(0xc00090c700): >close: err= 2025/10/07 05:15:41 DEBUG : file1(0xc00090c700): _writeAt: size=5, off=0 2025/10/07 05:15:41 DEBUG : file1(0xc00090c700): >_writeAt: n=0, err=file already closed 2025/10/07 05:15:41 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:15:41 DEBUG : Looking for writers 2025/10/07 05:15:41 DEBUG : file1: reading active writers 2025/10/07 05:15:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/07 05:15:41 DEBUG : Looking for writers 2025/10/07 05:15:41 DEBUG : file1: reading active writers 2025/10/07 05:15:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/07 05:15:41 DEBUG : Looking for writers 2025/10/07 05:15:41 DEBUG : file1: reading active writers 2025/10/07 05:15:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/07 05:15:41 DEBUG : Looking for writers 2025/10/07 05:15:41 DEBUG : file1: reading active writers 2025/10/07 05:15:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/07 05:15:41 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:15:41 DEBUG : Looking for writers 2025/10/07 05:15:41 DEBUG : file1: reading active writers 2025/10/07 05:15:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/07 05:15:41 DEBUG : Looking for writers 2025/10/07 05:15:41 DEBUG : file1: reading active writers 2025/10/07 05:15:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/07 05:15:41.984618 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/07 05:15:41.984668 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/07 05:15:42 DEBUG : Looking for writers 2025/10/07 05:15:42 DEBUG : file1: reading active writers 2025/10/07 05:15:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/07 05:15:42 DEBUG : Looking for writers 2025/10/07 05:15:42 DEBUG : file1: reading active writers 2025/10/07 05:15:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15: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/07 05:15:42 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/07 05:15:42 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:15:43.344061 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/07 05:15:43.344101 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/07 05:15:43 DEBUG : Looking for writers 2025/10/07 05:15:43 DEBUG : file1: reading active writers 2025/10/07 05:15:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:44 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:15:44 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/07 05:15:44 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:15:44 DEBUG : Looking for writers 2025/10/07 05:15:44 DEBUG : file1: reading active writers 2025/10/07 05:15:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:44.877653 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/07 05:15:44.877699 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/07 05:15: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/07 05:15:45 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/07 05:15:45 DEBUG : Looking for writers 2025/10/07 05:15:45 DEBUG : file1: reading active writers 2025/10/07 05:15:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:46 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:15:46 DEBUG : Looking for writers 2025/10/07 05:15:46 DEBUG : file1: reading active writers 2025/10/07 05:15:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:46.766639 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/07 05:15:46.766672 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/07 05:15:47 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:15:47 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/07 05:15:47 DEBUG : Looking for writers 2025/10/07 05:15:47 DEBUG : file1: reading active writers 2025/10/07 05:15:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:48 DEBUG : Looking for writers 2025/10/07 05:15:48 DEBUG : file1: reading active writers 2025/10/07 05:15:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:49 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:15:49.449290 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/07 05:15:49.449327 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/07 05:15:49 DEBUG : Looking for writers 2025/10/07 05:15:49 DEBUG : file1: reading active writers 2025/10/07 05:15:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:50 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:15:50 ERROR : file1: vfs cache: failed to upload try #5, will retry in 3.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:15:50 DEBUG : Looking for writers 2025/10/07 05:15:50 DEBUG : file1: reading active writers 2025/10/07 05:15:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:51 DEBUG : Looking for writers 2025/10/07 05:15:51 DEBUG : file1: reading active writers 2025/10/07 05:15:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:52 DEBUG : Looking for writers 2025/10/07 05:15:52 DEBUG : file1: reading active writers 2025/10/07 05:15:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:53 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:15:53 DEBUG : Looking for writers 2025/10/07 05:15:53 DEBUG : file1: reading active writers 2025/10/07 05:15:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:53.885434 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/07 05:15:53.885466 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/07 05:15:54 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:15:54 ERROR : file1: vfs cache: failed to upload try #6, will retry in 6.4s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:15:54 DEBUG : Looking for writers 2025/10/07 05:15:54 DEBUG : file1: reading active writers 2025/10/07 05:15:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:55 DEBUG : Looking for writers 2025/10/07 05:15:55 DEBUG : file1: reading active writers 2025/10/07 05:15:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:56 DEBUG : Looking for writers 2025/10/07 05:15:56 DEBUG : file1: reading active writers 2025/10/07 05:15:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:57 DEBUG : Looking for writers 2025/10/07 05:15:57 DEBUG : file1: reading active writers 2025/10/07 05:15:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:58 DEBUG : Looking for writers 2025/10/07 05:15:58 DEBUG : file1: reading active writers 2025/10/07 05:15:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:15:59 DEBUG : Looking for writers 2025/10/07 05:15:59 DEBUG : file1: reading active writers 2025/10/07 05:15:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:16:00 DEBUG : Looking for writers 2025/10/07 05:16:00 DEBUG : file1: reading active writers 2025/10/07 05:16:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:16:01 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:16:01.440169 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/07 05:16:01.440207 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/07 05:16:01 DEBUG : Looking for writers 2025/10/07 05:16:01 DEBUG : file1: reading active writers 2025/10/07 05:16:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:16: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/07 05:16:02 ERROR : file1: vfs cache: failed to upload try #7, will retry in 12.8s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:16:02 DEBUG : Looking for writers 2025/10/07 05:16:02 DEBUG : file1: reading active writers 2025/10/07 05:16:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:16:03 DEBUG : Looking for writers 2025/10/07 05:16:03 DEBUG : file1: reading active writers 2025/10/07 05:16:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:16:04 DEBUG : Looking for writers 2025/10/07 05:16:04 DEBUG : file1: reading active writers 2025/10/07 05:16:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:16:05 DEBUG : Looking for writers 2025/10/07 05:16:05 DEBUG : file1: reading active writers 2025/10/07 05:16:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:16:06 DEBUG : Looking for writers 2025/10/07 05:16:06 DEBUG : file1: reading active writers 2025/10/07 05:16:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:16:07 DEBUG : Looking for writers 2025/10/07 05:16:07 DEBUG : file1: reading active writers 2025/10/07 05:16:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:16:08 DEBUG : Looking for writers 2025/10/07 05:16:08 DEBUG : file1: reading active writers 2025/10/07 05:16:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:16:09 DEBUG : Looking for writers 2025/10/07 05:16:09 DEBUG : file1: reading active writers 2025/10/07 05:16:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:16:10 DEBUG : Looking for writers 2025/10/07 05:16:10 DEBUG : file1: reading active writers 2025/10/07 05:16:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:16:11 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0005bc780 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0005d2808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639825984} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993042892560498343 ext:495480183508 loc:0x4135660} ATime:{wall:13993042892560528459 ext:495480213635 loc:0x4135660} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/07 05:16:11 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/07 05:16:14 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:16:41 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 05:16:41 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/07 05:17:27 DEBUG : forgetting directory cache 2025/10/07 05:17:30 DEBUG : forgetting directory cache 2025/10/07 05:17:32 DEBUG : forgetting directory cache 2025/10/07 05:17:34 DEBUG : forgetting directory cache 2025/10/07 05:17:36 DEBUG : forgetting directory cache 2025/10/07 05:17:38 DEBUG : forgetting directory cache 2025/10/07 05:17:40 DEBUG : forgetting directory cache 2025/10/07 05:17:41 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 05:17:41 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/07 05:17:42 DEBUG : forgetting directory cache 2025/10/07 05:17:44 DEBUG : forgetting directory cache 2025/10/07 05:17:46 DEBUG : forgetting directory cache 2025/10/07 05:17:48 DEBUG : forgetting directory cache 2025/10/07 05:17:50 DEBUG : forgetting directory cache 2025/10/07 05:17:52 DEBUG : forgetting directory cache 2025/10/07 05:17:55 DEBUG : forgetting directory cache 2025/10/07 05:17:57 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 2025/10/07 05:17:58.124119 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/07 05:17:58.124150 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/07 05:17:58 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:17:58 ERROR : file1: vfs cache: failed to upload try #8, will retry in 25.6s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:17:59 DEBUG : forgetting directory cache fstest.go:301: Flushing the directory cache 2025/10/07 05:18:01 DEBUG : forgetting directory cache 2025/10/07 05:18:03 DEBUG : forgetting directory cache 2025/10/07 05:18:05 DEBUG : forgetting directory cache 2025/10/07 05:18:08 DEBUG : forgetting directory cache 2025/10/07 05:18:10 DEBUG : forgetting directory cache 2025/10/07 05:18:12 DEBUG : forgetting directory cache 2025/10/07 05:18:14 DEBUG : forgetting directory cache 2025/10/07 05:18:16 DEBUG : forgetting directory cache 2025/10/07 05:18:18 DEBUG : forgetting directory cache 2025/10/07 05:18:21 DEBUG : forgetting directory cache 2025/10/07 05:18:23 DEBUG : forgetting directory cache 2025/10/07 05:18:24 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:18:25 DEBUG : forgetting directory cache 2025/10/07 05:18:27 DEBUG : forgetting directory cache 2025/10/07 05:18:29 DEBUG : forgetting directory cache 2025/10/07 05:18:31 DEBUG : forgetting directory cache 2025/10/07 05:18:33 DEBUG : forgetting directory cache 2025/10/07 05:18:35 DEBUG : forgetting directory cache 2025/10/07 05:18:38 DEBUG : forgetting directory cache 2025/10/07 05:18:40 DEBUG : forgetting directory cache 2025/10/07 05:18:41 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 05:18:41 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 11 (was 11) 2025/10/07 05:18:42 DEBUG : forgetting directory cache 2025/10/07 05:18:44 DEBUG : forgetting directory cache 2025/10/07 05:18:46 DEBUG : forgetting directory cache 2025/10/07 05:18:48 DEBUG : forgetting directory cache 2025/10/07 05:18:51 DEBUG : forgetting directory cache 2025/10/07 05:18:53 DEBUG : forgetting directory cache 2025/10/07 05:18:55 DEBUG : forgetting directory cache 2025/10/07 05:18:57 DEBUG : forgetting directory cache 2025/10/07 05:18:59 DEBUG : forgetting directory cache 2025/10/07 05:19:01 DEBUG : forgetting directory cache 2025/10/07 05:19:03 DEBUG : forgetting directory cache 2025/10/07 05:19:06 DEBUG : forgetting directory cache 2025/10/07 05:19:08 DEBUG : forgetting directory cache 2025/10/07 05:19:10 DEBUG : forgetting directory cache 2025/10/07 05:19:41 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 05:19:41 INFO : proton drive root link ID 'rclone-test-rusagis7pede': 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/07 05:19:41.892733 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/07 05:19:41.892772 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/07 05:19: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/07 05:19:42 ERROR : file1: vfs cache: failed to upload try #9, will retry in 51.2s: vfs cache: failed to transfer file from cache to remote: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Should be true Test: TestRWFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:387 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteAt Messages: 1 objects not found 2025/10/07 05:19:45 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:19:45 DEBUG : Looking for writers 2025/10/07 05:19:45 DEBUG : file1: reading active writers 2025/10/07 05:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/07 05:19:45 DEBUG : Looking for writers 2025/10/07 05:19:45 DEBUG : file1: reading active writers 2025/10/07 05:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/07 05:19:45 DEBUG : Looking for writers 2025/10/07 05:19:45 DEBUG : file1: reading active writers 2025/10/07 05:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/07 05:19:45 DEBUG : Looking for writers 2025/10/07 05:19:45 DEBUG : file1: reading active writers 2025/10/07 05:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/07 05:19:45 DEBUG : Looking for writers 2025/10/07 05:19:45 DEBUG : file1: reading active writers 2025/10/07 05:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/07 05:19:45 DEBUG : Looking for writers 2025/10/07 05:19:45 DEBUG : file1: reading active writers 2025/10/07 05:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/07 05:19:46 DEBUG : Looking for writers 2025/10/07 05:19:46 DEBUG : file1: reading active writers 2025/10/07 05:19:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/07 05:19:46 DEBUG : Looking for writers 2025/10/07 05:19:46 DEBUG : file1: reading active writers 2025/10/07 05:19:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:47 DEBUG : Looking for writers 2025/10/07 05:19:47 DEBUG : file1: reading active writers 2025/10/07 05:19:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:48 DEBUG : Looking for writers 2025/10/07 05:19:48 DEBUG : file1: reading active writers 2025/10/07 05:19:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:49 DEBUG : Looking for writers 2025/10/07 05:19:49 DEBUG : file1: reading active writers 2025/10/07 05:19:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:50 DEBUG : Looking for writers 2025/10/07 05:19:50 DEBUG : file1: reading active writers 2025/10/07 05:19:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:51 DEBUG : Looking for writers 2025/10/07 05:19:51 DEBUG : file1: reading active writers 2025/10/07 05:19:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:52 DEBUG : Looking for writers 2025/10/07 05:19:52 DEBUG : file1: reading active writers 2025/10/07 05:19:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:53 DEBUG : Looking for writers 2025/10/07 05:19:53 DEBUG : file1: reading active writers 2025/10/07 05:19:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:54 DEBUG : Looking for writers 2025/10/07 05:19:54 DEBUG : file1: reading active writers 2025/10/07 05:19:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:55 DEBUG : Looking for writers 2025/10/07 05:19:55 DEBUG : file1: reading active writers 2025/10/07 05:19:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:56 DEBUG : Looking for writers 2025/10/07 05:19:56 DEBUG : file1: reading active writers 2025/10/07 05:19:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:57 DEBUG : Looking for writers 2025/10/07 05:19:57 DEBUG : file1: reading active writers 2025/10/07 05:19:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:58 DEBUG : Looking for writers 2025/10/07 05:19:58 DEBUG : file1: reading active writers 2025/10/07 05:19:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:19:59 DEBUG : Looking for writers 2025/10/07 05:19:59 DEBUG : file1: reading active writers 2025/10/07 05:19:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:00 DEBUG : Looking for writers 2025/10/07 05:20:00 DEBUG : file1: reading active writers 2025/10/07 05:20:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:01 DEBUG : Looking for writers 2025/10/07 05:20:01 DEBUG : file1: reading active writers 2025/10/07 05:20:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:02 DEBUG : Looking for writers 2025/10/07 05:20:02 DEBUG : file1: reading active writers 2025/10/07 05:20:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:03 DEBUG : Looking for writers 2025/10/07 05:20:03 DEBUG : file1: reading active writers 2025/10/07 05:20:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:04 DEBUG : Looking for writers 2025/10/07 05:20:04 DEBUG : file1: reading active writers 2025/10/07 05:20:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:05 DEBUG : Looking for writers 2025/10/07 05:20:05 DEBUG : file1: reading active writers 2025/10/07 05:20:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:06 DEBUG : Looking for writers 2025/10/07 05:20:06 DEBUG : file1: reading active writers 2025/10/07 05:20:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:07 DEBUG : Looking for writers 2025/10/07 05:20:07 DEBUG : file1: reading active writers 2025/10/07 05:20:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:08 DEBUG : Looking for writers 2025/10/07 05:20:08 DEBUG : file1: reading active writers 2025/10/07 05:20:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:09 DEBUG : Looking for writers 2025/10/07 05:20:09 DEBUG : file1: reading active writers 2025/10/07 05:20:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:10 DEBUG : Looking for writers 2025/10/07 05:20:10 DEBUG : file1: reading active writers 2025/10/07 05:20:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:11 DEBUG : Looking for writers 2025/10/07 05:20:11 DEBUG : file1: reading active writers 2025/10/07 05:20:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:12 DEBUG : Looking for writers 2025/10/07 05:20:12 DEBUG : file1: reading active writers 2025/10/07 05:20:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:13 DEBUG : Looking for writers 2025/10/07 05:20:13 DEBUG : file1: reading active writers 2025/10/07 05:20:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:14 DEBUG : Looking for writers 2025/10/07 05:20:14 DEBUG : file1: reading active writers 2025/10/07 05:20:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:20:15 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0005bc780 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0005d2808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824639825984} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993042892560498343 ext:495480183508 loc:0x4135660} ATime:{wall:13993042892560528459 ext:495480213635 loc:0x4135660} Size:11 Rs:[{Pos:0 Size:11}] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/07 05:20:15 DEBUG : >WaitForWriters: 2025/10/07 05:20:15 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteAt (377.17s) === RUN TestRWFileHandleWriteNoWrite run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:21:58 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:21:58 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:21:58 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:21:58 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:21:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:21:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:21:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:21:58 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:21:58 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:21:58 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:21:58 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:21:58 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:21:58 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:21:58 DEBUG : file1: newRWFileHandle: 2025/10/07 05:21:58 DEBUG : file1(0xc00694a580): openPending: 2025/10/07 05:21:58 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/07 05:21:58 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:21:58 DEBUG : file1(0xc00694a580): >openPending: err= 2025/10/07 05:21:58 DEBUG : file1: >newRWFileHandle: err= 2025/10/07 05:21:58 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:21:58 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/07 05:21:58 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/07 05:21:58 DEBUG : file1(0xc00694a580): close: 2025/10/07 05:21:58 DEBUG : file1: vfs cache: setting modification time to 2025-10-07 05:21:58.440691692 +0000 UTC m=+872.486797851 2025/10/07 05:21:58 INFO : file1: vfs cache: queuing for upload in 100ms 2025/10/07 05:21:58 DEBUG : file1(0xc00694a580): >close: err= 2025/10/07 05:21:58 DEBUG : file2: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2025/10/07 05:21:58 DEBUG : file2: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2025/10/07 05:21:58 DEBUG : file2: newRWFileHandle: 2025/10/07 05:21:58 DEBUG : file2(0xc00694aa80): openPending: 2025/10/07 05:21:58 DEBUG : file2: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/07 05:21:58 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/07 05:21:58 DEBUG : file2(0xc00694aa80): >openPending: err= 2025/10/07 05:21:58 DEBUG : file2: >newRWFileHandle: err= 2025/10/07 05:21:58 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/07 05:21:58 DEBUG : file2: >Open: fd=file2 (rw), err= 2025/10/07 05:21:58 DEBUG : file2: >OpenFile: fd=file2 (rw), err= 2025/10/07 05:21:58 DEBUG : file2(0xc00694aa80): RWFileHandle.Flush 2025/10/07 05:21:58 DEBUG : file2(0xc00694aa80): RWFileHandle.Release 2025/10/07 05:21:58 DEBUG : file2(0xc00694aa80): close: 2025/10/07 05:21:58 DEBUG : file2: vfs cache: setting modification time to 2025-10-07 05:21:58.442344035 +0000 UTC m=+872.488450193 2025/10/07 05:21:58 INFO : file2: vfs cache: queuing for upload in 100ms 2025/10/07 05:21:58 DEBUG : file2(0xc00694aa80): >close: err= 2025/10/07 05:21:58 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:21:58 DEBUG : Looking for writers 2025/10/07 05:21:58 DEBUG : file1: reading active writers 2025/10/07 05:21:58 DEBUG : file2: reading active writers 2025/10/07 05:21:58 DEBUG : Still 0 writers active and 2 cache items in use, waiting 10ms 2025/10/07 05:21:58 DEBUG : Looking for writers 2025/10/07 05:21:58 DEBUG : file1: reading active writers 2025/10/07 05:21:58 DEBUG : file2: reading active writers 2025/10/07 05:21:58 DEBUG : Still 0 writers active and 2 cache items in use, waiting 20ms 2025/10/07 05:21:58 DEBUG : Looking for writers 2025/10/07 05:21:58 DEBUG : file2: reading active writers 2025/10/07 05:21:58 DEBUG : file1: reading active writers 2025/10/07 05:21:58 DEBUG : Still 0 writers active and 2 cache items in use, waiting 40ms 2025/10/07 05:21:58 DEBUG : Looking for writers 2025/10/07 05:21:58 DEBUG : file1: reading active writers 2025/10/07 05:21:58 DEBUG : file2: reading active writers 2025/10/07 05:21:58 DEBUG : Still 0 writers active and 2 cache items in use, waiting 80ms 2025/10/07 05:21:58 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:21:58 DEBUG : file2: vfs cache: starting upload 2025/10/07 05:21:58 DEBUG : Looking for writers 2025/10/07 05:21:58 DEBUG : file1: reading active writers 2025/10/07 05:21:58 DEBUG : file2: reading active writers 2025/10/07 05:21:58 DEBUG : Still 0 writers active and 2 cache items in use, waiting 160ms 2025/10/07 05:21:58 DEBUG : Looking for writers 2025/10/07 05:21:58 DEBUG : file1: reading active writers 2025/10/07 05:21:58 DEBUG : file2: reading active writers 2025/10/07 05:21:58 DEBUG : Still 0 writers active and 2 cache items in use, waiting 320ms 2025/10/07 05:21:58 DEBUG : file2: sha1 = da39a3ee5e6b4b0d3255bfef95601890afd80709 OK 2025/10/07 05:21:58 INFO : file2: Copied (new) 2025/10/07 05:21:58 DEBUG : file2: vfs cache: fingerprint now "0,2025-10-07 05:21:58.442344035 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709" 2025/10/07 05:21:58 DEBUG : file2: vfs cache: writeback object to VFS layer 2025/10/07 05:21:58 DEBUG : Added virtual directory entry vAddFile: "file2" 2025/10/07 05:21:58 INFO : file2: vfs cache: upload succeeded try #1 2025/10/07 05:21:58.958106 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/07 05:21:58.958146 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/07 05:21:59 DEBUG : Looking for writers 2025/10/07 05:21:59 DEBUG : file2: reading active writers 2025/10/07 05:21:59 DEBUG : file1: reading active writers 2025/10/07 05:21:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/07 05:21:59 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:21:59 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/07 05:21:59 DEBUG : Looking for writers 2025/10/07 05:21:59 DEBUG : file1: reading active writers 2025/10/07 05:21:59 DEBUG : file2: reading active writers 2025/10/07 05:21:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:21:59 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:22:00.252928 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/07 05:22:00.252998 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/07 05:22:00 DEBUG : Looking for writers 2025/10/07 05:22:00 DEBUG : file1: reading active writers 2025/10/07 05:22:00 DEBUG : file2: reading active writers 2025/10/07 05:22:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22: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/07 05:22:00 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/07 05:22:01 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:22:01 DEBUG : Looking for writers 2025/10/07 05:22:01 DEBUG : file1: reading active writers 2025/10/07 05:22:01 DEBUG : file2: reading active writers 2025/10/07 05:22:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:01.811843 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/07 05:22:01.811898 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/07 05:22: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/07 05:22:02 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/07 05:22:02 DEBUG : Looking for writers 2025/10/07 05:22:02 DEBUG : file1: reading active writers 2025/10/07 05:22:02 DEBUG : file2: reading active writers 2025/10/07 05:22:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:03 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:22:03 DEBUG : Looking for writers 2025/10/07 05:22:03 DEBUG : file1: reading active writers 2025/10/07 05:22:03 DEBUG : file2: reading active writers 2025/10/07 05:22:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:03.725917 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/07 05:22:03.725951 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/07 05:22: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/07 05:22:04 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/07 05:22:04 DEBUG : Looking for writers 2025/10/07 05:22:04 DEBUG : file1: reading active writers 2025/10/07 05:22:04 DEBUG : file2: reading active writers 2025/10/07 05:22:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:05 DEBUG : Looking for writers 2025/10/07 05:22:05 DEBUG : file1: reading active writers 2025/10/07 05:22:05 DEBUG : file2: reading active writers 2025/10/07 05:22:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:06 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:22:06.581764 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/07 05:22:06.581799 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/07 05:22:06 DEBUG : Looking for writers 2025/10/07 05:22:06 DEBUG : file1: reading active writers 2025/10/07 05:22:06 DEBUG : file2: reading active writers 2025/10/07 05:22:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:07 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:22:07 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/07 05:22:07 DEBUG : Looking for writers 2025/10/07 05:22:07 DEBUG : file1: reading active writers 2025/10/07 05:22:07 DEBUG : file2: reading active writers 2025/10/07 05:22:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:08 DEBUG : Looking for writers 2025/10/07 05:22:08 DEBUG : file1: reading active writers 2025/10/07 05:22:08 DEBUG : file2: reading active writers 2025/10/07 05:22:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:09 DEBUG : Looking for writers 2025/10/07 05:22:09 DEBUG : file1: reading active writers 2025/10/07 05:22:09 DEBUG : file2: reading active writers 2025/10/07 05:22:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:10 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:22:10 DEBUG : Looking for writers 2025/10/07 05:22:10 DEBUG : file1: reading active writers 2025/10/07 05:22:10 DEBUG : file2: reading active writers 2025/10/07 05:22:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:10.935841 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/07 05:22:10.935889 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/07 05:22:11 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/07 05:22:11 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/07 05:22:11 DEBUG : Looking for writers 2025/10/07 05:22:11 DEBUG : file1: reading active writers 2025/10/07 05:22:11 DEBUG : file2: reading active writers 2025/10/07 05:22:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:12 DEBUG : Looking for writers 2025/10/07 05:22:12 DEBUG : file1: reading active writers 2025/10/07 05:22:12 DEBUG : file2: reading active writers 2025/10/07 05:22:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:13 DEBUG : Looking for writers 2025/10/07 05:22:13 DEBUG : file1: reading active writers 2025/10/07 05:22:13 DEBUG : file2: reading active writers 2025/10/07 05:22:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:14 DEBUG : Looking for writers 2025/10/07 05:22:14 DEBUG : file1: reading active writers 2025/10/07 05:22:14 DEBUG : file2: reading active writers 2025/10/07 05:22:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:15 DEBUG : Looking for writers 2025/10/07 05:22:15 DEBUG : file1: reading active writers 2025/10/07 05:22:15 DEBUG : file2: reading active writers 2025/10/07 05:22:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:16 DEBUG : Looking for writers 2025/10/07 05:22:16 DEBUG : file1: reading active writers 2025/10/07 05:22:16 DEBUG : file2: reading active writers 2025/10/07 05:22:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:17 DEBUG : Looking for writers 2025/10/07 05:22:17 DEBUG : file1: reading active writers 2025/10/07 05:22:17 DEBUG : file2: reading active writers 2025/10/07 05:22:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:18 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:22:18.624890 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/07 05:22:18.625028 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/07 05:22:18 DEBUG : Looking for writers 2025/10/07 05:22:18 DEBUG : file1: reading active writers 2025/10/07 05:22:18 DEBUG : file2: reading active writers 2025/10/07 05:22:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:19 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:22:19 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/07 05:22:19 DEBUG : Looking for writers 2025/10/07 05:22:19 DEBUG : file1: reading active writers 2025/10/07 05:22:19 DEBUG : file2: reading active writers 2025/10/07 05:22:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:20 DEBUG : Looking for writers 2025/10/07 05:22:20 DEBUG : file1: reading active writers 2025/10/07 05:22:20 DEBUG : file2: reading active writers 2025/10/07 05:22:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:21 DEBUG : Looking for writers 2025/10/07 05:22:21 DEBUG : file1: reading active writers 2025/10/07 05:22:21 DEBUG : file2: reading active writers 2025/10/07 05:22:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:22 DEBUG : Looking for writers 2025/10/07 05:22:22 DEBUG : file1: reading active writers 2025/10/07 05:22:22 DEBUG : file2: reading active writers 2025/10/07 05:22:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:23 DEBUG : Looking for writers 2025/10/07 05:22:23 DEBUG : file2: reading active writers 2025/10/07 05:22:23 DEBUG : file1: reading active writers 2025/10/07 05:22:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:24 DEBUG : Looking for writers 2025/10/07 05:22:24 DEBUG : file2: reading active writers 2025/10/07 05:22:24 DEBUG : file1: reading active writers 2025/10/07 05:22:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:25 DEBUG : Looking for writers 2025/10/07 05:22:25 DEBUG : file1: reading active writers 2025/10/07 05:22:25 DEBUG : file2: reading active writers 2025/10/07 05:22:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:26 DEBUG : Looking for writers 2025/10/07 05:22:26 DEBUG : file1: reading active writers 2025/10/07 05:22:26 DEBUG : file2: reading active writers 2025/10/07 05:22:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:27 DEBUG : Looking for writers 2025/10/07 05:22:27 DEBUG : file1: reading active writers 2025/10/07 05:22:27 DEBUG : file2: reading active writers 2025/10/07 05:22:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:22:28 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0005bc870 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0083cc808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824771921984} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993043297367780332 ext:872486797851 loc:0x4135660} ATime:{wall:13993043297368146440 ext:872487163968 loc:0x4135660} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc0005bc870 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0083cc908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824771922240} name:file2 opens:0 downloaders: o:0xc0006ecd20 fd: info:{ModTime:{wall:13993043297369432675 ext:872488450193 loc:0x4135660} ATime:{wall:13993043297369756472 ext:872488774000 loc:0x4135660} Size:0 Rs:[] Fingerprint:0,2025-10-07 05:21:58.442344035 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/07 05:22:28 DEBUG : >WaitForWriters: fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/07 05:22:32 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:22:58 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 05:22:58 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/07 05:22:58 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/07 05:23:58 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 05:23:58 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/07 05:23:58 INFO : proton drive root link ID 'rclone-test-rusagis7pede': 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/07 05:24:14.327612 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/07 05:24:14.327658 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/07 05:24:15 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:24:15 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/07 05:24:40 DEBUG : file1: vfs cache: starting upload 2025/10/07 05:24:58 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 05:24:58 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/07 05:24:58 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 0, uploading 1, total size 0 (was 0) 2025/10/07 05:25:41 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/07 05:25:57.453564 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/07 05:25:57.453604 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/07 05:25:58 ERROR : file1: Failed to copy: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:25:58 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/07 05:25:58 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file1 not removed, freed 0 bytes 2025/10/07 05:25:58 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item file2 not removed, freed 0 bytes 2025/10/07 05:25:58 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 2 (was 2) in use 1, to upload 1, uploading 0, total size 0 (was 0) fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Should be true Test: TestRWFileHandleWriteNoWrite Messages: listing wrong, want file1 (0), file2 (0) got file2 (0) fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/read_write_test.go:420 Error: Not equal: expected: 0 actual : 1 Test: TestRWFileHandleWriteNoWrite Messages: 1 objects not found 2025/10/07 05:26:01 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:26:01 DEBUG : Looking for writers 2025/10/07 05:26:01 DEBUG : file1: reading active writers 2025/10/07 05:26:01 DEBUG : file2: reading active writers 2025/10/07 05:26:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2025/10/07 05:26:01 DEBUG : Looking for writers 2025/10/07 05:26:01 DEBUG : file2: reading active writers 2025/10/07 05:26:01 DEBUG : file1: reading active writers 2025/10/07 05:26:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2025/10/07 05:26:01 DEBUG : Looking for writers 2025/10/07 05:26:01 DEBUG : file1: reading active writers 2025/10/07 05:26:01 DEBUG : file2: reading active writers 2025/10/07 05:26:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2025/10/07 05:26:01 DEBUG : Looking for writers 2025/10/07 05:26:01 DEBUG : file1: reading active writers 2025/10/07 05:26:01 DEBUG : file2: reading active writers 2025/10/07 05:26:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2025/10/07 05:26:01 DEBUG : Looking for writers 2025/10/07 05:26:01 DEBUG : file1: reading active writers 2025/10/07 05:26:01 DEBUG : file2: reading active writers 2025/10/07 05:26:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2025/10/07 05:26:01 DEBUG : Looking for writers 2025/10/07 05:26:01 DEBUG : file1: reading active writers 2025/10/07 05:26:01 DEBUG : file2: reading active writers 2025/10/07 05:26:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2025/10/07 05:26:01 DEBUG : Looking for writers 2025/10/07 05:26:01 DEBUG : file1: reading active writers 2025/10/07 05:26:01 DEBUG : file2: reading active writers 2025/10/07 05:26:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2025/10/07 05:26:02 DEBUG : Looking for writers 2025/10/07 05:26:02 DEBUG : file1: reading active writers 2025/10/07 05:26:02 DEBUG : file2: reading active writers 2025/10/07 05:26:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:03 DEBUG : Looking for writers 2025/10/07 05:26:03 DEBUG : file1: reading active writers 2025/10/07 05:26:03 DEBUG : file2: reading active writers 2025/10/07 05:26:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:04 DEBUG : Looking for writers 2025/10/07 05:26:04 DEBUG : file1: reading active writers 2025/10/07 05:26:04 DEBUG : file2: reading active writers 2025/10/07 05:26:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:05 DEBUG : Looking for writers 2025/10/07 05:26:05 DEBUG : file1: reading active writers 2025/10/07 05:26:05 DEBUG : file2: reading active writers 2025/10/07 05:26:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:06 DEBUG : Looking for writers 2025/10/07 05:26:06 DEBUG : file1: reading active writers 2025/10/07 05:26:06 DEBUG : file2: reading active writers 2025/10/07 05:26:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:07 DEBUG : Looking for writers 2025/10/07 05:26:07 DEBUG : file1: reading active writers 2025/10/07 05:26:07 DEBUG : file2: reading active writers 2025/10/07 05:26:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:08 DEBUG : Looking for writers 2025/10/07 05:26:08 DEBUG : file1: reading active writers 2025/10/07 05:26:08 DEBUG : file2: reading active writers 2025/10/07 05:26:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:09 DEBUG : Looking for writers 2025/10/07 05:26:09 DEBUG : file1: reading active writers 2025/10/07 05:26:09 DEBUG : file2: reading active writers 2025/10/07 05:26:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:10 DEBUG : Looking for writers 2025/10/07 05:26:10 DEBUG : file1: reading active writers 2025/10/07 05:26:10 DEBUG : file2: reading active writers 2025/10/07 05:26:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:11 DEBUG : Looking for writers 2025/10/07 05:26:11 DEBUG : file1: reading active writers 2025/10/07 05:26:11 DEBUG : file2: reading active writers 2025/10/07 05:26:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:12 DEBUG : Looking for writers 2025/10/07 05:26:12 DEBUG : file1: reading active writers 2025/10/07 05:26:12 DEBUG : file2: reading active writers 2025/10/07 05:26:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:13 DEBUG : Looking for writers 2025/10/07 05:26:13 DEBUG : file1: reading active writers 2025/10/07 05:26:13 DEBUG : file2: reading active writers 2025/10/07 05:26:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:14 DEBUG : Looking for writers 2025/10/07 05:26:14 DEBUG : file1: reading active writers 2025/10/07 05:26:14 DEBUG : file2: reading active writers 2025/10/07 05:26:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:15 DEBUG : Looking for writers 2025/10/07 05:26:15 DEBUG : file1: reading active writers 2025/10/07 05:26:15 DEBUG : file2: reading active writers 2025/10/07 05:26:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:16 DEBUG : Looking for writers 2025/10/07 05:26:16 DEBUG : file1: reading active writers 2025/10/07 05:26:16 DEBUG : file2: reading active writers 2025/10/07 05:26:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:17 DEBUG : Looking for writers 2025/10/07 05:26:17 DEBUG : file1: reading active writers 2025/10/07 05:26:17 DEBUG : file2: reading active writers 2025/10/07 05:26:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:18 DEBUG : Looking for writers 2025/10/07 05:26:18 DEBUG : file1: reading active writers 2025/10/07 05:26:18 DEBUG : file2: reading active writers 2025/10/07 05:26:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:19 DEBUG : Looking for writers 2025/10/07 05:26:19 DEBUG : file1: reading active writers 2025/10/07 05:26:19 DEBUG : file2: reading active writers 2025/10/07 05:26:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:20 DEBUG : Looking for writers 2025/10/07 05:26:20 DEBUG : file1: reading active writers 2025/10/07 05:26:20 DEBUG : file2: reading active writers 2025/10/07 05:26:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:21 DEBUG : Looking for writers 2025/10/07 05:26:21 DEBUG : file1: reading active writers 2025/10/07 05:26:21 DEBUG : file2: reading active writers 2025/10/07 05:26:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:22 DEBUG : Looking for writers 2025/10/07 05:26:22 DEBUG : file1: reading active writers 2025/10/07 05:26:22 DEBUG : file2: reading active writers 2025/10/07 05:26:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:23 DEBUG : Looking for writers 2025/10/07 05:26:23 DEBUG : file1: reading active writers 2025/10/07 05:26:23 DEBUG : file2: reading active writers 2025/10/07 05:26:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:24 DEBUG : Looking for writers 2025/10/07 05:26:24 DEBUG : file1: reading active writers 2025/10/07 05:26:24 DEBUG : file2: reading active writers 2025/10/07 05:26:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:25 DEBUG : Looking for writers 2025/10/07 05:26:25 DEBUG : file1: reading active writers 2025/10/07 05:26:25 DEBUG : file2: reading active writers 2025/10/07 05:26:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:26 DEBUG : Looking for writers 2025/10/07 05:26:26 DEBUG : file1: reading active writers 2025/10/07 05:26:26 DEBUG : file2: reading active writers 2025/10/07 05:26:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:27 DEBUG : Looking for writers 2025/10/07 05:26:27 DEBUG : file1: reading active writers 2025/10/07 05:26:27 DEBUG : file2: reading active writers 2025/10/07 05:26:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:28 DEBUG : Looking for writers 2025/10/07 05:26:28 DEBUG : file1: reading active writers 2025/10/07 05:26:28 DEBUG : file2: reading active writers 2025/10/07 05:26:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:29 DEBUG : Looking for writers 2025/10/07 05:26:29 DEBUG : file2: reading active writers 2025/10/07 05:26:29 DEBUG : file1: reading active writers 2025/10/07 05:26:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:30 DEBUG : Looking for writers 2025/10/07 05:26:30 DEBUG : file1: reading active writers 2025/10/07 05:26:30 DEBUG : file2: reading active writers 2025/10/07 05:26:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:26:31 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc0005bc870 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0083cc808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824771921984} name:file1 opens:0 downloaders: o: fd: info:{ModTime:{wall:13993043297367780332 ext:872486797851 loc:0x4135660} ATime:{wall:13993043297368146440 ext:872487163968 loc:0x4135660} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, "file2": &{c:0xc0005bc870 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc0083cc908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824771922240} name:file2 opens:0 downloaders: o:0xc0006ecd20 fd: info:{ModTime:{wall:13993043297369432675 ext:872488450193 loc:0x4135660} ATime:{wall:13993043297369756472 ext:872488774000 loc:0x4135660} Size:0 Rs:[] Fingerprint:0,2025-10-07 05:21:58.442344035 +0000 UTC,da39a3ee5e6b4b0d3255bfef95601890afd80709 Dirty:false} writeBackID:2 pendingAccesses:0 modified:false beingReset:false}, } 2025/10/07 05:26:31 DEBUG : >WaitForWriters: 2025/10/07 05:26:31 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleWriteNoWrite (376.13s) === RUN TestRWFileHandleSizeTruncateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:28:14 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:28:14 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:28:14 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:14 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:28:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:14 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:14 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:28:14 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:14 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:28:15.811766 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:28:15.811813 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:28:15 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:28:15 DEBUG : Looking for writers 2025/10/07 05:28:15 DEBUG : >WaitForWriters: 2025/10/07 05:28:15 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeTruncateExisting (2.33s) === RUN TestRWFileHandleSizeCreateExisting run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:28:16 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:28:16 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:28:16 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:16 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:28:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:16 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:16 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:28:16 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:16 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:28:18.002387 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:28:18.002421 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:28:18 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:28:18 DEBUG : Looking for writers 2025/10/07 05:28:18 DEBUG : >WaitForWriters: 2025/10/07 05:28:18 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestRWFileHandleSizeCreateExisting (2.15s) === RUN TestRWFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:28:18 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:28:18 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:28:18 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:18 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:28:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:18 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:18 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:28:18 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:18 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:28:18 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:28:19 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:28:19 DEBUG : file1: newRWFileHandle: 2025/10/07 05:28:19 DEBUG : file1(0xc008656580): openPending: 2025/10/07 05:28:19 DEBUG : file1: vfs cache: truncate to size=0 (not needed as size correct) 2025/10/07 05:28:19 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:28:19 DEBUG : file1(0xc008656580): >openPending: err= 2025/10/07 05:28:19 DEBUG : file1: >newRWFileHandle: err= 2025/10/07 05:28:19 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:28:19 DEBUG : file1: >Open: fd=file1 (rw), err= 2025/10/07 05:28:19 DEBUG : file1: >OpenFile: fd=file1 (rw), err= 2025/10/07 05:28:19.895512 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:28:19.895551 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:28:19 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:28:19 DEBUG : Looking for writers 2025/10/07 05:28:19 DEBUG : file1: reading active writers 2025/10/07 05:28:19 DEBUG : file1: active writers 1 2025/10/07 05:28:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 10ms 2025/10/07 05:28:19 DEBUG : Looking for writers 2025/10/07 05:28:19 DEBUG : file1: reading active writers 2025/10/07 05:28:19 DEBUG : file1: active writers 1 2025/10/07 05:28:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 20ms 2025/10/07 05:28:19 DEBUG : Looking for writers 2025/10/07 05:28:19 DEBUG : file1: reading active writers 2025/10/07 05:28:19 DEBUG : file1: active writers 1 2025/10/07 05:28:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 40ms 2025/10/07 05:28:19 DEBUG : Looking for writers 2025/10/07 05:28:19 DEBUG : file1: reading active writers 2025/10/07 05:28:19 DEBUG : file1: active writers 1 2025/10/07 05:28:19 DEBUG : Still 1 writers active and 1 cache items in use, waiting 80ms 2025/10/07 05:28:20 DEBUG : Looking for writers 2025/10/07 05:28:20 DEBUG : file1: reading active writers 2025/10/07 05:28:20 DEBUG : file1: active writers 1 2025/10/07 05:28:20 DEBUG : Still 1 writers active and 1 cache items in use, waiting 160ms 2025/10/07 05:28:20 DEBUG : Looking for writers 2025/10/07 05:28:20 DEBUG : file1: reading active writers 2025/10/07 05:28:20 DEBUG : file1: active writers 1 2025/10/07 05:28:20 DEBUG : Still 1 writers active and 1 cache items in use, waiting 320ms 2025/10/07 05:28:20 DEBUG : Looking for writers 2025/10/07 05:28:20 DEBUG : file1: reading active writers 2025/10/07 05:28:20 DEBUG : file1: active writers 1 2025/10/07 05:28:20 DEBUG : Still 1 writers active and 1 cache items in use, waiting 640ms 2025/10/07 05:28:21 DEBUG : Looking for writers 2025/10/07 05:28:21 DEBUG : file1: reading active writers 2025/10/07 05:28:21 DEBUG : file1: active writers 1 2025/10/07 05:28:21 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:22 DEBUG : Looking for writers 2025/10/07 05:28:22 DEBUG : file1: reading active writers 2025/10/07 05:28:22 DEBUG : file1: active writers 1 2025/10/07 05:28:22 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:23 DEBUG : Looking for writers 2025/10/07 05:28:23 DEBUG : file1: reading active writers 2025/10/07 05:28:23 DEBUG : file1: active writers 1 2025/10/07 05:28:23 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:24 DEBUG : Looking for writers 2025/10/07 05:28:24 DEBUG : file1: reading active writers 2025/10/07 05:28:24 DEBUG : file1: active writers 1 2025/10/07 05:28:24 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:25 DEBUG : Looking for writers 2025/10/07 05:28:25 DEBUG : file1: reading active writers 2025/10/07 05:28:25 DEBUG : file1: active writers 1 2025/10/07 05:28:25 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:26 DEBUG : Looking for writers 2025/10/07 05:28:26 DEBUG : file1: reading active writers 2025/10/07 05:28:26 DEBUG : file1: active writers 1 2025/10/07 05:28:26 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:27 DEBUG : Looking for writers 2025/10/07 05:28:27 DEBUG : file1: reading active writers 2025/10/07 05:28:27 DEBUG : file1: active writers 1 2025/10/07 05:28:27 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:28 DEBUG : Looking for writers 2025/10/07 05:28:28 DEBUG : file1: reading active writers 2025/10/07 05:28:28 DEBUG : file1: active writers 1 2025/10/07 05:28:28 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:29 DEBUG : Looking for writers 2025/10/07 05:28:29 DEBUG : file1: reading active writers 2025/10/07 05:28:29 DEBUG : file1: active writers 1 2025/10/07 05:28:29 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:30 DEBUG : Looking for writers 2025/10/07 05:28:30 DEBUG : file1: reading active writers 2025/10/07 05:28:30 DEBUG : file1: active writers 1 2025/10/07 05:28:30 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:31 DEBUG : Looking for writers 2025/10/07 05:28:31 DEBUG : file1: reading active writers 2025/10/07 05:28:31 DEBUG : file1: active writers 1 2025/10/07 05:28:31 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:32 DEBUG : Looking for writers 2025/10/07 05:28:32 DEBUG : file1: reading active writers 2025/10/07 05:28:32 DEBUG : file1: active writers 1 2025/10/07 05:28:32 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:33 DEBUG : Looking for writers 2025/10/07 05:28:33 DEBUG : file1: reading active writers 2025/10/07 05:28:33 DEBUG : file1: active writers 1 2025/10/07 05:28:33 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:34 DEBUG : Looking for writers 2025/10/07 05:28:34 DEBUG : file1: reading active writers 2025/10/07 05:28:34 DEBUG : file1: active writers 1 2025/10/07 05:28:34 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:35 DEBUG : Looking for writers 2025/10/07 05:28:35 DEBUG : file1: reading active writers 2025/10/07 05:28:35 DEBUG : file1: active writers 1 2025/10/07 05:28:35 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:36 DEBUG : Looking for writers 2025/10/07 05:28:36 DEBUG : file1: reading active writers 2025/10/07 05:28:36 DEBUG : file1: active writers 1 2025/10/07 05:28:36 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:37 DEBUG : Looking for writers 2025/10/07 05:28:37 DEBUG : file1: reading active writers 2025/10/07 05:28:37 DEBUG : file1: active writers 1 2025/10/07 05:28:37 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:38 DEBUG : Looking for writers 2025/10/07 05:28:38 DEBUG : file1: reading active writers 2025/10/07 05:28:38 DEBUG : file1: active writers 1 2025/10/07 05:28:38 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:39 DEBUG : Looking for writers 2025/10/07 05:28:39 DEBUG : file1: reading active writers 2025/10/07 05:28:39 DEBUG : file1: active writers 1 2025/10/07 05:28:39 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:40 DEBUG : Looking for writers 2025/10/07 05:28:40 DEBUG : file1: reading active writers 2025/10/07 05:28:40 DEBUG : file1: active writers 1 2025/10/07 05:28:40 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:41 DEBUG : Looking for writers 2025/10/07 05:28:41 DEBUG : file1: reading active writers 2025/10/07 05:28:41 DEBUG : file1: active writers 1 2025/10/07 05:28:41 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:42 DEBUG : Looking for writers 2025/10/07 05:28:42 DEBUG : file1: reading active writers 2025/10/07 05:28:42 DEBUG : file1: active writers 1 2025/10/07 05:28:42 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:43 DEBUG : Looking for writers 2025/10/07 05:28:43 DEBUG : file1: reading active writers 2025/10/07 05:28:43 DEBUG : file1: active writers 1 2025/10/07 05:28:43 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:44 DEBUG : Looking for writers 2025/10/07 05:28:44 DEBUG : file1: reading active writers 2025/10/07 05:28:44 DEBUG : file1: active writers 1 2025/10/07 05:28:44 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:45 DEBUG : Looking for writers 2025/10/07 05:28:45 DEBUG : file1: reading active writers 2025/10/07 05:28:45 DEBUG : file1: active writers 1 2025/10/07 05:28:45 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:46 DEBUG : Looking for writers 2025/10/07 05:28:46 DEBUG : file1: reading active writers 2025/10/07 05:28:46 DEBUG : file1: active writers 1 2025/10/07 05:28:46 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:47 DEBUG : Looking for writers 2025/10/07 05:28:47 DEBUG : file1: reading active writers 2025/10/07 05:28:47 DEBUG : file1: active writers 1 2025/10/07 05:28:47 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:48 DEBUG : Looking for writers 2025/10/07 05:28:48 DEBUG : file1: reading active writers 2025/10/07 05:28:48 DEBUG : file1: active writers 1 2025/10/07 05:28:48 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:49 DEBUG : Looking for writers 2025/10/07 05:28:49 DEBUG : file1: reading active writers 2025/10/07 05:28:49 DEBUG : file1: active writers 1 2025/10/07 05:28:49 DEBUG : Still 1 writers active and 1 cache items in use, waiting 1s 2025/10/07 05:28:49 ERROR : Exiting even though 1 writers active and 1 cache items in use after 30s Cache{ "file1": &{c:0xc004d684b0 mu:{_:{} mu:{state:0 sema:0}} cond:{noCopy:{} L:0xc00092dd08 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824643345728} name:file1 opens:1 downloaders: o: fd:0xc0000204f8 info:{ModTime:{wall:13993043706091310154 ext:1253114692738 loc:0x4135660} ATime:{wall:13993043706091310154 ext:1253114692738 loc:0x4135660} Size:0 Rs:[] Fingerprint: Dirty:true} writeBackID:0 pendingAccesses:0 modified:true beingReset:false}, } 2025/10/07 05:28:49 DEBUG : >WaitForWriters: 2025/10/07 05:28:49 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestRWFileModTimeWithOpenWriters (31.46s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:28:50 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:28:50 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: root is "/home/rclone/.cache/rclone" 2025/10/07 05:28:50 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:50 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:28:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:50 DEBUG : :local: detected overridden config - adding "{8un-i}" suffix to name 2025/10/07 05:28:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot',links=false:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" to be canonical ":local{8un-i}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-rusagis7pede" 2025/10/07 05:28:50 INFO : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2025/10/07 05:28:50 DEBUG : forgetting directory cache 2025/10/07 05:28:51.281227 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:28:51.281269 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:28:51 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:28:51 DEBUG : Looking for writers 2025/10/07 05:28:51 DEBUG : >WaitForWriters: 2025/10/07 05:28:51 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': vfs cache: cleaner exiting --- FAIL: TestRWCacheUpdate (1.35s) === RUN TestCaseSensitivity run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:28:52.496099 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:28:52.496136 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestCaseSensitivity (1.23s) === RUN TestUnicodeNormalization run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:28:53.817270 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:28:53.817316 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestUnicodeNormalization (1.32s) === RUN TestVFSStat run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:28:54 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:28:54 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:28:54.639768 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/07 05:28:54.639800 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-rusagis7pede'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:28:55 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:28:55 DEBUG : Looking for writers 2025/10/07 05:28:55 DEBUG : >WaitForWriters: --- FAIL: TestVFSStat (1.46s) === RUN TestVFSStatParent run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:28:55 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:28:55 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:28:56.107662 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/07 05:28:56.107702 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-rusagis7pede'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:28:56 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:28:56 DEBUG : Looking for writers 2025/10/07 05:28:56 DEBUG : >WaitForWriters: --- FAIL: TestVFSStatParent (1.52s) === RUN TestVFSOpenFile run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:28:57 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:28:57 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:28:57.642607 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/07 05:28:57.642638 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-rusagis7pede'": a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:28:58 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:28:58 DEBUG : Looking for writers 2025/10/07 05:28:58 DEBUG : >WaitForWriters: --- FAIL: TestVFSOpenFile (1.54s) === RUN TestVFSRename run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:28:58 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:28:58 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:28:59.971843 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:28:59.971888 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:28:59 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:28:59 DEBUG : Looking for writers 2025/10/07 05:28:59 DEBUG : >WaitForWriters: --- FAIL: TestVFSRename (2.12s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:29:00 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:29:00 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:29:00 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:29:01 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:29:01 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:29:01 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 05:29:01 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 05:29:01 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:29:01 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/07 05:29:01 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2025/10/07 05:29:01 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2025/10/07 05:29:01 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': File to upload is small (5 bytes), uploading instead of streaming 2025/10/07 05:29:01.524055 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/07 05:29:01.524093 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/07 05:29:02 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:29:02 DEBUG : file1: Remove: 2025/10/07 05:29:02 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 05:29:02 DEBUG : file1: >Remove: err= write_test.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:144 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:153 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/07 05:29:10 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/07 05:31:58 DEBUG : forgetting directory cache 2025/10/07 05:31:58 DEBUG : Removed virtual directory entry vAddFile: "file2" fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Should be true Test: TestWriteFileHandleMethods Messages: listing wrong, want file1 (5) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:157 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleMethods Messages: 1 objects not found 2025/10/07 05:32:33 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:32:33 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:32:33 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:32:33 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 05:32:33 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 05:32:33 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:32:33 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': File to upload is small (0 bytes), uploading instead of streaming 2025/10/07 05:34:17.170362 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/07 05:34:17.170407 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/07 05:34:17 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:34:17 DEBUG : file1: Remove: 2025/10/07 05:34:17 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 05:34:17 DEBUG : file1: >Remove: err= write_test.go:163: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:163 Error: Received unexpected error: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft Test: TestWriteFileHandleMethods 2025/10/07 05:34:17 DEBUG : Re-reading directory (5m16.79114255s old) 2025/10/07 05:34:18 DEBUG : Removed virtual directory entry vDel: "file1" dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:164 Error: Not equal: expected: []string{"file1,5,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=13) "file1,5,false" -} +([]string) Test: TestWriteFileHandleMethods 2025/10/07 05:34:18 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:34:18 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:34:18 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:34:18 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 05:34:18 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 05:34:18 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/07 05:34:18 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:34:18 DEBUG : Looking for writers 2025/10/07 05:34:18 DEBUG : file1: reading active writers 2025/10/07 05:34:18 DEBUG : file1: active writers 1 2025/10/07 05:34:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 10ms 2025/10/07 05:34:18 DEBUG : Looking for writers 2025/10/07 05:34:18 DEBUG : file1: reading active writers 2025/10/07 05:34:18 DEBUG : file1: active writers 1 2025/10/07 05:34:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 20ms 2025/10/07 05:34:18 DEBUG : Looking for writers 2025/10/07 05:34:18 DEBUG : file1: reading active writers 2025/10/07 05:34:18 DEBUG : file1: active writers 1 2025/10/07 05:34:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 40ms 2025/10/07 05:34:18 DEBUG : Looking for writers 2025/10/07 05:34:18 DEBUG : file1: reading active writers 2025/10/07 05:34:18 DEBUG : file1: active writers 1 2025/10/07 05:34:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 80ms 2025/10/07 05:34:18 DEBUG : Looking for writers 2025/10/07 05:34:18 DEBUG : file1: reading active writers 2025/10/07 05:34:18 DEBUG : file1: active writers 1 2025/10/07 05:34:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 160ms 2025/10/07 05:34:18 DEBUG : Looking for writers 2025/10/07 05:34:18 DEBUG : file1: reading active writers 2025/10/07 05:34:18 DEBUG : file1: active writers 1 2025/10/07 05:34:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 320ms 2025/10/07 05:34:18 DEBUG : Looking for writers 2025/10/07 05:34:18 DEBUG : file1: reading active writers 2025/10/07 05:34:18 DEBUG : file1: active writers 1 2025/10/07 05:34:18 DEBUG : Still 1 writers active and 0 cache items in use, waiting 640ms 2025/10/07 05:34:19 DEBUG : Looking for writers 2025/10/07 05:34:19 DEBUG : file1: reading active writers 2025/10/07 05:34:19 DEBUG : file1: active writers 1 2025/10/07 05:34:19 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:20 DEBUG : Looking for writers 2025/10/07 05:34:20 DEBUG : file1: reading active writers 2025/10/07 05:34:20 DEBUG : file1: active writers 1 2025/10/07 05:34:20 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:21 DEBUG : Looking for writers 2025/10/07 05:34:21 DEBUG : file1: reading active writers 2025/10/07 05:34:21 DEBUG : file1: active writers 1 2025/10/07 05:34:21 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:22 DEBUG : Looking for writers 2025/10/07 05:34:22 DEBUG : file1: reading active writers 2025/10/07 05:34:22 DEBUG : file1: active writers 1 2025/10/07 05:34:22 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:23 DEBUG : Looking for writers 2025/10/07 05:34:23 DEBUG : file1: reading active writers 2025/10/07 05:34:23 DEBUG : file1: active writers 1 2025/10/07 05:34:23 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:24 DEBUG : Looking for writers 2025/10/07 05:34:24 DEBUG : file1: reading active writers 2025/10/07 05:34:24 DEBUG : file1: active writers 1 2025/10/07 05:34:24 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:25 DEBUG : Looking for writers 2025/10/07 05:34:25 DEBUG : file1: reading active writers 2025/10/07 05:34:25 DEBUG : file1: active writers 1 2025/10/07 05:34:25 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:26 DEBUG : Looking for writers 2025/10/07 05:34:26 DEBUG : file1: reading active writers 2025/10/07 05:34:26 DEBUG : file1: active writers 1 2025/10/07 05:34:26 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:27 DEBUG : Looking for writers 2025/10/07 05:34:27 DEBUG : file1: reading active writers 2025/10/07 05:34:27 DEBUG : file1: active writers 1 2025/10/07 05:34:27 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:28 DEBUG : Looking for writers 2025/10/07 05:34:28 DEBUG : file1: reading active writers 2025/10/07 05:34:28 DEBUG : file1: active writers 1 2025/10/07 05:34:28 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:29 DEBUG : Looking for writers 2025/10/07 05:34:29 DEBUG : file1: reading active writers 2025/10/07 05:34:29 DEBUG : file1: active writers 1 2025/10/07 05:34:29 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:30 DEBUG : Looking for writers 2025/10/07 05:34:30 DEBUG : file1: reading active writers 2025/10/07 05:34:30 DEBUG : file1: active writers 1 2025/10/07 05:34:30 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:31 DEBUG : Looking for writers 2025/10/07 05:34:31 DEBUG : file1: reading active writers 2025/10/07 05:34:31 DEBUG : file1: active writers 1 2025/10/07 05:34:31 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:32 DEBUG : Looking for writers 2025/10/07 05:34:32 DEBUG : file1: reading active writers 2025/10/07 05:34:32 DEBUG : file1: active writers 1 2025/10/07 05:34:32 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:33 DEBUG : Looking for writers 2025/10/07 05:34:33 DEBUG : file1: reading active writers 2025/10/07 05:34:33 DEBUG : file1: active writers 1 2025/10/07 05:34:33 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:34 DEBUG : Looking for writers 2025/10/07 05:34:34 DEBUG : file1: reading active writers 2025/10/07 05:34:34 DEBUG : file1: active writers 1 2025/10/07 05:34:34 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:35 DEBUG : Looking for writers 2025/10/07 05:34:35 DEBUG : file1: reading active writers 2025/10/07 05:34:35 DEBUG : file1: active writers 1 2025/10/07 05:34:35 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:36 DEBUG : Looking for writers 2025/10/07 05:34:36 DEBUG : file1: reading active writers 2025/10/07 05:34:36 DEBUG : file1: active writers 1 2025/10/07 05:34:36 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:37 DEBUG : Looking for writers 2025/10/07 05:34:37 DEBUG : file1: reading active writers 2025/10/07 05:34:37 DEBUG : file1: active writers 1 2025/10/07 05:34:37 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:38 DEBUG : Looking for writers 2025/10/07 05:34:38 DEBUG : file1: reading active writers 2025/10/07 05:34:38 DEBUG : file1: active writers 1 2025/10/07 05:34:38 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:39 DEBUG : Looking for writers 2025/10/07 05:34:39 DEBUG : file1: reading active writers 2025/10/07 05:34:39 DEBUG : file1: active writers 1 2025/10/07 05:34:39 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:40 DEBUG : Looking for writers 2025/10/07 05:34:40 DEBUG : file1: reading active writers 2025/10/07 05:34:40 DEBUG : file1: active writers 1 2025/10/07 05:34:40 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:41 DEBUG : Looking for writers 2025/10/07 05:34:41 DEBUG : file1: reading active writers 2025/10/07 05:34:41 DEBUG : file1: active writers 1 2025/10/07 05:34:41 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:42 DEBUG : Looking for writers 2025/10/07 05:34:42 DEBUG : file1: reading active writers 2025/10/07 05:34:42 DEBUG : file1: active writers 1 2025/10/07 05:34:42 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:43 DEBUG : Looking for writers 2025/10/07 05:34:43 DEBUG : file1: reading active writers 2025/10/07 05:34:43 DEBUG : file1: active writers 1 2025/10/07 05:34:43 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:44 DEBUG : Looking for writers 2025/10/07 05:34:44 DEBUG : file1: reading active writers 2025/10/07 05:34:44 DEBUG : file1: active writers 1 2025/10/07 05:34:44 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:45 DEBUG : Looking for writers 2025/10/07 05:34:45 DEBUG : file1: reading active writers 2025/10/07 05:34:45 DEBUG : file1: active writers 1 2025/10/07 05:34:45 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:46 DEBUG : Looking for writers 2025/10/07 05:34:46 DEBUG : file1: reading active writers 2025/10/07 05:34:46 DEBUG : file1: active writers 1 2025/10/07 05:34:46 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:47 DEBUG : Looking for writers 2025/10/07 05:34:47 DEBUG : file1: reading active writers 2025/10/07 05:34:47 DEBUG : file1: active writers 1 2025/10/07 05:34:47 DEBUG : Still 1 writers active and 0 cache items in use, waiting 1s 2025/10/07 05:34:48 ERROR : Exiting even though 1 writers active and 0 cache items in use after 30s Cache: 2025/10/07 05:34:48 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleMethods (347.60s) === RUN TestWriteFileHandleWriteAt run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:34:48 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:34:48 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:34:48 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:34:48 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:34:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:34:48 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 05:34:48 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 05:34:48 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:34:48 DEBUG : file1: waiting for in-sequence write to 100 for 1s 2025/10/07 05:34:49 DEBUG : file1: aborting in-sequence write wait, off=100 2025/10/07 05:34:49 DEBUG : file1: failed to wait for in-sequence write to 100 2025/10/07 05:34:49 ERROR : file1: WriteFileHandle.Write: can't seek in file without --vfs-cache-mode >= writes 2025/10/07 05:34:49 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': File to upload is small (11 bytes), uploading instead of streaming 2025/10/07 05:34:50.109147 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/07 05:34:50.109206 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/07 05:34:50 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:34:50 DEBUG : file1: Remove: 2025/10/07 05:34:50 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 05:34:50 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/07 05:34:50 ERROR : file1: WriteFileHandle.Write: error: Bad file descriptor dir_test.go:250: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:250 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:231 Error: Not equal: expected: []string{"file1,11,false"} actual : []string(nil) Diff: --- Expected +++ Actual @@ -1,4 +1,2 @@ -([]string) (len=1) { - (string) (len=14) "file1,11,false" -} +([]string) Test: TestWriteFileHandleWriteAt fstest.go:298: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:301: Flushing the directory cache 2025/10/07 05:35:41 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:301: Flushing the directory cache 2025/10/07 05:38:14 DEBUG : forgetting directory cache 2025/10/07 05:38:16 DEBUG : forgetting directory cache fstest.go:298: Sleeping for 4s for list eventual consistency: 3/3 2025/10/07 05:38:19 DEBUG : forgetting directory cache fstest.go:301: Flushing the directory cache fstest.go:305: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:305 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Should be true Test: TestWriteFileHandleWriteAt Messages: listing wrong, want file1 (11) got fstest.go:203: Not found "file1" fstest.go:206: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:206 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:310 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:338 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:235 Error: Not equal: expected: 0 actual : 1 Test: TestWriteFileHandleWriteAt Messages: 1 objects not found 2025/10/07 05:38:21 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:38:21 DEBUG : Looking for writers 2025/10/07 05:38:21 DEBUG : >WaitForWriters: 2025/10/07 05:38:54 DEBUG : forgetting directory cache 2025/10/07 05:38:55 DEBUG : forgetting directory cache 2025/10/07 05:38:57 DEBUG : forgetting directory cache 2025/10/07 05:38:58 DEBUG : forgetting directory cache 2025/10/07 05:39:10 DEBUG : forgetting directory cache --- FAIL: TestWriteFileHandleWriteAt (315.99s) === RUN TestWriteFileHandleFlush run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:40:04 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:40:04 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:40:04 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:40:04 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:40:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:40:04 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 05:40:04 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 05:40:04 DEBUG : file1: WriteFileHandle.Flush unwritten handle, writing 0 bytes to avoid race conditions 2025/10/07 05:40:04 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:40:04 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': File to upload is small (5 bytes), uploading instead of streaming 2025/10/07 05:40:05.122402 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/07 05:40:05.122437 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/07 05:40:05 ERROR : file1: WriteFileHandle.New Rcat failed: a draft exist - usually this means a file is being uploaded at another client, or, there was a failed upload attempt. Can use --protondrive-replace-existing-draft=true to temporarily override the existing draft 2025/10/07 05:40:05 DEBUG : file1: Remove: 2025/10/07 05:40:05 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 05:40:05 DEBUG : file1: >Remove: err= 2025/10/07 05:40:05 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/07 05:40:05 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/07 05:40:05 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:40:05 DEBUG : Looking for writers 2025/10/07 05:40:05 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleFlush (1.76s) === RUN TestWriteFileHandleRelease run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:40:06 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:40:06 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:40:06 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:40:06 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:40:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:40:06 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 05:40:06 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 05:40:06 DEBUG : file1: WriteFileHandle.Release closing 2025/10/07 05:40:06 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:40:06 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': File to upload is small (0 bytes), uploading instead of streaming 2025/10/07 05:40:06.847440 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/07 05:40:06.847478 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/07 05:40:07 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/07 05:40:07 DEBUG : file1: Remove: 2025/10/07 05:40:07 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 05:40:07 DEBUG : file1: >Remove: err= 2025/10/07 05:40:07 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/07 05:40:07 DEBUG : file1: WriteFileHandle.Release nothing to do 2025/10/07 05:40:07 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:40:07 DEBUG : Looking for writers 2025/10/07 05:40:07 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileHandleRelease (1.71s) === RUN TestWriteFileModTimeWithOpenWriters run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:40:07 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:40:07 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:40:07 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:40:08 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:40:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:40:08 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 05:40:08 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 05:40:08 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:40:08 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': File to upload is small (2 bytes), uploading instead of streaming 2025/10/07 05:40:08.593311 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/07 05:40:08.593334 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/07 05:40:09 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/07 05:40:09 DEBUG : file1: Remove: 2025/10/07 05:40:09 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 05:40:09 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/07 05:40:09 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:40:09 DEBUG : Looking for writers 2025/10/07 05:40:09 DEBUG : >WaitForWriters: --- FAIL: TestWriteFileModTimeWithOpenWriters (1.73s) === RUN TestFileReadAtZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:40:09 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:40:09 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:40:09 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:40:09 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:40:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:40:09 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 05:40:09 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 05:40:09 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:40:09 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': File to upload is small (0 bytes), uploading instead of streaming 2025/10/07 05:40:10.285530 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/07 05:40:10.285569 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/07 05:40:10 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/07 05:40:10 DEBUG : file1: Remove: 2025/10/07 05:40:10 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 05:40:10 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/07 05:40:10 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/07 05:40:10 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/07 05:40:10 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:40:10 DEBUG : Looking for writers 2025/10/07 05:40:10 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtZeroLength (1.70s) === RUN TestFileReadAtNonZeroLength run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:40:11 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:40:11 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:40:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2025/10/07 05:40:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2025/10/07 05:40:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:40:11 DEBUG : file1: >Open: fd=file1 (w), err= 2025/10/07 05:40:11 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2025/10/07 05:40:11 DEBUG : Added virtual directory entry vAddFile: "file1" 2025/10/07 05:40:11 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': File to upload is small (100 bytes), uploading instead of streaming 2025/10/07 05:40:12.023471 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/07 05:40:12.023499 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/07 05:40:12 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/07 05:40:12 DEBUG : file1: Remove: 2025/10/07 05:40:12 DEBUG : Added virtual directory entry vDel: "file1" 2025/10/07 05:40:12 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/07 05:40:12 DEBUG : file1: OpenFile: flags=O_RDONLY, perm=---------- 2025/10/07 05:40:12 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/07 05:40:12 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:40:12 DEBUG : Looking for writers 2025/10/07 05:40:12 DEBUG : >WaitForWriters: --- FAIL: TestFileReadAtNonZeroLength (1.71s) === RUN TestZipManyFiles run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:40:13 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:40:13 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:40:14.375771 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:40:14.375802 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:40:14 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:40:14 DEBUG : Looking for writers 2025/10/07 05:40:14 DEBUG : >WaitForWriters: --- FAIL: TestZipManyFiles (2.15s) === RUN TestZipManySubDirs run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:40:15 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:40:15 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:40:16.495967 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:40:16.496000 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:40:16 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:40:16 DEBUG : Looking for writers 2025/10/07 05:40:16 DEBUG : >WaitForWriters: --- FAIL: TestZipManySubDirs (2.23s) === RUN TestZipLargeFiles run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:40:17 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:40:17 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:40:19.190086 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:40:19.190130 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:40:19 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:40:19 DEBUG : Looking for writers 2025/10/07 05:40:19 DEBUG : >WaitForWriters: 2025/10/07 05:40:19.472699 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:40:19.472799 ERROR RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) --- FAIL: TestZipLargeFiles (2.63s) === RUN TestZipDirsInRoot run.go:180: Remote "proton drive root link ID 'rclone-test-rusagis7pede'", Local "Local file system at /tmp/rclone3178123716", Modify Window "1s" 2025/10/07 05:40:20 INFO : proton drive root link ID 'rclone-test-rusagis7pede': poll-interval is not supported by this remote 2025/10/07 05:40:20 NOTICE: proton drive root link ID 'rclone-test-rusagis7pede': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2025/10/07 05:40:21.286028 WARN RESTY 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422), Attempt 1 2025/10/07 05:40:21.286062 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-rusagis7pede'": 422 POST https://fra-storage.proton.me/storage/blocks: Operation failed: Please retry (Code=200501, Status=422) 2025/10/07 05:40:21 DEBUG : WaitForWriters: timeout=30s 2025/10/07 05:40:21 DEBUG : Looking for writers 2025/10/07 05:40:21 DEBUG : >WaitForWriters: --- FAIL: TestZipDirsInRoot (2.09s) FAIL 2025/10/07 05:40:22 DEBUG : proton drive root link ID 'rclone-test-rusagis7pede': 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 32m56.596347498s (try 2/5): exit status 1: Failed [TestDirHandleMethods TestDirHandleReaddir TestDirHandleReaddirnames TestDirMethods TestDirForgetAll TestDirForgetPath TestDirWalk TestDirSetModTime TestDirStat TestDirReadDirAll TestDirOpen TestDirCreate TestDirMkdir TestDirMkdirSub TestDirRemove TestDirRemoveAll TestDirRemoveName TestDirRename TestDirFileOpen TestDirMetadataExtension TestFileMethods TestFileSetModTime/cache=off,open=false,write=false TestFileSetModTime/cache=off,open=true,write=false TestFileSetModTime/cache=off,open=true,write=true TestFileSetModTime/cache=full,open=false,write=false TestFileSetModTime/cache=full,open=true,write=false TestFileSetModTime/cache=full,open=true,write=true TestFileOpenRead TestFileOpenWrite TestFileRemove TestFileRemoveAll TestFileOpen TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestReadFileHandleMethods TestReadFileHandleSeek TestReadFileHandleReadAt TestReadFileHandleFlush TestReadFileHandleRelease TestRWFileHandleMethodsRead TestRWFileHandleSeek TestRWFileHandleReadAt TestRWFileHandleFlushRead TestRWFileHandleReleaseRead TestRWFileHandleMethodsWrite TestRWFileHandleWriteAt TestRWFileHandleWriteNoWrite TestRWFileHandleSizeTruncateExisting TestRWFileHandleSizeCreateExisting TestRWFileModTimeWithOpenWriters TestRWCacheUpdate TestCaseSensitivity TestUnicodeNormalization TestVFSStat TestVFSStatParent TestVFSOpenFile TestVFSRename TestWriteFileHandleMethods TestWriteFileHandleWriteAt TestWriteFileHandleFlush TestWriteFileHandleRelease TestWriteFileModTimeWithOpenWriters TestFileReadAtZeroLength TestFileReadAtNonZeroLength TestZipManyFiles TestZipManySubDirs TestZipLargeFiles TestZipDirsInRoot]