Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Issue 1782843002: [Coverage] Enable merging coverage data from swarming. (Closed)

Created:
4 years, 9 months ago by Michael Achenbach
Modified:
4 years, 9 months ago
CC:
v8-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/v8/v8.git@master
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[Coverage] Enable merging coverage data from swarming. This adds a function to the sancov_merger that merges the output files of one swarming shard in parallel. This will be called from the infrastructure when collecting/merging swarming results. The tool will be called subsequently for each shard. On the first call, the target dir will be empty and the sancov files will just be moved. BUG=chromium:568949 LOG=n NOTRY=true Committed: https://crrev.com/6e401f20659a1a41b379d699176b03cef10c9959 Cr-Commit-Position: refs/heads/master@{#34678}

Patch Set 1 : Extract old functionality #

Patch Set 2 : Fixes #

Patch Set 3 : Implement swarming merge #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+77 lines, -15 lines) Patch
M tools/sanitizers/sancov_merger.py View 1 2 4 chunks +77 lines, -15 lines 4 comments Download

Messages

Total messages: 18 (8 generated)
Michael Achenbach
PTAL
4 years, 9 months ago (2016-03-10 14:08:00 UTC) #5
Michael Achenbach
+ hablich
4 years, 9 months ago (2016-03-10 14:26:27 UTC) #7
Michael Hablich
https://codereview.chromium.org/1782843002/diff/40001/tools/sanitizers/sancov_merger.py File tools/sanitizers/sancov_merger.py (right): https://codereview.chromium.org/1782843002/diff/40001/tools/sanitizers/sancov_merger.py#newcode119 tools/sanitizers/sancov_merger.py:119: def merge_parallel(inputs, merge_fun=merge): nit: I would simply call it ...
4 years, 9 months ago (2016-03-10 14:39:08 UTC) #8
Michael Hablich
lgtm
4 years, 9 months ago (2016-03-10 14:39:16 UTC) #9
Michael Achenbach
https://codereview.chromium.org/1782843002/diff/40001/tools/sanitizers/sancov_merger.py File tools/sanitizers/sancov_merger.py (right): https://codereview.chromium.org/1782843002/diff/40001/tools/sanitizers/sancov_merger.py#newcode119 tools/sanitizers/sancov_merger.py:119: def merge_parallel(inputs, merge_fun=merge): On 2016/03/10 14:39:08, Hablich wrote: > ...
4 years, 9 months ago (2016-03-10 14:41:45 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1782843002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1782843002/40001
4 years, 9 months ago (2016-03-10 14:42:02 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years, 9 months ago (2016-03-10 14:43:40 UTC) #14
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/6e401f20659a1a41b379d699176b03cef10c9959 Cr-Commit-Position: refs/heads/master@{#34678}
4 years, 9 months ago (2016-03-10 14:45:20 UTC) #16
tandrii(chromium)
lgtm https://codereview.chromium.org/1782843002/diff/40001/tools/sanitizers/sancov_merger.py File tools/sanitizers/sancov_merger.py (right): https://codereview.chromium.org/1782843002/diff/40001/tools/sanitizers/sancov_merger.py#newcode199 tools/sanitizers/sancov_merger.py:199: logging.info('Executing %d merge jobs in parallel.' % len(inputs)) ...
4 years, 9 months ago (2016-03-10 15:40:07 UTC) #17
Michael Achenbach
4 years, 9 months ago (2016-03-10 16:12:33 UTC) #18
Message was sent while issue was closed.
https://codereview.chromium.org/1782843002/diff/40001/tools/sanitizers/sancov...
File tools/sanitizers/sancov_merger.py (right):

https://codereview.chromium.org/1782843002/diff/40001/tools/sanitizers/sancov...
tools/sanitizers/sancov_merger.py:199: logging.info('Executing %d merge jobs in
parallel.' % len(inputs))
On 2016/03/10 15:40:06, tandrii(chromium) wrote:
> nit: s/%/,
> because logging does formatting for you:)

Ah right, didn't pay attention. Will clean up all call sites in a follow up.

Powered by Google App Engine
This is Rietveld 408576698