Re-triggering jobs fails with scope exception
Categories
(Release Engineering :: Firefox-CI Administration, defect)
Tracking
(Not tracked)
People
(Reporter: deian, Unassigned)
Details
I've been getting scope expression errors when I try to cancel and re-trigger jobs. Canceling seems to now work even though I get an error when I click on the cancel button. Retrying, as far as I can tell doesn't.
Example failure:
Retrigger failed with Decision task: K0WWP73ySca5QfF9puJeXA: Error: Client ID mozilla-auth0/google-oauth2|108787989323599130281/treeherder-production-client-Rz2efx does not have sufficient scopes and is missing the following scopes: hooks:trigger-hook:project-gecko/in-tree-action-1-generic/73b81e92a6 This request requires the client to satisfy the following scope expression: hooks:trigger-hook:project-gecko/in-tree-action-1-generic/73b81e92a6
Sorry if I'm missing something obvious
My username: deian
Thanks!
Comment 1•5 years ago
|
||
Are you logged in to treeherder? Do you have level 1 commit privs, and have you used those commit privs in the past few months?
| Reporter | ||
Comment 2•5 years ago
|
||
Yes to all of the above.
As another example, I just tried cancelling this try but got the two dialogs green for okay and red with:
Taskcluster: Client ID mozilla-auth0/google-oauth2|108787989323599130281/treeherder-production-client-KipGhX does not have sufficient scopes and is missing the following scopes: ``` hooks:trigger-hook:project-gecko/in-tree-action-1-generic/73b81e92a6 ``` This request requires the client to satisfy the following scope expression: ``` hooks:trigger-hook:project-gecko/in-tree-action-1-generic/73b81e92a6 ``` --- * method: triggerHook * errorCode: InsufficientScopes * statusCode: 403 * time: 2021-10-30T19:39:09.448Z
Comment 3•5 years ago
|
||
Ok. I was able to both add-new a task and cancel it on that push, so we've ruled out an issue with that hook and with treeherder, and likely narrowed it down to something with your account.
I'm not able to find you in phonebook: https://people.mozilla.org/s?query=deian&who=contributors
google-oauth2|108787989323599130281 seems like a strange username for an ldap account; you should sign in with the same account that has your level 1 commit privs.
| Reporter | ||
Comment 4•5 years ago
|
||
Hm. I think I have an idea of what might be causing the issue.
My ldap account is under deian@cs.ucsd.edu. This email is an alias to deian@eng.ucsd.edu, which is actually the Google login I'm using. My guess is the two are not really associated?
Comment 5•4 years ago
|
||
I think you have to log into the same account as your ldap.
If you're able to log into your ldap account email address in taskcluster, please do so.
If you're not able to log into your ldap account because it's an alias, I imagine you need to rename your ldap account to match your real email.
Description
•