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

Issue 1988133002: Use swarming in capture_archives CT task and capture archives in parallel (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-4-create_pagesets
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Use swarming in capture_archives CT task and capture archives in parallel. Tested with: $ go run go/worker_scripts/capture_archives/main.go --logtostderr --start_range=1 --num=10 --pageset_type=Dummy1k --local $ go run go/master_scripts/capture_archives_on_workers/main.go --logtostderr --emails="rmistry@google.com" --pageset_type="Dummy1k" --run_id="testing" Verified that the above created 913 archives: $ gsutil -m ls -l gs://cluster-telemetry/swarming/webpage_archives/Dummy1k/*/*.json | grep -v TOTAL | wc -l 861 (with 100 per machine and 5 goroutines took 20m) 913 (with 10 per machine and 1 goroutines took 20m) 944 (with 10 per machine and 1 goroutines with retries took 25m) BUG=skia:5293 BUG=skia:5317 Committed: https://skia.googlesource.com/buildbot/+/3e56252be203f9a5e5cdb7167cc4d6eab7a51c95

Patch Set 1 : Initial upload #

Patch Set 2 : Start Xvfb #

Patch Set 3 : Remove TODOs #

Patch Set 4 : Try 10 per machine and no parallelism #

Total comments: 5

Patch Set 5 : Fix errcheck #

Patch Set 6 : Use new swarming method in util.go #

Patch Set 7 : Added retries to capture archives #

Total comments: 2

Patch Set 8 : Comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+152 lines, -61 lines) Patch
M ct/go/master_scripts/capture_archives_on_workers/main.go View 1 2 3 4 5 4 chunks +17 lines, -11 lines 0 comments Download
M ct/go/util/constants.go View 1 2 chunks +7 lines, -3 lines 0 comments Download
M ct/go/worker_scripts/capture_archives/main.go View 1 2 3 4 5 6 7 6 chunks +103 lines, -44 lines 0 comments Download
M ct/go/worker_scripts/worker_common/worker_common.go View 1 2 3 4 2 chunks +23 lines, -0 lines 0 comments Download
A + ct/isolates/capture_archives.isolate View 1 chunk +2 lines, -3 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 39 (21 generated)
rmistry
https://codereview.chromium.org/1988133002/diff/60001/ct/go/worker_scripts/capture_archives/main.go File ct/go/worker_scripts/capture_archives/main.go (right): https://codereview.chromium.org/1988133002/diff/60001/ct/go/worker_scripts/capture_archives/main.go#newcode25 ct/go/worker_scripts/capture_archives/main.go:25: WORKER_POOL_SIZE = 1 Will continue to play with this ...
4 years, 7 months ago (2016-05-18 16:14:01 UTC) #10
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988133002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988133002/60001
4 years, 7 months ago (2016-05-18 17:56:49 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Infra-PerCommit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/Infra-PerCommit-Trybot/builds/3952)
4 years, 7 months ago (2016-05-18 18:02:32 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988133002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988133002/80001
4 years, 7 months ago (2016-05-18 18:08:00 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-18 18:10:51 UTC) #19
dogben
lgtm https://codereview.chromium.org/1988133002/diff/60001/ct/go/master_scripts/capture_archives_on_workers/main.go File ct/go/master_scripts/capture_archives_on_workers/main.go (right): https://codereview.chromium.org/1988133002/diff/60001/ct/go/master_scripts/capture_archives_on_workers/main.go#newcode92 ct/go/master_scripts/capture_archives_on_workers/main.go:92: // Instantiate the swarming client. Seems capture_archives and ...
4 years, 7 months ago (2016-05-18 18:59:15 UTC) #20
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988133002/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988133002/100001
4 years, 7 months ago (2016-05-19 13:23:18 UTC) #22
rmistry
https://codereview.chromium.org/1988133002/diff/60001/ct/go/master_scripts/capture_archives_on_workers/main.go File ct/go/master_scripts/capture_archives_on_workers/main.go (right): https://codereview.chromium.org/1988133002/diff/60001/ct/go/master_scripts/capture_archives_on_workers/main.go#newcode92 ct/go/master_scripts/capture_archives_on_workers/main.go:92: // Instantiate the swarming client. On 2016/05/18 18:59:14, Ben ...
4 years, 7 months ago (2016-05-19 13:23:18 UTC) #23
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-19 13:26:09 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988133002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988133002/120001
4 years, 7 months ago (2016-05-19 14:03:33 UTC) #27
rmistry
Added retries @patchset7 to see if it helps increase the count of captured archives.
4 years, 7 months ago (2016-05-19 14:03:55 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 7 months ago (2016-05-19 14:06:25 UTC) #30
dogben
lgtm https://codereview.chromium.org/1988133002/diff/120001/ct/go/worker_scripts/capture_archives/main.go File ct/go/worker_scripts/capture_archives/main.go (right): https://codereview.chromium.org/1988133002/diff/120001/ct/go/worker_scripts/capture_archives/main.go#newcode147 ct/go/worker_scripts/capture_archives/main.go:147: glog.Warning("Encountered an error. Retrying...") nit: include error in ...
4 years, 7 months ago (2016-05-19 14:29:38 UTC) #31
rmistry
https://codereview.chromium.org/1988133002/diff/120001/ct/go/worker_scripts/capture_archives/main.go File ct/go/worker_scripts/capture_archives/main.go (right): https://codereview.chromium.org/1988133002/diff/120001/ct/go/worker_scripts/capture_archives/main.go#newcode147 ct/go/worker_scripts/capture_archives/main.go:147: glog.Warning("Encountered an error. Retrying...") On 2016/05/19 14:29:38, Ben Wagner ...
4 years, 7 months ago (2016-05-19 14:47:04 UTC) #32
rmistry
On 2016/05/19 14:47:04, rmistry wrote: > https://codereview.chromium.org/1988133002/diff/120001/ct/go/worker_scripts/capture_archives/main.go > File ct/go/worker_scripts/capture_archives/main.go (right): > > https://codereview.chromium.org/1988133002/diff/120001/ct/go/worker_scripts/capture_archives/main.go#newcode147 > ...
4 years, 7 months ago (2016-05-19 15:20:17 UTC) #34
dogben
lgtm Still LGTM.
4 years, 7 months ago (2016-05-19 16:16:44 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1988133002/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1988133002/140001
4 years, 7 months ago (2016-05-19 16:21:29 UTC) #37
commit-bot: I haz the power
4 years, 7 months ago (2016-05-19 16:25:05 UTC) #39
Message was sent while issue was closed.
Committed patchset #8 (id:140001) as
https://skia.googlesource.com/buildbot/+/3e56252be203f9a5e5cdb7167cc4d6eab7a5...

Powered by Google App Engine
This is Rietveld 408576698