BUG=skia:2306 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1683233002 NOTRY=true DOCS_PREVIEW= https://skia.org/?cl=1683233002 Review URL: https://codereview.chromium.org/1683233002
3.2 KiB
Downloading SKPs
Contents
Overview
An SKP is a binary representation of the draw commands Chromium sends to Skia for rasterization.
Skia uses different types of SKPs in our continuous builds and tests:
- Buildbot SKPs are the small set (89 as of 2/10/16) of SKPs that are used on almost all our bots.
- Cluster Telemetry SKPs are the much larger set (~900k) that are used by our CT bots (Eg: CT_BENCH_10k, CT_DM_10k, CT_DM_1m).
Skia developers find it useful to download these SKPs to run local tests to reproduce problems seen on the buildbots. The below sections detail how to download them.
How to download SKPs
Buildbot SKPs (for Googlers)
The following will work only if you have a google.com account.
All buildbot SKP files created by the RecreateSKPs bot are available in the Google Storage bucket gs://chromium-skia-gm, they can be copied over to your local directory like this:
-
Download the gsutil tool https://developers.google.com/cloud/sdk/#Quick_Start.
-
Authenticate using your google.com credentials “gcloud auth login”
-
Get the current SKP version from https://skia.googlesource.com/skia/+/master/SKP_VERSION.
-
Run in your terminal:
$ SKP_VERSION=...
$ SKP_DEST=...
$ gsutil -m cp gs://chromium-skia-gm/playback_${SKP_VERSION}/skps/*.skp ${SKP_DEST}
Buildbot SKPs (for trusted partners)
- Request access to the gs://chrome-partner-telemetry bucket by emailing telemetry@chromium.org (example).
- Once approved you can download Skia's weekly refreshed buildbot SKPs from gs://chrome-partner-telemetry/skps
Cluster Telemetry SKPs (for Googlers)
The following will work only if you have a google.com account.
-
Download the gsutil tool https://developers.google.com/cloud/sdk/#Quick_Start.
-
Authenticate using your google.com credentials “gcloud auth login”
-
Look at the SKP Repository list here for all available SKPs.
-
Run in your terminal:
$ SKP_DEST=...
$ REPO_TYPE=... (Either All, Mobile10k, 10k, Dummy1k)
$ CHROMIUM_BUILD=... (Eg: 57259e0-05dcb4c)
$ SLAVE_NUM=... (There are 100 available slaves)
$ gsutil -m cp gs://cluster-telemetry/skps/${REPO_TYPE}/${CHROMIUM_BUILD}/slave${SLAVE_NUM}/*.skp ${SKP_DEST}