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

Issue 11275078: Android: improves test sharding reliability. (Closed)

Created:
8 years, 1 month ago by bulach
Modified:
8 years, 1 month ago
CC:
chromium-reviews, peter+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy+watch_chromium.org
Visibility:
Public.

Description

Android: improves test sharding reliability. Originally test sharding for android was written with performance in mind (i.e., to scale up the test speed per device). Now that we're on the main waterfall, we need to improve reliability as devices may randomly drop offline during tests. This patch captures exceptions in key places and retries if there are enough devices available. BUG=153718 TEST=run android tests, randomly unplugging devices Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=165918

Patch Set 1 #

Total comments: 14

Patch Set 2 : Comments #

Total comments: 6

Patch Set 3 : Unrecoverable error #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -25 lines) Patch
M build/android/pylib/base_test_sharder.py View 1 2 5 chunks +28 lines, -9 lines 3 comments Download
M build/android/run_tests.py View 1 1 chunk +38 lines, -16 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
bulach
managed to squeeze this in whilst waiting for other patches, would you mind taking a ...
8 years, 1 month ago (2012-10-31 16:41:26 UTC) #1
Yaron
Thanks for looking into this http://codereview.chromium.org/11275078/diff/1/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): http://codereview.chromium.org/11275078/diff/1/build/android/pylib/base_test_sharder.py#newcode91 build/android/pylib/base_test_sharder.py:91: try: Shouldn't this try ...
8 years, 1 month ago (2012-10-31 17:18:51 UTC) #2
bulach
thanks yaron! another look please? http://codereview.chromium.org/11275078/diff/1/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): http://codereview.chromium.org/11275078/diff/1/build/android/pylib/base_test_sharder.py#newcode91 build/android/pylib/base_test_sharder.py:91: try: On 2012/10/31 17:18:51, ...
8 years, 1 month ago (2012-10-31 18:10:35 UTC) #3
Yaron
http://codereview.chromium.org/11275078/diff/1/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): http://codereview.chromium.org/11275078/diff/1/build/android/pylib/base_test_sharder.py#newcode101 build/android/pylib/base_test_sharder.py:101: continue On 2012/10/31 18:10:35, bulach wrote: > On 2012/10/31 ...
8 years, 1 month ago (2012-10-31 18:37:23 UTC) #4
Isaac (away)
Thanks for getting to this Marcus. This looks good to me, I'll give it one ...
8 years, 1 month ago (2012-10-31 19:18:14 UTC) #5
bulach
thanks for the clarification yaron! comment addressed, ptal http://codereview.chromium.org/11275078/diff/1/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): http://codereview.chromium.org/11275078/diff/1/build/android/pylib/base_test_sharder.py#newcode101 build/android/pylib/base_test_sharder.py:101: continue ...
8 years, 1 month ago (2012-10-31 19:18:17 UTC) #6
bulach
thanks isaac! clarifications inline, please let me know your thoughts: http://codereview.chromium.org/11275078/diff/5002/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): http://codereview.chromium.org/11275078/diff/5002/build/android/pylib/base_test_sharder.py#newcode112 ...
8 years, 1 month ago (2012-10-31 19:27:31 UTC) #7
Yaron
lgtm
8 years, 1 month ago (2012-10-31 19:38:33 UTC) #8
yongsheng
thanks. http://codereview.chromium.org/11275078/diff/8002/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): http://codereview.chromium.org/11275078/diff/8002/build/android/pylib/base_test_sharder.py#newcode115 build/android/pylib/base_test_sharder.py:115: continue If one device raises an exception, this ...
8 years, 1 month ago (2012-11-01 02:22:49 UTC) #9
bulach
thanks Yongsheng! clarification below: http://codereview.chromium.org/11275078/diff/8002/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): http://codereview.chromium.org/11275078/diff/8002/build/android/pylib/base_test_sharder.py#newcode115 build/android/pylib/base_test_sharder.py:115: continue On 2012/11/01 02:22:49, yongsheng ...
8 years, 1 month ago (2012-11-01 11:41:06 UTC) #10
yfriedman
I agree with Marcus. Let's try this now for stability's sake and optimize later. On ...
8 years, 1 month ago (2012-11-01 15:33:01 UTC) #11
Isaac (away)
I also agree. lgtm
8 years, 1 month ago (2012-11-01 23:05:33 UTC) #12
yongsheng
thanks for your explanation. Please go ahead http://codereview.chromium.org/11275078/diff/8002/build/android/pylib/base_test_sharder.py File build/android/pylib/base_test_sharder.py (right): http://codereview.chromium.org/11275078/diff/8002/build/android/pylib/base_test_sharder.py#newcode115 build/android/pylib/base_test_sharder.py:115: continue On ...
8 years, 1 month ago (2012-11-02 00:55:11 UTC) #13
bulach
thanks everyone! I'll put through the try bots now and cq later..
8 years, 1 month ago (2012-11-02 09:55:21 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/11275078/8002
8 years, 1 month ago (2012-11-05 09:36:18 UTC) #15
commit-bot: I haz the power
8 years, 1 month ago (2012-11-05 11:49:16 UTC) #16
Change committed as 165918

Powered by Google App Engine
This is Rietveld 408576698