Closed Bug 1380964 Opened 3 years ago Closed 3 years ago

Get and upload useful sccache logs

Categories

(Firefox Build System :: General, enhancement)

enhancement
Not set

Tracking

(firefox56 fixed)

RESOLVED FIXED
mozilla56
Tracking Status
firefox56 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

No description provided.
Depends on: 1367940
Comment on attachment 8886544 [details]
Bug 1380964 - Get and upload useful sccache logs.

https://reviewboard.mozilla.org/r/157358/#review162650

gzip level 9 can be really slow. As long as the log stays under 1 or 2 MB, I doubt we care.
Attachment #8886544 - Flags: review?(gps) → review+
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/680aef712819
Get and upload useful sccache logs. r=gps
https://hg.mozilla.org/mozilla-central/rev/680aef712819
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Thanks for fixing this! I had various patches for this over time but I never got it to quite work right for a number of reasons. How big are the logs with `RUST_LOG=sccache::compiler=debug`?

I was also thinking that it might be nice to have an option for sccache to output a separate file with info just about cache misses / failures, which might be more generally useful than grepping through the logs.
An example log for linux64 is 240kb compressed, 7537kb raw.
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.