0
Commit Graph

10 Commits

Author SHA1 Message Date
Avi Drissman
dfd8808526 Update copyright headers in testing/, tools/
The methodology used to generate this CL is documented in
https://crbug.com/1098010#c95.

No-Try: true
No-Presubmit: true
Bug: 1098010
Change-Id: I3a8a7b150e7bd64690534727150646081df50439
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3900697
Reviewed-by: Mark Mentovai <mark@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Owners-Override: Avi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1047644}
2022-09-15 20:11:09 +00:00
Abhishek Arya
a88e7cd4f0 Add percent and aggregate sorting on coverage report columns.
R=mmoroz@chromium.org,liaoyuke@chromium.org

Change-Id: Icf8cc7df8b21e5a992d64f13c0cce1ec3acaecd0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1584991
Reviewed-by: Max Moroz <mmoroz@chromium.org>
Commit-Queue: Abhishek Arya <inferno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#654229}
2019-04-25 22:36:06 +00:00
Abhishek Arya
2f261183da Fix code coverage documentation.
GN args don't work since debug build is not allowed with
static build and symbol_level=2. We shouldn't be using
debug build with code coverage config anyway, so correct
the set of gn flags. Also, format python code.

R=mmoroz@chromium.org,liaoyuke@chromium.org

Change-Id: I86b5a6041baaec2065ff553d9debd0e0f4249c1d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1582269
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Max Moroz <mmoroz@chromium.org>
Commit-Queue: Abhishek Arya <inferno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#653630}
2019-04-24 17:06:45 +00:00
Shuotao Gao
204f3580bc [code coverage] Make the fuzzer runner emit output.json in legitimate format.
Change-Id: Icb70f74feb5132edf309c3062e497ab8f49bffa0
Reviewed-on: https://chromium-review.googlesource.com/c/1406269
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Commit-Queue: Shuotao Gao <stgao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#621842}
2019-01-11 01:14:05 +00:00
Yuke Liao
ed1bffb9f2 [code coverage] Run fuzzer against isolated corpus
This CL changes the script to use the isolated corpus instead of
downloading using gsutil.

Bug: 919565
Change-Id: I09990dd24db5248cca6a2158773bdec540908d6b
Reviewed-on: https://chromium-review.googlesource.com/c/1404418
Reviewed-by: Max Moroz <mmoroz@chromium.org>
Reviewed-by: Shuotao Gao <stgao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#621431}
2019-01-10 02:37:26 +00:00
Shuotao Gao
1224668f12 Revert "[code coverage] Run corpus in parallel for fuzzer targets."
This reverts commit 52b92eee57.

Reason for revert: This doesn't help. We should run fuzzer on Swarming instead.

Original change's description:
> [code coverage] Run corpus in parallel for fuzzer targets.
> 
> Since fuzzer itself can't support executing corpus in parallel yet, we enable
> this by running multiple instances of the fuzzer against sharded corpus.
> The long term solution is still for fuzzer itself to support this.
> 
> Bug: 915480
> Change-Id: Ibc73efcc97bd9d515b4d6a00e905ec1b5496b9b8
> Reviewed-on: https://chromium-review.googlesource.com/c/1379389
> Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
> Reviewed-by: Jonathan Metzman <metzman@chromium.org>
> Commit-Queue: Shuotao Gao <stgao@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#617220}

TBR=stgao@chromium.org,mmoroz@chromium.org,liaoyuke@chromium.org,metzman@chromium.org

Change-Id: I999bb2c536f03a5d4c03fcf8eb1c2c984bd9aff8
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 915480
Reviewed-on: https://chromium-review.googlesource.com/c/1383194
Reviewed-by: Shuotao Gao <stgao@chromium.org>
Commit-Queue: Shuotao Gao <stgao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#617600}
2018-12-18 20:04:41 +00:00
Shuotao Gao
52b92eee57 [code coverage] Run corpus in parallel for fuzzer targets.
Since fuzzer itself can't support executing corpus in parallel yet, we enable
this by running multiple instances of the fuzzer against sharded corpus.
The long term solution is still for fuzzer itself to support this.

Bug: 915480
Change-Id: Ibc73efcc97bd9d515b4d6a00e905ec1b5496b9b8
Reviewed-on: https://chromium-review.googlesource.com/c/1379389
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Jonathan Metzman <metzman@chromium.org>
Commit-Queue: Shuotao Gao <stgao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#617220}
2018-12-17 20:54:19 +00:00
Shuotao Gao
a6edbf0211 [code coverage] Enable parallel fuzzing and increase memory cap.
In https://luci-milo.appspot.com/p/chromium/builders/luci.chromium.ci/linux-code-coverage/1491,
sqlite3_ossfuzz_fuzzer runs out-of-memory (used: 4113Mb; limit: 4096Mb), and kept retrying, so
bump memory cap to 8192Mb because the Linux coverage bot has 204 GB memory.

TBR=inferno, mmoroz, liaoyuke

Change-Id: I65e7065fb5b10f4a6c0f145b57db533498239395
Reviewed-on: https://chromium-review.googlesource.com/c/1378661
Reviewed-by: Shuotao Gao <stgao@chromium.org>
Commit-Queue: Shuotao Gao <stgao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#616986}
2018-12-15 18:05:37 +00:00
Roberto Carrillo
700d180588 [code coverage] Add fuzzer target.
This change adds a single fuzzer target to the continuous code coverage
bot and the matching trybot.

R=stgao,liaoyuke,jbudorick,mmoroz

Change-Id: Iab4af3dbfcfbce608b42a3089913f30d6753382d
Reviewed-on: https://chromium-review.googlesource.com/c/1364690
Commit-Queue: Roberto Carrillo <robertocn@chromium.org>
Reviewed-by: Shuotao Gao <stgao@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Max Moroz <mmoroz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#615486}
2018-12-11 10:52:58 +00:00
Max Moroz
5dc60a448a [Code Coverage] Add script for running fuzz targets with ClusterFuzz corpus.
Bug: 910235
Change-Id: I3b66b45ebe6ea28b4c5b80463fadfe5f1d8c315d
Reviewed-on: https://chromium-review.googlesource.com/c/1364058
Commit-Queue: Max Moroz <mmoroz@chromium.org>
Reviewed-by: Yuke Liao <liaoyuke@chromium.org>
Reviewed-by: Roberto Carrillo <robertocn@chromium.org>
Cr-Commit-Position: refs/heads/master@{#614190}
2018-12-06 00:12:51 +00:00