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

Issue 11557016: Clean up Android gtest runners. (Closed)

Created:
8 years ago by frankf
Modified:
8 years ago
Reviewers:
craigdh, bulach, Yaron
CC:
chromium-reviews, ilevy+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, peter+watch_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

Clean up Android gtest runners. - Remove obsolete rebaseline option - Fix a bug with reporting skipped tests - Fix some style issues BUG=165529 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=172937

Patch Set 1 #

Total comments: 5

Patch Set 2 : Fixed bulach's comment #

Patch Set 3 : Fixed docstring #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats (+130 lines, -185 lines) Patch
M build/android/pylib/single_test_runner.py View 9 chunks +36 lines, -103 lines 0 comments Download
M build/android/pylib/test_package.py View 5 chunks +12 lines, -16 lines 0 comments Download
M build/android/pylib/test_package_apk.py View 1 chunk +2 lines, -3 lines 0 comments Download
M build/android/pylib/test_package_executable.py View 3 chunks +2 lines, -4 lines 0 comments Download
M build/android/run_tests.py View 1 2 10 chunks +78 lines, -59 lines 4 comments Download

Messages

Total messages: 8 (0 generated)
frankf
8 years ago (2012-12-12 22:44:09 UTC) #1
frankf
https://codereview.chromium.org/11557016/diff/1/build/android/run_tests.py File build/android/run_tests.py (right): https://codereview.chromium.org/11557016/diff/1/build/android/run_tests.py#newcode423 build/android/run_tests.py:423: option_parser.add_option('-p', dest='performance_test', @bulach: What's the history behind this option. ...
8 years ago (2012-12-12 22:46:06 UTC) #2
Yaron
lgtm https://codereview.chromium.org/11557016/diff/1/build/android/run_tests.py File build/android/run_tests.py (right): https://codereview.chromium.org/11557016/diff/1/build/android/run_tests.py#newcode232 build/android/run_tests.py:232: not not self.log_dump_name, cute
8 years ago (2012-12-13 00:04:34 UTC) #3
bulach
thanks, overall lgtm, but I have one suggestion below: https://codereview.chromium.org/11557016/diff/1/build/android/run_tests.py File build/android/run_tests.py (right): https://codereview.chromium.org/11557016/diff/1/build/android/run_tests.py#newcode213 build/android/run_tests.py:213: ...
8 years ago (2012-12-13 14:55:21 UTC) #4
craigdh
On 2012/12/13 14:55:21, bulach wrote: > thanks, overall lgtm, but I have one suggestion below: ...
8 years ago (2012-12-13 18:08:46 UTC) #5
frankf
https://codereview.chromium.org/11557016/diff/1/build/android/run_tests.py File build/android/run_tests.py (right): https://codereview.chromium.org/11557016/diff/1/build/android/run_tests.py#newcode213 build/android/run_tests.py:213: then filters it again using the diabled list on ...
8 years ago (2012-12-13 19:54:04 UTC) #6
bulach
hey frank, one important note below... I still think it'd probably be best to split ...
8 years ago (2012-12-14 10:36:10 UTC) #7
frankf
8 years ago (2012-12-14 19:12:40 UTC) #8
Message was sent while issue was closed.
Thanks Marcus. I'll make sure that future CLs are smaller in scope.

https://codereview.chromium.org/11557016/diff/11002/build/android/run_tests.py
File build/android/run_tests.py (left):

https://codereview.chromium.org/11557016/diff/11002/build/android/run_tests.p...
build/android/run_tests.py:225: return all_tests, available_devices
As discussed offline, we need a better approach to device flakiness. We also
don't do it systematically by testing all devices, rather than breaking on the
first successull run.

Since this CL was doing too much, here's a partial revert here:
https://codereview.chromium.org/11573038/

On 2012/12/14 10:36:11, bulach wrote:
> this was the really important bit... :)

https://codereview.chromium.org/11557016/diff/11002/build/android/run_tests.py
File build/android/run_tests.py (right):

https://codereview.chromium.org/11557016/diff/11002/build/android/run_tests.p...
build/android/run_tests.py:207: self.tests = self.all_tests
self.tests get reassigned on retries (in base_test_sharder.py). We want the
original list to pass to LogFull. Take a look at the bogus TESTS_TO_RUN here:

http://master.chrome.corp.google.com:8000/builders/android/builds/594/steps/i...

On 2012/12/14 10:36:11, bulach wrote:
> what is the difference between tests and all_tests?
> at the sharder level, it seems better to have "all_tests" rather than "tests",
> I'm just not sure it needs both..
> 
> also, and this is really important: when obtaining the tests, we'd drop out
sick
> devices... ilevy says it greatly reduced the number of flukes in the bots.
> this patch changes that behavior... :(

Powered by Google App Engine
This is Rietveld 408576698