skia2/infra/bots/recipe_modules
Mike Klein 122f18ede8 skirt std::chrono on MSAN builds
I don't know why, but only std::chrono's calls to clock_gettime() seem
to be affected by this MSAN bug.  Other calls into libc++ that call
libc, like std::to_string(int) calling snprintf, work fine.

CQ_INCLUDE_TRYBOTS=skia.primary:Test-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN,Perf-Ubuntu-Clang-GCE-CPU-AVX2-x86_64-Debug-MSAN

BUG=skia:6504

Change-Id: I73fbe8793d2b5b5cca46ed68fb078a77d8748127
Reviewed-on: https://skia-review.googlesource.com/13502
Reviewed-by: Ben Wagner <bungeman@google.com>
Commit-Queue: Mike Klein <mtklein@chromium.org>
2017-04-14 18:59:07 +00:00
..
builder_name_schema Roll recipe DEPS again 2017-02-21 15:23:11 +00:00
core Clean up no-longer-used recipes stuff 2017-04-10 14:27:58 +00:00
ct Roll Recipe DEPS 2017-02-27 14:32:26 +00:00
flavor skirt std::chrono on MSAN builds 2017-04-14 18:59:07 +00:00
infra Change infra recipe module to use the Go asset 2017-04-13 16:26:22 +00:00
run Fix symbolization of ASAN crashes 2017-04-11 14:32:39 +00:00
swarming Manually roll recipes 2017-03-27 13:48:19 +00:00
vars Recipes: Remove depot_tools path hack 2017-04-10 16:01:46 +00:00
README.md Add infra/bots/Makefile to simplify test/train 2017-04-13 17:01:17 +00:00

Skia Recipe Modules

This directory contains recipe modules designed to be used by recipes (see infra/bots/recipes). They are all Skia-specific and some are interrelated:

  • builder_name_schema - Helps to derive expected behavior from task (formerly builder) names.
  • core - Use as a starting point for most recipes: runs setup and sync steps.
  • ct - Shared Cluster Telemetry utilities.
  • flavor - Allows the caller to specify a high-level command to run, leaving the platform-specific details to be handled by the specific flavor module.
  • infra - Shared infrastructure-related utilities.
  • run - Utilities for running commands.
  • swarming - Utilities for running Swarming tasks.
  • vars - Common global variables used by Skia recipes/modules.

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

$ python infra/bots/recipes.py simulation_test train

Or:

$ cd infra/bots; make train

Each recipe module contains a few files:

  • api.py - This is the meat of the module.
  • __init__.py - Contains a single DEPS variable, indicating the other recipe modules on which this module depends.
  • example.py - Optional, this file contains examples which demonstrate how to use the module and should contain enough tests to achieve 100% coverage for the module. The tests are run using the simulation_test command above.