application-services: Cannot kick release off because of missing scope
Categories
(Release Engineering :: Firefox-CI Administration, defect)
Tracking
(Not tracked)
People
(Reporter: jlorenzo, Assigned: jlorenzo)
References
(Regression)
Details
Attachments
(2 files)
Submitting the task to Taskcluster failed. Details
Taskcluster-GitHub attempted to create a task for this event with the following scopes:
[ "assume:repo:github.com/mozilla/application-services:release", "queue:route:statuses", "queue:scheduler-id:taskcluster-github" ]The expansion of these scopes is not sufficient to create the task, leading to the following:
Client ID static/taskcluster/github does not have sufficient scopes and is missing the following scopes:
{ "AllOf": [ "queue:create-task:scriptworker-k8s/appservices-3-signing", "queue:create-task:highest:scriptworker-k8s/appservices-3-beetmover" ] }This request requires the client to satisfy the following scope expression:
{ "AllOf": [ "queue:create-task:highest:app-services-3/b-linux", "queue:create-task:highest:app-services-3/images", "queue:route:statuses", "queue:route:notify.email.*", "queue:scheduler-id:taskcluster-github", "queue:route:index.project.application-services.*", "docker-worker:cache:application-services-*", "project:releng:services/tooltool/api/download/internal", "project:mozilla:application-services:releng:beetmover:action:push-to-maven", "project:mozilla:application-services:releng:signing:cert:release-signing", "queue:create-task:scriptworker-k8s/appservices-3-signing", "secrets:get:project/application-services/symbols-token", "project:mozilla:application-services:releng:beetmover:bucket:maven-production", "queue:create-task:highest:scriptworker-k8s/appservices-3-beetmover", "queue:route:statuses", { "AnyOf": [ { "AllOf": [ "queue:scheduler-id:taskcluster-github", { "AnyOf": [ "queue:create-task:highest:app-services-3/decision" ] } ] } ] } ] }* method: createTask * errorCode: InsufficientScopes * statusCode: 403 * time: 2019-11-18T16:22:27.967Z
| Assignee | ||
Comment 1•6 years ago
|
||
The error is because GCP[1] and ci-admin[2][3] have different assumptions regarding the name scheme.
Mihai agreed we should eventually follow ci-admin's. In the meantime, I'm going to add more scopes so it unblocks the release. I'll clean this up later.
[1] https://github.com/mozilla/application-services/pull/2147/files#diff-ac0229d1171c0983b27003af4c7441a5R190
[2] https://hg.mozilla.org/ci/ci-configuration/file/f11b90a46659e947183411a0c7f7fd133db1990c/grants.yml#l1197
[3] https://hg.mozilla.org/ci/ci-configuration/file/f11b90a46659e947183411a0c7f7fd133db1990c/projects.yml#l496
| Assignee | ||
Comment 2•6 years ago
|
||
Because it doesn't carry any mobile-specific roles but it does add some github scopes
| Assignee | ||
Comment 3•6 years ago
|
||
Depends on D53664
| Assignee | ||
Comment 4•6 years ago
|
||
Marking this bug as fixed (which is the case). Let's do the followups in another bug.
Description
•