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

Issue 2485763002: Use devil's adb with each bisect iteration, also start/stop daemons. (Closed)

Created:
4 years, 1 month ago by ghost stip (do not use)
Modified:
3 years, 10 months ago
Reviewers:
RobertoCN, dtu, jbudorick
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Use devil's adb with each bisect iteration, also start/stop daemons. In order to cleanly accomplish this change, custom android code has been moved out of the auto bisect loop and into two context managers. Desktop and other non-Android builds will use noop context managers instead. This change cleans up a lot of nested logic in the bisect and makes it a little less commingled with calling code. BUG=660852

Patch Set 1 #

Patch Set 2 : Whitespace cleanup. #

Total comments: 20
Unified diffs Side-by-side diffs Delta from patch set Stats (+3374 lines, -127 lines) Patch
M scripts/slave/recipe_modules/auto_bisect/api.py View 1 5 chunks +37 lines, -35 lines 5 comments Download
M scripts/slave/recipe_modules/chromium_android/api.py View 2 chunks +36 lines, -2 lines 12 comments Download
M scripts/slave/recipe_modules/chromium_tests/api.py View 1 chunk +2 lines, -2 lines 1 comment Download
M scripts/slave/recipes/android/perf.py View 2 chunks +3 lines, -2 lines 2 comments Download
M scripts/slave/recipes/bisection/android_bisect.py View 1 1 chunk +5 lines, -0 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/basic_recipe_android_fyi_perf_bisect.json View 8 chunks +165 lines, -6 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/basic_recipe_android_nexus5X_perf_bisect.json View 8 chunks +165 lines, -6 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/basic_recipe_android_nexus5_perf_bisect.json View 8 chunks +165 lines, -6 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/basic_recipe_android_nexus6_perf_bisect.json View 8 chunks +165 lines, -6 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/basic_recipe_android_nexus7_perf_bisect.json View 8 chunks +165 lines, -6 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/basic_recipe_android_nexus9_perf_bisect.json View 8 chunks +165 lines, -6 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/basic_recipe_android_one_perf_bisect.json View 8 chunks +165 lines, -6 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/basic_recipe_android_s5_perf_bisect.json View 8 chunks +165 lines, -6 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/basic_recipe_android_s5_perf_cq.json View 8 chunks +165 lines, -6 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/basic_recipe_android_webview_arm64_aosp_perf_bisect.json View 8 chunks +165 lines, -6 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/basic_recipe_android_webview_nexus6_aosp_perf_bisect.json View 8 chunks +165 lines, -6 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/local_basic_recipe_basic_device.json View 6 chunks +366 lines, -2 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/local_basic_recipe_disconnected_device.json View 14 chunks +744 lines, -16 lines 0 comments Download
M scripts/slave/recipes/bisection/android_bisect.expected/local_basic_recipe_failed_device.json View 6 chunks +366 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
ghost stip (do not use)
ptal. note that this is a "live" CL. I'm about to take what I have ...
4 years, 1 month ago (2016-11-07 23:57:48 UTC) #3
jbudorick
Really like where this is going. +robertocn https://codereview.chromium.org/2485763002/diff/20001/scripts/slave/recipe_modules/auto_bisect/api.py File scripts/slave/recipe_modules/auto_bisect/api.py (right): https://codereview.chromium.org/2485763002/diff/20001/scripts/slave/recipe_modules/auto_bisect/api.py#newcode66 scripts/slave/recipe_modules/auto_bisect/api.py:66: # test_context_mgr ...
4 years, 1 month ago (2016-11-08 00:18:32 UTC) #5
RobertoCN
Lovely. I can't wait to see this in staging as well. LGTM https://codereview.chromium.org/2485763002/diff/20001/scripts/slave/recipe_modules/auto_bisect/api.py File scripts/slave/recipe_modules/auto_bisect/api.py ...
4 years, 1 month ago (2016-11-08 19:16:56 UTC) #6
ghost stip (do not use)
Speaking of staging, I've uploaded https://codereview.chromium.org/2486923002/ which will land this on staging first. If that ...
4 years, 1 month ago (2016-11-08 20:56:33 UTC) #7
jbudorick
https://codereview.chromium.org/2485763002/diff/20001/scripts/slave/recipe_modules/chromium_android/api.py File scripts/slave/recipe_modules/chromium_android/api.py (left): https://codereview.chromium.org/2485763002/diff/20001/scripts/slave/recipe_modules/chromium_android/api.py#oldcode1156 scripts/slave/recipe_modules/chromium_android/api.py:1156: def common_tests_final_steps(self, logcat_gs_bucket='chromium-android'): On 2016/11/08 20:56:33, stip wrote: > ...
4 years, 1 month ago (2016-11-08 21:37:08 UTC) #8
ghost stip (do not use)
4 years, 1 month ago (2016-11-09 02:01:49 UTC) #9
ok. take a look at the changes I've made in
https://codereview.chromium.org/2486923002/ to address this and let me know what
you think

Powered by Google App Engine
This is Rietveld 408576698