ccache stats parser breaks with ccache 3.3.1

RESOLVED FIXED in Firefox 52

Status

defect
RESOLVED FIXED
3 years ago
2 years ago

People

(Reporter: mccr8, Assigned: TYLin)

Tracking

unspecified
mozilla52

Firefox Tracking Flags

(firefox52 fixed)

Details

Attachments

(1 attachment)

I get this when I do a local build on Linux:

2:40.49 Failed to parse ccache stats output: cache hit rate                     27.58 %

My ccache is version 3.3.1.
Assignee: nobody → tlin
Status: NEW → ASSIGNED
Comment on attachment 8800513 [details]
Bug 1309657 - Update ccache stats parser for version 3.3.

https://reviewboard.mozilla.org/r/85430/#review85276

Cool.

FWIW, I was worried this wouldn't work with `__sub__` because we can't subtract strings. However, `_parse_value()` effectively strips the `%` from the value. So we're fine.
Attachment #8800513 - Flags: review?(gps) → review+
Pushed by gszorc@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/193526e4fd56
Update ccache stats parser for version 3.3. r=gps
https://hg.mozilla.org/mozilla-central/rev/193526e4fd56
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla52
See Also: → 1341962
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.