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

Issue 417883002: Support proper retrying of telemetry_unittests in recipes (Closed)

Created:
6 years, 5 months ago by Dirk Pranke
Modified:
6 years, 5 months ago
Reviewers:
Paweł Hajdan Jr.
CC:
chromium-reviews, pgervais+watch_chromium.org, kjellander-cc_chromium.org, cmp-cc_chromium.org, ilevy-cc_chromium.org, stip+watch_chromium.org, dtu, tonyg, ojan, eseidel, jam
Project:
tools
Visibility:
Public.

Description

This patch ports the retry logic we had for mojo_python_tests over to telemetry_unittests and telemetry_perf_unittests, since they are using the common syntax for retries. (I actually refactored the code to be shared in a new PythonBasedTest step class). Note that we still don't upload the results to the flakiness dashboard yet, though. Adding that should will be straightforward. R=phajdan.jr@chromium.org BUG=359521 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=285595

Patch Set 1 : initial patch for review #

Total comments: 4

Patch Set 2 : update w/ review feedback #

Patch Set 3 : merge to r285585 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+308 lines, -165 lines) Patch
M scripts/slave/recipe_modules/chromium/api.py View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M scripts/slave/recipe_modules/chromium/steps.py View 1 2 2 chunks +59 lines, -80 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/dynamic_gtest.json View 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_Trusty.json View 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_Trusty__32_.json View 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_Trusty__dbg_.json View 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_fyi_Linux_Trusty__dbg__32_.json View 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_linux_Linux_Tests.json View 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_mac_Mac10_6_Tests__3_.json View 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_mac_Mac10_7_Tests__3_.json View 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_Vista_Tests__2_.json View 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_Win7_Tests__2_.json View 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_Win_7_Tests_x64__3_.json View 1 chunk +3 lines, -1 line 0 comments Download
M scripts/slave/recipes/chromium.expected/full_chromium_win_XP_Tests__2_.json View 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium.expected/full_client_skia_Linux_Tests.json View 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/checklicenses_failure.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/checkperms_failure.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/compile_because_of_analyze_matching_exclusion.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/deapply_compile_failure_linux.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_chromium_dbg.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_chromium_rel.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_chromium_rel_swarming.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_chromium_trusty32_dbg.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_chromium_trusty32_rel.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_chromium_trusty_dbg.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_chromium_trusty_rel.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_linux_no_bot_update.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_mac_chromium_dbg.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_mac_chromium_rel.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_mac_chromium_rel_swarming.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_chromium_dbg.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_chromium_rel.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_chromium_rel_swarming.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_chromium_x64_dbg.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_chromium_x64_rel.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/full_tryserver_chromium_win_no_bot_update.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/invalid_json_without_patch.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/mojo_python_tests_failure.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/persistent_failure_and_runhooks_2_fail_test.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_basic.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_deapply_patch.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download
M scripts/slave/recipes/chromium_trybot.expected/swarming_missing_isolated.json View 1 2 2 chunks +6 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Dirk Pranke
6 years, 5 months ago (2014-07-24 01:10:38 UTC) #1
Paweł Hajdan Jr.
https://codereview.chromium.org/417883002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py File scripts/slave/recipe_modules/chromium/steps.py (right): https://codereview.chromium.org/417883002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py#newcode450 scripts/slave/recipe_modules/chromium/steps.py:450: assert False, "This method should not be called." Can ...
6 years, 5 months ago (2014-07-24 15:00:34 UTC) #2
Dirk Pranke
https://codereview.chromium.org/417883002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py File scripts/slave/recipe_modules/chromium/steps.py (right): https://codereview.chromium.org/417883002/diff/20001/scripts/slave/recipe_modules/chromium/steps.py#newcode450 scripts/slave/recipe_modules/chromium/steps.py:450: assert False, "This method should not be called." On ...
6 years, 5 months ago (2014-07-24 16:02:45 UTC) #3
Dirk Pranke
Updated. Please take another look?
6 years, 5 months ago (2014-07-24 16:24:52 UTC) #4
Paweł Hajdan Jr.
LGTM
6 years, 5 months ago (2014-07-25 13:13:14 UTC) #5
Dirk Pranke
The CQ bit was checked by dpranke@chromium.org
6 years, 5 months ago (2014-07-25 16:14:48 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/417883002/40001
6 years, 5 months ago (2014-07-25 16:15:09 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-25 16:15:20 UTC) #8
commit-bot: I haz the power
Failed to apply patch for build/scripts/slave/recipe_modules/chromium/steps.py: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 5 months ago (2014-07-25 16:15:21 UTC) #9
Dirk Pranke
The CQ bit was checked by dpranke@chromium.org
6 years, 5 months ago (2014-07-25 16:25:50 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dpranke@chromium.org/417883002/60001
6 years, 5 months ago (2014-07-25 16:26:22 UTC) #11
commit-bot: I haz the power
Change committed as 285595
6 years, 5 months ago (2014-07-25 16:27:13 UTC) #12
dmichael (off chromium)
A revert of this CL has been created in https://codereview.chromium.org/419673005/ by dmichael@chromium.org. The reason for ...
6 years, 5 months ago (2014-07-25 17:51:15 UTC) #13
Dirk Pranke
6 years, 5 months ago (2014-07-25 18:28:55 UTC) #14
Message was sent while issue was closed.
On 2014/07/25 17:51:15, dmichael wrote:
> A revert of this CL has been created in
> https://codereview.chromium.org/419673005/ by mailto:dmichael@chromium.org.
> 
> The reason for reverting is: Broke telemetry_unittests:
>
http://build.chromium.org/p/chromium.mac/builders/Mac10.6%20Tests%20%283%29/b....

Thanks for the revert! I'll look into the failure.

Powered by Google App Engine
This is Rietveld 408576698