Closed Bug 1105090 Opened 9 years ago Closed 9 years ago

ccache stats parser breaks with ccache 3.2: Failed to parse ccache stats output: primary config

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla36

People

(Reporter: gps, Assigned: TYLin)

References

Details

Attachments

(1 file)

I upgraded to ccache 3.2 and the ccache stats parser at the end of `mach build` is failing:

7:47.28 Packaging quitter@mozilla.org.xpi...
 7:48.04 82 compiler warnings present.
 7:49.09 Overall system resources - Wall time: 468s; CPU: 86%; Read bytes: 2473466880; Write bytes: 8497104896; Read time: 48728; Write time: 154117
 7:49.09 Swap in/out (MB): 454/23
 7:49.26 Failed to parse ccache stats output: primary config                      /Users/gps/.ccache/ccache.conf
 7:49.26 /usr/local/bin/terminal-notifier -title Mozilla Build System -group mozbuild -message Build complete
 7:49.58 Your build was successful!

I guess it needs to be taught about ccache's new stats output listing config files.
ccache version 3.2 adds primary config and secondary config in the
statistic report. Update the ccache stats parser to support that.
Attachment #8529067 - Flags: review?(gps)
Comment on attachment 8529067 [details] [diff] [review]
Update ccache parser against version 3.2. (v1)

Review of attachment 8529067 [details] [diff] [review]:
-----------------------------------------------------------------

Nice work!
Attachment #8529067 - Flags: review?(gps) → review+
Try result:
https://treeherder.mozilla.org/ui/#/jobs?repo=try&revision=409943158487
Assignee: nobody → tlin
Status: NEW → ASSIGNED
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/7f34fc3870ba
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
See Also: → 1309657
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.