Closed
Bug 1164967
Opened 9 years ago
Closed 9 years ago
Turn on code coverage for known "cc" platforms (linux64-cc)
Categories
(Release Engineering :: Applications: MozharnessCore, defect)
Release Engineering
Applications: MozharnessCore
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ahal, Assigned: ahal)
References
Details
Attachments
(1 file, 1 obsolete file)
It turns out passing in an argument to every unittest job on a given builder is actually quite complicated. I'm just going to compare the stage_platform buildbot property to a list of known platforms that should have code coverage enabled. This is slightly hacky, but easy to do (and otherwise code coverage would block indefinitely yet again).
Assignee | ||
Updated•9 years ago
|
Summary: Turn on code coverage → Turn on code coverage for known "cc" platforms (linux64-cc)
Assignee | ||
Comment 1•9 years ago
|
||
/r/8819 - Bug 1164967 - Enable code coverage for all unittests running on the linux64-cc platform, r=jgriffin Pull down this commit: hg pull -r fffcb0785ca52d5320ff9c0df4c0d4c2bbd5abb4 https://reviewboard-hg.mozilla.org/build-mozharness
Attachment #8606273 -
Flags: review?(jgriffin)
Assignee | ||
Comment 2•9 years ago
|
||
Here's a working try run: https://treeherder.mozilla.org/#/jobs?repo=try&revision=a4f11b4b3636
Comment 3•9 years ago
|
||
Comment on attachment 8606273 [details] MozReview Request: bz://1164967/ahal https://reviewboard.mozilla.org/r/8817/#review7517 lgtm!
Attachment #8606273 -
Flags: review?(jgriffin) → review+
Assignee | ||
Comment 4•9 years ago
|
||
Comment on attachment 8606273 [details] MozReview Request: bz://1164967/ahal https://hg.mozilla.org/build/mozharness/rev/5169f4f6b80f
Attachment #8606273 -
Flags: checked-in+
Comment 5•9 years ago
|
||
mozharness production tag moved to: https://hg.mozilla.org/build/mozharness/rev/production
Comment 6•9 years ago
|
||
mozharness production tag moved to: https://hg.mozilla.org/build/mozharness/rev/production
Assignee | ||
Comment 7•9 years ago
|
||
Checking for the code coverage platforms can also raise TypeError if self.buildbot_configs is None. This doesn't seem to happen in automation, but a developer hit it while running mozharness locally, so landed a minor follow-up fix: https://hg.mozilla.org/build/mozharness/rev/5d3fd29f9793
Assignee | ||
Comment 8•9 years ago
|
||
Mozharness version bump was recently landed on central.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 9•9 years ago
|
||
Attachment #8606273 -
Attachment is obsolete: true
Attachment #8620300 -
Flags: review+
Assignee | ||
Comment 10•9 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•