skia2/infra/bots/recipes
Leon Scroggins 957ed75731 Revert "Update bots' NDK to r23"
This reverts commit 3bce5d1397.

Reason for revert: Speculative fix for ASAN failures on waterfall

Original change's description:
> Update bots' NDK to r23
>
> Bug: skia:12273
> Bug: skia:10754
>
> The latest version (r23) includes APIs from Android 12. It also allows
> referencing enums and structs even if __ANDROID_API__ is not set to the
> level that included them. This allows code to reference them and use
> dlsym to access the methods. This will ultimately allow Skia (or client
> - in this case Flutter) to use a single build to use the NDK APIs if
> present and fail gracefully if not.
>
> With r23, the Mac version of the NDK is now in a DMG, so rewrite its
> script to properly download, mount, and eject it.
>
> Also update the path to asan_device_setup. (See
> Iae6515b7e78c7660b4fb9fe32fd969ba563c4517.)
>
> Change-Id: I4b2eb4f49a1d45a3c18d2399f6b8006668c310ea
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/439336
> Reviewed-by: Eric Boren <borenet@google.com>
> Reviewed-by: Derek Sollenberger <djsollen@google.com>
> Commit-Queue: Leon Scroggins <scroggo@google.com>

TBR=borenet@google.com,djsollen@google.com,scroggo@google.com,skcq-be@skia-corp.google.com.iam.gserviceaccount.com

Change-Id: I77f803c51cba6672958210b5270b8b4301e12301
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:12273
Bug: skia:10754
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/440176
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2021-08-17 17:40:47 +00:00
..
check_generated_files.expected Remove .fp logic from CheckGeneratedFiles bot 2021-07-09 16:49:06 +00:00
compile.expected Remove all traces of OpenCL 2021-05-27 19:17:17 +00:00
compute_buildstats.expected [infra] Update recipe dependencies 2021-06-22 17:07:35 +00:00
housekeeper.expected [infra] Update recipe dependencies 2021-06-22 17:07:35 +00:00
infra.expected [infra] Fix InfraTests recipe for other repos which use it 2021-02-23 17:42:38 +00:00
perf_pathkit.expected [canvaskit] Update Chrome version and use npm ci for tests 2020-12-14 15:03:42 +00:00
perf_skottietrace.expected remove 'debugging' step 2021-02-24 20:56:21 +00:00
perf_skottiewasm_lottieweb.expected [infra] Update recipe deps 2021-04-20 19:49:56 +00:00
perf.expected remove 'debugging' step 2021-02-24 20:56:21 +00:00
skpbench.expected Start running dmsaa on nanobench and skpbench 2021-07-08 17:34:36 +00:00
sync_and_compile.expected [infra] Update recipe dependencies 2021-06-22 17:07:35 +00:00
test_canvaskit.expected [gold] Update data produced by canvaskit and pathkit 2021-03-31 21:26:27 +00:00
test_lottie_web.expected [infra] Direct Gold upload from lottie tests. 2021-03-29 21:10:34 +00:00
test_pathkit.expected [gold] Update data produced by canvaskit and pathkit 2021-03-31 21:26:27 +00:00
test.expected Revert "Update bots' NDK to r23" 2021-08-17 17:40:47 +00:00
upload_buildstats_results.expected Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
upload_dm_results.expected Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
upload_nano_results.expected Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
check_generated_files.py Remove .fp logic from CheckGeneratedFiles bot 2021-07-09 16:49:06 +00:00
compile.py [infra] Fix build_task_drivers.sh, update infra dep 2020-01-08 14:53:41 +00:00
compute_buildstats.py Fix Python3 compatibility 2021-03-25 14:15:35 +00:00
housekeeper.py [recipes] Move app_name into flavor.setup() 2020-02-27 18:06:15 +00:00
infra.py [infra] Remove failing InfraTests_Win job 2021-07-26 14:49:36 +00:00
perf_pathkit.py Fix Python3 compatibility 2021-03-25 14:15:35 +00:00
perf_skottietrace.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
perf_skottiewasm_lottieweb.py Remove offensive content from lottie-samples 2021-02-19 21:12:48 +00:00
perf.py Remove some ableist language from infra parts 2021-01-29 17:36:18 +00:00
README.md Re-re-land "added GrSkSLFP and converted DitherEffect to use it" 2018-07-31 15:18:03 +00:00
skpbench.py Start running dmsaa on nanobench and skpbench 2021-07-08 17:34:36 +00:00
sync_and_compile.py [infra] Remove skqp build and test 2021-05-25 18:05:42 +00:00
test_canvaskit.py [gold] Update data produced by canvaskit and pathkit 2021-03-31 21:26:27 +00:00
test_lottie_web.py [infra] Direct Gold upload from lottie tests. 2021-03-29 21:10:34 +00:00
test_pathkit.py [gold] Update data produced by canvaskit and pathkit 2021-03-31 21:26:27 +00:00
test.py [infra] Remove Pixel (sailfish) jobs 2021-06-28 16:52:04 +00:00
upload_buildstats_results.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
upload_dm_results.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +00:00
upload_nano_results.py Changing ~everything (mostly recipe related stuff) to reference Debian10 jobs 2020-04-07 12:18:06 +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 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.