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

Issue 2620343005: [foozzie] Improve failure state deduplication (Closed)

Created:
3 years, 11 months ago by Michael Achenbach
Modified:
3 years, 11 months ago
CC:
v8-reviews_googlegroups.com
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[foozzie] Improve failure state deduplication The fuzz test cases now print the original test paths during execution. This exploits this extra information and reports a hash of only one original source file from the section that caused a difference. The hash size is now limited to 3 to avoid possible duplicate explosion, in case this doesn't work out as expected. This prepares for patch 3 of: https://chromereviews.googleplex.com/550337016/ BUG=chromium:673246 NOTRY=true TBR=tandrii@chromium.org,mbarbella@chromium.org Review-Url: https://codereview.chromium.org/2620343005 Cr-Commit-Position: refs/heads/master@{#42305} Committed: https://chromium.googlesource.com/v8/v8/+/00e98a39e3a3006e3c2ad593a3713a058fc40475

Patch Set 1 : Make test more complex: Use two original sources and add source output instrumentation #

Patch Set 2 : Use instrumented source output from the test cases. #

Total comments: 3

Patch Set 3 : Restrict hash to 3 digits to avoid possible duplicate explosion. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -15 lines) Patch
M tools/foozzie/testdata/failure_output.txt View 1 2 3 chunks +5 lines, -1 line 0 comments Download
M tools/foozzie/testdata/meta-123.js View 1 chunk +1 line, -1 line 0 comments Download
M tools/foozzie/testdata/test_d8_1.py View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/foozzie/testdata/test_d8_2.py View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/foozzie/testdata/test_d8_3.py View 1 chunk +2 lines, -0 lines 0 comments Download
M tools/foozzie/v8_foozzie.py View 1 2 3 chunks +8 lines, -3 lines 0 comments Download
M tools/foozzie/v8_foozzie_test.py View 1 5 chunks +6 lines, -6 lines 0 comments Download
M tools/foozzie/v8_suppressions.py View 1 5 chunks +25 lines, -4 lines 0 comments Download

Messages

Total messages: 15 (7 generated)
Michael Achenbach
PTAL
3 years, 11 months ago (2017-01-12 22:36:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2620343005/40001
3 years, 11 months ago (2017-01-13 06:30:18 UTC) #7
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/v8/v8/+/00e98a39e3a3006e3c2ad593a3713a058fc40475
3 years, 11 months ago (2017-01-13 06:32:02 UTC) #10
tandrii(chromium)
lgtm % shouldn't description be "to avoid DEduplication explosion"? https://codereview.chromium.org/2620343005/diff/20001/tools/foozzie/v8_suppressions.py File tools/foozzie/v8_suppressions.py (right): https://codereview.chromium.org/2620343005/diff/20001/tools/foozzie/v8_suppressions.py#newcode195 tools/foozzie/v8_suppressions.py:195: ...
3 years, 11 months ago (2017-01-13 06:38:34 UTC) #11
Michael Achenbach
On 2017/01/13 06:38:34, tandrii(chromium) wrote: > lgtm % shouldn't description be "to avoid DEduplication explosion"? ...
3 years, 11 months ago (2017-01-13 07:49:53 UTC) #12
Michael Achenbach
https://codereview.chromium.org/2620343005/diff/20001/tools/foozzie/v8_suppressions.py File tools/foozzie/v8_suppressions.py (right): https://codereview.chromium.org/2620343005/diff/20001/tools/foozzie/v8_suppressions.py#newcode195 tools/foozzie/v8_suppressions.py:195: It is the string 'none' if no such output ...
3 years, 11 months ago (2017-01-13 07:52:39 UTC) #13
tandrii(chromium)
On 2017/01/13 07:49:53, Michael Achenbach wrote: > On 2017/01/13 06:38:34, tandrii(chromium) wrote: > > lgtm ...
3 years, 11 months ago (2017-01-13 07:53:21 UTC) #14
Michael Achenbach
3 years, 11 months ago (2017-01-13 08:14:52 UTC) #15
Message was sent while issue was closed.
On 2017/01/13 07:52:39, Michael Achenbach wrote:
>
https://codereview.chromium.org/2620343005/diff/20001/tools/foozzie/v8_suppre...
> File tools/foozzie/v8_suppressions.py (right):
> 
>
https://codereview.chromium.org/2620343005/diff/20001/tools/foozzie/v8_suppre...
> tools/foozzie/v8_suppressions.py:195: It is the string 'none' if no such
output
> existed.
> On 2017/01/13 07:49:52, Michael Achenbach wrote:
> > On 2017/01/13 06:38:34, tandrii(chromium) wrote:
> > > i don't understand why 'none' is a good choice, but I also don't see why
> it's
> > a
> > > bad one.
> > 
> > It's a random string. Could be anything (except one of the real filenames).
I
> > don't want to use an empty string as that can later not be differentiated
> > between running or not running this code at all.
> > 
> > In practice I hope we're not going to see this value at all. I we do, then
all
> > failure states with the none value will be deduped on the first that
occurred.
> > But I can use the output of that one to figure out why it happened, resolve
it
> > and close it again. 
> 
> But there's of course a bug :/. The none value shouldn't get hashed. It should
> stay as is. Otherwise it might be mapped together with some other values...
hmm.
> Maybe I just pull hashing into this function...

Follow up fix for the bug:
https://codereview.chromium.org/2632623002/

Powered by Google App Engine
This is Rietveld 408576698