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

Issue 515263003: [telemetry] Retry unit tests after failures in setUpClass and setUpModule. (Closed)

Created:
6 years, 3 months ago by dtu
Modified:
6 years, 3 months ago
Reviewers:
Dirk Pranke, dpranke, tonyg
CC:
chromium-reviews, telemetry+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[telemetry] Retry unit tests after failures in setUpClass and setUpModule. unittest produces a suite._ErrorHolder object in these cases. We can parse its description to figure out what class/module it is and what tests we have in that class/module. BUG=405766 TEST=Make a TestCase fail setUpClass, run it with --retry-limit=3 and check for retries. R=dpranke, tonyg Committed: https://crrev.com/fa7127af0bb95dcfbfd6b8c084145396140413d3 Cr-Commit-Position: refs/heads/master@{#292524}

Patch Set 1 #

Total comments: 7

Patch Set 2 : dpranke comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -8 lines) Patch
M tools/telemetry/telemetry/unittest/json_results.py View 1 4 chunks +33 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/unittest/run_tests.py View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
dtu
6 years, 3 months ago (2014-08-28 16:46:38 UTC) #1
tonyg
lgtm
6 years, 3 months ago (2014-08-28 17:21:33 UTC) #2
Dirk Pranke
dpranke@chromium.org changed reviewers: + dpranke@chromium.org
6 years, 3 months ago (2014-08-28 17:40:05 UTC) #3
Dirk Pranke
this can probably land as-is, but I think there might be one bug, and there's ...
6 years, 3 months ago (2014-08-28 17:40:05 UTC) #4
dtu
https://chromiumcodereview.appspot.com/515263003/diff/1/tools/telemetry/telemetry/unittest/json_results.py File tools/telemetry/telemetry/unittest/json_results.py (right): https://chromiumcodereview.appspot.com/515263003/diff/1/tools/telemetry/telemetry/unittest/json_results.py#newcode176 tools/telemetry/telemetry/unittest/json_results.py:176: match = re.match('setUp[a-zA-z]+ \\((.+)\\)', test.id()) On 2014/08/28 17:40:05, Dirk ...
6 years, 3 months ago (2014-08-28 21:51:43 UTC) #5
Dirk Pranke
lgtm https://chromiumcodereview.appspot.com/515263003/diff/1/tools/telemetry/telemetry/unittest/json_results.py File tools/telemetry/telemetry/unittest/json_results.py (right): https://chromiumcodereview.appspot.com/515263003/diff/1/tools/telemetry/telemetry/unittest/json_results.py#newcode176 tools/telemetry/telemetry/unittest/json_results.py:176: match = re.match('setUp[a-zA-z]+ \\((.+)\\)', test.id()) On 2014/08/28 21:51:43, ...
6 years, 3 months ago (2014-08-28 21:55:05 UTC) #6
dtu
On 2014/08/28 21:55:05, Dirk Pranke wrote: > lgtm > > https://chromiumcodereview.appspot.com/515263003/diff/1/tools/telemetry/telemetry/unittest/json_results.py > File tools/telemetry/telemetry/unittest/json_results.py (right): ...
6 years, 3 months ago (2014-08-28 22:04:27 UTC) #7
dtu
The CQ bit was checked by dtu@chromium.org
6 years, 3 months ago (2014-08-28 22:04:33 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dtu@chromium.org/515263003/20001
6 years, 3 months ago (2014-08-28 22:05:26 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_x64_rel_swarming on tryserver.chromium.win ...
6 years, 3 months ago (2014-08-28 23:27:57 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001) as 2ba764f6be345a88e9262bc7c5b42962ae1360b4
6 years, 3 months ago (2014-08-29 00:44:52 UTC) #11
commit-bot: I haz the power
6 years, 3 months ago (2014-09-10 03:04:26 UTC) #12
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/fa7127af0bb95dcfbfd6b8c084145396140413d3
Cr-Commit-Position: refs/heads/master@{#292524}

Powered by Google App Engine
This is Rietveld 408576698