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

Issue 3010873003: [pinpoint] Limit executions to one test run each + device sharding. (Closed)

Created:
3 years, 3 months ago by dtu
Modified:
3 years, 3 months ago
Reviewers:
perezju, shatch, sullivan
CC:
catapult-reviews_chromium.org, perf-dashboard-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[pinpoint] Limit executions to one test run each + device sharding. * Hard-code --pageset-repeat to 1 (or 2 for startup benchmarks). * Limit one RunTest execution to one test run. * Do repeat_count by adding additional Attempts at the beginning. * Add device sharding with cross-change device affinity. * Re-use the results of previous builds. Having a 1:1 mapping between Execution and test runs makes failure handling easier -- each Execution can only throw one Exception. And doing repeats with Attempts allows functional bisects to use the same repeat mechanism as performance bisects. Removing --pageset-repeat means extra Swarming task overhead, but if the default repeat count is 10 and there are 5 bots, then it's just 2 Swarming tasks instead of 1. BUG=catapult:#3665 Review-Url: https://chromiumcodereview.appspot.com/3010873003 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/80c47581b19fb3cf92d19b0f34eb0e9518aa7eaa

Patch Set 1 : . #

Patch Set 2 : Ready! #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+237 lines, -150 lines) Patch
M dashboard/dashboard/pinpoint/handlers/jobs_test.py View 1 1 chunk +1 line, -2 lines 0 comments Download
M dashboard/dashboard/pinpoint/handlers/new.py View 1 4 chunks +13 lines, -0 lines 0 comments Download
M dashboard/dashboard/pinpoint/handlers/new_test.py View 1 1 chunk +7 lines, -0 lines 0 comments Download
M dashboard/dashboard/pinpoint/handlers/quest_generator.py View 1 2 chunks +6 lines, -11 lines 1 comment Download
M dashboard/dashboard/pinpoint/handlers/quest_generator_test.py View 1 11 chunks +30 lines, -10 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/attempt.py View 1 chunk +2 lines, -3 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/job.py View 1 6 chunks +14 lines, -7 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/quest/find_isolate.py View 1 2 chunks +10 lines, -2 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/quest/find_isolate_test.py View 1 1 chunk +35 lines, -0 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/quest/read_value.py View 1 3 chunks +40 lines, -46 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/quest/read_value_test.py View 1 13 chunks +13 lines, -13 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/quest/run_test.py View 1 5 chunks +45 lines, -40 lines 0 comments Download
M dashboard/dashboard/pinpoint/models/quest/run_test_test.py View 1 8 chunks +21 lines, -16 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 19 (10 generated)
dtu
How about something like this? This appears to solve many problems at once. Pros: * ...
3 years, 3 months ago (2017-09-01 10:13:47 UTC) #2
dtu
On 2017/09/01 10:13:47, dtu wrote: > How about something like this? > This appears to ...
3 years, 3 months ago (2017-09-01 10:19:38 UTC) #3
perezju
On 2017/09/01 10:19:38, dtu wrote: > On 2017/09/01 10:13:47, dtu wrote: > > How about ...
3 years, 3 months ago (2017-09-05 14:01:28 UTC) #4
shatch
Thanks for the walkthrough, happy with this approach as well, lg2m, mentioned small gotcha with ...
3 years, 3 months ago (2017-09-05 21:04:35 UTC) #5
dtu
Tests added! Ready for review!
3 years, 3 months ago (2017-09-06 00:08:07 UTC) #11
perezju
lgtm https://codereview.chromium.org/3010873003/diff/100001/dashboard/dashboard/pinpoint/handlers/quest_generator.py File dashboard/dashboard/pinpoint/handlers/quest_generator.py (right): https://codereview.chromium.org/3010873003/diff/100001/dashboard/dashboard/pinpoint/handlers/quest_generator.py#newcode90 dashboard/dashboard/pinpoint/handlers/quest_generator.py:90: swarming_extra_args += ('--pageset-repeat', '2') ugh :( Just saw ...
3 years, 3 months ago (2017-09-06 14:24:56 UTC) #12
shatch
lgtm
3 years, 3 months ago (2017-09-06 14:41:09 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/3010873003/100001
3 years, 3 months ago (2017-09-06 15:49:21 UTC) #16
commit-bot: I haz the power
3 years, 3 months ago (2017-09-06 16:23:35 UTC) #19
Message was sent while issue was closed.
Committed patchset #2 (id:100001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698