52b040968a
This is similar to https://skia-review.googlesource.com/c/buildbot/+/538218 BIG CHANGE: If we fail to download uninteresting hashes (because Gold is down or the script otherwise fails), we now crash/fail our Test-* tasks. In an early version of this removal, that lack of failure masked an issue with the script (urllib2 is not in Python3) and nearly would have landed. Failing loudly is better, IMO. This removes the symbolize_stack_trace script, which stopped working with Python3 for reasons unknown. If we need the behavior, we can rewrite it. Relatedly, we removed 4 jobs, the Docker ones, because we will not get much value out of them as we migrate towards Bazel and removing the symbolization script was tricky to get right. There are a few cleanups around copypasta that I noticed when combing through the recipes. Change-Id: I8dfab416e964fd494267800b4ebe216061895f19 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/538636 Reviewed-by: Ravi Mistry <rmistry@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com> Reviewed-by: Eric Boren <borenet@google.com> |
||
---|---|---|
.. | ||
check_generated_files.expected | ||
compile.expected | ||
compute_buildstats.expected | ||
housekeeper.expected | ||
infra.expected | ||
perf_pathkit.expected | ||
perf_skottietrace.expected | ||
perf_skottiewasm_lottieweb.expected | ||
perf.expected | ||
skpbench.expected | ||
sync_and_compile.expected | ||
test_canvaskit.expected | ||
test_lottie_web.expected | ||
test_pathkit.expected | ||
test.expected | ||
upload_buildstats_results.expected | ||
upload_dm_results.expected | ||
upload_nano_results.expected | ||
check_generated_files.py | ||
compile.py | ||
compute_buildstats.py | ||
housekeeper.py | ||
infra.py | ||
perf_pathkit.py | ||
perf_skottietrace.py | ||
perf_skottiewasm_lottieweb.py | ||
perf.py | ||
README.md | ||
skpbench.py | ||
sync_and_compile.py | ||
test_canvaskit.py | ||
test_lottie_web.py | ||
test_pathkit.py | ||
test.py | ||
upload_buildstats_results.py | ||
upload_dm_results.py | ||
upload_nano_results.py |
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 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.