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

Issue 1990873002: Use swarming in create_pagesets CT task (Closed)

Created:
4 years, 7 months ago by rmistry
Modified:
4 years, 7 months ago
Reviewers:
dogben
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/buildbot@ct-3-swarming-timeouts
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Use swarming in create_pagesets CT task Tested with: $ go run go/worker_scripts/create_pagesets/main.go --logtostderr --start_range=1 --num=10 --pageset_type=Dummy1k --local $ go run go/master_scripts/create_pagesets_on_workers/main.go --logtostderr --emails="rmistry@google.com" --pageset_type="Dummy1k" --run_id="testing" Verified that the above created 1000 page sets: $ gsutil -m ls -l gs://cluster-telemetry/swarming/page_sets/Dummy1k/*/*.py | grep -v TOTAL | wc -l 1000 BUG=skia:5292 Committed: https://skia.googlesource.com/buildbot/+/53db4d396e321807de6259bb0117328b448dbd18

Patch Set 1 : Initial upload #

Patch Set 2 : Fixes #

Patch Set 3 : Remove TODOs #

Total comments: 10

Patch Set 4 : Refactor swarming code into util.go #

Patch Set 5 : Fix bug #

Patch Set 6 : Address comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+146 lines, -46 lines) Patch
M ct/go/master_scripts/create_pagesets_on_workers/main.go View 1 2 3 4 chunks +18 lines, -13 lines 0 comments Download
M ct/go/util/constants.go View 1 1 chunk +5 lines, -1 line 0 comments Download
M ct/go/util/util.go View 1 2 3 4 5 2 chunks +75 lines, -0 lines 0 comments Download
M ct/go/util/util_test.go View 1 2 chunks +14 lines, -0 lines 0 comments Download
M ct/go/worker_scripts/create_pagesets/main.go View 1 2 3 4 chunks +18 lines, -26 lines 0 comments Download
A + ct/isolates/create_pagesets.isolate View 1 chunk +9 lines, -6 lines 0 comments Download
A ct/isolates/py.isolate View 1 chunk +7 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 25 (13 generated)
rmistry
4 years, 7 months ago (2016-05-18 14:17:36 UTC) #4
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990873002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990873002/40001
4 years, 7 months ago (2016-05-18 14:54:09 UTC) #6
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-18 14:56:59 UTC) #8
dogben
lgtm https://codereview.chromium.org/1990873002/diff/40001/ct/go/master_scripts/create_pagesets_on_workers/main.go File ct/go/master_scripts/create_pagesets_on_workers/main.go (right): https://codereview.chromium.org/1990873002/diff/40001/ct/go/master_scripts/create_pagesets_on_workers/main.go#newcode112 ct/go/master_scripts/create_pagesets_on_workers/main.go:112: pathToIsolates := filepath.Join(filepath.Dir((filepath.Dir(filepath.Dir(filepath.Dir(currentFile))))), "isolates") nit: extra parentheses https://codereview.chromium.org/1990873002/diff/40001/ct/go/util/util.go ...
4 years, 7 months ago (2016-05-18 17:38:26 UTC) #9
rmistry
I also refactored the swarming code into util.go to be used from all master scripts. ...
4 years, 7 months ago (2016-05-19 12:59:50 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990873002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990873002/120001
4 years, 7 months ago (2016-05-19 13:07:07 UTC) #15
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-19 13:09:59 UTC) #17
dogben
lgtm https://codereview.chromium.org/1990873002/diff/40001/ct/go/util/util.go File ct/go/util/util.go (right): https://codereview.chromium.org/1990873002/diff/40001/ct/go/util/util.go#newcode403 ct/go/util/util.go:403: func ArchiveTriggerCollectSwarmingTask(s *swarming.SwarmingClient, taskNames, genJSONs []string, hardTimeout, ioTimeout ...
4 years, 7 months ago (2016-05-19 14:27:22 UTC) #18
rmistry
https://codereview.chromium.org/1990873002/diff/40001/ct/go/util/util.go File ct/go/util/util.go (right): https://codereview.chromium.org/1990873002/diff/40001/ct/go/util/util.go#newcode403 ct/go/util/util.go:403: func ArchiveTriggerCollectSwarmingTask(s *swarming.SwarmingClient, taskNames, genJSONs []string, hardTimeout, ioTimeout time.Duration) ...
4 years, 7 months ago (2016-05-19 14:42:20 UTC) #20
dogben
lgtm Still LGTM.
4 years, 7 months ago (2016-05-19 16:15:41 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1990873002/170001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1990873002/170001
4 years, 7 months ago (2016-05-19 16:16:59 UTC) #23
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 16:20:00 UTC) #25
Message was sent while issue was closed.
Committed patchset #6 (id:170001) as
https://skia.googlesource.com/buildbot/+/53db4d396e321807de6259bb0117328b448d...

Powered by Google App Engine
This is Rietveld 408576698