Closed Bug 1853931 Opened 2 years ago Closed 2 years ago

Enable the profiler repository on taskcluster

Categories

(Release Engineering :: Firefox-CI Administration, task)

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: julienw, Assigned: gabriel)

References

()

Details

Attachments

(2 files)

This is the profiler repository on github: https://github.com/firefox-devtools/profiler

What more information do you need? :-)

Thanks

That's all we need for now!

I noticed you have a PR up, assuming you just used taskgraph init you should have working workers after this is resolved. Just note that Taskcluster Github needs to read the .taskcluster.yml file from the main branch for security reasons. So we'll need to at least commit that file to main before we see tasks running against your PR.

Assignee: nobody → gabriel
Type: enhancement → task
Pushed by gbustamante@mozilla.com: https://hg.mozilla.org/ci/ci-configuration/rev/15d5107aec17 Enable the Firefox DevTools profiler project in Firefox-CI r=ahal
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

This is failing check_pull_request_policies_for_git_repos() on ci-configuration.

Is that because https://github.com/firefox-devtools/profile/.taskcluster.yml does not exist?

Flags: needinfo?(gabriel)
Flags: needinfo?(ahal)

I get this error by mail whenever I push to the pull request, but maybe that's because .taskcluster.yml isn't on the main branch yet?

Uh oh! Looks like an error! Details

Taskcluster-GitHub attempted to create a task for this event with the following scopes:

["assume:repo:github.com/firefox-devtools/profiler:pull-request","queue:route:checks","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:scheduler-id:mozilla-level-1",
    {
      "AnyOf": [
        "queue:create-task:highest:mozilla-1/decision-gcp",
        "queue:create-task:very-high:mozilla-1/decision-gcp",
        "queue:create-task:high:mozilla-1/decision-gcp",
        "queue:create-task:medium:mozilla-1/decision-gcp",
        "queue:create-task:low:mozilla-1/decision-gcp",
        "queue:create-task:very-low:mozilla-1/decision-gcp"
      ]
    }
  ]
}

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

{
  "AllOf": [
    "assume:repo:github.com/firefox-devtools/profiler:pull-request",
    "queue:route:checks",
    "queue:create-task:project:none",
    "queue:scheduler-id:mozilla-level-1",
    {
      "AnyOf": [
        "queue:create-task:highest:mozilla-1/decision-gcp",
        "queue:create-task:very-high:mozilla-1/decision-gcp",
        "queue:create-task:high:mozilla-1/decision-gcp",
        "queue:create-task:medium:mozilla-1/decision-gcp",
        "queue:create-task:low:mozilla-1/decision-gcp",
        "queue:create-task:very-low:mozilla-1/decision-gcp"
      ]
    }
  ]
}

    method: createTask
    errorCode: InsufficientScopes
    statusCode: 403
    time: 2023-09-21T09:06:14.237Z

Yes, .taskcluster.yml should exist on main before anything can work.

The devtools team wanted to use firefox-profiler instead and I agree this is
more descriptive.

Depends on D188832

(In reply to Geoff Brown [:gbrown] from comment #4)

This is failing check_pull_request_policies_for_git_repos() on ci-configuration.

Is that because https://github.com/firefox-devtools/profile/.taskcluster.yml does not exist?

Yes, I forgot about this check!

https://phabricator.services.mozilla.com/D188832 should fix it until :julienw's PR can land.

Flags: needinfo?(gabriel)
Flags: needinfo?(ahal)
Pushed by ahalberstadt@mozilla.com: https://hg.mozilla.org/ci/ci-configuration/rev/0fb3c68ba1c3 Rename 'profiler' repo to 'firefox-profiler', r=releng-reviewers,jcristau

(In reply to Andrew Halberstadt [:ahal] from comment #7)

Created attachment 9354350 [details]
Bug 1853931 - Rename 'profiler' repo to 'firefox-profiler', r?#releng-reviewers!

The devtools team wanted to use firefox-profiler instead and I agree this is
more descriptive.

Depends on D188832

thanks!

I tested via a PR and the hello-world task ran successfully.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: