Details
-
Bug
-
Resolution: Won't Do
-
P4: Low
-
None
-
production
-
None
Description
Current error messages posted to gerrit are not always helpful and usually only contain the raw error code and message returned by some request to gerrit. While some users may be familiar enough with git errors or gerrit permissions to interpret these messages, error messages posted to changes should include a human-readable summary (with a suggestion of how to handle it where applicable) for each error case that a user may encounter.
Current format:
INFO: The cherry-pick bot failed to automatically stage this change to CI. Please try to stage it manually. Contact gerrit administration if you continue to experience issues. Reason: { "status": 403, "data": "stage change for continuous integration not permitted\n" }
Friendly format:
INFO: The cherry-pick bot failed to automatically stage this change to CI. This error may occur when the branch this change was picked to is closed to new changes. If you're not able to stage it manually, check to make sure that the branch is still open and then contact the gerrit admins. Raw Error from bot action "stage": { "status": 403, "data": "stage change for continuous integration not permitted\n" }
Attachments
Issue Links
- relates to
-
QTQAINFRA-3382 Automated cherry-picking into stable branches
- Closed