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

Issue 256593004: [bisect] - Parse DEPS file manually if execfile fails. (Closed)

Created:
6 years, 8 months ago by shatch
Modified:
6 years, 8 months ago
Reviewers:
prasadv, qyearsley
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Parse DEPS file manually if execfile fails. Some DEPS files pull in a bunch of libraries, so execfile fails. If it does, we'll manually parse out revisions from the vars section. NOTRY=true BUG=366392 Bisect could not reproduce a change in the not/valid metric. Confidence in Bisection Results: 0% To reproduce locally: $ echo android-chrome Tested commits: Depot Commit SHA Mean Std. Error State android-chrome 0000000000000000000000000000000000000000 1.00 +-0.00 chromium 0000000000000000000000000000000000000000 0.00 +-0.00 chromium http://src.chromium.org/viewvc/chrome?view=revision&revision=265919 0.00 +-0.00 chromium http://src.chromium.org/viewvc/chrome?view=revision&revision=265917 0.00 +-0.00 chromium http://src.chromium.org/viewvc/chrome?view=revision&revision=265912 0.00 +-0.00 chromium http://src.chromium.org/viewvc/chrome?view=revision&revision=265904 0.00 +-0.00 android-chrome 0000000000000000000000000000000000000000 0.00 +-0.00 Average build time : 0:00:00 Average test time : 0:00:00 WARNINGS: !!! Due to build errors, regression range could not be narrowed down to a single commit. !!! Tests were only set to run once. This may be insufficient to get meaningful results. !!! Confidence is 0%. Try bisecting again on another platform, with increased repeat_count or on a sub-metric that shows the regression more clearly. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=266322

Patch Set 1 #

Total comments: 8

Patch Set 2 : Changes from review. #

Total comments: 2

Patch Set 3 : Changes from review. #

Total comments: 7

Patch Set 4 : Changes from review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+116 lines, -24 lines) Patch
M tools/bisect-perf-regression.py View 1 2 3 5 chunks +85 lines, -24 lines 0 comments Download
M tools/bisect-perf-regression_test.py View 1 2 3 1 chunk +31 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
shatch
6 years, 8 months ago (2014-04-24 20:43:58 UTC) #1
prasadv
lgtm
6 years, 8 months ago (2014-04-24 22:24:06 UTC) #2
shatch
The CQ bit was checked by simonhatch@chromium.org
6 years, 8 months ago (2014-04-25 16:34:45 UTC) #3
qyearsley
https://codereview.chromium.org/256593004/diff/1/tools/bisect-perf-regression.py File tools/bisect-perf-regression.py (right): https://codereview.chromium.org/256593004/diff/1/tools/bisect-perf-regression.py#newcode1421 tools/bisect-perf-regression.py:1421: except ImportError: This block (line 1422 to 1439) is ...
6 years, 8 months ago (2014-04-25 16:46:19 UTC) #4
shatch
The CQ bit was unchecked by simonhatch@chromium.org
6 years, 8 months ago (2014-04-25 16:46:57 UTC) #5
shatch
New snapshot uploaded. https://codereview.chromium.org/256593004/diff/1/tools/bisect-perf-regression.py File tools/bisect-perf-regression.py (right): https://codereview.chromium.org/256593004/diff/1/tools/bisect-perf-regression.py#newcode1421 tools/bisect-perf-regression.py:1421: except ImportError: On 2014/04/25 16:46:19, qyearsley ...
6 years, 8 months ago (2014-04-25 17:17:14 UTC) #6
qyearsley
https://codereview.chromium.org/256593004/diff/20001/tools/bisect-perf-regression.py File tools/bisect-perf-regression.py (right): https://codereview.chromium.org/256593004/diff/20001/tools/bisect-perf-regression.py#newcode1392 tools/bisect-perf-regression.py:1392: # 'depot_name': 'revision', I think this might not work ...
6 years, 8 months ago (2014-04-25 18:11:18 UTC) #7
shatch
New snapshot uploaded. https://codereview.chromium.org/256593004/diff/20001/tools/bisect-perf-regression.py File tools/bisect-perf-regression.py (right): https://codereview.chromium.org/256593004/diff/20001/tools/bisect-perf-regression.py#newcode1392 tools/bisect-perf-regression.py:1392: # 'depot_name': 'revision', True, changed it ...
6 years, 8 months ago (2014-04-25 20:24:16 UTC) #8
qyearsley
Looks good -- I would slightly more confident if there were a unit test for ...
6 years, 8 months ago (2014-04-25 20:53:29 UTC) #9
shatch
New snapshot uploaded. Added a test for DEPS file parsing, and moved the filtering of ...
6 years, 8 months ago (2014-04-25 22:01:40 UTC) #10
qyearsley
On 2014/04/25 22:01:40, shatch wrote: > New snapshot uploaded. > > Added a test for ...
6 years, 8 months ago (2014-04-25 22:41:57 UTC) #11
shatch
The CQ bit was checked by simonhatch@chromium.org
6 years, 8 months ago (2014-04-25 23:07:29 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/simonhatch@chromium.org/256593004/60001
6 years, 8 months ago (2014-04-25 23:15:44 UTC) #13
commit-bot: I haz the power
6 years, 8 months ago (2014-04-26 02:20:33 UTC) #14
Message was sent while issue was closed.
Change committed as 266322

Powered by Google App Engine
This is Rietveld 408576698