Closed Bug 1637544 Opened 5 years ago Closed 5 years ago

Enable sccache on instrumented builds for try & autoland

Categories

(Firefox Build System :: Task Configuration, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: marco, Assigned: marco)

References

(Depends on 1 open bug)

Details

Attachments

(6 files, 2 obsolete files)

sccache is currently disabled on builds such as instrumented-build-linux64-shippable/opt.

Note: that was deliberately disabled over security concerns (bug 1583368), but could be enabled as long as we don't enable it in actual nightlies and releases. Which means this conflicts with release promotion if that's still a thing, and isn't just a matter of enabling sccache because doing so would enable it on nightlies in the current state of taskcluster configuration.

Component: General → Task Configuration

We could enable it only on autoland, as long as we are careful that it is never enabled on any release branch (including mozilla-central)

Let's start doing it for autoland. I will see if I can find an owner to do it.

I would like also to discuss again bug 1583368 with some folks.

We can enable it on try too.

Assignee: nobody → mcastelluccio
Attachment #9152389 - Attachment description: Bug 1637544 - Support project-specific verifications in taskgraph → Bug 1637544 - Support project-specific verifications in taskgraph. r=tomprince
Status: NEW → ASSIGNED
Attachment #9152390 - Attachment description: Bug 1637544 - Run no-sccache verification only on release projects → Bug 1637544 - Run no-sccache verification only on release projects. r=tomprince

Depends on D77248

Pushed by mcastelluccio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/34928e9b270f Support project-specific verifications in taskgraph. r=tomprince https://hg.mozilla.org/integration/autoland/rev/c68a5eed5cee Run no-sccache verification only on release projects. r=tomprince
Attachment #9154372 - Attachment description: Bug 1637544 - Add a 'project' to the fake parameters used during taskgraph tests. r=tomprince → Bug 1637544 - Add a 'project' to the fake parameters used during taskgraph tests. r=tomprince DONTBUILD
Pushed by mcastelluccio@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/54213cccb27a Add a 'project' to the fake parameters used during taskgraph tests. r=tomprince DONTBUILD
Keywords: leave-open

Tom, Marco told me that you are planning to finish this. Do you have an eta?
This represents a lot of saving.
thanks!

Flags: needinfo?(mozilla)
Summary: Enable sccache on instrumented builds → Enable sccache on instrumented builds for try & autoland
See Also: → 1649805
See Also: → 1650208

I'm going to change this from being autodected, to specified explicitly, and so
use-sccache better captures the meaning.

This is queued to autoland.

Flags: needinfo?(mozilla)

Many thanks!

Pushed by mozilla@hocat.ca: https://hg.mozilla.org/integration/autoland/rev/447fea64b68d Rename `needs-sccache` to `use-sccache`; r=glandium https://hg.mozilla.org/integration/autoland/rev/be0717d76643 Set `use-sccache` explicitly, rather than based on an sccache toolchain being provided; r=glandium https://hg.mozilla.org/integration/autoland/rev/93b955e5c048 Use sccache on instrumented builds on non-release branches; r=glandium
Pushed by mozilla@hocat.ca: https://hg.mozilla.org/integration/autoland/rev/1139ed30c6d0 Rename `needs-sccache` to `use-sccache`; r=glandium https://hg.mozilla.org/integration/autoland/rev/86f49703dec0 Set `use-sccache` explicitly, rather than based on an sccache toolchain being provided; r=glandium https://hg.mozilla.org/integration/autoland/rev/b20bda11518b Use sccache on instrumented builds on non-release branches; r=glandium
Blocks: 1651938

== Change summary for alert #26495 (as of Mon, 13 Jul 2020 10:30:01 GMT) ==

Improvements:

55% build times linux64-shippable opt instrumented taskcluster-m5.4xlarge 2,225.72 -> 1,002.70
52% build times osx-shippable opt instrumented taskcluster-m5.4xlarge 2,401.25 -> 1,149.88
49% build times linux64-shippable opt instrumented taskcluster-c5d.4xlarge 2,137.52 -> 1,098.07
47% build times osx-shippable opt instrumented taskcluster-c5.4xlarge 2,312.68 -> 1,225.96
45% build times android-4-0-armv7-api16 pgo instrumented taskcluster-c5d.4xlarge 1,767.90 -> 969.43
42% build times osx-shippable opt instrumented taskcluster-c5d.4xlarge 2,318.09 -> 1,334.99
41% build times android-4-0-armv7-api16 pgo instrumented taskcluster-c5.4xlarge 1,807.32 -> 1,070.22

For up to date results, see: https://treeherder.mozilla.org/perf.html#/alerts?id=26495

The leave-open keyword is there and there is no activity for 6 months.
:marco, maybe it's time to close this bug?

Flags: needinfo?(mcastelluccio)
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Flags: needinfo?(mcastelluccio)
Resolution: --- → FIXED
Attachment #9153102 - Attachment is obsolete: true
Attachment #9153104 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: