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

Issue 2673733002: [Predator] Add CrashData class to process raw json crash data. (Closed)

Created:
3 years, 10 months ago by Sharu Jiang
Modified:
3 years, 10 months ago
Reviewers:
wrengr, Martin Barbella
CC:
chromium-reviews, infra-reviews+infra_chromium.org, stgao, inferno
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

[Predator] Add CrashData class to process raw json crash data. All the information like ``regression_range``, ``stacktrace``, ``dependencies`` and ``dependency_rolls`` should be analyzed in ``CrashData``, and those information will finally convert to ``CrashReport`` to be passed to Predator library. This cl (https://codereview.chromium.org/2663063007/) switches from the anonymous dict to ``CrashData``. The motivation is that ``crash_data`` sent by different clients are very different, we'd better proccess the raw crash_data dict before we actually analyze them ((like ``CheckPolicy``, ``NeedsNewAnalysis`` or initialize model using crash data). BUG=688578 TBR=stgao@chromium.org Review-Url: https://codereview.chromium.org/2673733002 Committed: https://chromium.googlesource.com/infra/infra/+/0bc6605f33f8f2e26fab0058610a5874c858c1ef

Patch Set 1 : Split CrashBuffer. #

Patch Set 2 : Rename CrashBuffer to CrashData #

Total comments: 4

Patch Set 3 : . #

Patch Set 4 : Rebase and fix nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+600 lines, -62 lines) Patch
A appengine/findit/crash/chrome_crash_data.py View 1 2 3 1 chunk +214 lines, -0 lines 0 comments Download
A appengine/findit/crash/crash_data.py View 1 1 chunk +93 lines, -0 lines 0 comments Download
A appengine/findit/crash/test/chrome_crash_data_test.py View 1 1 chunk +156 lines, -0 lines 0 comments Download
A appengine/findit/crash/test/crash_data_test.py View 1 1 chunk +37 lines, -0 lines 0 comments Download
M appengine/findit/crash/test/crash_pipeline_test.py View 3 chunks +3 lines, -40 lines 0 comments Download
M appengine/findit/crash/test/findit_for_chromecrash_test.py View 1 2 3 6 chunks +9 lines, -9 lines 0 comments Download
M appengine/findit/crash/test/findit_test.py View 2 chunks +1 line, -2 lines 0 comments Download
M appengine/findit/crash/test/predator_testcase.py View 1 2 4 chunks +73 lines, -1 line 0 comments Download
M appengine/findit/gae_libs/testcase.py View 1 chunk +6 lines, -1 line 0 comments Download
M appengine/findit/handlers/crash/test/crash_handler_test.py View 8 chunks +8 lines, -9 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 33 (22 generated)
Sharu Jiang
PTAL.
3 years, 10 months ago (2017-02-02 23:33:37 UTC) #6
wrengr
Could you explain a bit what the motivation is for this? What does it clean ...
3 years, 10 months ago (2017-02-03 18:40:50 UTC) #10
Sharu Jiang
On 2017/02/03 18:40:50, wrengr wrote: > Could you explain a bit what the motivation is ...
3 years, 10 months ago (2017-02-03 21:39:20 UTC) #11
Sharu Jiang
On 2017/02/03 21:39:20, Sharu Jiang wrote: > On 2017/02/03 18:40:50, wrengr wrote: > > Could ...
3 years, 10 months ago (2017-02-03 21:42:34 UTC) #15
Sharu Jiang
Ping :)
3 years, 10 months ago (2017-02-06 20:37:02 UTC) #18
Martin Barbella
lgtm https://codereview.chromium.org/2673733002/diff/140001/appengine/findit/crash/changelist_classifier.py File appengine/findit/crash/changelist_classifier.py (right): https://codereview.chromium.org/2673733002/diff/140001/appengine/findit/crash/changelist_classifier.py#newcode202 appengine/findit/crash/changelist_classifier.py:202: for dep in stack_deps or []: At a ...
3 years, 10 months ago (2017-02-06 21:16:12 UTC) #20
Sharu Jiang
https://codereview.chromium.org/2673733002/diff/140001/appengine/findit/crash/changelist_classifier.py File appengine/findit/crash/changelist_classifier.py (right): https://codereview.chromium.org/2673733002/diff/140001/appengine/findit/crash/changelist_classifier.py#newcode202 appengine/findit/crash/changelist_classifier.py:202: for dep in stack_deps or []: On 2017/02/06 21:16:12, ...
3 years, 10 months ago (2017-02-10 22:07:20 UTC) #22
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/2673733002/200001
3 years, 10 months ago (2017-02-10 22:18:54 UTC) #25
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started by full ...
3 years, 10 months ago (2017-02-10 22:18:56 UTC) #27
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/2673733002/200001
3 years, 10 months ago (2017-02-10 22:21:37 UTC) #30
commit-bot: I haz the power
3 years, 10 months ago (2017-02-10 22:29:56 UTC) #33
Message was sent while issue was closed.
Committed patchset #4 (id:200001) as
https://chromium.googlesource.com/infra/infra/+/0bc6605f33f8f2e26fab0058610a5...

Powered by Google App Engine
This is Rietveld 408576698