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

Issue 11232037: Retry tests on other bots if the device is unresponsive/offline (Closed)

Created:
8 years, 2 months ago by yongsheng
Modified:
8 years, 1 month ago
Reviewers:
bulach, Isaac (away), Yaron
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org, Isaac (away)
Visibility:
Public.

Description

Retry tests on other bots if the device is unresponsive/offline Currently this works for offline devices when trying to access files on devices or emulators. Use DeviceUnresponsiveError to indicate the device is offline. BUG=153718 TESTS= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164013

Patch Set 1 #

Patch Set 2 : small fixes #

Total comments: 15

Patch Set 3 : changes according to bulach's comments #

Total comments: 2

Patch Set 4 : small improvement #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -18 lines) Patch
M build/android/pylib/android_commands.py View 1 2 3 3 chunks +16 lines, -6 lines 0 comments Download
M build/android/pylib/base_test_sharder.py View 1 2 2 chunks +11 lines, -1 line 4 comments Download
M build/android/pylib/single_test_runner.py View 1 2 2 chunks +25 lines, -9 lines 0 comments Download
M build/android/pylib/test_package.py View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M build/android/pylib/test_package_apk.py View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M build/android/pylib/test_result.py View 1 2 2 chunks +7 lines, -1 line 0 comments Download

Messages

Total messages: 19 (0 generated)
yongsheng
bulach, please check whether this solution is feasible. I test it in my local machine ...
8 years, 2 months ago (2012-10-22 12:51:36 UTC) #1
bulach
+ilevy fyi many, many thanks, really appreciate!! this will make our infra much more reliable! ...
8 years, 2 months ago (2012-10-23 09:30:56 UTC) #2
yongsheng
thanks for your valuable comments. I'll refine them according to your suggestion. http://codereview.chromium.org/11232037/diff/1007/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py ...
8 years, 2 months ago (2012-10-23 12:58:14 UTC) #3
yongsheng
http://codereview.chromium.org/11232037/diff/1007/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): http://codereview.chromium.org/11232037/diff/1007/build/android/pylib/base_test_sharder.py#newcode105 build/android/pylib/base_test_sharder.py:105: rounds += 1 On 2012/10/23 12:58:14, yongsheng wrote: > ...
8 years, 2 months ago (2012-10-23 13:08:35 UTC) #4
bulach
thanks!! I think we're agreeing already :) but just some clarifications below, just in case.. ...
8 years, 2 months ago (2012-10-23 15:01:52 UTC) #5
yongsheng
http://codereview.chromium.org/11232037/diff/1007/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): http://codereview.chromium.org/11232037/diff/1007/build/android/pylib/base_test_sharder.py#newcode105 build/android/pylib/base_test_sharder.py:105: rounds += 1 On 2012/10/23 15:01:53, bulach wrote: > ...
8 years, 2 months ago (2012-10-24 01:41:52 UTC) #6
bulach
thanks!! clarification inline, please let me know your thoughts! http://codereview.chromium.org/11232037/diff/1007/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): http://codereview.chromium.org/11232037/diff/1007/build/android/pylib/base_test_sharder.py#newcode105 build/android/pylib/base_test_sharder.py:105: ...
8 years, 2 months ago (2012-10-24 10:43:48 UTC) #7
bulach
lgtm, sorry, forgot to mention it! :) many thanks once again, this will help us ...
8 years, 2 months ago (2012-10-24 11:33:45 UTC) #8
Isaac (away)
Thanks! Looks good to me too! One nit in android_commands. https://chromiumcodereview.appspot.com/11232037/diff/13001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): https://chromiumcodereview.appspot.com/11232037/diff/13001/build/android/pylib/android_commands.py#newcode110 ...
8 years, 2 months ago (2012-10-24 17:33:12 UTC) #9
yongsheng
http://codereview.chromium.org/11232037/diff/13001/build/android/pylib/android_commands.py File build/android/pylib/android_commands.py (right): http://codereview.chromium.org/11232037/diff/13001/build/android/pylib/android_commands.py#newcode110 build/android/pylib/android_commands.py:110: def IsDeviceAttached(device): On 2012/10/24 17:33:12, Isaac wrote: > We ...
8 years, 2 months ago (2012-10-25 01:20:06 UTC) #10
yongsheng
8 years, 2 months ago (2012-10-25 01:28:03 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/yongsheng.zhu@intel.com/11232037/20002
8 years, 2 months ago (2012-10-25 01:33:31 UTC) #12
commit-bot: I haz the power
Change committed as 164013
8 years, 1 month ago (2012-10-25 04:46:24 UTC) #13
Yaron
https://chromiumcodereview.appspot.com/11232037/diff/20002/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): https://chromiumcodereview.appspot.com/11232037/diff/20002/build/android/pylib/base_test_sharder.py#newcode90 build/android/pylib/base_test_sharder.py:90: test_runner = self.CreateShardedTestRunner(device, index) Based on: http://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/2864/steps/base_unittests/logs/stdio and http://build.chromium.org/p/chromium.linux/builders/Android%20Tests%20%28dbg%29/builds/2860/steps/base_unittests/logs/stdio ...
8 years, 1 month ago (2012-10-26 18:48:44 UTC) #14
yongsheng
http://codereview.chromium.org/11232037/diff/20002/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): http://codereview.chromium.org/11232037/diff/20002/build/android/pylib/base_test_sharder.py#newcode90 build/android/pylib/base_test_sharder.py:90: test_runner = self.CreateShardedTestRunner(device, index) On 2012/10/26 18:48:44, Yaron wrote: ...
8 years, 1 month ago (2012-10-28 01:41:02 UTC) #15
bulach
https://chromiumcodereview.appspot.com/11232037/diff/20002/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): https://chromiumcodereview.appspot.com/11232037/diff/20002/build/android/pylib/base_test_sharder.py#newcode90 build/android/pylib/base_test_sharder.py:90: test_runner = self.CreateShardedTestRunner(device, index) On 2012/10/28 01:41:03, yongsheng wrote: ...
8 years, 1 month ago (2012-10-29 14:45:42 UTC) #16
bulach
https://chromiumcodereview.appspot.com/11232037/diff/20002/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): https://chromiumcodereview.appspot.com/11232037/diff/20002/build/android/pylib/base_test_sharder.py#newcode90 build/android/pylib/base_test_sharder.py:90: test_runner = self.CreateShardedTestRunner(device, index) On 2012/10/29 14:45:42, bulach wrote: ...
8 years, 1 month ago (2012-10-29 14:51:23 UTC) #17
Yaron
On 2012/10/29 14:51:23, bulach wrote: > https://chromiumcodereview.appspot.com/11232037/diff/20002/build/android/pylib/base_test_sharder.py > File build/android/pylib/base_test_sharder.py (right): > > https://chromiumcodereview.appspot.com/11232037/diff/20002/build/android/pylib/base_test_sharder.py#newcode90 > ...
8 years, 1 month ago (2012-10-29 22:59:00 UTC) #18
yongsheng
8 years, 1 month ago (2012-10-30 07:50:54 UTC) #19
> yongsheng: it would be great if you can continue stabilizing this. If you
can't,
> I"ll find someone to help
Please ask someone else to help do this urgent issue since I'll be OOO. And cc
the new issue to me. Thanks a lot!

Powered by Google App Engine
This is Rietveld 408576698