mozilla / bugbot

A Mozilla release management tool to send reminders to Firefox developers and improve Bugzilla metadata
BSD 3-Clause "New" or "Revised" License
36 stars 66 forks source link

Error when needinfo a regression author who blocked needinfo #2043

Open suhaibmujahid opened 1 year ago

suhaibmujahid commented 1 year ago

2023-05-08 17:41:46,613 - ERROR - regression_but_type_enhancement_task, regression_set_status_flags and needinfo_regression_author: Cannot put data for bug 1831406 (change => {'keywords': {'add': ['regression']}, 'comment': {'body': ':florian, since you are the author of the regressor, bug 1794715, could you take a look? Also, could you set the severity field?\n\nFor more information, please visit [BugBot documentation](https://wiki.mozilla.org/BugBot#needinfo_regression_author.py).\n'}, 'flags': [{'name': 'needinfo', 'requestee': '[florian@@xxxx.xxx](mailto:florian@@xxxx.xxx)', 'status': '?', 'new': 'true'}]}): ['1831406']

{
    "users": [
        {
            "nick": "florian",
            "email": "florian@xxxx.xxx",
            "last_activity_time": "2023-04-30T00:28:30Z",
            "last_seen_date": "2023-05-01T00:00:00Z",
            "can_login": true,
            "is_new": false,
            "requests": {
                "needinfo": {
                    "blocked": true,
                    "pending": 44
                },
                "feedback": {
                    "blocked": true,
                    "pending": 0
                },
                "review": {
                    "pending": 0,
                    "blocked": true
                }
            },
            "real_name": "Florian Quèze [:florian] (unavailable until May 22)",
            "gravatar": "https://secure.gravatar.com/avatar/8f0ee0c7ec2392ab04b4645e5555b28c?d=mm&size=64"
        }
    ],
    "faults": []
}
suhaibmujahid commented 1 year ago

The same for no_severity rule:

2023-05-10 12:07:50,212 - ERROR - no_severity: Cannot put data for bug 1829394 (change => {'comment': {'body': 'The severity field is not set for this bug.\n:florian, could you have a look please?\n\nFor more information, please visit [BugBot documentation](https://wiki.mozilla.org/BugBot#workflow.2Fno_severity.py).\n'}, 'flags': [{'name': 'needinfo', 'requestee': 'florian@xxxx.xxx', 'status': '?', 'new': 'true'}]}): ['1829394']