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

Issue 2119483003: Reland "Allow multiple devices on bisects hosts " (Closed)

Created:
4 years, 5 months ago by Ziqi Xiong
Modified:
4 years, 4 months ago
CC:
chromium-reviews, infra-reviews+build_chromium.org, kjellander-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/build.git@master
Target Ref:
refs/heads/master
Project:
build
Visibility:
Public.

Description

Reland "Allow multiple devices on bisects hosts " old issue: https://codereview.chromium.org/2045043002/ This CL aims to fix the naming error in the original issue and add some simulation tests to prevent similar errors from happening. Committed: https://chromium.googlesource.com/chromium/tools/build/+/b9bf5e668a4a35d646e067672150fb3999b98059

Patch Set 1 #

Patch Set 2 : Refactor local bisect code #

Patch Set 3 : Remove auto bisect api changes #

Patch Set 4 : Add basic test coverage for local_bisect.perform_bisect #

Patch Set 5 : Add full test coverage for local_bisect #

Patch Set 6 : Rebase against master #

Patch Set 7 : Break overly long line #

Patch Set 8 : Small styling fix #

Patch Set 9 : Add get and set method to android chromium api #

Patch Set 10 : Remove empty change to revision_state.py #

Total comments: 1

Patch Set 11 : Enable local test #

Patch Set 12 : Add comment to simulation test #

Total comments: 4

Patch Set 13 : Remove unnecessary tests #

Total comments: 8

Patch Set 14 : Remove change to android_chromium #

Patch Set 15 : Replace recursion with for loop in local_bisect as jbudorick suggested #

Total comments: 8

Patch Set 16 : Remove irrelavant if statement, rename connected_devices variable #

Messages

Total messages: 43 (20 generated)
Ziqi Xiong
The previous CL on multiple devices switch has been reverted. This is the new CL ...
4 years, 5 months ago (2016-06-30 17:42:46 UTC) #3
Ziqi Xiong
4 years, 5 months ago (2016-07-07 01:44:50 UTC) #6
Ziqi Xiong
I am currently working on this CL to reland my code on bisect device switch.
4 years, 5 months ago (2016-07-13 00:40:28 UTC) #11
Ziqi Xiong
Hi, I have included some tests that simulate cases when: (1) test device works on ...
4 years, 5 months ago (2016-07-14 17:13:21 UTC) #13
RobertoCN
lgtm https://codereview.chromium.org/2119483003/diff/130001/scripts/slave/recipes/bisection/android_bisect.py File scripts/slave/recipes/bisection/android_bisect.py (right): https://codereview.chromium.org/2119483003/diff/130001/scripts/slave/recipes/bisection/android_bisect.py#newcode587 scripts/slave/recipes/bisection/android_bisect.py:587: api.step_data('Post bisect results', retcode=1) + # Simulating disconnect ...
4 years, 5 months ago (2016-07-14 23:46:03 UTC) #14
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/2119483003/150001
4 years, 5 months ago (2016-07-15 00:44:48 UTC) #17
Ziqi Xiong
4 years, 5 months ago (2016-07-15 01:16:14 UTC) #20
Ziqi Xiong
Hi John, I uploaded a CL that has a small change to chromium_android recipe module. ...
4 years, 5 months ago (2016-07-15 01:18:11 UTC) #22
jbudorick
I have concerns about this. https://codereview.chromium.org/2119483003/diff/150001/scripts/slave/recipe_modules/chromium_android/api.py File scripts/slave/recipe_modules/chromium_android/api.py (right): https://codereview.chromium.org/2119483003/diff/150001/scripts/slave/recipe_modules/chromium_android/api.py#newcode25 scripts/slave/recipe_modules/chromium_android/api.py:25: self._multiple_device_test = False O_O ...
4 years, 5 months ago (2016-07-15 01:23:19 UTC) #24
Ziqi Xiong
https://codereview.chromium.org/2119483003/diff/150001/scripts/slave/recipe_modules/chromium_android/api.py File scripts/slave/recipe_modules/chromium_android/api.py (right): https://codereview.chromium.org/2119483003/diff/150001/scripts/slave/recipe_modules/chromium_android/api.py#newcode409 scripts/slave/recipe_modules/chromium_android/api.py:409: device_step_name = 'device_status' On 2016/07/15 01:23:18, jbudorick wrote: > ...
4 years, 5 months ago (2016-07-15 01:36:06 UTC) #25
jbudorick
https://codereview.chromium.org/2119483003/diff/160001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py File scripts/slave/recipe_modules/auto_bisect/local_bisect.py (right): https://codereview.chromium.org/2119483003/diff/160001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py#newcode55 scripts/slave/recipe_modules/auto_bisect/local_bisect.py:55: def _pick_available_device(api, connected_devices): On 2016/07/15 01:36:06, Ziqi Xiong wrote: ...
4 years, 5 months ago (2016-07-15 02:51:41 UTC) #26
Ziqi Xiong
https://codereview.chromium.org/2119483003/diff/160001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py File scripts/slave/recipe_modules/auto_bisect/local_bisect.py (right): https://codereview.chromium.org/2119483003/diff/160001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py#newcode55 scripts/slave/recipe_modules/auto_bisect/local_bisect.py:55: def _pick_available_device(api, connected_devices): On 2016/07/15 02:51:41, jbudorick wrote: > ...
4 years, 5 months ago (2016-07-15 04:38:08 UTC) #27
Ziqi Xiong
https://codereview.chromium.org/2119483003/diff/160001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py File scripts/slave/recipe_modules/auto_bisect/local_bisect.py (right): https://codereview.chromium.org/2119483003/diff/160001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py#newcode55 scripts/slave/recipe_modules/auto_bisect/local_bisect.py:55: def _pick_available_device(api, connected_devices): On 2016/07/15 02:51:41, jbudorick wrote: > ...
4 years, 5 months ago (2016-07-15 19:14:35 UTC) #28
jbudorick
On 2016/07/15 04:38:08, Ziqi Xiong wrote: > https://codereview.chromium.org/2119483003/diff/160001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py > File scripts/slave/recipe_modules/auto_bisect/local_bisect.py (right): > > https://codereview.chromium.org/2119483003/diff/160001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py#newcode55 ...
4 years, 5 months ago (2016-07-15 19:18:11 UTC) #29
jbudorick
https://codereview.chromium.org/2119483003/diff/200001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py File scripts/slave/recipe_modules/auto_bisect/local_bisect.py (right): https://codereview.chromium.org/2119483003/diff/200001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py#newcode26 scripts/slave/recipe_modules/auto_bisect/local_bisect.py:26: connected_devices = _get_connected_devices(api) This should no longer be here, ...
4 years, 5 months ago (2016-07-15 19:20:16 UTC) #30
Ziqi Xiong
https://codereview.chromium.org/2119483003/diff/200001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py File scripts/slave/recipe_modules/auto_bisect/local_bisect.py (right): https://codereview.chromium.org/2119483003/diff/200001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py#newcode26 scripts/slave/recipe_modules/auto_bisect/local_bisect.py:26: connected_devices = _get_connected_devices(api) On 2016/07/15 19:20:16, jbudorick wrote: > ...
4 years, 5 months ago (2016-07-15 19:23:58 UTC) #31
jbudorick
lgtm, though I suppose you no longer need my lgtm Since you significantly changed this, ...
4 years, 5 months ago (2016-07-15 19:31:23 UTC) #32
RobertoCN
I have a couple comments. https://codereview.chromium.org/2119483003/diff/200001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py File scripts/slave/recipe_modules/auto_bisect/local_bisect.py (right): https://codereview.chromium.org/2119483003/diff/200001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py#newcode15 scripts/slave/recipe_modules/auto_bisect/local_bisect.py:15: if api.m.chromium.c.TARGET_PLATFORM == 'android': ...
4 years, 5 months ago (2016-07-15 19:59:47 UTC) #33
jbudorick
https://codereview.chromium.org/2119483003/diff/200001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py File scripts/slave/recipe_modules/auto_bisect/local_bisect.py (right): https://codereview.chromium.org/2119483003/diff/200001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py#newcode26 scripts/slave/recipe_modules/auto_bisect/local_bisect.py:26: connected_devices = _get_connected_devices(api) On 2016/07/15 19:59:47, RobertoCN wrote: > ...
4 years, 5 months ago (2016-07-15 20:01:37 UTC) #34
Ziqi Xiong
Fix problems noted by robertocn https://codereview.chromium.org/2119483003/diff/200001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py File scripts/slave/recipe_modules/auto_bisect/local_bisect.py (right): https://codereview.chromium.org/2119483003/diff/200001/scripts/slave/recipe_modules/auto_bisect/local_bisect.py#newcode15 scripts/slave/recipe_modules/auto_bisect/local_bisect.py:15: if api.m.chromium.c.TARGET_PLATFORM == 'android': ...
4 years, 5 months ago (2016-07-15 20:19:07 UTC) #35
RobertoCN
lgtm
4 years, 5 months ago (2016-07-15 22:56:46 UTC) #36
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/2119483003/220001
4 years, 5 months ago (2016-07-15 23:47:12 UTC) #40
commit-bot: I haz the power
4 years, 5 months ago (2016-07-15 23:52:14 UTC) #42
Message was sent while issue was closed.
Committed patchset #16 (id:220001) as
https://chromium.googlesource.com/chromium/tools/build/+/b9bf5e668a4a35d646e0...

Powered by Google App Engine
This is Rietveld 408576698