sccache gets shutdown after the build, before `make check` in rusttest builds

RESOLVED FIXED in Firefox -esr60


9 months ago
8 months ago


(Reporter: ted, Assigned: ted)


Dependency tree / graph

Firefox Tracking Flags

(firefox-esr60 fixed, firefox64 fixed)



(1 attachment)

I looked at one of the logs from bug 1425365 but unfortunately the sccache log didn't contain useful info. As it turns out, that's because we shut down sccache after the build:

However, in rusttest builds when we run `make check` we wind up building more Rust code which will start sccache again, but without logging enabled, which is unfortunate.

I guess the best fix here would be to move the sccache shutdown into mozharness so it runs after the build and check steps.
Blocks: 1396845
Assignee: nobody → ted
In builds that use sccache, the sccache server would be shut down at the end
of the build step in Unfortunately in rusttest builds the check
step winds up compiling more Rust code which restarts the sccache server but
without the proper configuration. This patch moves sccache shutdown to a
post-script step in mozharness so that the server will stay running through
the check step.
This is looking pretty good on try so far. I'm retriggering lots of win64-rusttest jobs to see if any of the bugs in the dependency graph crop up.
No longer blocks: 1396845

Comment 5

9 months ago
Pushed by
shut down sccache server in mozharness after all build steps. r=firefox-build-system-reviewers,gps

Comment 6

9 months ago
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.