"./operations.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCheckSumDownload|TestCopyFileBackupDir|TestDirMove|TestMoveFileBackupDir|TestParseSumFile|TestRemoveExisting)$'" - Starting (try 2/5) 2025/07/03 04:46:22 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-qohaguy3doxu" 2025/07/03 04:46:22 DEBUG : Using config file from "/home/rclone/.rclone.conf" 2025/07/03 04:46:22 DEBUG : proton drive root link ID 'rclone-test-qohaguy3doxu': Has cached credentials 2025/07/03 04:46:24 DEBUG : proton drive root link ID 'rclone-test-qohaguy3doxu': Used cached credential to initialize the ProtonDrive API 2025/07/03 04:46:25 DEBUG : Creating backend with remote "/tmp/rclone1644716101" === RUN TestParseSumFile run.go:180: Remote "proton drive root link ID 'rclone-test-qohaguy3doxu'", Local "Local file system at /tmp/rclone1644716101", Modify Window "1s" 2025/07/03 04:46:29 NOTICE: test.sum: improperly formatted checksum line 4 2025/07/03 04:46:29 NOTICE: test.sum: improperly formatted checksum line 5 2025/07/03 04:46:29 NOTICE: test.sum: improperly formatted checksum line 6 2025/07/03 04:46:29 NOTICE: test.sum: 2 warning(s) suppressed... 2025/07/03 04:46:31.285100 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/07/03 04:46:31.285141 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/07/03 04:46:35 NOTICE: test.sum: improperly formatted checksum line 4 2025/07/03 04:46:35 NOTICE: test.sum: improperly formatted checksum line 5 2025/07/03 04:46:35 NOTICE: test.sum: improperly formatted checksum line 6 2025/07/03 04:46:35 NOTICE: test.sum: 2 warning(s) suppressed... --- PASS: TestParseSumFile (12.44s) === RUN TestCheckSumDownload run.go:180: Remote "proton drive root link ID 'rclone-test-qohaguy3doxu'", Local "Local file system at /tmp/rclone1644716101", Modify Window "1s" 2025/07/03 04:46:37 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-qohaguy3doxu/data" 2025/07/03 04:46:37 DEBUG : proton drive root link ID 'rclone-test-qohaguy3doxu/data': Has cached credentials 2025/07/03 04:46:39 DEBUG : proton drive root link ID 'rclone-test-qohaguy3doxu/data': Used cached credential to initialize the ProtonDrive API === RUN TestCheckSumDownload/subtest1 2025/07/03 04:49:16.167785 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/07/03 04:49:16.167824 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) === RUN TestCheckSumDownload/subtest2 2025/07/03 04:49:25.115430 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/07/03 04:49:25.115473 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) === RUN TestCheckSumDownload/subtest3 2025/07/03 04:49:34.177712 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/07/03 04:49:34.177749 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) === RUN TestCheckSumDownload/subtest4 2025/07/03 04:49:43.393754 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/07/03 04:49:43.393780 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) === RUN TestCheckSumDownload/subtest5 2025/07/03 04:49:52.497884 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/07/03 04:49:52.497933 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) === RUN TestCheckSumDownload/subtest6 2025/07/03 04:50:01.770898 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/07/03 04:50:01.770946 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/07/03 04:50:05.313227 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/07/03 04:50:05.313257 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) 2025/07/03 04:50:08.912189 WARN RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422), Attempt 1 2025/07/03 04:50:08.912237 ERROR RESTY 422 POST https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/files: A file or folder with that name already exists (Code=2500, Status=422) === RUN TestCheckSumDownload/subtest7 --- PASS: TestCheckSumDownload (223.95s) --- PASS: TestCheckSumDownload/subtest1 (4.74s) --- PASS: TestCheckSumDownload/subtest2 (4.15s) --- PASS: TestCheckSumDownload/subtest3 (3.98s) --- PASS: TestCheckSumDownload/subtest4 (4.41s) --- PASS: TestCheckSumDownload/subtest5 (4.18s) --- PASS: TestCheckSumDownload/subtest6 (4.42s) --- PASS: TestCheckSumDownload/subtest7 (3.99s) === RUN TestCopyFileBackupDir run.go:180: Remote "proton drive root link ID 'rclone-test-qohaguy3doxu'", Local "Local file system at /tmp/rclone1644716101", Modify Window "1s" 2025/07/03 04:50:26 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-qohaguy3doxu/backup" 2025/07/03 04:50:26 DEBUG : Config file has changed externally - reloading 2025/07/03 04:50:26 DEBUG : proton drive root link ID 'rclone-test-qohaguy3doxu/backup': Has cached credentials 2025/07/03 04:50:28 DEBUG : proton drive root link ID 'rclone-test-qohaguy3doxu/backup': Used cached credential to initialize the ProtonDrive API 2025/07/03 04:52:39 DEBUG : dst/file1: Sizes differ (src 14 vs dst 18) 2025/07/03 04:52:43.053361 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/9h_g-kzdxsmIL26nlJDlhedyVKzYbKmBk6syTMU9QBErVyOS6PGbsWF9AScAcOmtTsGTBWmZ9leueVBVu0EnUA==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/03 04:52:43.053400 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/9h_g-kzdxsmIL26nlJDlhedyVKzYbKmBk6syTMU9QBErVyOS6PGbsWF9AScAcOmtTsGTBWmZ9leueVBVu0EnUA==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/03 04:52:43 ERROR : dst/file1: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/9h_g-kzdxsmIL26nlJDlhedyVKzYbKmBk6syTMU9QBErVyOS6PGbsWF9AScAcOmtTsGTBWmZ9leueVBVu0EnUA==/move: This value should not be blank. (Code=2000, Status=400) copy_test.go:185: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/copy_test.go:185 Error: Received unexpected error: moving to --backup-dir failed: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/9h_g-kzdxsmIL26nlJDlhedyVKzYbKmBk6syTMU9QBErVyOS6PGbsWF9AScAcOmtTsGTBWmZ9leueVBVu0EnUA==/move: This value should not be blank. (Code=2000, Status=400) Test: TestCopyFileBackupDir --- FAIL: TestCopyFileBackupDir (146.36s) === RUN TestMoveFileBackupDir run.go:180: Remote "proton drive root link ID 'rclone-test-qohaguy3doxu'", Local "Local file system at /tmp/rclone1644716101", Modify Window "1s" 2025/07/03 04:52:53 DEBUG : Creating backend with remote "TestProtonDrive:rclone-test-qohaguy3doxu/backup" 2025/07/03 04:52:53 DEBUG : proton drive root link ID 'rclone-test-qohaguy3doxu/backup': Has cached credentials 2025/07/03 04:52:55 DEBUG : proton drive root link ID 'rclone-test-qohaguy3doxu/backup': Used cached credential to initialize the ProtonDrive API 2025/07/03 04:55:06 DEBUG : dst/file1: Sizes differ (src 14 vs dst 18) 2025/07/03 04:55:09.985764 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/aiWBWa0BJTSeyUdGuvvgjOmwAtiClsT03NrlXQ9DlYuARv-r12fXOfID0__-_IRx_B21_x9myCuiRL225YlS_g==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/03 04:55:09.985807 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/aiWBWa0BJTSeyUdGuvvgjOmwAtiClsT03NrlXQ9DlYuARv-r12fXOfID0__-_IRx_B21_x9myCuiRL225YlS_g==/move: This value should not be blank. (Code=2000, Status=400) 2025/07/03 04:55:09 ERROR : dst/file1: Couldn't move: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/aiWBWa0BJTSeyUdGuvvgjOmwAtiClsT03NrlXQ9DlYuARv-r12fXOfID0__-_IRx_B21_x9myCuiRL225YlS_g==/move: This value should not be blank. (Code=2000, Status=400) operations_test.go:1052: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1052 Error: Received unexpected error: moving to --backup-dir failed: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/aiWBWa0BJTSeyUdGuvvgjOmwAtiClsT03NrlXQ9DlYuARv-r12fXOfID0__-_IRx_B21_x9myCuiRL225YlS_g==/move: This value should not be blank. (Code=2000, Status=400) Test: TestMoveFileBackupDir --- FAIL: TestMoveFileBackupDir (147.75s) === RUN TestDirMove run.go:180: Remote "proton drive root link ID 'rclone-test-qohaguy3doxu'", Local "Local file system at /tmp/rclone1644716101", Modify Window "1s" 2025/07/03 04:55:28 INFO : A1/B2: Making directory 2025/07/03 04:55:29 INFO : A1/B1/C3: Making directory 2025/07/03 04:55:34.117726 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/18gDxnEpHuojCRGKQqZgY8oluAc6KfFEr6YHWkp5Q-bivZ-bDZAWWaEC2Dgp1QMspPR4lRbfO2aCNHdC-PQJBQ==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/03 04:55:34.117752 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/18gDxnEpHuojCRGKQqZgY8oluAc6KfFEr6YHWkp5Q-bivZ-bDZAWWaEC2Dgp1QMspPR4lRbfO2aCNHdC-PQJBQ==/move: This value should not be blank. (Code=2000, Status=400) operations_test.go:1380: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1380 Error: Received unexpected error: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/18gDxnEpHuojCRGKQqZgY8oluAc6KfFEr6YHWkp5Q-bivZ-bDZAWWaEC2Dgp1QMspPR4lRbfO2aCNHdC-PQJBQ==/move: This value should not be blank. (Code=2000, Status=400) Test: TestDirMove --- FAIL: TestDirMove (28.98s) === RUN TestRemoveExisting run.go:180: Remote "proton drive root link ID 'rclone-test-qohaguy3doxu'", Local "Local file system at /tmp/rclone1644716101", Modify Window "1s" 2025/07/03 04:55:54 DEBUG : sub dir/test remove existing: TEST: renaming existing object to "sub dir/test remove existing.gewepic6" before starting 2025/07/03 04:55:54.826746 WARN RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/w2DK1jCTR_4Xy2PdZMM16hc0SbqxKuEAwL9-A_XIHFHkGvZTuH-BbrGpwz8cLyEgNbj8Q9xeSCs_pq4QX45R4Q==/move: This value should not be blank. (Code=2000, Status=400), Attempt 1 2025/07/03 04:55:54.826786 ERROR RESTY 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/w2DK1jCTR_4Xy2PdZMM16hc0SbqxKuEAwL9-A_XIHFHkGvZTuH-BbrGpwz8cLyEgNbj8Q9xeSCs_pq4QX45R4Q==/move: This value should not be blank. (Code=2000, Status=400) operations_test.go:1911: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1911 Error: Not equal: expected: *fmt.wrapError(&fmt.wrapError{msg:"TEST: failed to rename existing file: 400 PUT https://mail.proton.me/api/drive/shares/gYxulUP2_XOrbAxegpHKiBy09cfvss6mjykkd2Z3ZDpMFCmoWX4bC2TTm-Gl2UwrjReC8te_lFsQyeXT74Vgfw==/links/w2DK1jCTR_4Xy2PdZMM16hc0SbqxKuEAwL9-A_XIHFHkGvZTuH-BbrGpwz8cLyEgNbj8Q9xeSCs_pq4QX45R4Q==/move: This value should not be blank. (Code=2000, Status=400)", err:(*fmt.wrapError)(0xc00586b6c0)}) actual : () Test: TestRemoveExisting operations_test.go:1919: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1919 Error: " 11 sub dir/test remove existing\n 21 sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890123456789\n" should not contain " 11 sub dir/test remove existing\n" Test: TestRemoveExisting operations_test.go:1920: Error Trace: /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1920 Error: " 11 sub dir/test remove existing\n 21 sub dir/test remove existing with long name 123456789012345678901234567890123456789012345678901234567890123456789\n" does not contain " 11 sub dir/test remove existing." Test: TestRemoveExisting --- FAIL: TestRemoveExisting (15.48s) panic: runtime error: invalid memory address or nil pointer dereference [recovered] panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1ea826d] goroutine 2371 [running]: testing.tRunner.func1.2({0x21fc0c0, 0x3e29800}) /usr/local/go/src/testing/testing.go:1734 +0x21c testing.tRunner.func1() /usr/local/go/src/testing/testing.go:1737 +0x35e panic({0x21fc0c0?, 0x3e29800?}) /usr/local/go/src/runtime/panic.go:792 +0x132 github.com/rclone/rclone/fs/operations_test.TestRemoveExisting(0xc0042fe8c0) /home/rclone/go/src/github.com/rclone/rclone/fs/operations/operations_test.go:1923 +0x88d testing.tRunner(0xc0042fe8c0, 0x27d5748) /usr/local/go/src/testing/testing.go:1792 +0xf4 created by testing.(*T).Run in goroutine 1 /usr/local/go/src/testing/testing.go:1851 +0x413 "./operations.test -test.v -test.timeout 1h0m0s -remote TestProtonDrive: -verbose -test.run '^(TestCheckSumDownload|TestCopyFileBackupDir|TestDirMove|TestMoveFileBackupDir|TestParseSumFile|TestRemoveExisting)$'" - Finished ERROR in 9m38.006802524s (try 2/5): exit status 2: Failed [TestCopyFileBackupDir TestMoveFileBackupDir TestDirMove TestRemoveExisting]