skia2/infra/bots/recipes
Kevin Lubick e9188850ec Revert "Revert "Disable extra CPUs during Nanobench""
This reverts commit 43307c09b9.

Reason for revert: Fixed this time.  Echo 1 > already online cpu
returns exit code 1, which makes python over-react.

Original change's description:
> Revert "Disable extra CPUs during Nanobench"
>
> This reverts commit 32af335e7a.
>
> Reason for revert: many unhappy android bots
>
> Original change's description:
> > Disable extra CPUs during Nanobench
> >
> > The previous experiment revealed that nanobench can
> > run on any of the online CPUs, so rather than put
> > the ones we don't need/want into powersave mode, just
> > disable them.
> >
> > Maybe in the future we can run CPU tests on the big
> > or LITTLE cpus to get perf data on higher end or
> > lower end cpus, but only if we get very stable
> > results from this.
> >
> > Bug: skia:7378
> > Change-Id: I057513a691093e7f73c0f5790e17fab1a5ec0bc4
> > Reviewed-on: https://skia-review.googlesource.com/84820
> > Reviewed-by: Kevin Lubick <kjlubick@google.com>
> > Commit-Queue: Kevin Lubick <kjlubick@google.com>
>
> TBR=borenet@google.com,mtklein@google.com,kjlubick@google.com
>
> Change-Id: I23c37a6bde631e95f0b4ae7277ec8fcf325a00e9
> Bug: skia:7378
> Reviewed-on: https://skia-review.googlesource.com/84921
> Reviewed-by: Mike Klein <mtklein@google.com>
> Commit-Queue: Mike Klein <mtklein@google.com>

No-Tree-Checks: true
Change-Id: Ie7f0a3dc6ba55c124c796aba16a0f0497f285f3a
Bug: skia:7378
Reviewed-on: https://skia-review.googlesource.com/84865
Commit-Queue: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
2017-12-14 15:21:01 +00:00
..
bookmaker.expected Use new bookmaker flag to status.json 2017-12-12 15:36:29 +00:00
bundle_recipes.expected Revert "[infra] Move commands from isolates to gen_tasks.go" 2017-12-07 14:54:11 +00:00
calmbench.expected Roll recipe dependencies (nontrivial). 2017-12-08 14:12:30 +00:00
check_generated_files.expected Roll recipe dependencies (nontrivial). 2017-12-08 14:12:30 +00:00
compile.expected Store skiaserve binary in GS from Release Android compile bots 2017-12-12 22:37:05 +00:00
ct_skps.expected Store skiaserve binary in GS from Release Android compile bots 2017-12-12 22:37:05 +00:00
housekeeper.expected Roll recipe dependencies (nontrivial). 2017-12-08 14:12:30 +00:00
infra.expected Roll recipe dependencies (nontrivial). 2017-12-08 14:12:30 +00:00
perf.expected Revert "Revert "Disable extra CPUs during Nanobench"" 2017-12-14 15:21:01 +00:00
recreate_skps.expected Roll recipe dependencies (nontrivial). 2017-12-08 14:12:30 +00:00
skpbench.expected Remove instanced rendering 2017-12-08 13:41:10 +00:00
test.expected Revert "Revert "Disable extra CPUs during Nanobench"" 2017-12-14 15:21:01 +00:00
update_meta_config.expected Roll recipe dependencies (nontrivial). 2017-12-08 14:12:30 +00:00
upload_calmbench_results.expected Roll recipe dependencies (nontrivial). 2017-12-08 14:12:30 +00:00
upload_coverage_results.expected Shard GCE Coverage bot to decrease latency 2017-10-17 21:10:17 +00:00
upload_dm_results.expected [recipes] Update example builder names. 2017-09-26 20:26:56 +00:00
upload_nano_results.expected Add in test_filter to build configuration 2017-10-16 11:09:49 +00:00
upload_skiaserve.expected [Infra] Fix skiaserve source location again 2017-12-13 22:01:40 +00:00
bookmaker.py Use new bookmaker flag to status.json 2017-12-12 15:36:29 +00:00
bundle_recipes.py Revert "[infra] Move commands from isolates to gen_tasks.go" 2017-12-07 14:54:11 +00:00
calmbench.py Add a GPU calmbench bot 2017-11-02 19:04:21 +00:00
check_generated_files.py Add a bot to verify that generated SKSL files have not been hand-edited 2017-07-28 12:20:47 +00:00
compile.py [recipes] Provide tokenized extra_config and use it most places. 2017-12-13 18:26:32 +00:00
ct_skps.py Switch CT_BENCH_10k_SKPs bot to use QuadroP400 2017-11-08 21:43:37 +00:00
housekeeper.py [skia] convert recipes and module to new context module 2017-05-15 13:46:22 +00:00
infra.py Fixes for internal repo infra tests 2017-06-15 13:10:59 +00:00
perf.py Revert "Revert "Disable extra CPUs during Nanobench"" 2017-12-14 15:21:01 +00:00
README.md Use new recipes.py test command 2017-04-18 13:57:56 +00:00
recreate_skps.py Add new Bookmaker bot that runs nightly 2017-12-08 22:26:38 +00:00
skpbench.py Remove instanced rendering 2017-12-08 13:41:10 +00:00
test.py clean up float-cast-overflow blacklist 2017-12-13 20:09:10 +00:00
update_meta_config.py [recipes] Switch to file module from recipe_engine 2017-06-16 17:41:28 +00:00
upload_calmbench_results.py Add a GPU calmbench bot 2017-11-02 19:04:21 +00:00
upload_coverage_results.py Shard GCE Coverage bot to decrease latency 2017-10-17 21:10:17 +00:00
upload_dm_results.py Add Linux CPU Coverage Bot 2017-10-09 19:58:34 +00:00
upload_nano_results.py Add in test_filter to build configuration 2017-10-16 11:09:49 +00:00
upload_skiaserve.py [Infra] Fix skiaserve source location again 2017-12-13 22:01:40 +00:00

Skia Recipes

These are the top-level scripts which run inside of Swarming tasks to perform all of Skia's automated testing.

To run a recipe locally:

$ python infra/bots/recipes.py run --workdir=/tmp/<workdir> <recipe name without .py> key1=value1 key2=value2 ...

Each recipe may have its own required properties which must be entered as key/value pairs in the command.

When you change a recipe, you generally need to re-train the simulation test:

$ python infra/bots/recipes.py test run --train

Or:

    $ cd infra/bots; make train

The test generates expectations files for the tests contained within each recipe which illustrate which steps would run, given a particular set of inputs. Pay attention to the diffs in these files when making changes to ensure that your change has the intended effect.