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

Issue 445503004: Dismiss multiple error dialogs when running tests (Closed)

Created:
6 years, 4 months ago by aberent
Modified:
6 years, 4 months ago
Reviewers:
Peter Beverloo, tonyg, Sami
CC:
chromium-reviews, klundberg+watch_chromium.org, telemetry+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org
Project:
chromium
Visibility:
Public.

Description

Dismiss multiple error dialogs when running tests Previously the code would dismiss at most one error dialog before or after running a test. This now loops until no error dialogs are shown. This should reduce the instance of INJECTION_EVENT failures, but won't cure them completely. BUG=399870 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=287592

Patch Set 1 #

Total comments: 4

Patch Set 2 : Accidently uploaded wrong version of one file #

Patch Set 3 : Limit number of attempts to dismiss dialog #

Total comments: 4

Patch Set 4 : Fix Sami's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -5 lines) Patch
M build/android/pylib/instrumentation/test_runner.py View 1 2 3 1 chunk +10 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py View 1 2 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 18 (0 generated)
aberent
6 years, 4 months ago (2014-08-05 12:38:19 UTC) #1
aberent
skyostil@chromium.org: Please review changes in telemetry
6 years, 4 months ago (2014-08-05 13:53:00 UTC) #2
Peter Beverloo
https://codereview.chromium.org/445503004/diff/1/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/445503004/diff/1/build/android/pylib/instrumentation/test_runner.py#newcode396 build/android/pylib/instrumentation/test_runner.py:396: for _ in xrange(10): 10 is an arbitrary number ...
6 years, 4 months ago (2014-08-05 14:03:44 UTC) #3
aberent
https://codereview.chromium.org/445503004/diff/1/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/445503004/diff/1/build/android/pylib/instrumentation/test_runner.py#newcode396 build/android/pylib/instrumentation/test_runner.py:396: for _ in xrange(10): On 2014/08/05 14:03:43, Peter Beverloo ...
6 years, 4 months ago (2014-08-05 14:28:54 UTC) #4
tonyg
https://codereview.chromium.org/445503004/diff/40001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py File tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py (right): https://codereview.chromium.org/445503004/diff/40001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py#newcode279 tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py:279: if not self._adb.device().old_interface.DismissCrashDialogIfNeeded(): Are there any users of this ...
6 years, 4 months ago (2014-08-05 14:34:01 UTC) #5
aberent
https://codereview.chromium.org/445503004/diff/40001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py File tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py (right): https://codereview.chromium.org/445503004/diff/40001/tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py#newcode279 tools/telemetry/telemetry/core/backends/chrome/android_browser_backend.py:279: if not self._adb.device().old_interface.DismissCrashDialogIfNeeded(): On 2014/08/05 14:34:01, tonyg wrote: > ...
6 years, 4 months ago (2014-08-05 14:41:40 UTC) #6
tonyg
lgtm
6 years, 4 months ago (2014-08-05 14:49:01 UTC) #7
Sami
Thanks Anthony -- one comment below. https://codereview.chromium.org/445503004/diff/40001/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/445503004/diff/40001/build/android/pylib/instrumentation/test_runner.py#newcode398 build/android/pylib/instrumentation/test_runner.py:398: for _ in ...
6 years, 4 months ago (2014-08-05 14:53:05 UTC) #8
aberent
https://codereview.chromium.org/445503004/diff/40001/build/android/pylib/instrumentation/test_runner.py File build/android/pylib/instrumentation/test_runner.py (right): https://codereview.chromium.org/445503004/diff/40001/build/android/pylib/instrumentation/test_runner.py#newcode398 build/android/pylib/instrumentation/test_runner.py:398: for _ in xrange(10): On 2014/08/05 14:53:05, Sami wrote: ...
6 years, 4 months ago (2014-08-05 15:06:46 UTC) #9
aberent
The CQ bit was checked by aberent@chromium.org
6 years, 4 months ago (2014-08-05 15:06:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aberent@chromium.org/445503004/60001
6 years, 4 months ago (2014-08-05 15:09:55 UTC) #11
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-05 19:28:15 UTC) #12
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 4 months ago (2014-08-05 19:32:00 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg on tryserver.chromium.mac (http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg/builds/2971)
6 years, 4 months ago (2014-08-05 19:32:01 UTC) #14
tonyg
The CQ bit was checked by tonyg@chromium.org
6 years, 4 months ago (2014-08-05 19:39:56 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aberent@chromium.org/445503004/60001
6 years, 4 months ago (2014-08-05 19:40:56 UTC) #16
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu on tryserver.chromium.gpu ...
6 years, 4 months ago (2014-08-05 19:48:45 UTC) #17
commit-bot: I haz the power
6 years, 4 months ago (2014-08-05 20:52:57 UTC) #18
Message was sent while issue was closed.
Change committed as 287592

Powered by Google App Engine
This is Rietveld 408576698