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

Issue 2634743004: [foozzie] Stop using extra metadata files. (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] Stop using extra metadata files. Continuation of: https://codereview.chromium.org/2620343005/ This removes usage of metadata files entirely. Instead we extract the instrumentation about source files from the test cases. This also adds extra output of the original source file in the detailed failure text for easier debugging. The hashes alone made it hard to reason. BUG=chromium:673246 NOTRY=true TBR=tandrii@chromium.org,mbarbella@chromium.org Review-Url: https://codereview.chromium.org/2634743004 Cr-Commit-Position: refs/heads/master@{#42371} Committed: https://chromium.googlesource.com/v8/v8/+/69465f73f88b0f9dd5b89ae9910881e5d20b5f86

Patch Set 1 #

Patch Set 2 : Refactoring, cleanup, docu #

Total comments: 2

Patch Set 3 : Review #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -55 lines) Patch
M tools/foozzie/testdata/failure_output.txt View 1 chunk +3 lines, -0 lines 0 comments Download
D tools/foozzie/testdata/meta-123.js View 1 chunk +0 lines, -3 lines 0 comments Download
D tools/foozzie/testdata/resources-123.js View 1 chunk +0 lines, -1 line 0 comments Download
M tools/foozzie/v8_foozzie.py View 1 11 chunks +31 lines, -38 lines 0 comments Download
M tools/foozzie/v8_foozzie_test.py View 5 chunks +6 lines, -6 lines 0 comments Download
M tools/foozzie/v8_suppressions.py View 1 2 5 chunks +12 lines, -7 lines 2 comments Download

Messages

Total messages: 14 (7 generated)
Michael Achenbach
PTAL
3 years, 11 months ago (2017-01-16 10:21:06 UTC) #4
mmoroz
LGTM https://codereview.chromium.org/2634743004/diff/20001/tools/foozzie/v8_suppressions.py File tools/foozzie/v8_suppressions.py (right): https://codereview.chromium.org/2634743004/diff/20001/tools/foozzie/v8_suppressions.py#newcode191 tools/foozzie/v8_suppressions.py:191: 'none' if no such output existed. nit: maybe ...
3 years, 11 months ago (2017-01-16 12:39:58 UTC) #5
Michael Achenbach
https://codereview.chromium.org/2634743004/diff/20001/tools/foozzie/v8_suppressions.py File tools/foozzie/v8_suppressions.py (right): https://codereview.chromium.org/2634743004/diff/20001/tools/foozzie/v8_suppressions.py#newcode191 tools/foozzie/v8_suppressions.py:191: 'none' if no such output existed. On 2017/01/16 12:39:58, ...
3 years, 11 months ago (2017-01-16 12:58:41 UTC) #6
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/2634743004/40001
3 years, 11 months ago (2017-01-16 12:59:16 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/v8/v8/+/69465f73f88b0f9dd5b89ae9910881e5d20b5f86
3 years, 11 months ago (2017-01-16 13:00:55 UTC) #12
tandrii(chromium)
https://codereview.chromium.org/2634743004/diff/40001/tools/foozzie/v8_suppressions.py File tools/foozzie/v8_suppressions.py (right): https://codereview.chromium.org/2634743004/diff/40001/tools/foozzie/v8_suppressions.py#newcode186 tools/foozzie/v8_suppressions.py:186: """Returns a tuple (difference, source, source_key). the source -> ...
3 years, 11 months ago (2017-01-16 13:39:40 UTC) #13
Michael Achenbach
3 years, 11 months ago (2017-01-16 13:46:47 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/2634743004/diff/40001/tools/foozzie/v8_suppre...
File tools/foozzie/v8_suppressions.py (right):

https://codereview.chromium.org/2634743004/diff/40001/tools/foozzie/v8_suppre...
tools/foozzie/v8_suppressions.py:186: """Returns a tuple (difference, source,
source_key).
On 2017/01/16 13:39:40, tandrii(chromium) wrote:
> the source -> source_key is deterministic here.
> how about just return source here, and there having a func to convert source
=>
> source_key in another file where source_key is necessary, which would be as
> short as:
>  hashlib.sha(source).digest()[:3] if source else 'none'
> 
> wdyt?

Sg, will prepare a fix.

Powered by Google App Engine
This is Rietveld 408576698