Skip to content
This repository has been archived by the owner on Feb 20, 2020. It is now read-only.

Commit

Permalink
Refreshed gecko worker type definitions from latest OCC manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
petemoore committed Dec 5, 2019
1 parent 8f7af39 commit bfea548
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion worker_types/gecko-1-b-win2012-beta/bootstrap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ $client.DownloadFile("https://raw.githubusercontent.com/mozilla-releng/OpenCloud
# SetHostsFileContent: https://bugzilla.mozilla.org/show_bug.cgi?id=1497308

# env_TASKCLUSTER_ROOT_URL: https://bugzilla.mozilla.org/show_bug.cgi?id=1551789
[Environment]::SetEnvironmentVariable("TASKCLUSTER_ROOT_URL", "https://taskcluster.net", "Machine")
[Environment]::SetEnvironmentVariable("TASKCLUSTER_ROOT_URL", "https://firefox-ci-tc.services.mozilla.com", "Machine")

# programdata_google_auth: https://bugzilla.mozilla.org/show_bug.cgi?id=1588757
md "C:\ProgramData\Google\Auth"
Expand Down
2 changes: 1 addition & 1 deletion worker_types/gecko-1-b-win2012/bootstrap.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ $client.DownloadFile("https://raw.githubusercontent.com/mozilla-releng/OpenCloud
# SetHostsFileContent: https://bugzilla.mozilla.org/show_bug.cgi?id=1497308

# env_TASKCLUSTER_ROOT_URL: https://bugzilla.mozilla.org/show_bug.cgi?id=1551789
[Environment]::SetEnvironmentVariable("TASKCLUSTER_ROOT_URL", "https://taskcluster.net", "Machine")
[Environment]::SetEnvironmentVariable("TASKCLUSTER_ROOT_URL", "https://firefox-ci-tc.services.mozilla.com", "Machine")

# programdata_google_auth: https://bugzilla.mozilla.org/show_bug.cgi?id=1588757
md "C:\ProgramData\Google\Auth"
Expand Down

1 comment on commit bfea548

@community-tc-integration
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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/taskcluster/generic-worker:branch:master",
  "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": [
    "secrets:get:repo:github.com/taskcluster/generic-worker",
    {
      "AnyOf": [
        {
          "AnyOf": [
            "queue:create-task:highest:pmoore-test/win2012r2-cu",
            "queue:create-task:very-high:pmoore-test/win2012r2-cu",
            "queue:create-task:high:pmoore-test/win2012r2-cu",
            "queue:create-task:medium:pmoore-test/win2012r2-cu",
            "queue:create-task:low:pmoore-test/win2012r2-cu",
            "queue:create-task:very-low:pmoore-test/win2012r2-cu",
            "queue:create-task:lowest:pmoore-test/win2012r2-cu"
          ]
        },
        {
          "AnyOf": [
            "queue:create-task:pmoore-test/win2012r2-cu",
            {
              "AllOf": [
                "queue:define-task:pmoore-test/win2012r2-cu",
                "queue:task-group-id:taskcluster-github/LsLQxH2DTNihMtUbJ_4vIw",
                "queue:schedule-task:taskcluster-github/LsLQxH2DTNihMtUbJ_4vIw/LsLQxH2DTNihMtUbJ_4vIw"
              ]
            }
          ]
        }
      ]
    }
  ]
}

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

{
  "AllOf": [
    "generic-worker:cache:generic-worker-checkout",
    "secrets:get:repo:github.com/taskcluster/generic-worker",
    "queue:route:statuses",
    {
      "AnyOf": [
        {
          "AllOf": [
            "queue:scheduler-id:taskcluster-github",
            {
              "AnyOf": [
                "queue:create-task:highest:pmoore-test/win2012r2-cu",
                "queue:create-task:very-high:pmoore-test/win2012r2-cu",
                "queue:create-task:high:pmoore-test/win2012r2-cu",
                "queue:create-task:medium:pmoore-test/win2012r2-cu",
                "queue:create-task:low:pmoore-test/win2012r2-cu",
                "queue:create-task:very-low:pmoore-test/win2012r2-cu",
                "queue:create-task:lowest:pmoore-test/win2012r2-cu"
              ]
            }
          ]
        },
        {
          "AnyOf": [
            "queue:create-task:pmoore-test/win2012r2-cu",
            {
              "AllOf": [
                "queue:define-task:pmoore-test/win2012r2-cu",
                "queue:task-group-id:taskcluster-github/LsLQxH2DTNihMtUbJ_4vIw",
                "queue:schedule-task:taskcluster-github/LsLQxH2DTNihMtUbJ_4vIw/LsLQxH2DTNihMtUbJ_4vIw"
              ]
            }
          ]
        }
      ]
    }
  ]
}

  • method: createTask
  • errorCode: InsufficientScopes
  • statusCode: 403
  • time: 2019-12-05T16:04:39.137Z

Please sign in to comment.