Closed
Bug 1470079
Opened 6 years ago
Closed 6 years ago
Create an optimized coverage build with --enable-fuzzing
Categories
(Firefox Build System :: Task Configuration, task)
Tracking
(firefox63 fixed)
RESOLVED
FIXED
mozilla63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: posidron, Assigned: rforbes)
References
Details
Attachments
(1 file, 2 obsolete files)
This bug tracks the efforts in creating a coverage build with "--enable-fuzzing" enabled which the Fuzzing team needs for getting coverage data LibFuzzer and other built-in fuzzers like Faulty.
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
Attachment #8986893 -
Flags: review?(mcastelluccio)
Comment hidden (mozreview-request) |
Comment 3•6 years ago
|
||
mozreview-review |
Comment on attachment 8986893 [details]
Bug 1470079 - Add fuzzing coverage build to taskcluster
https://reviewboard.mozilla.org/r/252124/#review258614
Code analysis found 1 defect in this patch:
- 1 defect found by mozlint
You can run this analysis locally with:
- `./mach lint path/to/file` (JS/Python)
If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx
::: taskcluster/ci/build/linux.yml:1033
(Diff revision 2)
> toolchains:
> - linux64-clang
> - linux64-gcc
> - linux64-rust
> - linux64-rust-size
> - linux64-sccache
Error: No new line character at the end of file [yamllint: new-line-at-end-of-file]
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
Attachment #8986893 -
Attachment is obsolete: true
Assignee | ||
Updated•6 years ago
|
Attachment #8986948 -
Flags: review?(mcastelluccio)
Comment 5•6 years ago
|
||
mozreview-review |
Comment on attachment 8986948 [details]
Bug 1470079 - Add fuzzing coverage build to taskcluster
https://reviewboard.mozilla.org/r/252186/#review258772
Looks good to me overall, we just need to figure out the tests part.
::: taskcluster/ci/build/linux.yml:617
(Diff revision 1)
> + script: "mozharness/scripts/fx_desktop_build.py"
> + secrets: true
> + custom-build-variant-cfg: fuzzing-cov
> + tooltool-downloads: public
> + need-xvfb: true
> + toolchains:
We might need to add a run-on-projects property to make this only run on mozilla-central and try.
I guess you don't want to run tests but only generate the build, right? If so, we should also disable tests in https://dxr.mozilla.org/mozilla-central/rev/681eb7dfa324dd50403c382888929ea8b8b11b00/taskcluster/taskgraph/transforms/tests.py#710.
Attachment #8986948 -
Flags: review?(mcastelluccio) → review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Comment 6•6 years ago
|
||
Cannot land this from mozzreview, it has 1 open issue. Please take a look.
Flags: needinfo?(rforbes)
Keywords: checkin-needed
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Comment 9•6 years ago
|
||
mozreview-review |
Comment on attachment 8986948 [details]
Bug 1470079 - Add fuzzing coverage build to taskcluster
https://reviewboard.mozilla.org/r/252186/#review258996
Code analysis found 1 defect in this patch:
- 1 defect found by mozlint
You can run this analysis locally with:
- `./mach lint path/to/file` (JS/Python)
If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx
::: taskcluster/ci/build/linux.yml:1035
(Diff revision 2)
> - linux64-clang
> - linux64-gcc
> - linux64-rust
> - linux64-rust-size
> - linux64-sccache
> +
Error: Trailing spaces [yamllint: trailing-spaces]
Comment hidden (mozreview-request) |
Assignee | ||
Comment 11•6 years ago
|
||
mozreview-review-reply |
Comment on attachment 8986948 [details]
Bug 1470079 - Add fuzzing coverage build to taskcluster
https://reviewboard.mozilla.org/r/252186/#review258772
> We might need to add a run-on-projects property to make this only run on mozilla-central and try.
> I guess you don't want to run tests but only generate the build, right? If so, we should also disable tests in https://dxr.mozilla.org/mozilla-central/rev/681eb7dfa324dd50403c382888929ea8b8b11b00/taskcluster/taskgraph/transforms/tests.py#710.
I will submit a new bug/change for that.
Comment 12•6 years ago
|
||
Pushed by csabou@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/24334b7cffc5
Add fuzzing coverage build to taskcluster r=marco
Keywords: checkin-needed
Comment 13•6 years ago
|
||
Backed out changeset 24334b7cffc5 (bug 1470079) for Linting failure in builds/worker/checkouts/gecko/testing/mozharness/configs/builds/releng_sub_linux_configs/64_fuzzing_cov.py on a CLOSED TREE
Push with failure: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=24334b7cffc517fcdf60f76944c914478cc87b8a&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-classifiedState=unclassified&selectedJob=184481176
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=184481176&repo=autoland&lineNumber=267
Backout: https://hg.mozilla.org/integration/autoland/rev/836d0afcac5548d250639df7414a331742aa4c10
Flags: needinfo?(rforbes)
Comment hidden (mozreview-request) |
Assignee | ||
Updated•6 years ago
|
Attachment #8986948 -
Attachment is obsolete: true
Assignee | ||
Updated•6 years ago
|
Attachment #8987404 -
Flags: review?(mcastelluccio)
Comment hidden (mozreview-request) |
Comment 16•6 years ago
|
||
mozreview-review |
Comment on attachment 8987404 [details]
Bug 1470079 - Add fuzzing coverage build to taskcluster
https://reviewboard.mozilla.org/r/252652/#review259188
::: taskcluster/taskgraph/transforms/tests.py:708
(Diff revision 2)
>
> @transforms.add
> def enable_code_coverage(config, tests):
> """Enable code coverage for the ccov and jsdcov build-platforms"""
> for test in tests:
> - if 'ccov' in test['build-platform']:
> + if (
In the opt and fuzzing cases, we want to disable all tests, so we should override the test task definitions to have empty 'run-on-projects' (otherwise, some of them will run either because they are set to run always or because they inherit the 'run-on-projects' from the build).
You could do something like this:
> if 'ccov' in test['build-platform']:
> # Ensure we don't run any test for fuzzing or opt ccov builds.
> if 'opt' in test['build-platform'] or 'fuzzing' in test['build-platform']:
> test['run-on-projects'] = []
> continue
>
> ...
Attachment #8987404 -
Flags: review?(mcastelluccio)
Comment hidden (mozreview-request) |
Comment 18•6 years ago
|
||
mozreview-review |
Comment on attachment 8987404 [details]
Bug 1470079 - Add fuzzing coverage build to taskcluster
https://reviewboard.mozilla.org/r/252652/#review259722
Attachment #8987404 -
Flags: review?(mcastelluccio) → review+
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(rforbes)
Keywords: checkin-needed
Comment 19•6 years ago
|
||
Pushed by rgurzau@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f5075fe18837
Add fuzzing coverage build to taskcluster r=marco
Keywords: checkin-needed
Comment 20•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
Updated•6 years ago
|
Assignee: nobody → rforbes
Comment 21•6 years ago
|
||
Please name this -ccov like all the other builds. -cov isn't used anywhere else.
Status: RESOLVED → REOPENED
Flags: needinfo?(rforbes)
Resolution: FIXED → ---
Comment 22•6 years ago
|
||
(In reply to Jesse Schwartzentruber (:truber) from comment #21)
> Please name this -ccov like all the other builds. -cov isn't used anywhere
> else.
Can you file a new bug for this (blocking this bug)?
Status: REOPENED → RESOLVED
Closed: 6 years ago → 6 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(rforbes)
Updated•6 years ago
|
Version: Version 3 → 3 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•