Bug 1761841 Comment 0 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Something strange is going on that I don't understand. To reproduce, attempt to re-run this task:


You should see an error like:
```
The role hook-id:project-app-services/in-tree-action-1-generic/0db59f3995 does not have sufficient scopes to create the task:

Client ID static/taskcluster/hooks does not have sufficient scopes and is missing the following scopes:

{
  "AllOf": [
    "assume:repo:github.com/mozilla/application-services:action:generic",
    "queue:route:checks",
    "queue:scheduler-id:app-services-level-3",
    {
      "AnyOf": [
        "queue:create-task:highest:app-services-3/decision",
        "queue:create-task:very-high:app-services-3/decision",
        "queue:create-task:high:app-services-3/decision",
        "queue:create-task:medium:app-services-3/decision",
        "queue:create-task:low:app-services-3/decision",
        "queue:create-task:very-low:app-services-3/decision",
        "queue:create-task:lowest:app-services-3/decision"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AllOf": [
    "assume:repo:github.com/mozilla/application-services:action:generic",
    "queue:route:checks",
    "queue:create-task:project:none",
    "queue:scheduler-id:app-services-level-3",
    {
      "AnyOf": [
        "queue:create-task:highest:app-services-3/decision",
        "queue:create-task:very-high:app-services-3/decision",
        "queue:create-task:high:app-services-3/decision",
        "queue:create-task:medium:app-services-3/decision",
        "queue:create-task:low:app-services-3/decision",
        "queue:create-task:very-low:app-services-3/decision",
        "queue:create-task:lowest:app-services-3/decision"
      ]
    }
  ]
}
```

Here is the hook that we're trying to run:
https://firefox-ci-tc.services.mozilla.com/hooks/project-app-services/in-tree-action-1-generic%2F0db59f3995

As you can see it is level 1 (which is expected since the task is also level 1). But it is failing with a scope error because we need level 3 `create-task` and `scheduler-id` scopes. I'm not sure why this would be happen.

For context I recently enabled hooks on this repo here:
https://hg.mozilla.org/ci/ci-configuration/rev/7e8c1a39f2b3fb40ca19b0a5da39834fd3f6f32d

It's very likely that I neglected something..
Something strange is going on that I don't understand. To reproduce, attempt to re-run this task:
https://firefox-ci-tc.services.mozilla.com/tasks/UaKKkloDQ7C5koS2BqgFhg/runs/0


You should see an error like:
```
The role hook-id:project-app-services/in-tree-action-1-generic/0db59f3995 does not have sufficient scopes to create the task:

Client ID static/taskcluster/hooks does not have sufficient scopes and is missing the following scopes:

{
  "AllOf": [
    "assume:repo:github.com/mozilla/application-services:action:generic",
    "queue:route:checks",
    "queue:scheduler-id:app-services-level-3",
    {
      "AnyOf": [
        "queue:create-task:highest:app-services-3/decision",
        "queue:create-task:very-high:app-services-3/decision",
        "queue:create-task:high:app-services-3/decision",
        "queue:create-task:medium:app-services-3/decision",
        "queue:create-task:low:app-services-3/decision",
        "queue:create-task:very-low:app-services-3/decision",
        "queue:create-task:lowest:app-services-3/decision"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AllOf": [
    "assume:repo:github.com/mozilla/application-services:action:generic",
    "queue:route:checks",
    "queue:create-task:project:none",
    "queue:scheduler-id:app-services-level-3",
    {
      "AnyOf": [
        "queue:create-task:highest:app-services-3/decision",
        "queue:create-task:very-high:app-services-3/decision",
        "queue:create-task:high:app-services-3/decision",
        "queue:create-task:medium:app-services-3/decision",
        "queue:create-task:low:app-services-3/decision",
        "queue:create-task:very-low:app-services-3/decision",
        "queue:create-task:lowest:app-services-3/decision"
      ]
    }
  ]
}
```

Here is the hook that we're trying to run:
https://firefox-ci-tc.services.mozilla.com/hooks/project-app-services/in-tree-action-1-generic%2F0db59f3995

As you can see it is level 1 (which is expected since the task is also level 1). But it is failing with a scope error because we need level 3 `create-task` and `scheduler-id` scopes. I'm not sure why this would be happen.

For context I recently enabled hooks on this repo here:
https://hg.mozilla.org/ci/ci-configuration/rev/7e8c1a39f2b3fb40ca19b0a5da39834fd3f6f32d

It's very likely that I neglected something..
Something strange is going on that I don't understand. To reproduce, attempt to re-run this task:
https://firefox-ci-tc.services.mozilla.com/tasks/UaKKkloDQ7C5koS2BqgFhg/runs/0


You should see an error like:
```
The role hook-id:project-app-services/in-tree-action-1-generic/0db59f3995 does not have sufficient scopes to create the task:

Client ID static/taskcluster/hooks does not have sufficient scopes and is missing the following scopes:

{
  "AllOf": [
    "assume:repo:github.com/mozilla/application-services:action:generic",
    "queue:route:checks",
    "queue:scheduler-id:app-services-level-3",
    {
      "AnyOf": [
        "queue:create-task:highest:app-services-3/decision",
        "queue:create-task:very-high:app-services-3/decision",
        "queue:create-task:high:app-services-3/decision",
        "queue:create-task:medium:app-services-3/decision",
        "queue:create-task:low:app-services-3/decision",
        "queue:create-task:very-low:app-services-3/decision",
        "queue:create-task:lowest:app-services-3/decision"
      ]
    }
  ]
}

This request requires the client to satisfy the following scope expression:

{
  "AllOf": [
    "assume:repo:github.com/mozilla/application-services:action:generic",
    "queue:route:checks",
    "queue:create-task:project:none",
    "queue:scheduler-id:app-services-level-3",
    {
      "AnyOf": [
        "queue:create-task:highest:app-services-3/decision",
        "queue:create-task:very-high:app-services-3/decision",
        "queue:create-task:high:app-services-3/decision",
        "queue:create-task:medium:app-services-3/decision",
        "queue:create-task:low:app-services-3/decision",
        "queue:create-task:very-low:app-services-3/decision",
        "queue:create-task:lowest:app-services-3/decision"
      ]
    }
  ]
}
```

Here is the hook that we're trying to run:
https://firefox-ci-tc.services.mozilla.com/hooks/project-app-services/in-tree-action-1-generic%2F0db59f3995

As you can see it is level 1 (which is expected since the task is also level 1). But it is failing with a scope error because we need level 3 `create-task` and `scheduler-id` scopes. I'm not sure why this would happen.

For context I recently enabled hooks on this repo here:
https://hg.mozilla.org/ci/ci-configuration/rev/7e8c1a39f2b3fb40ca19b0a5da39834fd3f6f32d

It's very likely that I neglected something..

Back to Bug 1761841 Comment 0