"./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestFileOpenWrite|TestRWCacheUpdate|TestWriteFileHandleMethods)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Starting (try 5/5) 2024/10/30 06:09:09 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-payaqex8lisu" 2024/10/30 06:09:09 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2024/10/30 06:09:09 DEBUG : proton drive root link ID 'rclone-test-payaqex8lisu': Has cached credentials 2024/10/30 06:09:10 DEBUG : proton drive root link ID 'rclone-test-payaqex8lisu': Used cached credential to initialize the ProtonDrive API 2024/10/30 06:09:10 DEBUG : Creating backend with remote "/tmp/rclone2324658129" === RUN TestFileOpenWrite run.go:180: Remote "proton drive root link ID 'rclone-test-payaqex8lisu'", Local "Local file system at /tmp/rclone2324658129", Modify Window "1s" 2024/10/30 06:09:10 INFO : proton drive root link ID 'rclone-test-payaqex8lisu': poll-interval is not supported by this remote 2024/10/30 06:09:10 NOTICE: proton drive root link ID 'rclone-test-payaqex8lisu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/30 06:09:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:09:13 DEBUG : proton drive root link ID 'rclone-test-payaqex8lisu': File to upload is small (25 bytes), uploading instead of streaming 2024/10/30 06:09:14.598434 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 2024/10/30 06:09:14.598458 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) 2024/10/30 06:10:16.011987 WARN RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/i_QCqZOS2LrLAaVf5tYl7UilsNucLh0W3AY7iYHqA_p7OMvbkG4mI9bCRsbBKYyoEA1FQhiHHBicEix8OBOqGQ==/revisions/nMOX_vU3FQnQlN7V9S8-8qMfbfSg5JEt_HXTWS7YZ41a6wTgMRA1LCcLsNwgVgP_90EzQTxZVYc5RSCRfLw6DA==: Internal server error (Code=500, Status=500), Attempt 1 2024/10/30 06:10:16.012017 ERROR RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/i_QCqZOS2LrLAaVf5tYl7UilsNucLh0W3AY7iYHqA_p7OMvbkG4mI9bCRsbBKYyoEA1FQhiHHBicEix8OBOqGQ==/revisions/nMOX_vU3FQnQlN7V9S8-8qMfbfSg5JEt_HXTWS7YZ41a6wTgMRA1LCcLsNwgVgP_90EzQTxZVYc5RSCRfLw6DA==: Internal server error (Code=500, Status=500) 2024/10/30 06:10:16 ERROR : dir/file1: WriteFileHandle.New Rcat failed: 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/i_QCqZOS2LrLAaVf5tYl7UilsNucLh0W3AY7iYHqA_p7OMvbkG4mI9bCRsbBKYyoEA1FQhiHHBicEix8OBOqGQ==/revisions/nMOX_vU3FQnQlN7V9S8-8qMfbfSg5JEt_HXTWS7YZ41a6wTgMRA1LCcLsNwgVgP_90EzQTxZVYc5RSCRfLw6DA==: Internal server error (Code=500, Status=500) file_test.go:241: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:241 Error: Received unexpected error: 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/i_QCqZOS2LrLAaVf5tYl7UilsNucLh0W3AY7iYHqA_p7OMvbkG4mI9bCRsbBKYyoEA1FQhiHHBicEix8OBOqGQ==/revisions/nMOX_vU3FQnQlN7V9S8-8qMfbfSg5JEt_HXTWS7YZ41a6wTgMRA1LCcLsNwgVgP_90EzQTxZVYc5RSCRfLw6DA==: Internal server error (Code=500, Status=500) Test: TestFileOpenWrite 2024/10/30 06:10:16 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:10:16 DEBUG : dir: Looking for writers 2024/10/30 06:10:16 DEBUG : file1: reading active writers 2024/10/30 06:10:16 DEBUG : : Looking for writers 2024/10/30 06:10:16 DEBUG : dir: reading active writers 2024/10/30 06:10:16 DEBUG : >WaitForWriters: 2024/10/30 06:10:27.511365 WARN RESTY 429 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/wwQEv649JPx-UqAitPtwjaC0vNxpUn7RCHqyoEVykI_7sdE6sOymadoTxlqtwrJ4gf95UDG9EOz03ji_1_im3g==/trash_multiple: Resource is busy. Please try again (Code=2502, Status=429), Attempt 1 time="2024-10-30T06:10:27Z" level=warning msg="Too many requests, retrying after delay" after=6 method=POST pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/wwQEv649JPx-UqAitPtwjaC0vNxpUn7RCHqyoEVykI_7sdE6sOymadoTxlqtwrJ4gf95UDG9EOz03ji_1_im3g==/trash_multiple" 2024/10/30 06:10:43.932005 WARN RESTY 429 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/wwQEv649JPx-UqAitPtwjaC0vNxpUn7RCHqyoEVykI_7sdE6sOymadoTxlqtwrJ4gf95UDG9EOz03ji_1_im3g==/trash_multiple: Resource is busy. Please try again (Code=2502, Status=429), Attempt 2 time="2024-10-30T06:10:43Z" level=warning msg="Too many requests, retrying after delay" after=5 method=POST pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/wwQEv649JPx-UqAitPtwjaC0vNxpUn7RCHqyoEVykI_7sdE6sOymadoTxlqtwrJ4gf95UDG9EOz03ji_1_im3g==/trash_multiple" --- FAIL: TestFileOpenWrite (105.72s) === RUN TestFileRename === RUN TestFileRename/off,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-payaqex8lisu'", Local "Local file system at /tmp/rclone2324658129", Modify Window "1s" 2024/10/30 06:10:56 INFO : proton drive root link ID 'rclone-test-payaqex8lisu': poll-interval is not supported by this remote 2024/10/30 06:10:56 NOTICE: proton drive root link ID 'rclone-test-payaqex8lisu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/30 06:10:59 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:10:59 DEBUG : dir: Looking for writers 2024/10/30 06:10:59 DEBUG : file1: reading active writers 2024/10/30 06:10:59 DEBUG : : Looking for writers 2024/10/30 06:10:59 DEBUG : dir: reading active writers 2024/10/30 06:10:59 DEBUG : >WaitForWriters: 2024/10/30 06:11:05 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/30 06:11:05 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c0d80 2024/10/30 06:11:05 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/30 06:11:05 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/30 06:11:12 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/30 06:11:12 DEBUG : dir/file1: Updating file with dir/file1 0xc0002c0d80 2024/10/30 06:11:12 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/30 06:11:12 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:11:13 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/30 06:11:13 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/10/30 06:11:13 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:11:13 DEBUG : dir/file1: File is currently open, delaying rename 0xc0002c0d80 2024/10/30 06:11:13 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/30 06:11:13 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/30 06:11:13 DEBUG : proton drive root link ID 'rclone-test-payaqex8lisu': File to upload is small (25 bytes), uploading instead of streaming 2024/10/30 06:11:13.746558 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 2024/10/30 06:11:13.746582 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) 2024/10/30 06:11:25.355466 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/3gT5rX-OmKfrK71yFX27mMfuzZ4eLzu3s9hj_PdBCqYwxSY8RCT7Rx9YvItZGNUduyk_kj7VDJN2ImYZtY0btQ==/revisions/ZhMbgEFKd7umxbklqyhCdx5zmaJY5G7Z484wFRjKPXVW-wq9diOlzpXleGapAdWmqygwQfwxMFHcR2MmnmxD0g==: Resource is busy. Please try again (Code=2502, Status=429), Attempt 1 time="2024-10-30T06:11:25Z" level=warning msg="Too many requests, retrying after delay" after=11 method=PUT pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/3gT5rX-OmKfrK71yFX27mMfuzZ4eLzu3s9hj_PdBCqYwxSY8RCT7Rx9YvItZGNUduyk_kj7VDJN2ImYZtY0btQ==/revisions/ZhMbgEFKd7umxbklqyhCdx5zmaJY5G7Z484wFRjKPXVW-wq9diOlzpXleGapAdWmqygwQfwxMFHcR2MmnmxD0g==" 2024/10/30 06:11:47.287748 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/3gT5rX-OmKfrK71yFX27mMfuzZ4eLzu3s9hj_PdBCqYwxSY8RCT7Rx9YvItZGNUduyk_kj7VDJN2ImYZtY0btQ==/revisions/ZhMbgEFKd7umxbklqyhCdx5zmaJY5G7Z484wFRjKPXVW-wq9diOlzpXleGapAdWmqygwQfwxMFHcR2MmnmxD0g==: Resource is busy. Please try again (Code=2502, Status=429), Attempt 2 time="2024-10-30T06:11:47Z" level=warning msg="Too many requests, retrying after delay" after=11 method=PUT pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/3gT5rX-OmKfrK71yFX27mMfuzZ4eLzu3s9hj_PdBCqYwxSY8RCT7Rx9YvItZGNUduyk_kj7VDJN2ImYZtY0btQ==/revisions/ZhMbgEFKd7umxbklqyhCdx5zmaJY5G7Z484wFRjKPXVW-wq9diOlzpXleGapAdWmqygwQfwxMFHcR2MmnmxD0g==" 2024/10/30 06:12:08.598368 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/3gT5rX-OmKfrK71yFX27mMfuzZ4eLzu3s9hj_PdBCqYwxSY8RCT7Rx9YvItZGNUduyk_kj7VDJN2ImYZtY0btQ==/revisions/ZhMbgEFKd7umxbklqyhCdx5zmaJY5G7Z484wFRjKPXVW-wq9diOlzpXleGapAdWmqygwQfwxMFHcR2MmnmxD0g==: Resource is busy. Please try again (Code=2502, Status=429), Attempt 3 time="2024-10-30T06:12:08Z" level=warning msg="Too many requests, retrying after delay" after=5 method=PUT pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/3gT5rX-OmKfrK71yFX27mMfuzZ4eLzu3s9hj_PdBCqYwxSY8RCT7Rx9YvItZGNUduyk_kj7VDJN2ImYZtY0btQ==/revisions/ZhMbgEFKd7umxbklqyhCdx5zmaJY5G7Z484wFRjKPXVW-wq9diOlzpXleGapAdWmqygwQfwxMFHcR2MmnmxD0g==" 2024/10/30 06:12:23.887785 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/3gT5rX-OmKfrK71yFX27mMfuzZ4eLzu3s9hj_PdBCqYwxSY8RCT7Rx9YvItZGNUduyk_kj7VDJN2ImYZtY0btQ==/revisions/ZhMbgEFKd7umxbklqyhCdx5zmaJY5G7Z484wFRjKPXVW-wq9diOlzpXleGapAdWmqygwQfwxMFHcR2MmnmxD0g==: Resource is busy. Please try again (Code=2502, Status=429), Attempt 4 2024/10/30 06:12:23.887802 ERROR RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/3gT5rX-OmKfrK71yFX27mMfuzZ4eLzu3s9hj_PdBCqYwxSY8RCT7Rx9YvItZGNUduyk_kj7VDJN2ImYZtY0btQ==/revisions/ZhMbgEFKd7umxbklqyhCdx5zmaJY5G7Z484wFRjKPXVW-wq9diOlzpXleGapAdWmqygwQfwxMFHcR2MmnmxD0g==: Resource is busy. Please try again (Code=2502, Status=429) 2024/10/30 06:12:23 ERROR : dir/file1: WriteFileHandle.New Rcat failed: 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/3gT5rX-OmKfrK71yFX27mMfuzZ4eLzu3s9hj_PdBCqYwxSY8RCT7Rx9YvItZGNUduyk_kj7VDJN2ImYZtY0btQ==/revisions/ZhMbgEFKd7umxbklqyhCdx5zmaJY5G7Z484wFRjKPXVW-wq9diOlzpXleGapAdWmqygwQfwxMFHcR2MmnmxD0g==: Resource is busy. Please try again (Code=2502, Status=429) 2024/10/30 06:12:23 DEBUG : newLeaf: Running delayed rename now 2024/10/30 06:12:29 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/30 06:12:29 DEBUG : newLeaf: Updating file with newLeaf 0xc0002c0d80 file_test.go:391: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:391 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/3gT5rX-OmKfrK71yFX27mMfuzZ4eLzu3s9hj_PdBCqYwxSY8RCT7Rx9YvItZGNUduyk_kj7VDJN2ImYZtY0btQ==/revisions/ZhMbgEFKd7umxbklqyhCdx5zmaJY5G7Z484wFRjKPXVW-wq9diOlzpXleGapAdWmqygwQfwxMFHcR2MmnmxD0g==: Resource is busy. Please try again (Code=2502, Status=429) Test: TestFileRename/off,forceCache=false 2024/10/30 06:12:29 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:12:29 DEBUG : dir: Looking for writers 2024/10/30 06:12:29 DEBUG : : Looking for writers 2024/10/30 06:12:29 DEBUG : dir: reading active writers 2024/10/30 06:12:29 DEBUG : newLeaf: reading active writers 2024/10/30 06:12:29 DEBUG : >WaitForWriters: === RUN TestFileRename/minimal,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-payaqex8lisu'", Local "Local file system at /tmp/rclone2324658129", Modify Window "1s" 2024/10/30 06:12:31 INFO : proton drive root link ID 'rclone-test-payaqex8lisu': poll-interval is not supported by this remote 2024/10/30 06:12:31 NOTICE: proton drive root link ID 'rclone-test-payaqex8lisu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/30 06:12:31 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/30 06:12:31 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:12:31 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:12:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:12:31 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/30 06:12:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:12:31 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:12:31 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/30 06:12:31 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:12:31 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/30 06:12:34 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:12:34 DEBUG : dir: Looking for writers 2024/10/30 06:12:34 DEBUG : file1: reading active writers 2024/10/30 06:12:34 DEBUG : : Looking for writers 2024/10/30 06:12:34 DEBUG : dir: reading active writers 2024/10/30 06:12:34 DEBUG : >WaitForWriters: 2024/10/30 06:12:40 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/30 06:12:40 DEBUG : newLeaf: Updating file with newLeaf 0xc000000b40 2024/10/30 06:12:40 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/30 06:12:40 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/30 06:12:47 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/30 06:12:47 DEBUG : dir/file1: Updating file with dir/file1 0xc000000b40 2024/10/30 06:12:47 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/30 06:12:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:12:47 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/30 06:12:47 DEBUG : dir/file1: >Open: fd=dir/file1 (w), err= 2024/10/30 06:12:47 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:12:47 DEBUG : dir/file1: File is currently open, delaying rename 0xc000000b40 2024/10/30 06:12:47 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/30 06:12:47 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/30 06:12:47 DEBUG : proton drive root link ID 'rclone-test-payaqex8lisu': File to upload is small (25 bytes), uploading instead of streaming 2024/10/30 06:12:48.595923 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 2024/10/30 06:12:48.595942 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) 2024/10/30 06:13:31 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2024/10/30 06:13:31 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2024/10/30 06:13:31 INFO : vfs cache: cleaned: objects 2 (was 2) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/30 06:13:49.857817 WARN RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/Hdw-lYvkTSiK4QovOPJoNzScP-imhFIP6aN1OE77KYHyZXbuTIi2lfKrXfp_lqIRIdGtdU68o1Cw5fQU9nd5gQ==/revisions/6SeVViRm0VF-eyw1ctKHk8oTBGvkGqFNMQ65InKhwJwdoE_4eJo1FIJ7DESbIuQjmgPtla5ki5CR9s_Qn9mcYg==: Internal server error (Code=500, Status=500), Attempt 1 2024/10/30 06:13:49.857842 ERROR RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/Hdw-lYvkTSiK4QovOPJoNzScP-imhFIP6aN1OE77KYHyZXbuTIi2lfKrXfp_lqIRIdGtdU68o1Cw5fQU9nd5gQ==/revisions/6SeVViRm0VF-eyw1ctKHk8oTBGvkGqFNMQ65InKhwJwdoE_4eJo1FIJ7DESbIuQjmgPtla5ki5CR9s_Qn9mcYg==: Internal server error (Code=500, Status=500) 2024/10/30 06:13:49 ERROR : dir/file1: WriteFileHandle.New Rcat failed: 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/Hdw-lYvkTSiK4QovOPJoNzScP-imhFIP6aN1OE77KYHyZXbuTIi2lfKrXfp_lqIRIdGtdU68o1Cw5fQU9nd5gQ==/revisions/6SeVViRm0VF-eyw1ctKHk8oTBGvkGqFNMQ65InKhwJwdoE_4eJo1FIJ7DESbIuQjmgPtla5ki5CR9s_Qn9mcYg==: Internal server error (Code=500, Status=500) 2024/10/30 06:13:49 DEBUG : newLeaf: Running delayed rename now 2024/10/30 06:14:01.414314 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Hdw-lYvkTSiK4QovOPJoNzScP-imhFIP6aN1OE77KYHyZXbuTIi2lfKrXfp_lqIRIdGtdU68o1Cw5fQU9nd5gQ==/move: Resource is busy. Please try again (Code=2502, Status=429), Attempt 1 time="2024-10-30T06:14:01Z" level=warning msg="Too many requests, retrying after delay" after=8 method=PUT pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Hdw-lYvkTSiK4QovOPJoNzScP-imhFIP6aN1OE77KYHyZXbuTIi2lfKrXfp_lqIRIdGtdU68o1Cw5fQU9nd5gQ==/move" 2024/10/30 06:14:20.148752 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Hdw-lYvkTSiK4QovOPJoNzScP-imhFIP6aN1OE77KYHyZXbuTIi2lfKrXfp_lqIRIdGtdU68o1Cw5fQU9nd5gQ==/move: Resource is busy. Please try again (Code=2502, Status=429), Attempt 2 time="2024-10-30T06:14:20Z" level=warning msg="Too many requests, retrying after delay" after=8 method=PUT pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/Hdw-lYvkTSiK4QovOPJoNzScP-imhFIP6aN1OE77KYHyZXbuTIi2lfKrXfp_lqIRIdGtdU68o1Cw5fQU9nd5gQ==/move" 2024/10/30 06:14:31 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2024/10/30 06:14:31 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2024/10/30 06:14:31 INFO : vfs cache: cleaned: objects 2 (was 2) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/30 06:14:34 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/30 06:14:34 DEBUG : newLeaf: Updating file with newLeaf 0xc000000b40 file_test.go:391: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:391 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/Hdw-lYvkTSiK4QovOPJoNzScP-imhFIP6aN1OE77KYHyZXbuTIi2lfKrXfp_lqIRIdGtdU68o1Cw5fQU9nd5gQ==/revisions/6SeVViRm0VF-eyw1ctKHk8oTBGvkGqFNMQ65InKhwJwdoE_4eJo1FIJ7DESbIuQjmgPtla5ki5CR9s_Qn9mcYg==: Internal server error (Code=500, Status=500) Test: TestFileRename/minimal,forceCache=false 2024/10/30 06:14:34 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:14:34 DEBUG : dir: Looking for writers 2024/10/30 06:14:34 DEBUG : : Looking for writers 2024/10/30 06:14:34 DEBUG : dir: reading active writers 2024/10/30 06:14:34 DEBUG : newLeaf: reading active writers 2024/10/30 06:14:34 DEBUG : >WaitForWriters: 2024/10/30 06:14:34 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/minimal,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-payaqex8lisu'", Local "Local file system at /tmp/rclone2324658129", Modify Window "1s" 2024/10/30 06:14:35 INFO : proton drive root link ID 'rclone-test-payaqex8lisu': poll-interval is not supported by this remote 2024/10/30 06:14:35 NOTICE: proton drive root link ID 'rclone-test-payaqex8lisu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/30 06:14:35 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/30 06:14:35 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:14:35 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:14:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:14:35 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/30 06:14:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:14:35 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:14:35 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/30 06:14:35 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:14:35 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/30 06:14:38 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/10/30 06:14:38 DEBUG : dir/file1: newRWFileHandle: 2024/10/30 06:14:38 DEBUG : dir/file1(0xc0008bb340): openPending: 2024/10/30 06:14:38 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "" 2024/10/30 06:14:38 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/30 06:14:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:14:38 DEBUG : dir/file1(0xc0008bb340): >openPending: err= 2024/10/30 06:14:38 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/30 06:14:38 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/30 06:14:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:14:38 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/30 06:14:38 DEBUG : dir/file1(0xc0008bb340): _writeAt: size=14, off=0 2024/10/30 06:14:38 DEBUG : dir/file1(0xc0008bb340): >_writeAt: n=14, err= 2024/10/30 06:14:38 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/30 06:14:38 DEBUG : dir/file1(0xc0008bb340): close: 2024/10/30 06:14:38 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/30 06:14:38 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/30 06:14:38 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/30 06:14:38 DEBUG : dir/file1(0xc0008bb340): >close: err= 2024/10/30 06:14:38 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:14:38 DEBUG : dir: Looking for writers 2024/10/30 06:14:38 DEBUG : file1: reading active writers 2024/10/30 06:14:38 DEBUG : : Looking for writers 2024/10/30 06:14:38 DEBUG : dir: reading active writers 2024/10/30 06:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/30 06:14:38 DEBUG : dir: Looking for writers 2024/10/30 06:14:38 DEBUG : file1: reading active writers 2024/10/30 06:14:38 DEBUG : : Looking for writers 2024/10/30 06:14:38 DEBUG : dir: reading active writers 2024/10/30 06:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/30 06:14:38 DEBUG : dir: Looking for writers 2024/10/30 06:14:38 DEBUG : file1: reading active writers 2024/10/30 06:14:38 DEBUG : : Looking for writers 2024/10/30 06:14:38 DEBUG : dir: reading active writers 2024/10/30 06:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/30 06:14:38 DEBUG : dir: Looking for writers 2024/10/30 06:14:38 DEBUG : file1: reading active writers 2024/10/30 06:14:38 DEBUG : : Looking for writers 2024/10/30 06:14:38 DEBUG : dir: reading active writers 2024/10/30 06:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/30 06:14:38 DEBUG : dir/file1: vfs cache: starting upload 2024/10/30 06:14:38 DEBUG : dir: Looking for writers 2024/10/30 06:14:38 DEBUG : file1: reading active writers 2024/10/30 06:14:38 DEBUG : : Looking for writers 2024/10/30 06:14:38 DEBUG : dir: reading active writers 2024/10/30 06:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/30 06:14:38 DEBUG : dir: Looking for writers 2024/10/30 06:14:38 DEBUG : file1: reading active writers 2024/10/30 06:14:38 DEBUG : : Looking for writers 2024/10/30 06:14:38 DEBUG : dir: reading active writers 2024/10/30 06:14:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/30 06:14:38.977847 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 2024/10/30 06:14:38.977862 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) 2024/10/30 06:14:39 DEBUG : dir: Looking for writers 2024/10/30 06:14:39 DEBUG : file1: reading active writers 2024/10/30 06:14:39 DEBUG : : Looking for writers 2024/10/30 06:14:39 DEBUG : dir: reading active writers 2024/10/30 06:14:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/30 06:14:39 DEBUG : dir: Looking for writers 2024/10/30 06:14:39 DEBUG : file1: reading active writers 2024/10/30 06:14:39 DEBUG : : Looking for writers 2024/10/30 06:14:39 DEBUG : dir: reading active writers 2024/10/30 06:14:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:40 DEBUG : dir: Looking for writers 2024/10/30 06:14:40 DEBUG : file1: reading active writers 2024/10/30 06:14:40 DEBUG : : Looking for writers 2024/10/30 06:14:40 DEBUG : dir: reading active writers 2024/10/30 06:14:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:41 DEBUG : dir: Looking for writers 2024/10/30 06:14:41 DEBUG : file1: reading active writers 2024/10/30 06:14:41 DEBUG : : Looking for writers 2024/10/30 06:14:41 DEBUG : dir: reading active writers 2024/10/30 06:14:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:42 DEBUG : dir: Looking for writers 2024/10/30 06:14:42 DEBUG : file1: reading active writers 2024/10/30 06:14:42 DEBUG : : Looking for writers 2024/10/30 06:14:42 DEBUG : dir: reading active writers 2024/10/30 06:14:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:43 DEBUG : dir: Looking for writers 2024/10/30 06:14:43 DEBUG : file1: reading active writers 2024/10/30 06:14:43 DEBUG : : Looking for writers 2024/10/30 06:14:43 DEBUG : dir: reading active writers 2024/10/30 06:14:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:44 DEBUG : dir: Looking for writers 2024/10/30 06:14:44 DEBUG : file1: reading active writers 2024/10/30 06:14:44 DEBUG : : Looking for writers 2024/10/30 06:14:44 DEBUG : dir: reading active writers 2024/10/30 06:14:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:45 DEBUG : dir: Looking for writers 2024/10/30 06:14:45 DEBUG : file1: reading active writers 2024/10/30 06:14:45 DEBUG : : Looking for writers 2024/10/30 06:14:45 DEBUG : dir: reading active writers 2024/10/30 06:14:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:46 DEBUG : dir: Looking for writers 2024/10/30 06:14:46 DEBUG : file1: reading active writers 2024/10/30 06:14:46 DEBUG : : Looking for writers 2024/10/30 06:14:46 DEBUG : dir: reading active writers 2024/10/30 06:14:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:47 DEBUG : dir: Looking for writers 2024/10/30 06:14:47 DEBUG : file1: reading active writers 2024/10/30 06:14:47 DEBUG : : Looking for writers 2024/10/30 06:14:47 DEBUG : dir: reading active writers 2024/10/30 06:14:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:48 DEBUG : dir: Looking for writers 2024/10/30 06:14:48 DEBUG : file1: reading active writers 2024/10/30 06:14:48 DEBUG : : Looking for writers 2024/10/30 06:14:48 DEBUG : dir: reading active writers 2024/10/30 06:14:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:49 DEBUG : dir: Looking for writers 2024/10/30 06:14:49 DEBUG : file1: reading active writers 2024/10/30 06:14:49 DEBUG : : Looking for writers 2024/10/30 06:14:49 DEBUG : dir: reading active writers 2024/10/30 06:14:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:50 DEBUG : dir: Looking for writers 2024/10/30 06:14:50 DEBUG : file1: reading active writers 2024/10/30 06:14:50 DEBUG : : Looking for writers 2024/10/30 06:14:50 DEBUG : dir: reading active writers 2024/10/30 06:14:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:51 DEBUG : dir: Looking for writers 2024/10/30 06:14:51 DEBUG : file1: reading active writers 2024/10/30 06:14:51 DEBUG : : Looking for writers 2024/10/30 06:14:51 DEBUG : dir: reading active writers 2024/10/30 06:14:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:52 DEBUG : dir: Looking for writers 2024/10/30 06:14:52 DEBUG : file1: reading active writers 2024/10/30 06:14:52 DEBUG : : Looking for writers 2024/10/30 06:14:52 DEBUG : dir: reading active writers 2024/10/30 06:14:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:53 DEBUG : dir: Looking for writers 2024/10/30 06:14:53 DEBUG : file1: reading active writers 2024/10/30 06:14:53 DEBUG : : Looking for writers 2024/10/30 06:14:53 DEBUG : dir: reading active writers 2024/10/30 06:14:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:54 DEBUG : dir: Looking for writers 2024/10/30 06:14:54 DEBUG : file1: reading active writers 2024/10/30 06:14:54 DEBUG : : Looking for writers 2024/10/30 06:14:54 DEBUG : dir: reading active writers 2024/10/30 06:14:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:55 DEBUG : dir: Looking for writers 2024/10/30 06:14:55 DEBUG : file1: reading active writers 2024/10/30 06:14:55 DEBUG : : Looking for writers 2024/10/30 06:14:55 DEBUG : dir: reading active writers 2024/10/30 06:14:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:56 DEBUG : dir: Looking for writers 2024/10/30 06:14:56 DEBUG : file1: reading active writers 2024/10/30 06:14:56 DEBUG : : Looking for writers 2024/10/30 06:14:56 DEBUG : dir: reading active writers 2024/10/30 06:14:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:57 DEBUG : dir: Looking for writers 2024/10/30 06:14:57 DEBUG : file1: reading active writers 2024/10/30 06:14:57 DEBUG : : Looking for writers 2024/10/30 06:14:57 DEBUG : dir: reading active writers 2024/10/30 06:14:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:58 DEBUG : dir: Looking for writers 2024/10/30 06:14:58 DEBUG : file1: reading active writers 2024/10/30 06:14:58 DEBUG : : Looking for writers 2024/10/30 06:14:58 DEBUG : dir: reading active writers 2024/10/30 06:14:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:14:59 DEBUG : dir: Looking for writers 2024/10/30 06:14:59 DEBUG : file1: reading active writers 2024/10/30 06:14:59 DEBUG : : Looking for writers 2024/10/30 06:14:59 DEBUG : dir: reading active writers 2024/10/30 06:14:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:15:00 DEBUG : dir: Looking for writers 2024/10/30 06:15:00 DEBUG : file1: reading active writers 2024/10/30 06:15:00 DEBUG : : Looking for writers 2024/10/30 06:15:00 DEBUG : dir: reading active writers 2024/10/30 06:15:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:15:01 DEBUG : dir: Looking for writers 2024/10/30 06:15:01 DEBUG : file1: reading active writers 2024/10/30 06:15:01 DEBUG : : Looking for writers 2024/10/30 06:15:01 DEBUG : dir: reading active writers 2024/10/30 06:15:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:15:02 DEBUG : dir: Looking for writers 2024/10/30 06:15:02 DEBUG : file1: reading active writers 2024/10/30 06:15:02 DEBUG : : Looking for writers 2024/10/30 06:15:02 DEBUG : dir: reading active writers 2024/10/30 06:15:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:15:03 DEBUG : dir: Looking for writers 2024/10/30 06:15:03 DEBUG : file1: reading active writers 2024/10/30 06:15:03 DEBUG : : Looking for writers 2024/10/30 06:15:03 DEBUG : dir: reading active writers 2024/10/30 06:15:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:15:04 DEBUG : dir: Looking for writers 2024/10/30 06:15:04 DEBUG : file1: reading active writers 2024/10/30 06:15:04 DEBUG : : Looking for writers 2024/10/30 06:15:04 DEBUG : dir: reading active writers 2024/10/30 06:15:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:15:05 DEBUG : dir: Looking for writers 2024/10/30 06:15:05 DEBUG : file1: reading active writers 2024/10/30 06:15:05 DEBUG : : Looking for writers 2024/10/30 06:15:05 DEBUG : dir: reading active writers 2024/10/30 06:15:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:15:06 DEBUG : dir: Looking for writers 2024/10/30 06:15:06 DEBUG : file1: reading active writers 2024/10/30 06:15:06 DEBUG : : Looking for writers 2024/10/30 06:15:06 DEBUG : dir: reading active writers 2024/10/30 06:15:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:15:07 DEBUG : dir: Looking for writers 2024/10/30 06:15:07 DEBUG : file1: reading active writers 2024/10/30 06:15:07 DEBUG : : Looking for writers 2024/10/30 06:15:07 DEBUG : dir: reading active writers 2024/10/30 06:15:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:15:08 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0xc0006900f0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000808808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824642144320} name:dir/file1 opens:0 downloaders: o:0xc0003de6e0 fd: info:{ModTime:{wall:499999999 ext:63116769906 loc:} ATime:{wall:13961318908206436597 ext:329239301108 loc:0x39d4e20} Size:14 Rs:[{Pos:0 Size:14}] Fingerprint:14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2024/10/30 06:15:08 DEBUG : >WaitForWriters: 2024/10/30 06:15:08 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/30 06:15:08 DEBUG : dir/file1: newRWFileHandle: 2024/10/30 06:15:08 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/30 06:15:08 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/30 06:15:08 DEBUG : dir/file1(0xc0003fa040): _readAt: size=512, off=0 2024/10/30 06:15:08 DEBUG : dir/file1(0xc0003fa040): openPending: 2024/10/30 06:15:08 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2024/10/30 06:15:08 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/10/30 06:15:08 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:15:08 DEBUG : dir/file1(0xc0003fa040): >openPending: err= 2024/10/30 06:15:08 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/30 06:15:08 DEBUG : dir/file1(0xc0003fa040): >_readAt: n=14, err=EOF 2024/10/30 06:15:08 DEBUG : dir/file1(0xc0003fa040): close: 2024/10/30 06:15:08 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/30 06:15:08 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/30 06:15:08 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/30 06:15:08 DEBUG : dir/file1(0xc0003fa040): >close: err= 2024/10/30 06:15:20.083259 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/move: Resource is busy. Please try again (Code=2502, Status=429), Attempt 1 time="2024-10-30T06:15:20Z" level=warning msg="Too many requests, retrying after delay" after=9 method=PUT pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/move" 2024/10/30 06:15:35 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2024/10/30 06:15:35 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 14 (was 14) 2024/10/30 06:15:39.628510 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/move: Resource is busy. Please try again (Code=2502, Status=429), Attempt 2 time="2024-10-30T06:15:39Z" level=warning msg="Too many requests, retrying after delay" after=6 method=PUT pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/move" 2024/10/30 06:15:40.127951 WARN RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/revisions/7O_eNsu4l2nLI3XFg1SfsQpLOLTdUoJvqkUmwx-1kzcieQhQDOt6FlmG0wZyRop8vDHdXwlngKFbg3pDDS0gyg==: Internal server error (Code=500, Status=500), Attempt 1 2024/10/30 06:15:40.127984 ERROR RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/revisions/7O_eNsu4l2nLI3XFg1SfsQpLOLTdUoJvqkUmwx-1kzcieQhQDOt6FlmG0wZyRop8vDHdXwlngKFbg3pDDS0gyg==: Internal server error (Code=500, Status=500) 2024/10/30 06:15:40 ERROR : dir/file1: Failed to copy: 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/revisions/7O_eNsu4l2nLI3XFg1SfsQpLOLTdUoJvqkUmwx-1kzcieQhQDOt6FlmG0wZyRop8vDHdXwlngKFbg3pDDS0gyg==: Internal server error (Code=500, Status=500) 2024/10/30 06:15:40 ERROR : dir/file1: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/revisions/7O_eNsu4l2nLI3XFg1SfsQpLOLTdUoJvqkUmwx-1kzcieQhQDOt6FlmG0wZyRop8vDHdXwlngKFbg3pDDS0gyg==: Internal server error (Code=500, Status=500) 2024/10/30 06:15:40 DEBUG : dir/file1: vfs cache: starting upload 2024/10/30 06:15:40.559066 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 2024/10/30 06:15:40.559087 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) 2024/10/30 06:15:41 ERROR : dir/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 2024/10/30 06:15:41 ERROR : dir/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 2024/10/30 06:15:41 DEBUG : dir/file1: vfs cache: starting upload 2024/10/30 06:15:41.704263 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 2024/10/30 06:15:41.704290 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) 2024/10/30 06:15:42 ERROR : dir/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 2024/10/30 06:15:42 ERROR : dir/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 2024/10/30 06:15:43 DEBUG : dir/file1: vfs cache: starting upload 2024/10/30 06:15:43.216824 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 2024/10/30 06:15:43.216845 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) 2024/10/30 06:15:43 ERROR : dir/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 2024/10/30 06:15:43 ERROR : dir/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 2024/10/30 06:15:45 DEBUG : dir/file1: vfs cache: starting upload 2024/10/30 06:15:45.468937 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 2024/10/30 06:15:45.468960 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) 2024/10/30 06:15:45 ERROR : dir/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 2024/10/30 06:15:45 ERROR : dir/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 2024/10/30 06:15:49 DEBUG : dir/file1: vfs cache: starting upload 2024/10/30 06:15:49.394756 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 2024/10/30 06:15:49.394780 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) 2024/10/30 06:15:49 ERROR : dir/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 2024/10/30 06:15:49 ERROR : dir/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 2024/10/30 06:15:56.190642 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/move: Resource is busy. Please try again (Code=2502, Status=429), Attempt 3 time="2024-10-30T06:15:56Z" level=warning msg="Too many requests, retrying after delay" after=12 method=PUT pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/move" 2024/10/30 06:15:56 DEBUG : dir/file1: vfs cache: starting upload 2024/10/30 06:15:56.538875 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 2024/10/30 06:15:56.538897 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) 2024/10/30 06:15:57 ERROR : dir/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 2024/10/30 06:15:57 ERROR : dir/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 2024/10/30 06:16:09 DEBUG : dir/file1: vfs cache: starting upload 2024/10/30 06:16:10.052585 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 2024/10/30 06:16:10.052617 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) 2024/10/30 06:16:10 ERROR : dir/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 2024/10/30 06:16:10 ERROR : dir/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 2024/10/30 06:16:18.575489 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/move: Resource is busy. Please try again (Code=2502, Status=429), Attempt 4 2024/10/30 06:16:18.575530 ERROR RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/move: Resource is busy. Please try again (Code=2502, Status=429) 2024/10/30 06:16:18 ERROR : dir/file1: Couldn't move: 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/move: Resource is busy. Please try again (Code=2502, Status=429) 2024/10/30 06:16:18 ERROR : newLeaf: File.Rename error: 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/move: Resource is busy. Please try again (Code=2502, Status=429) 2024/10/30 06:16:18 ERROR : dir/file1: Dir.Rename error: 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/move: Resource is busy. Please try again (Code=2502, Status=429) file_test.go:342: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:342 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Received unexpected error: 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/FhbMqxI5ZPuZG73T_AEyb7zdCsVL10kusVipnS1cjH47CWdvbJx13coC5Tig3VsTdHPWToWeL8JzJFCPzQOteA==/move: Resource is busy. Please try again (Code=2502, Status=429) Test: TestFileRename/minimal,forceCache=true 2024/10/30 06:16:18 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:16:18 DEBUG : dir: Looking for writers 2024/10/30 06:16:18 DEBUG : file1: reading active writers 2024/10/30 06:16:18 DEBUG : : Looking for writers 2024/10/30 06:16:18 DEBUG : dir: reading active writers 2024/10/30 06:16:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/30 06:16:18 DEBUG : dir: Looking for writers 2024/10/30 06:16:18 DEBUG : file1: reading active writers 2024/10/30 06:16:18 DEBUG : : Looking for writers 2024/10/30 06:16:18 DEBUG : dir: reading active writers 2024/10/30 06:16:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/30 06:16:18 DEBUG : dir: Looking for writers 2024/10/30 06:16:18 DEBUG : file1: reading active writers 2024/10/30 06:16:18 DEBUG : : Looking for writers 2024/10/30 06:16:18 DEBUG : dir: reading active writers 2024/10/30 06:16:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/30 06:16:18 DEBUG : dir: Looking for writers 2024/10/30 06:16:18 DEBUG : file1: reading active writers 2024/10/30 06:16:18 DEBUG : : Looking for writers 2024/10/30 06:16:18 DEBUG : dir: reading active writers 2024/10/30 06:16:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/30 06:16:18 DEBUG : dir: Looking for writers 2024/10/30 06:16:18 DEBUG : file1: reading active writers 2024/10/30 06:16:18 DEBUG : : Looking for writers 2024/10/30 06:16:18 DEBUG : dir: reading active writers 2024/10/30 06:16:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/30 06:16:18 DEBUG : dir: Looking for writers 2024/10/30 06:16:18 DEBUG : file1: reading active writers 2024/10/30 06:16:18 DEBUG : : Looking for writers 2024/10/30 06:16:18 DEBUG : dir: reading active writers 2024/10/30 06:16:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/30 06:16:19 DEBUG : dir: Looking for writers 2024/10/30 06:16:19 DEBUG : file1: reading active writers 2024/10/30 06:16:19 DEBUG : : Looking for writers 2024/10/30 06:16:19 DEBUG : dir: reading active writers 2024/10/30 06:16:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/30 06:16:19 DEBUG : dir: Looking for writers 2024/10/30 06:16:19 DEBUG : file1: reading active writers 2024/10/30 06:16:19 DEBUG : : Looking for writers 2024/10/30 06:16:19 DEBUG : dir: reading active writers 2024/10/30 06:16:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:20 DEBUG : dir: Looking for writers 2024/10/30 06:16:20 DEBUG : file1: reading active writers 2024/10/30 06:16:20 DEBUG : : Looking for writers 2024/10/30 06:16:20 DEBUG : dir: reading active writers 2024/10/30 06:16:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:21 DEBUG : dir: Looking for writers 2024/10/30 06:16:21 DEBUG : file1: reading active writers 2024/10/30 06:16:21 DEBUG : : Looking for writers 2024/10/30 06:16:21 DEBUG : dir: reading active writers 2024/10/30 06:16:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:22 DEBUG : dir: Looking for writers 2024/10/30 06:16:22 DEBUG : file1: reading active writers 2024/10/30 06:16:22 DEBUG : : Looking for writers 2024/10/30 06:16:22 DEBUG : dir: reading active writers 2024/10/30 06:16:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:23 DEBUG : dir: Looking for writers 2024/10/30 06:16:23 DEBUG : file1: reading active writers 2024/10/30 06:16:23 DEBUG : : Looking for writers 2024/10/30 06:16:23 DEBUG : dir: reading active writers 2024/10/30 06:16:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:24 DEBUG : dir: Looking for writers 2024/10/30 06:16:24 DEBUG : file1: reading active writers 2024/10/30 06:16:24 DEBUG : : Looking for writers 2024/10/30 06:16:24 DEBUG : dir: reading active writers 2024/10/30 06:16:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:25 DEBUG : dir: Looking for writers 2024/10/30 06:16:25 DEBUG : file1: reading active writers 2024/10/30 06:16:25 DEBUG : : Looking for writers 2024/10/30 06:16:25 DEBUG : dir: reading active writers 2024/10/30 06:16:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:26 DEBUG : dir: Looking for writers 2024/10/30 06:16:26 DEBUG : file1: reading active writers 2024/10/30 06:16:26 DEBUG : : Looking for writers 2024/10/30 06:16:26 DEBUG : dir: reading active writers 2024/10/30 06:16:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:27 DEBUG : dir: Looking for writers 2024/10/30 06:16:27 DEBUG : file1: reading active writers 2024/10/30 06:16:27 DEBUG : : Looking for writers 2024/10/30 06:16:27 DEBUG : dir: reading active writers 2024/10/30 06:16:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:28 DEBUG : dir: Looking for writers 2024/10/30 06:16:28 DEBUG : file1: reading active writers 2024/10/30 06:16:28 DEBUG : : Looking for writers 2024/10/30 06:16:28 DEBUG : dir: reading active writers 2024/10/30 06:16:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:29 DEBUG : dir: Looking for writers 2024/10/30 06:16:29 DEBUG : file1: reading active writers 2024/10/30 06:16:29 DEBUG : : Looking for writers 2024/10/30 06:16:29 DEBUG : dir: reading active writers 2024/10/30 06:16:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:30 DEBUG : dir: Looking for writers 2024/10/30 06:16:30 DEBUG : file1: reading active writers 2024/10/30 06:16:30 DEBUG : : Looking for writers 2024/10/30 06:16:30 DEBUG : dir: reading active writers 2024/10/30 06:16:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:31 DEBUG : dir: Looking for writers 2024/10/30 06:16:31 DEBUG : file1: reading active writers 2024/10/30 06:16:31 DEBUG : : Looking for writers 2024/10/30 06:16:31 DEBUG : dir: reading active writers 2024/10/30 06:16:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:32 DEBUG : dir: Looking for writers 2024/10/30 06:16:32 DEBUG : file1: reading active writers 2024/10/30 06:16:32 DEBUG : : Looking for writers 2024/10/30 06:16:32 DEBUG : dir: reading active writers 2024/10/30 06:16:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:33 DEBUG : dir: Looking for writers 2024/10/30 06:16:33 DEBUG : file1: reading active writers 2024/10/30 06:16:33 DEBUG : : Looking for writers 2024/10/30 06:16:33 DEBUG : dir: reading active writers 2024/10/30 06:16:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:34 DEBUG : dir: Looking for writers 2024/10/30 06:16:34 DEBUG : file1: reading active writers 2024/10/30 06:16:34 DEBUG : : Looking for writers 2024/10/30 06:16:34 DEBUG : dir: reading active writers 2024/10/30 06:16:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:35 DEBUG : dir: Looking for writers 2024/10/30 06:16:35 DEBUG : file1: reading active writers 2024/10/30 06:16:35 DEBUG : : Looking for writers 2024/10/30 06:16:35 DEBUG : dir: reading active writers 2024/10/30 06:16:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:35 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2024/10/30 06:16:35 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 14 (was 14) 2024/10/30 06:16:36 DEBUG : dir/file1: vfs cache: starting upload 2024/10/30 06:16:36.430777 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 2024/10/30 06:16:36.430804 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) 2024/10/30 06:16:36 DEBUG : dir: Looking for writers 2024/10/30 06:16:36 DEBUG : file1: reading active writers 2024/10/30 06:16:36 DEBUG : : Looking for writers 2024/10/30 06:16:36 DEBUG : dir: reading active writers 2024/10/30 06:16:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:36 ERROR : dir/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 2024/10/30 06:16:36 ERROR : dir/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 2024/10/30 06:16:37 DEBUG : dir: Looking for writers 2024/10/30 06:16:37 DEBUG : file1: reading active writers 2024/10/30 06:16:37 DEBUG : : Looking for writers 2024/10/30 06:16:37 DEBUG : dir: reading active writers 2024/10/30 06:16:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:38 DEBUG : dir: Looking for writers 2024/10/30 06:16:38 DEBUG : file1: reading active writers 2024/10/30 06:16:38 DEBUG : : Looking for writers 2024/10/30 06:16:38 DEBUG : dir: reading active writers 2024/10/30 06:16:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:39 DEBUG : dir: Looking for writers 2024/10/30 06:16:39 DEBUG : file1: reading active writers 2024/10/30 06:16:39 DEBUG : : Looking for writers 2024/10/30 06:16:39 DEBUG : dir: reading active writers 2024/10/30 06:16:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:40 DEBUG : dir: Looking for writers 2024/10/30 06:16:40 DEBUG : file1: reading active writers 2024/10/30 06:16:40 DEBUG : : Looking for writers 2024/10/30 06:16:40 DEBUG : dir: reading active writers 2024/10/30 06:16:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:41 DEBUG : dir: Looking for writers 2024/10/30 06:16:41 DEBUG : file1: reading active writers 2024/10/30 06:16:41 DEBUG : : Looking for writers 2024/10/30 06:16:41 DEBUG : dir: reading active writers 2024/10/30 06:16:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:42 DEBUG : dir: Looking for writers 2024/10/30 06:16:42 DEBUG : file1: reading active writers 2024/10/30 06:16:42 DEBUG : : Looking for writers 2024/10/30 06:16:42 DEBUG : dir: reading active writers 2024/10/30 06:16:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:43 DEBUG : dir: Looking for writers 2024/10/30 06:16:43 DEBUG : file1: reading active writers 2024/10/30 06:16:43 DEBUG : : Looking for writers 2024/10/30 06:16:43 DEBUG : dir: reading active writers 2024/10/30 06:16:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:44 DEBUG : dir: Looking for writers 2024/10/30 06:16:44 DEBUG : file1: reading active writers 2024/10/30 06:16:44 DEBUG : : Looking for writers 2024/10/30 06:16:44 DEBUG : dir: reading active writers 2024/10/30 06:16:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:45 DEBUG : dir: Looking for writers 2024/10/30 06:16:45 DEBUG : file1: reading active writers 2024/10/30 06:16:45 DEBUG : : Looking for writers 2024/10/30 06:16:45 DEBUG : dir: reading active writers 2024/10/30 06:16:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:46 DEBUG : dir: Looking for writers 2024/10/30 06:16:46 DEBUG : file1: reading active writers 2024/10/30 06:16:46 DEBUG : : Looking for writers 2024/10/30 06:16:46 DEBUG : dir: reading active writers 2024/10/30 06:16:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:47 DEBUG : dir: Looking for writers 2024/10/30 06:16:47 DEBUG : file1: reading active writers 2024/10/30 06:16:47 DEBUG : : Looking for writers 2024/10/30 06:16:47 DEBUG : dir: reading active writers 2024/10/30 06:16:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:16:48 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0xc0006900f0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000808808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824642144320} name:dir/file1 opens:0 downloaders: o:0xc0003de6e0 fd: info:{ModTime:{wall:499999999 ext:63116769906 loc:} ATime:{wall:13961318940419542765 ext:359240152545 loc:0x39d4e20} Size:14 Rs:[{Pos:0 Size:14}] Fingerprint:14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2024/10/30 06:16:48 DEBUG : >WaitForWriters: 2024/10/30 06:16:48 DEBUG : vfs cache: cleaner exiting === RUN TestFileRename/writes,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-payaqex8lisu'", Local "Local file system at /tmp/rclone2324658129", Modify Window "1s" 2024/10/30 06:16:50 INFO : proton drive root link ID 'rclone-test-payaqex8lisu': poll-interval is not supported by this remote 2024/10/30 06:16:50 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/30 06:16:50 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:16:50 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:16:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:16:50 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/30 06:16:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:16:50 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:16:50 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/30 06:16:50 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:16:50 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/30 06:16:52 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:16:52 DEBUG : dir: Looking for writers 2024/10/30 06:16:52 DEBUG : file1: reading active writers 2024/10/30 06:16:52 DEBUG : : Looking for writers 2024/10/30 06:16:52 DEBUG : dir: reading active writers 2024/10/30 06:16:52 DEBUG : >WaitForWriters: 2024/10/30 06:16:59 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/30 06:16:59 DEBUG : newLeaf: Updating file with newLeaf 0xc0000015c0 2024/10/30 06:16:59 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/30 06:16:59 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/30 06:17:06 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/30 06:17:06 DEBUG : dir/file1: Updating file with dir/file1 0xc0000015c0 2024/10/30 06:17:06 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/30 06:17:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:17:06 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/30 06:17:06 DEBUG : dir/file1: newRWFileHandle: 2024/10/30 06:17:06 DEBUG : dir/file1(0xc0003fa840): openPending: 2024/10/30 06:17:06 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "" 2024/10/30 06:17:06 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/30 06:17:06 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:17:06 DEBUG : dir/file1(0xc0003fa840): >openPending: err= 2024/10/30 06:17:06 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/30 06:17:06 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/30 06:17:06 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/30 06:17:06 DEBUG : dir/file1(0xc0003fa840): _writeAt: size=25, off=0 2024/10/30 06:17:06 DEBUG : dir/file1(0xc0003fa840): >_writeAt: n=25, err= 2024/10/30 06:17:12 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/30 06:17:12 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/30 06:17:12 DEBUG : newLeaf: Updating file with newLeaf 0xc0000015c0 2024/10/30 06:17:12 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/30 06:17:12 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/30 06:17:12 DEBUG : newLeaf(0xc0003fa840): close: 2024/10/30 06:17:12 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/30 06:17:12 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-30 06:17:06.776351485 +0000 UTC m=+477.351457276 2024/10/30 06:17:12 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/30 06:17:12 DEBUG : newLeaf(0xc0003fa840): >close: err= 2024/10/30 06:17:12 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:17:12 DEBUG : dir: Looking for writers 2024/10/30 06:17:12 DEBUG : : Looking for writers 2024/10/30 06:17:12 DEBUG : dir: reading active writers 2024/10/30 06:17:12 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/30 06:17:12 DEBUG : dir: Looking for writers 2024/10/30 06:17:12 DEBUG : : Looking for writers 2024/10/30 06:17:12 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:12 DEBUG : dir: reading active writers 2024/10/30 06:17:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/30 06:17:12 DEBUG : dir: Looking for writers 2024/10/30 06:17:12 DEBUG : : Looking for writers 2024/10/30 06:17:12 DEBUG : dir: reading active writers 2024/10/30 06:17:12 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/30 06:17:12 DEBUG : dir: Looking for writers 2024/10/30 06:17:12 DEBUG : : Looking for writers 2024/10/30 06:17:12 DEBUG : dir: reading active writers 2024/10/30 06:17:12 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/30 06:17:12 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:17:12 DEBUG : dir: Looking for writers 2024/10/30 06:17:12 DEBUG : : Looking for writers 2024/10/30 06:17:12 DEBUG : dir: reading active writers 2024/10/30 06:17:12 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/30 06:17:13 DEBUG : dir: Looking for writers 2024/10/30 06:17:13 DEBUG : : Looking for writers 2024/10/30 06:17:13 DEBUG : dir: reading active writers 2024/10/30 06:17:13 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/30 06:17:13.141254 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 2024/10/30 06:17:13.141275 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) 2024/10/30 06:17:13 DEBUG : dir: Looking for writers 2024/10/30 06:17:13 DEBUG : : Looking for writers 2024/10/30 06:17:13 DEBUG : dir: reading active writers 2024/10/30 06:17:13 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/30 06:17:14 DEBUG : dir: Looking for writers 2024/10/30 06:17:14 DEBUG : : Looking for writers 2024/10/30 06:17:14 DEBUG : dir: reading active writers 2024/10/30 06:17:14 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:15 DEBUG : dir: Looking for writers 2024/10/30 06:17:15 DEBUG : : Looking for writers 2024/10/30 06:17:15 DEBUG : dir: reading active writers 2024/10/30 06:17:15 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:16 DEBUG : dir: Looking for writers 2024/10/30 06:17:16 DEBUG : : Looking for writers 2024/10/30 06:17:16 DEBUG : dir: reading active writers 2024/10/30 06:17:16 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:17 DEBUG : dir: Looking for writers 2024/10/30 06:17:17 DEBUG : : Looking for writers 2024/10/30 06:17:17 DEBUG : dir: reading active writers 2024/10/30 06:17:17 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:18 DEBUG : dir: Looking for writers 2024/10/30 06:17:18 DEBUG : : Looking for writers 2024/10/30 06:17:18 DEBUG : dir: reading active writers 2024/10/30 06:17:18 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:19 DEBUG : dir: Looking for writers 2024/10/30 06:17:19 DEBUG : : Looking for writers 2024/10/30 06:17:19 DEBUG : dir: reading active writers 2024/10/30 06:17:19 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:20 DEBUG : dir: Looking for writers 2024/10/30 06:17:20 DEBUG : : Looking for writers 2024/10/30 06:17:20 DEBUG : dir: reading active writers 2024/10/30 06:17:20 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:21 DEBUG : dir: Looking for writers 2024/10/30 06:17:21 DEBUG : : Looking for writers 2024/10/30 06:17:21 DEBUG : dir: reading active writers 2024/10/30 06:17:21 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:22 DEBUG : dir: Looking for writers 2024/10/30 06:17:22 DEBUG : : Looking for writers 2024/10/30 06:17:22 DEBUG : dir: reading active writers 2024/10/30 06:17:22 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:23 DEBUG : dir: Looking for writers 2024/10/30 06:17:23 DEBUG : : Looking for writers 2024/10/30 06:17:23 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:23 DEBUG : dir: reading active writers 2024/10/30 06:17:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:24 DEBUG : dir: Looking for writers 2024/10/30 06:17:24 DEBUG : : Looking for writers 2024/10/30 06:17:24 DEBUG : dir: reading active writers 2024/10/30 06:17:24 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:25.050339 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/b8KSwTODvCzXaYnz7JtJ8asF2ftkz2NwjMaFQv1y0gtMJMVczKXOxMAkT9d7YCEM-lPi7wTbDnqhM1QJoj2JKg==/revisions/HzN4eKEQR-_OaArghBBOQo7zBA3LJu2XGRspVXKFAFl1e_pv5uAmcNLzBvVuQ0NaOKo_FUZK-S2xGhYQV0FAzA==: Resource is busy. Please try again (Code=2502, Status=429), Attempt 1 time="2024-10-30T06:17:25Z" level=warning msg="Too many requests, retrying after delay" after=14 method=PUT pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/b8KSwTODvCzXaYnz7JtJ8asF2ftkz2NwjMaFQv1y0gtMJMVczKXOxMAkT9d7YCEM-lPi7wTbDnqhM1QJoj2JKg==/revisions/HzN4eKEQR-_OaArghBBOQo7zBA3LJu2XGRspVXKFAFl1e_pv5uAmcNLzBvVuQ0NaOKo_FUZK-S2xGhYQV0FAzA==" 2024/10/30 06:17:25 DEBUG : dir: Looking for writers 2024/10/30 06:17:25 DEBUG : : Looking for writers 2024/10/30 06:17:25 DEBUG : dir: reading active writers 2024/10/30 06:17:25 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:26 DEBUG : dir: Looking for writers 2024/10/30 06:17:26 DEBUG : : Looking for writers 2024/10/30 06:17:26 DEBUG : dir: reading active writers 2024/10/30 06:17:26 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:27 DEBUG : dir: Looking for writers 2024/10/30 06:17:27 DEBUG : : Looking for writers 2024/10/30 06:17:27 DEBUG : dir: reading active writers 2024/10/30 06:17:27 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:28 DEBUG : dir: Looking for writers 2024/10/30 06:17:28 DEBUG : : Looking for writers 2024/10/30 06:17:28 DEBUG : dir: reading active writers 2024/10/30 06:17:28 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:29 DEBUG : dir: Looking for writers 2024/10/30 06:17:29 DEBUG : : Looking for writers 2024/10/30 06:17:29 DEBUG : dir: reading active writers 2024/10/30 06:17:29 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:30 DEBUG : dir: Looking for writers 2024/10/30 06:17:30 DEBUG : : Looking for writers 2024/10/30 06:17:30 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:30 DEBUG : dir: reading active writers 2024/10/30 06:17:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:31 DEBUG : dir: Looking for writers 2024/10/30 06:17:31 DEBUG : : Looking for writers 2024/10/30 06:17:31 DEBUG : dir: reading active writers 2024/10/30 06:17:31 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:32 DEBUG : dir: Looking for writers 2024/10/30 06:17:32 DEBUG : : Looking for writers 2024/10/30 06:17:32 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:32 DEBUG : dir: reading active writers 2024/10/30 06:17:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:33 DEBUG : dir: Looking for writers 2024/10/30 06:17:33 DEBUG : : Looking for writers 2024/10/30 06:17:33 DEBUG : dir: reading active writers 2024/10/30 06:17:33 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:34 DEBUG : dir: Looking for writers 2024/10/30 06:17:34 DEBUG : : Looking for writers 2024/10/30 06:17:34 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:34 DEBUG : dir: reading active writers 2024/10/30 06:17:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:35 DEBUG : dir: Looking for writers 2024/10/30 06:17:35 DEBUG : : Looking for writers 2024/10/30 06:17:35 DEBUG : dir: reading active writers 2024/10/30 06:17:35 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:36 DEBUG : dir: Looking for writers 2024/10/30 06:17:36 DEBUG : : Looking for writers 2024/10/30 06:17:36 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:36 DEBUG : dir: reading active writers 2024/10/30 06:17:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:37 DEBUG : dir: Looking for writers 2024/10/30 06:17:37 DEBUG : : Looking for writers 2024/10/30 06:17:37 DEBUG : dir: reading active writers 2024/10/30 06:17:37 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:38 DEBUG : dir: Looking for writers 2024/10/30 06:17:38 DEBUG : : Looking for writers 2024/10/30 06:17:38 DEBUG : dir: reading active writers 2024/10/30 06:17:38 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:39 DEBUG : dir: Looking for writers 2024/10/30 06:17:39 DEBUG : : Looking for writers 2024/10/30 06:17:39 DEBUG : dir: reading active writers 2024/10/30 06:17:39 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:40 DEBUG : dir: Looking for writers 2024/10/30 06:17:40 DEBUG : : Looking for writers 2024/10/30 06:17:40 DEBUG : dir: reading active writers 2024/10/30 06:17:40 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:41 DEBUG : dir: Looking for writers 2024/10/30 06:17:41 DEBUG : : Looking for writers 2024/10/30 06:17:41 DEBUG : dir: reading active writers 2024/10/30 06:17:41 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:42 DEBUG : dir: Looking for writers 2024/10/30 06:17:42 DEBUG : : Looking for writers 2024/10/30 06:17:42 DEBUG : dir: reading active writers 2024/10/30 06:17:42 DEBUG : newLeaf: reading active writers 2024/10/30 06:17:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:17:42 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "newLeaf": &{c:0xc000874000 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000336808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824637089856} name:newLeaf opens:0 downloaders: o:0xc0003de5a0 fd: info:{ModTime:{wall:13961319067232382717 ext:477351457276 loc:0x39d4e20} ATime:{wall:13961319073725600273 ext:483402223877 loc:0x39d4e20} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2024/10/30 06:17:42 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache 2024/10/30 06:17:49.449303 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/b8KSwTODvCzXaYnz7JtJ8asF2ftkz2NwjMaFQv1y0gtMJMVczKXOxMAkT9d7YCEM-lPi7wTbDnqhM1QJoj2JKg==/revisions/HzN4eKEQR-_OaArghBBOQo7zBA3LJu2XGRspVXKFAFl1e_pv5uAmcNLzBvVuQ0NaOKo_FUZK-S2xGhYQV0FAzA==: Resource is busy. Please try again (Code=2502, Status=429), Attempt 2 time="2024-10-30T06:17:49Z" level=warning msg="Too many requests, retrying after delay" after=13 method=PUT pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/b8KSwTODvCzXaYnz7JtJ8asF2ftkz2NwjMaFQv1y0gtMJMVczKXOxMAkT9d7YCEM-lPi7wTbDnqhM1QJoj2JKg==/revisions/HzN4eKEQR-_OaArghBBOQo7zBA3LJu2XGRspVXKFAFl1e_pv5uAmcNLzBvVuQ0NaOKo_FUZK-S2xGhYQV0FAzA==" 2024/10/30 06:17:50 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2024/10/30 06:17:50 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 25 (was 25) fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache 2024/10/30 06:18:50 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2024/10/30 06:18:50 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 25 (was 25) 2024/10/30 06:19:02.695676 WARN RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/b8KSwTODvCzXaYnz7JtJ8asF2ftkz2NwjMaFQv1y0gtMJMVczKXOxMAkT9d7YCEM-lPi7wTbDnqhM1QJoj2JKg==/revisions/HzN4eKEQR-_OaArghBBOQo7zBA3LJu2XGRspVXKFAFl1e_pv5uAmcNLzBvVuQ0NaOKo_FUZK-S2xGhYQV0FAzA==: Internal server error (Code=500, Status=500), Attempt 3 2024/10/30 06:19:02.695705 ERROR RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/b8KSwTODvCzXaYnz7JtJ8asF2ftkz2NwjMaFQv1y0gtMJMVczKXOxMAkT9d7YCEM-lPi7wTbDnqhM1QJoj2JKg==/revisions/HzN4eKEQR-_OaArghBBOQo7zBA3LJu2XGRspVXKFAFl1e_pv5uAmcNLzBvVuQ0NaOKo_FUZK-S2xGhYQV0FAzA==: Internal server error (Code=500, Status=500) 2024/10/30 06:19:02 ERROR : newLeaf: Failed to copy: 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/b8KSwTODvCzXaYnz7JtJ8asF2ftkz2NwjMaFQv1y0gtMJMVczKXOxMAkT9d7YCEM-lPi7wTbDnqhM1QJoj2JKg==/revisions/HzN4eKEQR-_OaArghBBOQo7zBA3LJu2XGRspVXKFAFl1e_pv5uAmcNLzBvVuQ0NaOKo_FUZK-S2xGhYQV0FAzA==: Internal server error (Code=500, Status=500) 2024/10/30 06:19:02 ERROR : newLeaf: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/b8KSwTODvCzXaYnz7JtJ8asF2ftkz2NwjMaFQv1y0gtMJMVczKXOxMAkT9d7YCEM-lPi7wTbDnqhM1QJoj2JKg==/revisions/HzN4eKEQR-_OaArghBBOQo7zBA3LJu2XGRspVXKFAFl1e_pv5uAmcNLzBvVuQ0NaOKo_FUZK-S2xGhYQV0FAzA==: Internal server error (Code=500, Status=500) 2024/10/30 06:19:02 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:19:13 DEBUG : : forgetting directory cache 2024/10/30 06:19:13 DEBUG : dir: forgetting directory cache 2024/10/30 06:19:13 DEBUG : dir: Removed virtual directory entry vAddFile: "file1" 2024/10/30 06:19:17.912958 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 2024/10/30 06:19:17.912991 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) fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 2024/10/30 06:19:18 ERROR : newLeaf: 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 2024/10/30 06:19:18 ERROR : newLeaf: 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 2024/10/30 06:19:18 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:19:18.999784 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 2024/10/30 06:19:18.999811 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) 2024/10/30 06:19:19 ERROR : newLeaf: 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 2024/10/30 06:19:19 ERROR : newLeaf: 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 2024/10/30 06:19:20 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:19:20.510200 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 2024/10/30 06:19:20.510223 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) 2024/10/30 06:19:20 ERROR : newLeaf: 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 2024/10/30 06:19:20 ERROR : newLeaf: 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 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: listing wrong, want newLeaf (25) got newLeaf (14) fstest.go:137: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:137 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:143 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=false Messages: proton drive root link ID 'rclone-test-payaqex8lisu'/newLeaf: sha1 hash incorrect - expecting "f1f3d7db56f36d9a5a912b01803c2176a972b9b0" got "a379624177abc4679cafafa8eae1d73e1478aaa6" fstest.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:144 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 25 actual : 14 Test: TestFileRename/writes,forceCache=false Messages: newLeaf: size incorrect file=25 vs obj=14 2024/10/30 06:19:22 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:19:22 DEBUG : dir: Looking for writers 2024/10/30 06:19:22 DEBUG : : Looking for writers 2024/10/30 06:19:22 DEBUG : dir: reading active writers 2024/10/30 06:19:22 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/30 06:19:22 DEBUG : dir: Looking for writers 2024/10/30 06:19:22 DEBUG : : Looking for writers 2024/10/30 06:19:22 DEBUG : dir: reading active writers 2024/10/30 06:19:22 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/30 06:19:22 DEBUG : dir: Looking for writers 2024/10/30 06:19:22 DEBUG : : Looking for writers 2024/10/30 06:19:22 DEBUG : dir: reading active writers 2024/10/30 06:19:22 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/30 06:19:22 DEBUG : dir: Looking for writers 2024/10/30 06:19:22 DEBUG : : Looking for writers 2024/10/30 06:19:22 DEBUG : dir: reading active writers 2024/10/30 06:19:22 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/30 06:19:22 DEBUG : dir: Looking for writers 2024/10/30 06:19:22 DEBUG : : Looking for writers 2024/10/30 06:19:22 DEBUG : dir: reading active writers 2024/10/30 06:19:22 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/30 06:19:22 DEBUG : dir: Looking for writers 2024/10/30 06:19:22 DEBUG : : Looking for writers 2024/10/30 06:19:22 DEBUG : dir: reading active writers 2024/10/30 06:19:22 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/30 06:19:22 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:19:22 DEBUG : dir: Looking for writers 2024/10/30 06:19:22 DEBUG : : Looking for writers 2024/10/30 06:19:22 DEBUG : dir: reading active writers 2024/10/30 06:19:22 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/30 06:19:23 DEBUG : dir: Looking for writers 2024/10/30 06:19:23 DEBUG : : Looking for writers 2024/10/30 06:19:23 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:23 DEBUG : dir: reading active writers 2024/10/30 06:19:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:24 DEBUG : dir: Looking for writers 2024/10/30 06:19:24 DEBUG : : Looking for writers 2024/10/30 06:19:24 DEBUG : dir: reading active writers 2024/10/30 06:19:24 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:25 DEBUG : dir: Looking for writers 2024/10/30 06:19:25 DEBUG : : Looking for writers 2024/10/30 06:19:25 DEBUG : dir: reading active writers 2024/10/30 06:19:25 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:26 DEBUG : dir: Looking for writers 2024/10/30 06:19:26 DEBUG : : Looking for writers 2024/10/30 06:19:26 DEBUG : dir: reading active writers 2024/10/30 06:19:26 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:27 DEBUG : dir: Looking for writers 2024/10/30 06:19:27 DEBUG : : Looking for writers 2024/10/30 06:19:27 DEBUG : dir: reading active writers 2024/10/30 06:19:27 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:28 DEBUG : dir: Looking for writers 2024/10/30 06:19:28 DEBUG : : Looking for writers 2024/10/30 06:19:28 DEBUG : dir: reading active writers 2024/10/30 06:19:28 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:29 DEBUG : dir: Looking for writers 2024/10/30 06:19:29 DEBUG : : Looking for writers 2024/10/30 06:19:29 DEBUG : dir: reading active writers 2024/10/30 06:19:29 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:30 DEBUG : dir: Looking for writers 2024/10/30 06:19:30 DEBUG : : Looking for writers 2024/10/30 06:19:30 DEBUG : dir: reading active writers 2024/10/30 06:19:30 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:31 DEBUG : dir: Looking for writers 2024/10/30 06:19:31 DEBUG : : Looking for writers 2024/10/30 06:19:31 DEBUG : dir: reading active writers 2024/10/30 06:19:31 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:32 DEBUG : dir: Looking for writers 2024/10/30 06:19:32 DEBUG : : Looking for writers 2024/10/30 06:19:32 DEBUG : dir: reading active writers 2024/10/30 06:19:32 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:33 DEBUG : dir: Looking for writers 2024/10/30 06:19:33 DEBUG : : Looking for writers 2024/10/30 06:19:33 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:33 DEBUG : dir: reading active writers 2024/10/30 06:19:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:34 DEBUG : dir: Looking for writers 2024/10/30 06:19:34 DEBUG : : Looking for writers 2024/10/30 06:19:34 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:34 DEBUG : dir: reading active writers 2024/10/30 06:19:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:35 DEBUG : dir: Looking for writers 2024/10/30 06:19:35 DEBUG : : Looking for writers 2024/10/30 06:19:35 DEBUG : dir: reading active writers 2024/10/30 06:19:35 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:36 DEBUG : dir: Looking for writers 2024/10/30 06:19:36 DEBUG : : Looking for writers 2024/10/30 06:19:36 DEBUG : dir: reading active writers 2024/10/30 06:19:36 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:37 DEBUG : dir: Looking for writers 2024/10/30 06:19:37 DEBUG : : Looking for writers 2024/10/30 06:19:37 DEBUG : dir: reading active writers 2024/10/30 06:19:37 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:38 DEBUG : dir: Looking for writers 2024/10/30 06:19:38 DEBUG : : Looking for writers 2024/10/30 06:19:38 DEBUG : dir: reading active writers 2024/10/30 06:19:38 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:39 DEBUG : dir: Looking for writers 2024/10/30 06:19:39 DEBUG : : Looking for writers 2024/10/30 06:19:39 DEBUG : dir: reading active writers 2024/10/30 06:19:39 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:40 DEBUG : dir: Looking for writers 2024/10/30 06:19:40 DEBUG : : Looking for writers 2024/10/30 06:19:40 DEBUG : dir: reading active writers 2024/10/30 06:19:40 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:41 DEBUG : dir: Looking for writers 2024/10/30 06:19:41 DEBUG : : Looking for writers 2024/10/30 06:19:41 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:41 DEBUG : dir: reading active writers 2024/10/30 06:19:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:42 DEBUG : dir: Looking for writers 2024/10/30 06:19:42 DEBUG : : Looking for writers 2024/10/30 06:19:42 DEBUG : dir: reading active writers 2024/10/30 06:19:42 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:43 DEBUG : dir: Looking for writers 2024/10/30 06:19:43 DEBUG : : Looking for writers 2024/10/30 06:19:43 DEBUG : dir: reading active writers 2024/10/30 06:19:43 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:44 DEBUG : dir: Looking for writers 2024/10/30 06:19:44 DEBUG : : Looking for writers 2024/10/30 06:19:44 DEBUG : dir: reading active writers 2024/10/30 06:19:44 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:45 DEBUG : dir: Looking for writers 2024/10/30 06:19:45 DEBUG : : Looking for writers 2024/10/30 06:19:45 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:45 DEBUG : dir: reading active writers 2024/10/30 06:19:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:46 DEBUG : dir: Looking for writers 2024/10/30 06:19:46 DEBUG : : Looking for writers 2024/10/30 06:19:46 DEBUG : dir: reading active writers 2024/10/30 06:19:46 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:47 DEBUG : dir: Looking for writers 2024/10/30 06:19:47 DEBUG : : Looking for writers 2024/10/30 06:19:47 DEBUG : dir: reading active writers 2024/10/30 06:19:47 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:48 DEBUG : dir: Looking for writers 2024/10/30 06:19:48 DEBUG : : Looking for writers 2024/10/30 06:19:48 DEBUG : dir: reading active writers 2024/10/30 06:19:48 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:49 DEBUG : dir: Looking for writers 2024/10/30 06:19:49 DEBUG : : Looking for writers 2024/10/30 06:19:49 DEBUG : dir: reading active writers 2024/10/30 06:19:49 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:50 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2024/10/30 06:19:50 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 25 (was 25) 2024/10/30 06:19:50 DEBUG : dir: Looking for writers 2024/10/30 06:19:50 DEBUG : : Looking for writers 2024/10/30 06:19:50 DEBUG : dir: reading active writers 2024/10/30 06:19:50 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:51 DEBUG : dir: Looking for writers 2024/10/30 06:19:51 DEBUG : : Looking for writers 2024/10/30 06:19:51 DEBUG : dir: reading active writers 2024/10/30 06:19:51 DEBUG : newLeaf: reading active writers 2024/10/30 06:19:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:19:52 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "newLeaf": &{c:0xc000874000 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000336808 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824637089856} name:newLeaf opens:0 downloaders: o:0xc0003de5a0 fd: info:{ModTime:{wall:13961319067232382717 ext:477351457276 loc:0x39d4e20} ATime:{wall:13961319073725600273 ext:483402223877 loc:0x39d4e20} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2024/10/30 06:19:52 DEBUG : >WaitForWriters: 2024/10/30 06:19:52 DEBUG : vfs cache: cleaner exiting 2024/10/30 06:19:52.241925 WARN RESTY Get "https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=48&PageSize=150&ShowAll=1": context canceled, Attempt 1 2024/10/30 06:19:52.241939 ERROR RESTY Get "https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=48&PageSize=150&ShowAll=1": context canceled 2024/10/30 06:19:52 ERROR : newLeaf: Failed to copy: received no response from API: Get "https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=48&PageSize=150&ShowAll=1": context canceled 2024/10/30 06:19:52 INFO : newLeaf: vfs cache: upload canceled === RUN TestFileRename/writes,forceCache=true run.go:180: Remote "proton drive root link ID 'rclone-test-payaqex8lisu'", Local "Local file system at /tmp/rclone2324658129", Modify Window "1s" 2024/10/30 06:20:39 INFO : proton drive root link ID 'rclone-test-payaqex8lisu': poll-interval is not supported by this remote 2024/10/30 06:20:39 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/30 06:20:39 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:20:39 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:20:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:20:39 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/30 06:20:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:20:39 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:20:39 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/30 06:20:39 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:20:39 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/30 06:20:41 DEBUG : dir/file1: Open: flags=O_RDWR|O_CREATE|O_TRUNC 2024/10/30 06:20:41 DEBUG : dir/file1: newRWFileHandle: 2024/10/30 06:20:41 DEBUG : dir/file1(0xc0007fcb40): openPending: 2024/10/30 06:20:41 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "" 2024/10/30 06:20:41 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/30 06:20:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:20:41 DEBUG : dir/file1(0xc0007fcb40): >openPending: err= 2024/10/30 06:20:41 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/30 06:20:41 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/30 06:20:41 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:20:41 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/30 06:20:41 DEBUG : dir/file1(0xc0007fcb40): _writeAt: size=14, off=0 2024/10/30 06:20:41 DEBUG : dir/file1(0xc0007fcb40): >_writeAt: n=14, err= 2024/10/30 06:20:41 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/30 06:20:41 DEBUG : dir/file1(0xc0007fcb40): close: 2024/10/30 06:20:41 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/30 06:20:41 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/30 06:20:41 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/30 06:20:41 DEBUG : dir/file1(0xc0007fcb40): >close: err= 2024/10/30 06:20:41 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:20:41 DEBUG : dir: Looking for writers 2024/10/30 06:20:41 DEBUG : file1: reading active writers 2024/10/30 06:20:41 DEBUG : : Looking for writers 2024/10/30 06:20:41 DEBUG : dir: reading active writers 2024/10/30 06:20:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/30 06:20:41 DEBUG : dir: Looking for writers 2024/10/30 06:20:41 DEBUG : file1: reading active writers 2024/10/30 06:20:41 DEBUG : : Looking for writers 2024/10/30 06:20:41 DEBUG : dir: reading active writers 2024/10/30 06:20:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/30 06:20:41 DEBUG : dir: Looking for writers 2024/10/30 06:20:41 DEBUG : file1: reading active writers 2024/10/30 06:20:41 DEBUG : : Looking for writers 2024/10/30 06:20:41 DEBUG : dir: reading active writers 2024/10/30 06:20:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/30 06:20:41 DEBUG : dir: Looking for writers 2024/10/30 06:20:41 DEBUG : file1: reading active writers 2024/10/30 06:20:41 DEBUG : : Looking for writers 2024/10/30 06:20:41 DEBUG : dir: reading active writers 2024/10/30 06:20:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/30 06:20:41 DEBUG : dir/file1: vfs cache: starting upload 2024/10/30 06:20:41 DEBUG : dir: Looking for writers 2024/10/30 06:20:41 DEBUG : file1: reading active writers 2024/10/30 06:20:41 DEBUG : : Looking for writers 2024/10/30 06:20:41 DEBUG : dir: reading active writers 2024/10/30 06:20:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/30 06:20:42.079523 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 2024/10/30 06:20:42.079548 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) 2024/10/30 06:20:42 DEBUG : dir: Looking for writers 2024/10/30 06:20:42 DEBUG : file1: reading active writers 2024/10/30 06:20:42 DEBUG : : Looking for writers 2024/10/30 06:20:42 DEBUG : dir: reading active writers 2024/10/30 06:20:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/30 06:20:42 DEBUG : dir: Looking for writers 2024/10/30 06:20:42 DEBUG : file1: reading active writers 2024/10/30 06:20:42 DEBUG : : Looking for writers 2024/10/30 06:20:42 DEBUG : dir: reading active writers 2024/10/30 06:20:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/30 06:20:43 DEBUG : dir: Looking for writers 2024/10/30 06:20:43 DEBUG : file1: reading active writers 2024/10/30 06:20:43 DEBUG : : Looking for writers 2024/10/30 06:20:43 DEBUG : dir: reading active writers 2024/10/30 06:20:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:44 DEBUG : dir: Looking for writers 2024/10/30 06:20:44 DEBUG : file1: reading active writers 2024/10/30 06:20:44 DEBUG : : Looking for writers 2024/10/30 06:20:44 DEBUG : dir: reading active writers 2024/10/30 06:20:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:45 DEBUG : dir: Looking for writers 2024/10/30 06:20:45 DEBUG : file1: reading active writers 2024/10/30 06:20:45 DEBUG : : Looking for writers 2024/10/30 06:20:45 DEBUG : dir: reading active writers 2024/10/30 06:20:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:46 DEBUG : dir: Looking for writers 2024/10/30 06:20:46 DEBUG : file1: reading active writers 2024/10/30 06:20:46 DEBUG : : Looking for writers 2024/10/30 06:20:46 DEBUG : dir: reading active writers 2024/10/30 06:20:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:47 DEBUG : dir: Looking for writers 2024/10/30 06:20:47 DEBUG : file1: reading active writers 2024/10/30 06:20:47 DEBUG : : Looking for writers 2024/10/30 06:20:47 DEBUG : dir: reading active writers 2024/10/30 06:20:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:48 DEBUG : dir: Looking for writers 2024/10/30 06:20:48 DEBUG : file1: reading active writers 2024/10/30 06:20:48 DEBUG : : Looking for writers 2024/10/30 06:20:48 DEBUG : dir: reading active writers 2024/10/30 06:20:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:49 DEBUG : dir: Looking for writers 2024/10/30 06:20:49 DEBUG : file1: reading active writers 2024/10/30 06:20:49 DEBUG : : Looking for writers 2024/10/30 06:20:49 DEBUG : dir: reading active writers 2024/10/30 06:20:49 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:50 DEBUG : dir: Looking for writers 2024/10/30 06:20:50 DEBUG : file1: reading active writers 2024/10/30 06:20:50 DEBUG : : Looking for writers 2024/10/30 06:20:50 DEBUG : dir: reading active writers 2024/10/30 06:20:50 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:51 DEBUG : dir: Looking for writers 2024/10/30 06:20:51 DEBUG : file1: reading active writers 2024/10/30 06:20:51 DEBUG : : Looking for writers 2024/10/30 06:20:51 DEBUG : dir: reading active writers 2024/10/30 06:20:51 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:52 DEBUG : dir: Looking for writers 2024/10/30 06:20:52 DEBUG : file1: reading active writers 2024/10/30 06:20:52 DEBUG : : Looking for writers 2024/10/30 06:20:52 DEBUG : dir: reading active writers 2024/10/30 06:20:52 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:53 DEBUG : dir: Looking for writers 2024/10/30 06:20:53 DEBUG : file1: reading active writers 2024/10/30 06:20:53 DEBUG : : Looking for writers 2024/10/30 06:20:53 DEBUG : dir: reading active writers 2024/10/30 06:20:53 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:54 DEBUG : dir: Looking for writers 2024/10/30 06:20:54 DEBUG : file1: reading active writers 2024/10/30 06:20:54 DEBUG : : Looking for writers 2024/10/30 06:20:54 DEBUG : dir: reading active writers 2024/10/30 06:20:54 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:54.291055 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/QC6l-2DDysMpRQkQ8dlgilNOt010HnfcY7pv8ZNBJhbq_pallIInJOQbho1jo5TjBygA5dLx1Idk6kPqtIByKg==/revisions/DNeiE1sAGkbljCPESBYEOM4rhDbZkjmIKwjRz8iFndqWx7CIV54d_ifuuXzYwLKhtL7qzrMWQhC66ET0KP5KtA==: Resource is busy. Please try again (Code=2502, Status=429), Attempt 1 time="2024-10-30T06:20:54Z" level=warning msg="Too many requests, retrying after delay" after=14 method=PUT pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/QC6l-2DDysMpRQkQ8dlgilNOt010HnfcY7pv8ZNBJhbq_pallIInJOQbho1jo5TjBygA5dLx1Idk6kPqtIByKg==/revisions/DNeiE1sAGkbljCPESBYEOM4rhDbZkjmIKwjRz8iFndqWx7CIV54d_ifuuXzYwLKhtL7qzrMWQhC66ET0KP5KtA==" 2024/10/30 06:20:55 DEBUG : dir: Looking for writers 2024/10/30 06:20:55 DEBUG : file1: reading active writers 2024/10/30 06:20:55 DEBUG : : Looking for writers 2024/10/30 06:20:55 DEBUG : dir: reading active writers 2024/10/30 06:20:55 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:56 DEBUG : dir: Looking for writers 2024/10/30 06:20:56 DEBUG : file1: reading active writers 2024/10/30 06:20:56 DEBUG : : Looking for writers 2024/10/30 06:20:56 DEBUG : dir: reading active writers 2024/10/30 06:20:56 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:57 DEBUG : dir: Looking for writers 2024/10/30 06:20:57 DEBUG : file1: reading active writers 2024/10/30 06:20:57 DEBUG : : Looking for writers 2024/10/30 06:20:57 DEBUG : dir: reading active writers 2024/10/30 06:20:57 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:58 DEBUG : dir: Looking for writers 2024/10/30 06:20:58 DEBUG : file1: reading active writers 2024/10/30 06:20:58 DEBUG : : Looking for writers 2024/10/30 06:20:58 DEBUG : dir: reading active writers 2024/10/30 06:20:58 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:20:58 DEBUG : : forgetting directory cache 2024/10/30 06:20:58 DEBUG : dir: forgetting directory cache 2024/10/30 06:20:58 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2024/10/30 06:20:58 DEBUG : : Removed virtual directory entry vAddFile: "newLeaf" 2024/10/30 06:20:59 DEBUG : dir: Looking for writers 2024/10/30 06:20:59 DEBUG : file1: reading active writers 2024/10/30 06:20:59 DEBUG : : Looking for writers 2024/10/30 06:20:59 DEBUG : dir: reading active writers 2024/10/30 06:20:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:00 DEBUG : dir: Looking for writers 2024/10/30 06:21:00 DEBUG : file1: reading active writers 2024/10/30 06:21:00 DEBUG : : Looking for writers 2024/10/30 06:21:00 DEBUG : dir: reading active writers 2024/10/30 06:21:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:01 DEBUG : dir: Looking for writers 2024/10/30 06:21:01 DEBUG : file1: reading active writers 2024/10/30 06:21:01 DEBUG : : Looking for writers 2024/10/30 06:21:01 DEBUG : dir: reading active writers 2024/10/30 06:21:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:02 DEBUG : dir: Looking for writers 2024/10/30 06:21:02 DEBUG : file1: reading active writers 2024/10/30 06:21:02 DEBUG : : Looking for writers 2024/10/30 06:21:02 DEBUG : dir: reading active writers 2024/10/30 06:21:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:03 DEBUG : dir: Looking for writers 2024/10/30 06:21:03 DEBUG : file1: reading active writers 2024/10/30 06:21:03 DEBUG : : Looking for writers 2024/10/30 06:21:03 DEBUG : dir: reading active writers 2024/10/30 06:21:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:04 DEBUG : dir: Looking for writers 2024/10/30 06:21:04 DEBUG : file1: reading active writers 2024/10/30 06:21:04 DEBUG : : Looking for writers 2024/10/30 06:21:04 DEBUG : dir: reading active writers 2024/10/30 06:21:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:05 DEBUG : dir: Looking for writers 2024/10/30 06:21:05 DEBUG : file1: reading active writers 2024/10/30 06:21:05 DEBUG : : Looking for writers 2024/10/30 06:21:05 DEBUG : dir: reading active writers 2024/10/30 06:21:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:06 DEBUG : dir: Looking for writers 2024/10/30 06:21:06 DEBUG : file1: reading active writers 2024/10/30 06:21:06 DEBUG : : Looking for writers 2024/10/30 06:21:06 DEBUG : dir: reading active writers 2024/10/30 06:21:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:07 DEBUG : dir: Looking for writers 2024/10/30 06:21:07 DEBUG : file1: reading active writers 2024/10/30 06:21:07 DEBUG : : Looking for writers 2024/10/30 06:21:07 DEBUG : dir: reading active writers 2024/10/30 06:21:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:08 DEBUG : dir: Looking for writers 2024/10/30 06:21:08 DEBUG : file1: reading active writers 2024/10/30 06:21:08 DEBUG : : Looking for writers 2024/10/30 06:21:08 DEBUG : dir: reading active writers 2024/10/30 06:21:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:09 DEBUG : dir: Looking for writers 2024/10/30 06:21:09 DEBUG : file1: reading active writers 2024/10/30 06:21:09 DEBUG : : Looking for writers 2024/10/30 06:21:09 DEBUG : dir: reading active writers 2024/10/30 06:21:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:10 DEBUG : dir: Looking for writers 2024/10/30 06:21:10 DEBUG : file1: reading active writers 2024/10/30 06:21:10 DEBUG : : Looking for writers 2024/10/30 06:21:10 DEBUG : dir: reading active writers 2024/10/30 06:21:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:11 DEBUG : dir: Looking for writers 2024/10/30 06:21:11 DEBUG : file1: reading active writers 2024/10/30 06:21:11 DEBUG : : Looking for writers 2024/10/30 06:21:11 DEBUG : dir: reading active writers 2024/10/30 06:21:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:21:11 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "dir/file1": &{c:0xc000690000 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000336908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824637090112} name:dir/file1 opens:0 downloaders: o:0xc00061c3c0 fd: info:{ModTime:{wall:499999999 ext:63116769906 loc:} ATime:{wall:13961319298093867279 ext:692358449668 loc:0x39d4e20} Size:14 Rs:[{Pos:0 Size:14}] Fingerprint:14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2024/10/30 06:21:11 DEBUG : >WaitForWriters: 2024/10/30 06:21:11 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/30 06:21:11 DEBUG : dir/file1: newRWFileHandle: 2024/10/30 06:21:11 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/30 06:21:11 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/30 06:21:11 DEBUG : dir/file1(0xc0007fc400): _readAt: size=512, off=0 2024/10/30 06:21:11 DEBUG : dir/file1(0xc0007fc400): openPending: 2024/10/30 06:21:11 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2024/10/30 06:21:11 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/10/30 06:21:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:21:11 DEBUG : dir/file1(0xc0007fc400): >openPending: err= 2024/10/30 06:21:11 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/30 06:21:11 DEBUG : dir/file1(0xc0007fc400): >_readAt: n=14, err=EOF 2024/10/30 06:21:11 DEBUG : dir/file1(0xc0007fc400): close: 2024/10/30 06:21:11 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [{Pos:0 Size:14}] - present true 2024/10/30 06:21:11 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06.499999999 +0000 UTC 2024/10/30 06:21:11 INFO : dir/file1: vfs cache: queuing for upload in 100ms 2024/10/30 06:21:11 DEBUG : dir/file1(0xc0007fc400): >close: err= 2024/10/30 06:21:19.267156 WARN RESTY 429 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/QC6l-2DDysMpRQkQ8dlgilNOt010HnfcY7pv8ZNBJhbq_pallIInJOQbho1jo5TjBygA5dLx1Idk6kPqtIByKg==/revisions/DNeiE1sAGkbljCPESBYEOM4rhDbZkjmIKwjRz8iFndqWx7CIV54d_ifuuXzYwLKhtL7qzrMWQhC66ET0KP5KtA==: Resource is busy. Please try again (Code=2502, Status=429), Attempt 2 time="2024-10-30T06:21:19Z" level=warning msg="Too many requests, retrying after delay" after=10 method=PUT pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/QC6l-2DDysMpRQkQ8dlgilNOt010HnfcY7pv8ZNBJhbq_pallIInJOQbho1jo5TjBygA5dLx1Idk6kPqtIByKg==/revisions/DNeiE1sAGkbljCPESBYEOM4rhDbZkjmIKwjRz8iFndqWx7CIV54d_ifuuXzYwLKhtL7qzrMWQhC66ET0KP5KtA==" 2024/10/30 06:21:24 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/30 06:21:24 DEBUG : dir/file1: vfs cache: cancelling upload 2024/10/30 06:21:24.822743 ERROR RESTY context canceled 2024/10/30 06:21:24 ERROR : dir/file1: Failed to copy: context canceled 2024/10/30 06:21:24 INFO : dir/file1: vfs cache: upload canceled 2024/10/30 06:21:24 DEBUG : dir/file1: vfs cache: cancelled upload 2024/10/30 06:21:24 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/30 06:21:24 DEBUG : newLeaf: Updating file with newLeaf 0xc0009b8540 2024/10/30 06:21:24 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/30 06:21:24 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/30 06:21:24 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:21:25.141055 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 2024/10/30 06:21:25.141082 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) 2024/10/30 06:21:25 ERROR : newLeaf: 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 2024/10/30 06:21:25 ERROR : newLeaf: vfs cache: failed to upload try #2, 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 2024/10/30 06:21:25 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:21:26 DEBUG : newLeaf: sha1 = a379624177abc4679cafafa8eae1d73e1478aaa6 OK 2024/10/30 06:21:26 INFO : newLeaf: Copied (replaced existing) 2024/10/30 06:21:26 DEBUG : newLeaf: vfs cache: fingerprint now "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2024/10/30 06:21:26 DEBUG : newLeaf: vfs cache: writeback object to VFS layer 2024/10/30 06:21:26 DEBUG : newLeaf: Not setting pending mod time 2001-02-03 04:05:06.499999999 +0000 UTC as it is already set 2024/10/30 06:21:26 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:21:26 INFO : newLeaf: vfs cache: upload succeeded try #3 2024/10/30 06:21:31 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/30 06:21:31 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/10/30 06:21:31 DEBUG : dir/file1: Updating file with dir/file1 0xc0009b8540 2024/10/30 06:21:31 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/30 06:21:31 DEBUG : dir: Added virtual directory entry vAddFile: "file1" fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache 2024/10/30 06:21:39 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2024/10/30 06:21:39 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 fstest.go:295: Flushing the directory cache 2024/10/30 06:22:33 DEBUG : : forgetting directory cache 2024/10/30 06:22:33 DEBUG : dir: forgetting directory cache 2024/10/30 06:22:33 DEBUG : dir: Removed virtual directory entry vDel: "file1" 2024/10/30 06:22:33 DEBUG : : Removed virtual directory entry vAddFile: "newLeaf" 2024/10/30 06:22:39 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2024/10/30 06:22:39 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 14 (was 14) fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want dir/file1 (14) got dir/file1 (14), newLeaf (14) fstest.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:185 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:344 /home/rclone/go/src/github.com/rclone/rclone/fstest/run.go:340 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:361 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: Unexpected file "newLeaf" 2024/10/30 06:23:11 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/30 06:23:11 DEBUG : dir/file1: newRWFileHandle: 2024/10/30 06:23:11 DEBUG : dir/file1(0xc0008acd00): openPending: 2024/10/30 06:23:11 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2024/10/30 06:23:11 DEBUG : dir/file1: vfs cache: removing cached entry as stale (remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" != cached fingerprint "14,2001-02-03 04:05:06.499999999 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6") 2024/10/30 06:23:11 INFO : dir/file1: vfs cache: removed cache file as stale (remote is different) 2024/10/30 06:23:11 DEBUG : dir/file1: vfs cache: removed metadata from cache as stale (remote is different) 2024/10/30 06:23:11 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/30 06:23:11 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:23:11 DEBUG : dir/file1(0xc0008acd00): >openPending: err= 2024/10/30 06:23:11 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/30 06:23:11 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/30 06:23:11 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/30 06:23:11 DEBUG : dir/file1(0xc0008acd00): _writeAt: size=25, off=0 2024/10/30 06:23:11 DEBUG : dir/file1(0xc0008acd00): >_writeAt: n=25, err= 2024/10/30 06:23:39 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item dir/file1 not removed, freed 0 bytes 2024/10/30 06:23:39 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 0, total size 25 (was 25) 2024/10/30 06:23:57 INFO : newLeaf: Deleted 2024/10/30 06:24:02 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/30 06:24:02 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/30 06:24:02 DEBUG : newLeaf: Updating file with newLeaf 0xc0009b8540 2024/10/30 06:24:02 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/30 06:24:02 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/30 06:24:02 DEBUG : newLeaf(0xc0008acd00): close: 2024/10/30 06:24:02 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/30 06:24:02 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-30 06:23:11.413715563 +0000 UTC m=+841.988821343 2024/10/30 06:24:02 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/30 06:24:02 DEBUG : newLeaf(0xc0008acd00): >close: err= 2024/10/30 06:24:02 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:24:02 DEBUG : dir: Looking for writers 2024/10/30 06:24:02 DEBUG : : Looking for writers 2024/10/30 06:24:02 DEBUG : dir: reading active writers 2024/10/30 06:24:02 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/30 06:24:02 DEBUG : dir: Looking for writers 2024/10/30 06:24:02 DEBUG : : Looking for writers 2024/10/30 06:24:02 DEBUG : dir: reading active writers 2024/10/30 06:24:02 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/30 06:24:03 DEBUG : dir: Looking for writers 2024/10/30 06:24:03 DEBUG : : Looking for writers 2024/10/30 06:24:03 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:03 DEBUG : dir: reading active writers 2024/10/30 06:24:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/30 06:24:03 DEBUG : dir: Looking for writers 2024/10/30 06:24:03 DEBUG : : Looking for writers 2024/10/30 06:24:03 DEBUG : dir: reading active writers 2024/10/30 06:24:03 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/30 06:24:03 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:24:03 DEBUG : dir: Looking for writers 2024/10/30 06:24:03 DEBUG : : Looking for writers 2024/10/30 06:24:03 DEBUG : dir: reading active writers 2024/10/30 06:24:03 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/30 06:24:03 DEBUG : dir: Looking for writers 2024/10/30 06:24:03 DEBUG : : Looking for writers 2024/10/30 06:24:03 DEBUG : dir: reading active writers 2024/10/30 06:24:03 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/30 06:24:03.291989 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 2024/10/30 06:24:03.292016 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) 2024/10/30 06:24:03 DEBUG : dir: Looking for writers 2024/10/30 06:24:03 DEBUG : : Looking for writers 2024/10/30 06:24:03 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:03 DEBUG : dir: reading active writers 2024/10/30 06:24:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/30 06:24:03 ERROR : newLeaf: 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 2024/10/30 06:24:03 ERROR : newLeaf: 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 2024/10/30 06:24:03 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:24:04.194859 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 2024/10/30 06:24:04.194880 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) 2024/10/30 06:24:04 DEBUG : dir: Looking for writers 2024/10/30 06:24:04 DEBUG : : Looking for writers 2024/10/30 06:24:04 DEBUG : dir: reading active writers 2024/10/30 06:24:04 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:04 ERROR : newLeaf: 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 2024/10/30 06:24:04 ERROR : newLeaf: 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 2024/10/30 06:24:05 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:24:05 DEBUG : dir: Looking for writers 2024/10/30 06:24:05 DEBUG : : Looking for writers 2024/10/30 06:24:05 DEBUG : dir: reading active writers 2024/10/30 06:24:05 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:05.276727 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 2024/10/30 06:24:05.276749 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) 2024/10/30 06:24:05 ERROR : newLeaf: 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 2024/10/30 06:24:05 ERROR : newLeaf: 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 2024/10/30 06:24:06 DEBUG : dir: Looking for writers 2024/10/30 06:24:06 DEBUG : : Looking for writers 2024/10/30 06:24:06 DEBUG : dir: reading active writers 2024/10/30 06:24:06 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:06 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:24:06.753228 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 2024/10/30 06:24:06.753250 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) 2024/10/30 06:24:07 ERROR : newLeaf: 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 2024/10/30 06:24:07 ERROR : newLeaf: 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 2024/10/30 06:24:07 DEBUG : dir: Looking for writers 2024/10/30 06:24:07 DEBUG : : Looking for writers 2024/10/30 06:24:07 DEBUG : dir: reading active writers 2024/10/30 06:24:07 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:08 DEBUG : dir: Looking for writers 2024/10/30 06:24:08 DEBUG : : Looking for writers 2024/10/30 06:24:08 DEBUG : dir: reading active writers 2024/10/30 06:24:08 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:08 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:24:09.033244 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 2024/10/30 06:24:09.033267 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) 2024/10/30 06:24:09 DEBUG : dir: Looking for writers 2024/10/30 06:24:09 DEBUG : : Looking for writers 2024/10/30 06:24:09 DEBUG : dir: reading active writers 2024/10/30 06:24:09 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:09 ERROR : newLeaf: 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 2024/10/30 06:24:09 ERROR : newLeaf: 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 2024/10/30 06:24:10 DEBUG : dir: Looking for writers 2024/10/30 06:24:10 DEBUG : : Looking for writers 2024/10/30 06:24:10 DEBUG : dir: reading active writers 2024/10/30 06:24:10 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:11 DEBUG : dir: Looking for writers 2024/10/30 06:24:11 DEBUG : : Looking for writers 2024/10/30 06:24:11 DEBUG : dir: reading active writers 2024/10/30 06:24:11 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:12 DEBUG : dir: Looking for writers 2024/10/30 06:24:12 DEBUG : : Looking for writers 2024/10/30 06:24:12 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:12 DEBUG : dir: reading active writers 2024/10/30 06:24:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:12 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:24:12.964000 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 2024/10/30 06:24:12.964019 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) 2024/10/30 06:24:13 DEBUG : dir: Looking for writers 2024/10/30 06:24:13 DEBUG : : Looking for writers 2024/10/30 06:24:13 DEBUG : dir: reading active writers 2024/10/30 06:24:13 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:13 ERROR : newLeaf: 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 2024/10/30 06:24:13 ERROR : newLeaf: 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 2024/10/30 06:24:14 DEBUG : dir: Looking for writers 2024/10/30 06:24:14 DEBUG : : Looking for writers 2024/10/30 06:24:14 DEBUG : dir: reading active writers 2024/10/30 06:24:14 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:15 DEBUG : dir: Looking for writers 2024/10/30 06:24:15 DEBUG : : Looking for writers 2024/10/30 06:24:15 DEBUG : dir: reading active writers 2024/10/30 06:24:15 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:16 DEBUG : dir: Looking for writers 2024/10/30 06:24:16 DEBUG : : Looking for writers 2024/10/30 06:24:16 DEBUG : dir: reading active writers 2024/10/30 06:24:16 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:17 DEBUG : dir: Looking for writers 2024/10/30 06:24:17 DEBUG : : Looking for writers 2024/10/30 06:24:17 DEBUG : dir: reading active writers 2024/10/30 06:24:17 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:18 DEBUG : dir: Looking for writers 2024/10/30 06:24:18 DEBUG : : Looking for writers 2024/10/30 06:24:18 DEBUG : dir: reading active writers 2024/10/30 06:24:18 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:19 DEBUG : dir: Looking for writers 2024/10/30 06:24:19 DEBUG : : Looking for writers 2024/10/30 06:24:19 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:19 DEBUG : dir: reading active writers 2024/10/30 06:24:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:19 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:24:20.183059 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 2024/10/30 06:24:20.183098 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) 2024/10/30 06:24:20 DEBUG : dir: Looking for writers 2024/10/30 06:24:20 DEBUG : : Looking for writers 2024/10/30 06:24:20 DEBUG : dir: reading active writers 2024/10/30 06:24:20 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:20 ERROR : newLeaf: 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 2024/10/30 06:24:20 ERROR : newLeaf: 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 2024/10/30 06:24:21 DEBUG : dir: Looking for writers 2024/10/30 06:24:21 DEBUG : : Looking for writers 2024/10/30 06:24:21 DEBUG : dir: reading active writers 2024/10/30 06:24:21 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:22 DEBUG : dir: Looking for writers 2024/10/30 06:24:22 DEBUG : : Looking for writers 2024/10/30 06:24:22 DEBUG : dir: reading active writers 2024/10/30 06:24:22 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:23 DEBUG : dir: Looking for writers 2024/10/30 06:24:23 DEBUG : : Looking for writers 2024/10/30 06:24:23 DEBUG : dir: reading active writers 2024/10/30 06:24:23 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:24 DEBUG : dir: Looking for writers 2024/10/30 06:24:24 DEBUG : : Looking for writers 2024/10/30 06:24:24 DEBUG : dir: reading active writers 2024/10/30 06:24:24 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:25 DEBUG : dir: Looking for writers 2024/10/30 06:24:25 DEBUG : : Looking for writers 2024/10/30 06:24:25 DEBUG : dir: reading active writers 2024/10/30 06:24:25 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:26 DEBUG : dir: Looking for writers 2024/10/30 06:24:26 DEBUG : : Looking for writers 2024/10/30 06:24:26 DEBUG : dir: reading active writers 2024/10/30 06:24:26 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:27 DEBUG : dir: Looking for writers 2024/10/30 06:24:27 DEBUG : : Looking for writers 2024/10/30 06:24:27 DEBUG : dir: reading active writers 2024/10/30 06:24:27 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:28 DEBUG : dir: Looking for writers 2024/10/30 06:24:28 DEBUG : : Looking for writers 2024/10/30 06:24:28 DEBUG : dir: reading active writers 2024/10/30 06:24:28 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:29 DEBUG : dir: Looking for writers 2024/10/30 06:24:29 DEBUG : : Looking for writers 2024/10/30 06:24:29 DEBUG : dir: reading active writers 2024/10/30 06:24:29 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:30 DEBUG : dir: Looking for writers 2024/10/30 06:24:30 DEBUG : : Looking for writers 2024/10/30 06:24:30 DEBUG : dir: reading active writers 2024/10/30 06:24:30 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:31 DEBUG : dir: Looking for writers 2024/10/30 06:24:31 DEBUG : : Looking for writers 2024/10/30 06:24:31 DEBUG : dir: reading active writers 2024/10/30 06:24:31 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:32 DEBUG : dir: Looking for writers 2024/10/30 06:24:32 DEBUG : : Looking for writers 2024/10/30 06:24:32 DEBUG : newLeaf: reading active writers 2024/10/30 06:24:32 DEBUG : dir: reading active writers 2024/10/30 06:24:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:24:32 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "newLeaf": &{c:0xc000690000 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000336908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824637090112} name:newLeaf opens:0 downloaders: o:0xc0003dea00 fd: info:{ModTime:{wall:13961319458785512555 ext:841988821343 loc:0x39d4e20} ATime:{wall:13961319514103347445 ext:893545823210 loc:0x39d4e20} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2024/10/30 06:24:32 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 2024/10/30 06:24:33 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:24:33.734603 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 2024/10/30 06:24:33.734624 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) 2024/10/30 06:24:34 ERROR : newLeaf: 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 2024/10/30 06:24:34 ERROR : newLeaf: 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:295: Flushing the directory cache 2024/10/30 06:24:38 DEBUG : : forgetting directory cache 2024/10/30 06:24:38 DEBUG : dir: forgetting directory cache 2024/10/30 06:24:38 DEBUG : dir: Removed virtual directory entry vAddFile: "file1" 2024/10/30 06:24:39 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2024/10/30 06:24:39 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 25 (was 25) 2024/10/30 06:24:59 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:25:27.829629 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 2024/10/30 06:25:27.829650 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) fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 2024/10/30 06:25:28 ERROR : newLeaf: 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 2024/10/30 06:25:28 ERROR : newLeaf: 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:295: Flushing the directory cache 2024/10/30 06:25:39 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2024/10/30 06:25:39 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 1, uploading 0, total size 25 (was 25) fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: listing wrong, want newLeaf (25) got newLeaf (14) fstest.go:137: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:137 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:143 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/writes,forceCache=true Messages: proton drive root link ID 'rclone-test-payaqex8lisu'/newLeaf: sha1 hash incorrect - expecting "f1f3d7db56f36d9a5a912b01803c2176a972b9b0" got "a379624177abc4679cafafa8eae1d73e1478aaa6" fstest.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:144 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 25 actual : 14 Test: TestFileRename/writes,forceCache=true Messages: newLeaf: size incorrect file=25 vs obj=14 2024/10/30 06:26:19 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:26:19 DEBUG : dir: Looking for writers 2024/10/30 06:26:19 DEBUG : : Looking for writers 2024/10/30 06:26:19 DEBUG : dir: reading active writers 2024/10/30 06:26:19 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/30 06:26:19 DEBUG : dir: Looking for writers 2024/10/30 06:26:19 DEBUG : : Looking for writers 2024/10/30 06:26:19 DEBUG : dir: reading active writers 2024/10/30 06:26:19 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/30 06:26:19 DEBUG : dir: Looking for writers 2024/10/30 06:26:19 DEBUG : : Looking for writers 2024/10/30 06:26:19 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:19 DEBUG : dir: reading active writers 2024/10/30 06:26:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/30 06:26:19 DEBUG : dir: Looking for writers 2024/10/30 06:26:19 DEBUG : : Looking for writers 2024/10/30 06:26:19 DEBUG : dir: reading active writers 2024/10/30 06:26:19 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/30 06:26:19 DEBUG : dir: Looking for writers 2024/10/30 06:26:19 DEBUG : : Looking for writers 2024/10/30 06:26:19 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:19 DEBUG : dir: reading active writers 2024/10/30 06:26:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/30 06:26:19 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:26:19 DEBUG : dir: Looking for writers 2024/10/30 06:26:19 DEBUG : : Looking for writers 2024/10/30 06:26:19 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:19 DEBUG : dir: reading active writers 2024/10/30 06:26:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/30 06:26:19 DEBUG : dir: Looking for writers 2024/10/30 06:26:19 DEBUG : : Looking for writers 2024/10/30 06:26:19 DEBUG : dir: reading active writers 2024/10/30 06:26:19 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/30 06:26:20 DEBUG : dir: Looking for writers 2024/10/30 06:26:20 DEBUG : : Looking for writers 2024/10/30 06:26:20 DEBUG : dir: reading active writers 2024/10/30 06:26:20 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:21 DEBUG : dir: Looking for writers 2024/10/30 06:26:21 DEBUG : : Looking for writers 2024/10/30 06:26:21 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:21 DEBUG : dir: reading active writers 2024/10/30 06:26:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:22 DEBUG : dir: Looking for writers 2024/10/30 06:26:22 DEBUG : : Looking for writers 2024/10/30 06:26:22 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:22 DEBUG : dir: reading active writers 2024/10/30 06:26:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:23 DEBUG : dir: Looking for writers 2024/10/30 06:26:23 DEBUG : : Looking for writers 2024/10/30 06:26:23 DEBUG : dir: reading active writers 2024/10/30 06:26:23 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:24 DEBUG : dir: Looking for writers 2024/10/30 06:26:24 DEBUG : : Looking for writers 2024/10/30 06:26:24 DEBUG : dir: reading active writers 2024/10/30 06:26:24 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:25 DEBUG : dir: Looking for writers 2024/10/30 06:26:25 DEBUG : : Looking for writers 2024/10/30 06:26:25 DEBUG : dir: reading active writers 2024/10/30 06:26:25 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:26 DEBUG : dir: Looking for writers 2024/10/30 06:26:26 DEBUG : : Looking for writers 2024/10/30 06:26:26 DEBUG : dir: reading active writers 2024/10/30 06:26:26 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:27 DEBUG : dir: Looking for writers 2024/10/30 06:26:27 DEBUG : : Looking for writers 2024/10/30 06:26:27 DEBUG : dir: reading active writers 2024/10/30 06:26:27 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:28 DEBUG : dir: Looking for writers 2024/10/30 06:26:28 DEBUG : : Looking for writers 2024/10/30 06:26:28 DEBUG : dir: reading active writers 2024/10/30 06:26:28 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:29 DEBUG : dir: Looking for writers 2024/10/30 06:26:29 DEBUG : : Looking for writers 2024/10/30 06:26:29 DEBUG : dir: reading active writers 2024/10/30 06:26:29 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:30 DEBUG : dir: Looking for writers 2024/10/30 06:26:30 DEBUG : : Looking for writers 2024/10/30 06:26:30 DEBUG : dir: reading active writers 2024/10/30 06:26:30 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:31 DEBUG : dir: Looking for writers 2024/10/30 06:26:31 DEBUG : : Looking for writers 2024/10/30 06:26:31 DEBUG : dir: reading active writers 2024/10/30 06:26:31 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:32 DEBUG : dir: Looking for writers 2024/10/30 06:26:32 DEBUG : : Looking for writers 2024/10/30 06:26:32 DEBUG : dir: reading active writers 2024/10/30 06:26:32 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:33 DEBUG : dir: Looking for writers 2024/10/30 06:26:33 DEBUG : : Looking for writers 2024/10/30 06:26:33 DEBUG : dir: reading active writers 2024/10/30 06:26:33 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:34 DEBUG : dir: Looking for writers 2024/10/30 06:26:34 DEBUG : : Looking for writers 2024/10/30 06:26:34 DEBUG : dir: reading active writers 2024/10/30 06:26:34 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:35 DEBUG : dir: Looking for writers 2024/10/30 06:26:35 DEBUG : : Looking for writers 2024/10/30 06:26:35 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:35 DEBUG : dir: reading active writers 2024/10/30 06:26:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:36 DEBUG : dir: Looking for writers 2024/10/30 06:26:36 DEBUG : : Looking for writers 2024/10/30 06:26:36 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:36 DEBUG : dir: reading active writers 2024/10/30 06:26:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:37 DEBUG : dir: Looking for writers 2024/10/30 06:26:37 DEBUG : : Looking for writers 2024/10/30 06:26:37 DEBUG : dir: reading active writers 2024/10/30 06:26:37 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:38 DEBUG : dir: Looking for writers 2024/10/30 06:26:38 DEBUG : : Looking for writers 2024/10/30 06:26:38 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:38 DEBUG : dir: reading active writers 2024/10/30 06:26:38 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:39 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2024/10/30 06:26:39 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 25 (was 25) 2024/10/30 06:26:39 DEBUG : dir: Looking for writers 2024/10/30 06:26:39 DEBUG : : Looking for writers 2024/10/30 06:26:39 DEBUG : dir: reading active writers 2024/10/30 06:26:39 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:39 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:40 DEBUG : dir: Looking for writers 2024/10/30 06:26:40 DEBUG : : Looking for writers 2024/10/30 06:26:40 DEBUG : dir: reading active writers 2024/10/30 06:26:40 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:40 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:41 DEBUG : dir: Looking for writers 2024/10/30 06:26:41 DEBUG : : Looking for writers 2024/10/30 06:26:41 DEBUG : dir: reading active writers 2024/10/30 06:26:41 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:41 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:42 DEBUG : dir: Looking for writers 2024/10/30 06:26:42 DEBUG : : Looking for writers 2024/10/30 06:26:42 DEBUG : dir: reading active writers 2024/10/30 06:26:42 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:42 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:43 DEBUG : dir: Looking for writers 2024/10/30 06:26:43 DEBUG : : Looking for writers 2024/10/30 06:26:43 DEBUG : dir: reading active writers 2024/10/30 06:26:43 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:43 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:44 DEBUG : dir: Looking for writers 2024/10/30 06:26:44 DEBUG : : Looking for writers 2024/10/30 06:26:44 DEBUG : dir: reading active writers 2024/10/30 06:26:44 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:44 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:45 DEBUG : dir: Looking for writers 2024/10/30 06:26:45 DEBUG : : Looking for writers 2024/10/30 06:26:45 DEBUG : dir: reading active writers 2024/10/30 06:26:45 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:45 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:46 DEBUG : dir: Looking for writers 2024/10/30 06:26:46 DEBUG : : Looking for writers 2024/10/30 06:26:46 DEBUG : dir: reading active writers 2024/10/30 06:26:46 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:46 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:47 DEBUG : dir: Looking for writers 2024/10/30 06:26:47 DEBUG : : Looking for writers 2024/10/30 06:26:47 DEBUG : dir: reading active writers 2024/10/30 06:26:47 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:47 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:48 DEBUG : dir: Looking for writers 2024/10/30 06:26:48 DEBUG : : Looking for writers 2024/10/30 06:26:48 DEBUG : dir: reading active writers 2024/10/30 06:26:48 DEBUG : newLeaf: reading active writers 2024/10/30 06:26:48 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:26:49 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "newLeaf": &{c:0xc000690000 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000336908 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824637090112} name:newLeaf opens:0 downloaders: o:0xc0003dea00 fd: info:{ModTime:{wall:13961319458785512555 ext:841988821343 loc:0x39d4e20} ATime:{wall:13961319514103347445 ext:893545823210 loc:0x39d4e20} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2024/10/30 06:26:49 DEBUG : >WaitForWriters: 2024/10/30 06:26:49 DEBUG : vfs cache: cleaner exiting 2024/10/30 06:26:49.367420 WARN RESTY Get "https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=48&PageSize=150&ShowAll=1": context canceled, Attempt 1 2024/10/30 06:26:49.367495 ERROR RESTY Get "https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=48&PageSize=150&ShowAll=1": context canceled 2024/10/30 06:26:49 ERROR : newLeaf: Failed to copy: received no response from API: Get "https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=48&PageSize=150&ShowAll=1": context canceled 2024/10/30 06:26:49 INFO : newLeaf: vfs cache: upload canceled 2024/10/30 06:26:52 DEBUG : : forgetting directory cache 2024/10/30 06:26:52 DEBUG : dir: forgetting directory cache 2024/10/30 06:26:52 DEBUG : dir: Removed virtual directory entry vDel: "file1" === RUN TestFileRename/full,forceCache=false run.go:180: Remote "proton drive root link ID 'rclone-test-payaqex8lisu'", Local "Local file system at /tmp/rclone2324658129", Modify Window "1s" 2024/10/30 06:27:36 INFO : proton drive root link ID 'rclone-test-payaqex8lisu': poll-interval is not supported by this remote 2024/10/30 06:27:36 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/30 06:27:36 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:27:36 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:27:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:27:36 DEBUG : Config file has changed externally - reloading 2024/10/30 06:27:36 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/30 06:27:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:27:36 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:27:36 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/30 06:27:36 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:27:36 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/30 06:27:38 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:27:38 DEBUG : dir: Looking for writers 2024/10/30 06:27:38 DEBUG : file1: reading active writers 2024/10/30 06:27:38 DEBUG : : Looking for writers 2024/10/30 06:27:38 DEBUG : dir: reading active writers 2024/10/30 06:27:38 DEBUG : >WaitForWriters: 2024/10/30 06:27:38 DEBUG : dir/file1: Open: flags=O_RDONLY 2024/10/30 06:27:38 DEBUG : dir/file1: newRWFileHandle: 2024/10/30 06:27:38 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/30 06:27:38 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/30 06:27:38 DEBUG : dir/file1(0xc0023acb00): _readAt: size=512, off=0 2024/10/30 06:27:38 DEBUG : dir/file1(0xc0023acb00): openPending: 2024/10/30 06:27:38 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "" 2024/10/30 06:27:38 DEBUG : dir/file1: vfs cache: truncate to size=14 2024/10/30 06:27:38 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:27:38 DEBUG : dir/file1(0xc0023acb00): >openPending: err= 2024/10/30 06:27:38 DEBUG : vfs cache: looking for range={Pos:0 Size:14} in [] - present false 2024/10/30 06:27:38 DEBUG : dir/file1: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/30 06:27:38 DEBUG : dir/file1: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/30 06:27:38 DEBUG : dir/file1: ChunkedReader.openRange at 0 length 134217728 2024/10/30 06:27:39 DEBUG : dir/file1(0xc0023acb00): >_readAt: n=14, err=EOF 2024/10/30 06:27:39 DEBUG : dir/file1(0xc0023acb00): close: 2024/10/30 06:27:39 DEBUG : dir/file1: vfs cache: setting modification time to 2001-02-03 04:05:06 +0000 +0000 2024/10/30 06:27:39 DEBUG : dir/file1(0xc0023acb00): >close: err= 2024/10/30 06:27:45 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/30 06:27:45 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/30 06:27:45 DEBUG : newLeaf: Updating file with newLeaf 0xc001ef2180 2024/10/30 06:27:45 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/30 06:27:45 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/30 06:27:52 INFO : newLeaf: Moved (server-side) to: dir/file1 2024/10/30 06:27:52 INFO : newLeaf: vfs cache: renamed in cache to "dir/file1" 2024/10/30 06:27:52 DEBUG : dir/file1: Updating file with dir/file1 0xc001ef2180 2024/10/30 06:27:52 DEBUG : : Added virtual directory entry vDel: "newLeaf" 2024/10/30 06:27:52 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:27:53 DEBUG : dir/file1: Open: flags=O_WRONLY|O_TRUNC 2024/10/30 06:27:53 DEBUG : dir/file1: newRWFileHandle: 2024/10/30 06:27:53 DEBUG : dir/file1(0xc0007fc040): openPending: 2024/10/30 06:27:53 DEBUG : dir/file1: vfs cache: checking remote fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" against cached fingerprint "14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6" 2024/10/30 06:27:53 DEBUG : dir/file1: vfs cache: truncate to size=14 (not needed as size correct) 2024/10/30 06:27:53 DEBUG : dir: Added virtual directory entry vAddFile: "file1" 2024/10/30 06:27:53 DEBUG : dir/file1(0xc0007fc040): >openPending: err= 2024/10/30 06:27:53 DEBUG : dir/file1: vfs cache: truncate to size=0 2024/10/30 06:27:53 DEBUG : dir/file1: >newRWFileHandle: err= 2024/10/30 06:27:53 DEBUG : dir/file1: >Open: fd=dir/file1 (rw), err= 2024/10/30 06:27:53 DEBUG : dir/file1(0xc0007fc040): _writeAt: size=25, off=0 2024/10/30 06:27:53 DEBUG : dir/file1(0xc0007fc040): >_writeAt: n=25, err= 2024/10/30 06:27:59 INFO : dir/file1: Moved (server-side) to: newLeaf 2024/10/30 06:27:59 INFO : dir/file1: vfs cache: renamed in cache to "newLeaf" 2024/10/30 06:27:59 DEBUG : newLeaf: Updating file with newLeaf 0xc001ef2180 2024/10/30 06:27:59 DEBUG : dir: Added virtual directory entry vDel: "file1" 2024/10/30 06:27:59 DEBUG : : Added virtual directory entry vAddFile: "newLeaf" 2024/10/30 06:27:59 DEBUG : newLeaf(0xc0007fc040): close: 2024/10/30 06:27:59 DEBUG : vfs cache: looking for range={Pos:0 Size:25} in [{Pos:0 Size:25}] - present true 2024/10/30 06:27:59 DEBUG : newLeaf: vfs cache: setting modification time to 2024-10-30 06:27:53.181495468 +0000 UTC m=+1123.756601259 2024/10/30 06:27:59 INFO : newLeaf: vfs cache: queuing for upload in 100ms 2024/10/30 06:27:59 DEBUG : newLeaf(0xc0007fc040): >close: err= 2024/10/30 06:27:59 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:27:59 DEBUG : dir: Looking for writers 2024/10/30 06:27:59 DEBUG : : Looking for writers 2024/10/30 06:27:59 DEBUG : dir: reading active writers 2024/10/30 06:27:59 DEBUG : newLeaf: reading active writers 2024/10/30 06:27:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/30 06:27:59 DEBUG : dir: Looking for writers 2024/10/30 06:27:59 DEBUG : : Looking for writers 2024/10/30 06:27:59 DEBUG : dir: reading active writers 2024/10/30 06:27:59 DEBUG : newLeaf: reading active writers 2024/10/30 06:27:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/30 06:27:59 DEBUG : dir: Looking for writers 2024/10/30 06:27:59 DEBUG : : Looking for writers 2024/10/30 06:27:59 DEBUG : dir: reading active writers 2024/10/30 06:27:59 DEBUG : newLeaf: reading active writers 2024/10/30 06:27:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/30 06:27:59 DEBUG : dir: Looking for writers 2024/10/30 06:27:59 DEBUG : : Looking for writers 2024/10/30 06:27:59 DEBUG : dir: reading active writers 2024/10/30 06:27:59 DEBUG : newLeaf: reading active writers 2024/10/30 06:27:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/30 06:27:59 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:27:59 DEBUG : dir: Looking for writers 2024/10/30 06:27:59 DEBUG : : Looking for writers 2024/10/30 06:27:59 DEBUG : newLeaf: reading active writers 2024/10/30 06:27:59 DEBUG : dir: reading active writers 2024/10/30 06:27:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/30 06:27:59.478572 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 2024/10/30 06:27:59.478598 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) 2024/10/30 06:27:59 DEBUG : dir: Looking for writers 2024/10/30 06:27:59 DEBUG : : Looking for writers 2024/10/30 06:27:59 DEBUG : dir: reading active writers 2024/10/30 06:27:59 DEBUG : newLeaf: reading active writers 2024/10/30 06:27:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/30 06:27:59 DEBUG : dir: Looking for writers 2024/10/30 06:27:59 DEBUG : : Looking for writers 2024/10/30 06:27:59 DEBUG : dir: reading active writers 2024/10/30 06:27:59 DEBUG : newLeaf: reading active writers 2024/10/30 06:27:59 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/30 06:28:00 DEBUG : dir: Looking for writers 2024/10/30 06:28:00 DEBUG : : Looking for writers 2024/10/30 06:28:00 DEBUG : dir: reading active writers 2024/10/30 06:28:00 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:00 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:01 DEBUG : dir: Looking for writers 2024/10/30 06:28:01 DEBUG : : Looking for writers 2024/10/30 06:28:01 DEBUG : dir: reading active writers 2024/10/30 06:28:01 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:01 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:02 DEBUG : dir: Looking for writers 2024/10/30 06:28:02 DEBUG : : Looking for writers 2024/10/30 06:28:02 DEBUG : dir: reading active writers 2024/10/30 06:28:02 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:02 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:03 DEBUG : dir: Looking for writers 2024/10/30 06:28:03 DEBUG : : Looking for writers 2024/10/30 06:28:03 DEBUG : dir: reading active writers 2024/10/30 06:28:03 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:03 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:04 DEBUG : dir: Looking for writers 2024/10/30 06:28:04 DEBUG : : Looking for writers 2024/10/30 06:28:04 DEBUG : dir: reading active writers 2024/10/30 06:28:04 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:04 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:05 DEBUG : dir: Looking for writers 2024/10/30 06:28:05 DEBUG : : Looking for writers 2024/10/30 06:28:05 DEBUG : dir: reading active writers 2024/10/30 06:28:05 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:05 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:06 DEBUG : dir: Looking for writers 2024/10/30 06:28:06 DEBUG : : Looking for writers 2024/10/30 06:28:06 DEBUG : dir: reading active writers 2024/10/30 06:28:06 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:06 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:07 DEBUG : dir: Looking for writers 2024/10/30 06:28:07 DEBUG : : Looking for writers 2024/10/30 06:28:07 DEBUG : dir: reading active writers 2024/10/30 06:28:07 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:07 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:08 DEBUG : dir: Looking for writers 2024/10/30 06:28:08 DEBUG : : Looking for writers 2024/10/30 06:28:08 DEBUG : dir: reading active writers 2024/10/30 06:28:08 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:09 DEBUG : dir: Looking for writers 2024/10/30 06:28:09 DEBUG : : Looking for writers 2024/10/30 06:28:09 DEBUG : dir: reading active writers 2024/10/30 06:28:09 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:10 DEBUG : dir: Looking for writers 2024/10/30 06:28:10 DEBUG : : Looking for writers 2024/10/30 06:28:10 DEBUG : dir: reading active writers 2024/10/30 06:28:10 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:11 DEBUG : dir: Looking for writers 2024/10/30 06:28:11 DEBUG : : Looking for writers 2024/10/30 06:28:11 DEBUG : dir: reading active writers 2024/10/30 06:28:11 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:12 DEBUG : dir: Looking for writers 2024/10/30 06:28:12 DEBUG : : Looking for writers 2024/10/30 06:28:12 DEBUG : dir: reading active writers 2024/10/30 06:28:12 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:13 DEBUG : dir: Looking for writers 2024/10/30 06:28:13 DEBUG : : Looking for writers 2024/10/30 06:28:13 DEBUG : dir: reading active writers 2024/10/30 06:28:13 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:14 DEBUG : dir: Looking for writers 2024/10/30 06:28:14 DEBUG : : Looking for writers 2024/10/30 06:28:14 DEBUG : dir: reading active writers 2024/10/30 06:28:14 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:15 DEBUG : dir: Looking for writers 2024/10/30 06:28:15 DEBUG : : Looking for writers 2024/10/30 06:28:15 DEBUG : dir: reading active writers 2024/10/30 06:28:15 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:16 DEBUG : dir: Looking for writers 2024/10/30 06:28:16 DEBUG : : Looking for writers 2024/10/30 06:28:16 DEBUG : dir: reading active writers 2024/10/30 06:28:16 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:17 DEBUG : dir: Looking for writers 2024/10/30 06:28:17 DEBUG : : Looking for writers 2024/10/30 06:28:17 DEBUG : dir: reading active writers 2024/10/30 06:28:17 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:18 DEBUG : dir: Looking for writers 2024/10/30 06:28:18 DEBUG : : Looking for writers 2024/10/30 06:28:18 DEBUG : dir: reading active writers 2024/10/30 06:28:18 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:19 DEBUG : dir: Looking for writers 2024/10/30 06:28:19 DEBUG : : Looking for writers 2024/10/30 06:28:19 DEBUG : dir: reading active writers 2024/10/30 06:28:19 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:20 DEBUG : dir: Looking for writers 2024/10/30 06:28:20 DEBUG : : Looking for writers 2024/10/30 06:28:20 DEBUG : dir: reading active writers 2024/10/30 06:28:20 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:21 DEBUG : dir: Looking for writers 2024/10/30 06:28:21 DEBUG : : Looking for writers 2024/10/30 06:28:21 DEBUG : dir: reading active writers 2024/10/30 06:28:21 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:22 DEBUG : dir: Looking for writers 2024/10/30 06:28:22 DEBUG : : Looking for writers 2024/10/30 06:28:22 DEBUG : dir: reading active writers 2024/10/30 06:28:22 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:23 DEBUG : dir: Looking for writers 2024/10/30 06:28:23 DEBUG : : Looking for writers 2024/10/30 06:28:23 DEBUG : dir: reading active writers 2024/10/30 06:28:23 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:24 DEBUG : dir: Looking for writers 2024/10/30 06:28:24 DEBUG : : Looking for writers 2024/10/30 06:28:24 DEBUG : dir: reading active writers 2024/10/30 06:28:24 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:25 DEBUG : dir: Looking for writers 2024/10/30 06:28:25 DEBUG : : Looking for writers 2024/10/30 06:28:25 DEBUG : dir: reading active writers 2024/10/30 06:28:25 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:26 DEBUG : dir: Looking for writers 2024/10/30 06:28:26 DEBUG : : Looking for writers 2024/10/30 06:28:26 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:26 DEBUG : dir: reading active writers 2024/10/30 06:28:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:27 DEBUG : dir: Looking for writers 2024/10/30 06:28:27 DEBUG : : Looking for writers 2024/10/30 06:28:27 DEBUG : dir: reading active writers 2024/10/30 06:28:27 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:28 DEBUG : dir: Looking for writers 2024/10/30 06:28:28 DEBUG : : Looking for writers 2024/10/30 06:28:28 DEBUG : dir: reading active writers 2024/10/30 06:28:28 DEBUG : newLeaf: reading active writers 2024/10/30 06:28:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:28:29 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "newLeaf": &{c:0xc0008740f0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000808308 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824642143040} name:newLeaf opens:0 downloaders: o:0xc0003de500 fd: info:{ModTime:{wall:13961319761348486828 ext:1123756601259 loc:0x39d4e20} ATime:{wall:13961319767791795395 ext:1129757458872 loc:0x39d4e20} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2024/10/30 06:28:29 DEBUG : >WaitForWriters: fstest.go:292: Sleeping for 1s for list eventual consistency: 1/3 fstest.go:295: Flushing the directory cache 2024/10/30 06:28:36 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2024/10/30 06:28:36 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 25 (was 25) 2024/10/30 06:29:00.676450 WARN RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/XrYHi7AGWKEQWVVgNhbGYRGflLB7q509Z7ZNbKmOXoO8zh8FP0tCTVDDFpNgRaKXKeOpBJkWBf08ZzLOpf8VYQ==/revisions/LVjOQa-G8TnrxOXugo7cIeMc7JRnda006lIBvIxtC6HnxZgMljvNabbGm5TsGmGY0FrMuTbdLMWcOhFruMQazQ==: Internal server error (Code=500, Status=500), Attempt 1 2024/10/30 06:29:00.676483 ERROR RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/XrYHi7AGWKEQWVVgNhbGYRGflLB7q509Z7ZNbKmOXoO8zh8FP0tCTVDDFpNgRaKXKeOpBJkWBf08ZzLOpf8VYQ==/revisions/LVjOQa-G8TnrxOXugo7cIeMc7JRnda006lIBvIxtC6HnxZgMljvNabbGm5TsGmGY0FrMuTbdLMWcOhFruMQazQ==: Internal server error (Code=500, Status=500) 2024/10/30 06:29:00 ERROR : newLeaf: Failed to copy: 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/XrYHi7AGWKEQWVVgNhbGYRGflLB7q509Z7ZNbKmOXoO8zh8FP0tCTVDDFpNgRaKXKeOpBJkWBf08ZzLOpf8VYQ==/revisions/LVjOQa-G8TnrxOXugo7cIeMc7JRnda006lIBvIxtC6HnxZgMljvNabbGm5TsGmGY0FrMuTbdLMWcOhFruMQazQ==: Internal server error (Code=500, Status=500) 2024/10/30 06:29:00 ERROR : newLeaf: vfs cache: failed to upload try #1, will retry in 200ms: vfs cache: failed to transfer file from cache to remote: 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/XrYHi7AGWKEQWVVgNhbGYRGflLB7q509Z7ZNbKmOXoO8zh8FP0tCTVDDFpNgRaKXKeOpBJkWBf08ZzLOpf8VYQ==/revisions/LVjOQa-G8TnrxOXugo7cIeMc7JRnda006lIBvIxtC6HnxZgMljvNabbGm5TsGmGY0FrMuTbdLMWcOhFruMQazQ==: Internal server error (Code=500, Status=500) 2024/10/30 06:29:00 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:29:16.375922 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 2024/10/30 06:29:16.375948 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) fstest.go:292: Sleeping for 2s for list eventual consistency: 2/3 2024/10/30 06:29:16 ERROR : newLeaf: 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 2024/10/30 06:29:16 ERROR : newLeaf: 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 2024/10/30 06:29:17 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:29:17.457970 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 2024/10/30 06:29:17.457995 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) 2024/10/30 06:29:17 ERROR : newLeaf: 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 2024/10/30 06:29:17 ERROR : newLeaf: 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 2024/10/30 06:29:18 DEBUG : newLeaf: vfs cache: starting upload fstest.go:295: Flushing the directory cache 2024/10/30 06:29:18.962310 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 2024/10/30 06:29:18.962332 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) 2024/10/30 06:29:19 ERROR : newLeaf: 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 2024/10/30 06:29:19 ERROR : newLeaf: 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 2024/10/30 06:29:21 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:29:36 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2024/10/30 06:29:36 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 25 (was 25) 2024/10/30 06:30:04.106396 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 2024/10/30 06:30:04.106426 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) fstest.go:292: Sleeping for 4s for list eventual consistency: 3/3 2024/10/30 06:30:04 ERROR : newLeaf: 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 2024/10/30 06:30:04 ERROR : newLeaf: 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 2024/10/30 06:30:07 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:30:08.044223 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 2024/10/30 06:30:08.044251 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) fstest.go:295: Flushing the directory cache fstest.go:299: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:299 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: listing wrong, want newLeaf (25) got newLeaf (14) fstest.go:137: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:137 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:143 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Should be true Test: TestFileRename/full,forceCache=false Messages: proton drive root link ID 'rclone-test-payaqex8lisu'/newLeaf: sha1 hash incorrect - expecting "f1f3d7db56f36d9a5a912b01803c2176a972b9b0" got "a379624177abc4679cafafa8eae1d73e1478aaa6" fstest.go:144: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:144 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:189 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:302 /home/rclone/go/src/github.com/rclone/rclone/fstest/fstest.go:332 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:396 /home/rclone/go/src/github.com/rclone/rclone/vfs/file_test.go:413 Error: Not equal: expected: 25 actual : 14 Test: TestFileRename/full,forceCache=false Messages: newLeaf: size incorrect file=25 vs obj=14 2024/10/30 06:30:08 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:30:08 DEBUG : dir: Looking for writers 2024/10/30 06:30:08 DEBUG : : Looking for writers 2024/10/30 06:30:08 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:08 DEBUG : dir: reading active writers 2024/10/30 06:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 10ms 2024/10/30 06:30:08 DEBUG : dir: Looking for writers 2024/10/30 06:30:08 DEBUG : : Looking for writers 2024/10/30 06:30:08 DEBUG : dir: reading active writers 2024/10/30 06:30:08 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 20ms 2024/10/30 06:30:08 DEBUG : dir: Looking for writers 2024/10/30 06:30:08 DEBUG : : Looking for writers 2024/10/30 06:30:08 DEBUG : dir: reading active writers 2024/10/30 06:30:08 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 40ms 2024/10/30 06:30:08 DEBUG : dir: Looking for writers 2024/10/30 06:30:08 DEBUG : : Looking for writers 2024/10/30 06:30:08 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:08 DEBUG : dir: reading active writers 2024/10/30 06:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 80ms 2024/10/30 06:30:08 ERROR : newLeaf: 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 2024/10/30 06:30:08 ERROR : newLeaf: 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 2024/10/30 06:30:08 DEBUG : dir: Looking for writers 2024/10/30 06:30:08 DEBUG : : Looking for writers 2024/10/30 06:30:08 DEBUG : dir: reading active writers 2024/10/30 06:30:08 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 160ms 2024/10/30 06:30:08 DEBUG : dir: Looking for writers 2024/10/30 06:30:08 DEBUG : : Looking for writers 2024/10/30 06:30:08 DEBUG : dir: reading active writers 2024/10/30 06:30:08 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:08 DEBUG : Still 0 writers active and 1 cache items in use, waiting 320ms 2024/10/30 06:30:09 DEBUG : dir: Looking for writers 2024/10/30 06:30:09 DEBUG : : Looking for writers 2024/10/30 06:30:09 DEBUG : dir: reading active writers 2024/10/30 06:30:09 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 640ms 2024/10/30 06:30:09 DEBUG : dir: Looking for writers 2024/10/30 06:30:09 DEBUG : : Looking for writers 2024/10/30 06:30:09 DEBUG : dir: reading active writers 2024/10/30 06:30:09 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:09 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:10 DEBUG : dir: Looking for writers 2024/10/30 06:30:10 DEBUG : : Looking for writers 2024/10/30 06:30:10 DEBUG : dir: reading active writers 2024/10/30 06:30:10 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:10 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:11 DEBUG : dir: Looking for writers 2024/10/30 06:30:11 DEBUG : : Looking for writers 2024/10/30 06:30:11 DEBUG : dir: reading active writers 2024/10/30 06:30:11 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:11 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:12 DEBUG : dir: Looking for writers 2024/10/30 06:30:12 DEBUG : : Looking for writers 2024/10/30 06:30:12 DEBUG : dir: reading active writers 2024/10/30 06:30:12 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:12 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:13 DEBUG : dir: Looking for writers 2024/10/30 06:30:13 DEBUG : : Looking for writers 2024/10/30 06:30:13 DEBUG : dir: reading active writers 2024/10/30 06:30:13 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:13 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:14 DEBUG : dir: Looking for writers 2024/10/30 06:30:14 DEBUG : : Looking for writers 2024/10/30 06:30:14 DEBUG : dir: reading active writers 2024/10/30 06:30:14 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:14 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:14 DEBUG : newLeaf: vfs cache: starting upload 2024/10/30 06:30:15 DEBUG : dir: Looking for writers 2024/10/30 06:30:15 DEBUG : : Looking for writers 2024/10/30 06:30:15 DEBUG : dir: reading active writers 2024/10/30 06:30:15 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:15 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:16 DEBUG : dir: Looking for writers 2024/10/30 06:30:16 DEBUG : : Looking for writers 2024/10/30 06:30:16 DEBUG : dir: reading active writers 2024/10/30 06:30:16 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:16 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:17 DEBUG : dir: Looking for writers 2024/10/30 06:30:17 DEBUG : : Looking for writers 2024/10/30 06:30:17 DEBUG : dir: reading active writers 2024/10/30 06:30:17 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:17 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:18 DEBUG : dir: Looking for writers 2024/10/30 06:30:18 DEBUG : : Looking for writers 2024/10/30 06:30:18 DEBUG : dir: reading active writers 2024/10/30 06:30:18 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:18 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:19 DEBUG : dir: Looking for writers 2024/10/30 06:30:19 DEBUG : : Looking for writers 2024/10/30 06:30:19 DEBUG : dir: reading active writers 2024/10/30 06:30:19 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:19 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:20 DEBUG : dir: Looking for writers 2024/10/30 06:30:20 DEBUG : : Looking for writers 2024/10/30 06:30:20 DEBUG : dir: reading active writers 2024/10/30 06:30:20 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:20 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:21 DEBUG : dir: Looking for writers 2024/10/30 06:30:21 DEBUG : : Looking for writers 2024/10/30 06:30:21 DEBUG : dir: reading active writers 2024/10/30 06:30:21 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:21 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:22 DEBUG : dir: Looking for writers 2024/10/30 06:30:22 DEBUG : : Looking for writers 2024/10/30 06:30:22 DEBUG : dir: reading active writers 2024/10/30 06:30:22 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:22 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:23 DEBUG : dir: Looking for writers 2024/10/30 06:30:23 DEBUG : : Looking for writers 2024/10/30 06:30:23 DEBUG : dir: reading active writers 2024/10/30 06:30:23 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:23 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:24 DEBUG : dir: Looking for writers 2024/10/30 06:30:24 DEBUG : : Looking for writers 2024/10/30 06:30:24 DEBUG : dir: reading active writers 2024/10/30 06:30:24 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:24 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:25 DEBUG : dir: Looking for writers 2024/10/30 06:30:25 DEBUG : : Looking for writers 2024/10/30 06:30:25 DEBUG : dir: reading active writers 2024/10/30 06:30:25 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:25 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:26 DEBUG : dir: Looking for writers 2024/10/30 06:30:26 DEBUG : : Looking for writers 2024/10/30 06:30:26 DEBUG : dir: reading active writers 2024/10/30 06:30:26 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:26 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:27 DEBUG : dir: Looking for writers 2024/10/30 06:30:27 DEBUG : : Looking for writers 2024/10/30 06:30:27 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:27 DEBUG : dir: reading active writers 2024/10/30 06:30:27 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:28 DEBUG : dir: Looking for writers 2024/10/30 06:30:28 DEBUG : : Looking for writers 2024/10/30 06:30:28 DEBUG : dir: reading active writers 2024/10/30 06:30:28 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:28 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:29 DEBUG : dir: Looking for writers 2024/10/30 06:30:29 DEBUG : : Looking for writers 2024/10/30 06:30:29 DEBUG : dir: reading active writers 2024/10/30 06:30:29 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:29 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:30 DEBUG : dir: Looking for writers 2024/10/30 06:30:30 DEBUG : : Looking for writers 2024/10/30 06:30:30 DEBUG : dir: reading active writers 2024/10/30 06:30:30 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:30 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:31 DEBUG : dir: Looking for writers 2024/10/30 06:30:31 DEBUG : : Looking for writers 2024/10/30 06:30:31 DEBUG : dir: reading active writers 2024/10/30 06:30:31 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:31 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:32 DEBUG : dir: Looking for writers 2024/10/30 06:30:32 DEBUG : : Looking for writers 2024/10/30 06:30:32 DEBUG : dir: reading active writers 2024/10/30 06:30:32 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:32 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:33 DEBUG : dir: Looking for writers 2024/10/30 06:30:33 DEBUG : : Looking for writers 2024/10/30 06:30:33 DEBUG : dir: reading active writers 2024/10/30 06:30:33 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:33 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:34 DEBUG : dir: Looking for writers 2024/10/30 06:30:34 DEBUG : : Looking for writers 2024/10/30 06:30:34 DEBUG : dir: reading active writers 2024/10/30 06:30:34 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:34 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:35 DEBUG : dir: Looking for writers 2024/10/30 06:30:35 DEBUG : : Looking for writers 2024/10/30 06:30:35 DEBUG : dir: reading active writers 2024/10/30 06:30:35 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:35 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:36 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item newLeaf not removed, freed 0 bytes 2024/10/30 06:30:36 INFO : vfs cache: cleaned: objects 1 (was 1) in use 1, to upload 0, uploading 1, total size 25 (was 25) 2024/10/30 06:30:36 DEBUG : dir: Looking for writers 2024/10/30 06:30:36 DEBUG : : Looking for writers 2024/10/30 06:30:36 DEBUG : dir: reading active writers 2024/10/30 06:30:36 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:36 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:37 DEBUG : dir: Looking for writers 2024/10/30 06:30:37 DEBUG : : Looking for writers 2024/10/30 06:30:37 DEBUG : dir: reading active writers 2024/10/30 06:30:37 DEBUG : newLeaf: reading active writers 2024/10/30 06:30:37 DEBUG : Still 0 writers active and 1 cache items in use, waiting 1s 2024/10/30 06:30:38 ERROR : Exiting even though 0 writers active and 1 cache items in use after 30s Cache{ "newLeaf": &{c:0xc0008740f0 mu:{state:0 sema:0} cond:{noCopy:{} L:0xc000808308 notify:{wait:0 notify:0 lock:0 head: tail:} checker:824642143040} name:newLeaf opens:0 downloaders: o:0xc0003de500 fd: info:{ModTime:{wall:13961319761348486828 ext:1123756601259 loc:0x39d4e20} ATime:{wall:13961319767791795395 ext:1129757458872 loc:0x39d4e20} Size:25 Rs:[{Pos:0 Size:25}] Fingerprint:14,2001-02-03 04:05:06 +0000 UTC,a379624177abc4679cafafa8eae1d73e1478aaa6 Dirty:true} writeBackID:1 pendingAccesses:0 modified:false beingReset:false}, } 2024/10/30 06:30:38 DEBUG : >WaitForWriters: 2024/10/30 06:30:38 DEBUG : vfs cache: cleaner exiting 2024/10/30 06:30:38.432465 WARN RESTY Get "https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=38&PageSize=150&ShowAll=1": context canceled, Attempt 1 2024/10/30 06:30:38.432487 ERROR RESTY Get "https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=38&PageSize=150&ShowAll=1": context canceled 2024/10/30 06:30:38 ERROR : newLeaf: Failed to copy: received no response from API: Get "https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/67GMGeDNFTj5DKqz5IX5-c-3o1CsW7SWmTd0TzGbQ5vRf4DA359WYkF2VvYdp-J9R586dYjCpQda1RURAGgtJw==/children?Page=38&PageSize=150&ShowAll=1": context canceled 2024/10/30 06:30:38 INFO : newLeaf: vfs cache: upload canceled 2024/10/30 06:30:41 DEBUG : : forgetting directory cache 2024/10/30 06:30:41 DEBUG : dir: forgetting directory cache 2024/10/30 06:30:41 DEBUG : dir: Removed virtual directory entry vDel: "file1" --- FAIL: TestFileRename (1228.86s) --- FAIL: TestFileRename/off,forceCache=false (95.04s) --- FAIL: TestFileRename/minimal,forceCache=false (124.48s) --- FAIL: TestFileRename/minimal,forceCache=true (134.27s) --- FAIL: TestFileRename/writes,forceCache=false (228.95s) --- FAIL: TestFileRename/writes,forceCache=true (417.07s) --- FAIL: TestFileRename/full,forceCache=false (229.05s) === RUN TestRWCacheUpdate run.go:180: Remote "proton drive root link ID 'rclone-test-payaqex8lisu'", Local "Local file system at /tmp/rclone2324658129", Modify Window "1s" 2024/10/30 06:31:25 INFO : proton drive root link ID 'rclone-test-payaqex8lisu': poll-interval is not supported by this remote 2024/10/30 06:31:25 DEBUG : vfs cache: root is "/home/rclone/.cache/rclone" 2024/10/30 06:31:25 DEBUG : vfs cache: data root is "/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:31:25 DEBUG : vfs cache: metadata root is "/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:31:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:31:25 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/30 06:31:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfs/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:31:25 DEBUG : Creating backend with remote ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:31:25 DEBUG : :local: detected overridden config - adding "{bxYPm}" suffix to name 2024/10/30 06:31:25 DEBUG : fs cache: renaming cache item ":local,encoding='Slash,Dot':/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" to be canonical ":local{bxYPm}:/home/rclone/.cache/rclone/vfsMeta/TestProtonDrive/rclone-test-payaqex8lisu" 2024/10/30 06:31:25 INFO : vfs cache: cleaned: objects 0 (was 0) in use 0, to upload 0, uploading 0, total size 0 (was 0) 2024/10/30 06:31:25 DEBUG : : forgetting directory cache 2024/10/30 06:31:26 DEBUG : TestRWCacheUpdate: OpenFile: flags=O_RDONLY, perm=---------- 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate: Open: flags=O_RDONLY 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate: newRWFileHandle: 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate: >newRWFileHandle: err= 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate: >Open: fd=TestRWCacheUpdate (rw), err= 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate: >OpenFile: fd=TestRWCacheUpdate (rw), err= 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate(0xc0023aca80): _readAt: size=512, off=0 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate(0xc0023aca80): openPending: 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate: vfs cache: checking remote fingerprint "20,2024-10-30 05:32:25 +0000 UTC,288158e561053f03b91b9361f5d0328ac9e349fc" against cached fingerprint "" 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate: vfs cache: truncate to size=20 2024/10/30 06:31:27 DEBUG : : Added virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate(0xc0023aca80): >openPending: err= 2024/10/30 06:31:27 DEBUG : vfs cache: looking for range={Pos:0 Size:20} in [] - present false 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate: ChunkedReader.RangeSeek from -1 to 0 length -1 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate: ChunkedReader.Read at -1 length 32768 chunkOffset 0 chunkSize 134217728 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate: ChunkedReader.openRange at 0 length 134217728 2024/10/30 06:31:27 DEBUG : : forgetting directory cache 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate(0xc0023aca80): >_readAt: n=20, err=EOF 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate(0xc0023aca80): close: 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate: vfs cache: setting modification time to 2024-10-30 05:32:25 +0000 +0000 2024/10/30 06:31:27 DEBUG : TestRWCacheUpdate(0xc0023aca80): >close: err= 2024/10/30 06:31:28 DEBUG : : Removed virtual directory entry vAddFile: "TestRWCacheUpdate" 2024/10/30 06:31:28 DEBUG : TestRWCacheUpdate: Reset virtual modtime 2024/10/30 06:31:28 DEBUG : : forgetting directory cache 2024/10/30 06:31:28.740051 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 2024/10/30 06:31:28.740077 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) 2024/10/30 06:32:25 DEBUG : vfs cache RemoveNotInUse (maxAge=3600000000000, emptyOnly=false): item TestRWCacheUpdate not removed, freed 0 bytes 2024/10/30 06:32:25 INFO : vfs cache: cleaned: objects 1 (was 1) in use 0, to upload 0, uploading 0, total size 20 (was 20) 2024/10/30 06:32:29.906981 WARN RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/Irg7aVugPVo6ZK0Ywdk5QCTz4SwnN6xAFI-rsT_cfBbbF1vy7Uw3_svK37HBWx4bSnmQM3uqLoHBPBvICMPWHQ==/revisions/buLP8buvq1u3Ls1TefevDXQeXIq6OM3664J0zBiBbjnh2jejHUO8T1BxBX2GAVkv-CDONX_Z-uFoIA0OWhatCA==: Internal server error (Code=500, Status=500), Attempt 1 2024/10/30 06:32:29.907018 ERROR RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/Irg7aVugPVo6ZK0Ywdk5QCTz4SwnN6xAFI-rsT_cfBbbF1vy7Uw3_svK37HBWx4bSnmQM3uqLoHBPBvICMPWHQ==/revisions/buLP8buvq1u3Ls1TefevDXQeXIq6OM3664J0zBiBbjnh2jejHUO8T1BxBX2GAVkv-CDONX_Z-uFoIA0OWhatCA==: Internal server error (Code=500, Status=500) run.go:285: Failed to put "TestRWCacheUpdate" to "proton drive root link ID 'rclone-test-payaqex8lisu'": 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/Irg7aVugPVo6ZK0Ywdk5QCTz4SwnN6xAFI-rsT_cfBbbF1vy7Uw3_svK37HBWx4bSnmQM3uqLoHBPBvICMPWHQ==/revisions/buLP8buvq1u3Ls1TefevDXQeXIq6OM3664J0zBiBbjnh2jejHUO8T1BxBX2GAVkv-CDONX_Z-uFoIA0OWhatCA==: Internal server error (Code=500, Status=500) 2024/10/30 06:32:29 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:32:29 DEBUG : : Looking for writers 2024/10/30 06:32:29 DEBUG : >WaitForWriters: 2024/10/30 06:32:29 DEBUG : vfs cache: cleaner exiting 2024/10/30 06:32:41.070753 WARN RESTY 429 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/X80iRTj06oCaaevMpj1Ktw36uQtqdY3I1J540uqROT9Ij9OoCeArj-UjCYQ7Kho-1ZktQhrogfHggjr-7HU67A==/trash_multiple: Resource is busy. Please try again (Code=2502, Status=429), Attempt 1 time="2024-10-30T06:32:41Z" level=warning msg="Too many requests, retrying after delay" after=9 method=POST pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/X80iRTj06oCaaevMpj1Ktw36uQtqdY3I1J540uqROT9Ij9OoCeArj-UjCYQ7Kho-1ZktQhrogfHggjr-7HU67A==/trash_multiple" 2024/10/30 06:33:00.844300 WARN RESTY 429 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/X80iRTj06oCaaevMpj1Ktw36uQtqdY3I1J540uqROT9Ij9OoCeArj-UjCYQ7Kho-1ZktQhrogfHggjr-7HU67A==/trash_multiple: Resource is busy. Please try again (Code=2502, Status=429), Attempt 2 time="2024-10-30T06:33:00Z" level=warning msg="Too many requests, retrying after delay" after=10 method=POST pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/X80iRTj06oCaaevMpj1Ktw36uQtqdY3I1J540uqROT9Ij9OoCeArj-UjCYQ7Kho-1ZktQhrogfHggjr-7HU67A==/trash_multiple" --- FAIL: TestRWCacheUpdate (106.06s) === RUN TestWriteFileHandleMethods run.go:180: Remote "proton drive root link ID 'rclone-test-payaqex8lisu'", Local "Local file system at /tmp/rclone2324658129", Modify Window "1s" 2024/10/30 06:33:11 INFO : proton drive root link ID 'rclone-test-payaqex8lisu': poll-interval is not supported by this remote 2024/10/30 06:33:11 NOTICE: proton drive root link ID 'rclone-test-payaqex8lisu': --vfs-cache-mode writes or full is recommended for this remote as it can't stream 2024/10/30 06:33:11 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/30 06:33:11 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/30 06:33:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/30 06:33:11 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/30 06:33:11 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/30 06:33:11 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/30 06:33:11 ERROR : file1: WriteFileHandle: Read: Can't read and write to file without --vfs-cache-mode >= minimal 2024/10/30 06:33:11 ERROR : file1: WriteFileHandle: ReadAt: Can't read and write to file without --vfs-cache-mode >= minimal 2024/10/30 06:33:11 ERROR : file1: WriteFileHandle: Truncate: Can't change size without --vfs-cache-mode >= writes 2024/10/30 06:33:11 DEBUG : proton drive root link ID 'rclone-test-payaqex8lisu': File to upload is small (5 bytes), uploading instead of streaming 2024/10/30 06:33:12 DEBUG : file1: sha1 = aaf4c61ddcc5e8a2dabede0f3b482cd9aea9434d OK 2024/10/30 06:33:12 DEBUG : file1: Size and sha1 of src and dst objects identical 2024/10/30 06:33:12 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/30 06:33:12 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/30 06:33:12 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/30 06:33:12 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/30 06:33:12 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/30 06:33:12 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/30 06:33:12 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE, perm=-rwxrwxrwx 2024/10/30 06:33:12 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE 2024/10/30 06:33:12 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/30 06:33:12 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/30 06:33:12 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/30 06:33:12 ERROR : file1: WriteFileHandle: Can't open for write without O_TRUNC on existing file without --vfs-cache-mode >= writes 2024/10/30 06:33:12 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2024/10/30 06:33:12 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2024/10/30 06:33:12 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/30 06:33:12 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/30 06:33:12 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/30 06:33:12 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/30 06:33:12 DEBUG : proton drive root link ID 'rclone-test-payaqex8lisu': File to upload is small (0 bytes), uploading instead of streaming 2024/10/30 06:33:13.601489 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 2024/10/30 06:33:13.601516 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) 2024/10/30 06:34:14.515553 WARN RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/8__q1Dbw5aPNn5EWjq_b_xNchr_sKKDOvWKDbcCiMFQvgNF5-OQ3A_ks8dDemsNKWr76fpJg98e2895DQRO2Yw==/revisions/agdyg3-00B8BvLkiwQTkHg2zAnkoRZ9iaH0rs_GTkeLKcc4Z0tjQQQUcfLlJ7jsq_kDDjLx2qmGQsFki8NmQxg==: Internal server error (Code=500, Status=500), Attempt 1 2024/10/30 06:34:14.515578 ERROR RESTY 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/8__q1Dbw5aPNn5EWjq_b_xNchr_sKKDOvWKDbcCiMFQvgNF5-OQ3A_ks8dDemsNKWr76fpJg98e2895DQRO2Yw==/revisions/agdyg3-00B8BvLkiwQTkHg2zAnkoRZ9iaH0rs_GTkeLKcc4Z0tjQQQUcfLlJ7jsq_kDDjLx2qmGQsFki8NmQxg==: Internal server error (Code=500, Status=500) 2024/10/30 06:34:14 ERROR : file1: WriteFileHandle.New Rcat failed: 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/8__q1Dbw5aPNn5EWjq_b_xNchr_sKKDOvWKDbcCiMFQvgNF5-OQ3A_ks8dDemsNKWr76fpJg98e2895DQRO2Yw==/revisions/agdyg3-00B8BvLkiwQTkHg2zAnkoRZ9iaH0rs_GTkeLKcc4Z0tjQQQUcfLlJ7jsq_kDDjLx2qmGQsFki8NmQxg==: Internal server error (Code=500, Status=500) write_test.go:181: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:181 Error: Received unexpected error: 500 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files/8__q1Dbw5aPNn5EWjq_b_xNchr_sKKDOvWKDbcCiMFQvgNF5-OQ3A_ks8dDemsNKWr76fpJg98e2895DQRO2Yw==/revisions/agdyg3-00B8BvLkiwQTkHg2zAnkoRZ9iaH0rs_GTkeLKcc4Z0tjQQQUcfLlJ7jsq_kDDjLx2qmGQsFki8NmQxg==: Internal server error (Code=500, Status=500) Test: TestWriteFileHandleMethods dir_test.go:247: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:247 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:182 Error: Not equal: expected: []string{"file1,0,false"} actual : []string{"file1,5,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,0,false" + (string) (len=13) "file1,5,false" } Test: TestWriteFileHandleMethods 2024/10/30 06:34:14 DEBUG : file1: OpenFile: flags=O_WRONLY|O_CREATE|O_TRUNC, perm=-rwxrwxrwx 2024/10/30 06:34:14 DEBUG : file1: Open: flags=O_WRONLY|O_CREATE|O_TRUNC 2024/10/30 06:34:14 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/30 06:34:14 DEBUG : file1: >Open: fd=file1 (w), err= 2024/10/30 06:34:14 DEBUG : file1: >OpenFile: fd=file1 (w), err= 2024/10/30 06:34:14 DEBUG : : Added virtual directory entry vAddFile: "file1" 2024/10/30 06:34:14 DEBUG : proton drive root link ID 'rclone-test-payaqex8lisu': File to upload is small (7 bytes), uploading instead of streaming 2024/10/30 06:34:15.307003 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 2024/10/30 06:34:15.307026 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) 2024/10/30 06:34:15 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 write_test.go:190: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:190 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:247: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/vfs/dir_test.go:247 /home/rclone/go/src/github.com/rclone/rclone/vfs/write_test.go:191 Error: Not equal: expected: []string{"file1,7,false"} actual : []string{"file1,5,false"} Diff: --- Expected +++ Actual @@ -1,3 +1,3 @@ ([]string) (len=1) { - (string) (len=13) "file1,7,false" + (string) (len=13) "file1,5,false" } Test: TestWriteFileHandleMethods 2024/10/30 06:34:15 DEBUG : WaitForWriters: timeout=30s 2024/10/30 06:34:15 DEBUG : : Looking for writers 2024/10/30 06:34:15 DEBUG : file1: reading active writers 2024/10/30 06:34:15 DEBUG : >WaitForWriters: 2024/10/30 06:34:26.852162 WARN RESTY 429 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/X80iRTj06oCaaevMpj1Ktw36uQtqdY3I1J540uqROT9Ij9OoCeArj-UjCYQ7Kho-1ZktQhrogfHggjr-7HU67A==/trash_multiple: Resource is busy. Please try again (Code=2502, Status=429), Attempt 1 time="2024-10-30T06:34:26Z" level=warning msg="Too many requests, retrying after delay" after=6 method=POST pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/X80iRTj06oCaaevMpj1Ktw36uQtqdY3I1J540uqROT9Ij9OoCeArj-UjCYQ7Kho-1ZktQhrogfHggjr-7HU67A==/trash_multiple" 2024/10/30 06:34:43.967322 WARN RESTY 429 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/X80iRTj06oCaaevMpj1Ktw36uQtqdY3I1J540uqROT9Ij9OoCeArj-UjCYQ7Kho-1ZktQhrogfHggjr-7HU67A==/trash_multiple: Resource is busy. Please try again (Code=2502, Status=429), Attempt 2 time="2024-10-30T06:34:43Z" level=warning msg="Too many requests, retrying after delay" after=5 method=POST pkg=go-proton-api status=429 url="https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/folders/X80iRTj06oCaaevMpj1Ktw36uQtqdY3I1J540uqROT9Ij9OoCeArj-UjCYQ7Kho-1ZktQhrogfHggjr-7HU67A==/trash_multiple" --- FAIL: TestWriteFileHandleMethods (102.74s) FAIL 2024/10/30 06:34:54 DEBUG : proton drive root link ID 'rclone-test-payaqex8lisu': Purge remote "./vfs.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestFileOpenWrite|TestRWCacheUpdate|TestWriteFileHandleMethods)$|^TestFileRename$/^(full,forceCache=false|minimal,forceCache=false|minimal,forceCache=true|off,forceCache=false|writes,forceCache=false|writes,forceCache=true)$'" - Finished ERROR in 25m44.958681316s (try 5/5): exit status 1: Failed [TestFileOpenWrite TestFileRename/off,forceCache=false TestFileRename/minimal,forceCache=false TestFileRename/minimal,forceCache=true TestFileRename/writes,forceCache=false TestFileRename/writes,forceCache=true TestFileRename/full,forceCache=false TestRWCacheUpdate TestWriteFileHandleMethods]