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

Issue 1682363003: Migrate fuzzer to use shiny new metrics2 package (Closed)

Created:
4 years, 10 months ago by kjlubick
Modified:
4 years, 10 months ago
Reviewers:
borenet
CC:
jcgregorio, reviews_skia.org
Base URL:
https://skia.googlesource.com/buildbot@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Migrate fuzzer to use shiny new metrics2 package I added a way to get the current count from a metrics2.Counter, similar to go_metrics.Count() Alerts have been deleted for now. I will add new ones in a future cl. BUG=skia:4438 Committed: https://skia.googlesource.com/buildbot/+/eca1b5d6a4ade6e4042c51431e2f21357450691c

Patch Set 1 #

Total comments: 14

Patch Set 2 : Rename metrics #

Total comments: 4

Patch Set 3 : one last _ to - #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -55 lines) Patch
M alertserver/alerts.cfg View 1 chunk +0 lines, -26 lines 0 comments Download
M fuzzer/go/aggregator/aggregator.go View 1 2 7 chunks +13 lines, -12 lines 0 comments Download
M fuzzer/go/fuzzer-be/main.go View 1 4 chunks +9 lines, -4 lines 0 comments Download
M fuzzer/go/fuzzer-fe/main.go View 3 chunks +12 lines, -7 lines 0 comments Download
M fuzzer/go/generator/afl_generation.go View 1 3 chunks +4 lines, -4 lines 0 comments Download
M fuzzer/sys/fuzzer-be.service View 1 1 chunk +2 lines, -1 line 0 comments Download
M fuzzer/sys/fuzzer-fe.service View 1 chunk +2 lines, -1 line 0 comments Download
M go/metrics2/counter.go View 1 1 chunk +7 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 25 (12 generated)
kjlubick
4 years, 10 months ago (2016-02-10 14:51:09 UTC) #2
borenet
https://codereview.chromium.org/1682363003/diff/1/fuzzer/go/aggregator/aggregator.go File fuzzer/go/aggregator/aggregator.go (right): https://codereview.chromium.org/1682363003/diff/1/fuzzer/go/aggregator/aggregator.go#newcode249 fuzzer/go/aggregator/aggregator.go:249: metrics2.GetInt64Metric("newly_found_fuzzes", map[string]string{"category": agg.Category}).Update(int64(len(newlyFound))) Naming conventions: measurements and tag keys ...
4 years, 10 months ago (2016-02-10 15:32:32 UTC) #5
kjlubick
https://codereview.chromium.org/1682363003/diff/1/fuzzer/go/aggregator/aggregator.go File fuzzer/go/aggregator/aggregator.go (right): https://codereview.chromium.org/1682363003/diff/1/fuzzer/go/aggregator/aggregator.go#newcode249 fuzzer/go/aggregator/aggregator.go:249: metrics2.GetInt64Metric("newly_found_fuzzes", map[string]string{"category": agg.Category}).Update(int64(len(newlyFound))) On 2016/02/10 at 15:32:32, borenet wrote: ...
4 years, 10 months ago (2016-02-10 16:14:29 UTC) #6
borenet
LGTM with a couple of comments https://codereview.chromium.org/1682363003/diff/20001/fuzzer/go/aggregator/aggregator.go File fuzzer/go/aggregator/aggregator.go (right): https://codereview.chromium.org/1682363003/diff/20001/fuzzer/go/aggregator/aggregator.go#newcode646 fuzzer/go/aggregator/aggregator.go:646: metrics2.GetInt64Metric("fuzzer.queue-size.bug_report", map[string]string{"category": agg.Category}).Update(int64(len(agg.forBugReporting))) ...
4 years, 10 months ago (2016-02-11 12:23:28 UTC) #7
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682363003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682363003/40001
4 years, 10 months ago (2016-02-11 13:04:50 UTC) #9
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Infra-PerCommit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/Infra-PerCommit-Trybot/builds/3034)
4 years, 10 months ago (2016-02-11 13:08:59 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682363003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682363003/40001
4 years, 10 months ago (2016-02-11 13:17:29 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Infra-PerCommit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/Infra-PerCommit-Trybot/builds/3036)
4 years, 10 months ago (2016-02-11 13:24:58 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682363003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682363003/40001
4 years, 10 months ago (2016-02-11 14:05:17 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 10 months ago (2016-02-11 14:14:57 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1682363003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1682363003/40001
4 years, 10 months ago (2016-02-11 14:15:37 UTC) #22
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://skia.googlesource.com/buildbot/+/eca1b5d6a4ade6e4042c51431e2f21357450691c
4 years, 10 months ago (2016-02-11 14:15:49 UTC) #24
kjlubick
4 years, 10 months ago (2016-02-11 17:54:41 UTC) #25
Message was sent while issue was closed.
https://codereview.chromium.org/1682363003/diff/20001/fuzzer/go/aggregator/ag...
File fuzzer/go/aggregator/aggregator.go (right):

https://codereview.chromium.org/1682363003/diff/20001/fuzzer/go/aggregator/ag...
fuzzer/go/aggregator/aggregator.go:646:
metrics2.GetInt64Metric("fuzzer.queue-size.bug_report",
map[string]string{"category":
agg.Category}).Update(int64(len(agg.forBugReporting)))
On 2016/02/11 at 12:23:28, borenet wrote:
> Nit: bug_report -> bug-report

Done.

https://codereview.chromium.org/1682363003/diff/20001/fuzzer/go/fuzzer-be/mai...
File fuzzer/go/fuzzer-be/main.go (right):

https://codereview.chromium.org/1682363003/diff/20001/fuzzer/go/fuzzer-be/mai...
fuzzer/go/fuzzer-be/main.go:93: if !*forceReanalysis {
On 2016/02/11 at 12:23:28, borenet wrote:
> Not sure if you meant to remove skipGeneration here.

It'll be fine.  The very next CL will add the other logic back in.

Powered by Google App Engine
This is Rietveld 408576698