Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing to crate security crash bugs when having a needinfo on a user outside the core-security group #2261

Closed
suhaibmujahid opened this issue Nov 1, 2023 · 1 comment · Fixed by #2285

Comments

@suhaibmujahid
Copy link
Member

suhaibmujahid commented Nov 1, 2023

2023-11-01 12:42:55,958 - ERROR - Failed to create a bug for signature XXXXXXXXXXXXXXXXX: {"documentation":"https://bmo.readthedocs.io/en/latest/api/","message":"You asked Martin Stránský [:stransky] (ni? me) <[[email protected]](mailto:[email protected])> for needinfo on bug 1862416, but that bug has been restricted to users in certain groups, and the user you asked isn't in all the groups to which the bug has been restricted. Please choose someone else to ask, or make the bug accessible to users on its CC: list and add that user to the list.","code":32000,"error":true}
Traceback (most recent call last):
  File "/home/rm_bot/bugbot/bugbot/rules/file_crash_bug.py", line 212, in get_bugs
    bug = utils.create_bug(bug_data)
  File "/home/rm_bot/bugbot/bugbot/utils.py", line 746, in create_bug
    resp.raise_for_status()
  File "/home/rm_bot/bugbot/venv/lib/python3.10/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://bugzilla.mozilla.org/rest/bug
@suhaibmujahid
Copy link
Member Author

@dveditz In such a case, should the bot add the author of the potential regressor to CC or avoid the needinfo altogether?

Note: This will be a fresh bug with no discussions yet (example of a bug filed by the bot: bug 1862277)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant