[fuchsia] Upload ASAN artifacts to CIPD, take two.

I made many oversights in
https://flutter-review.googlesource.com/c/recipes/+/28562. This
prevented the unoptimized debug ASAN build from being uploaded
to CIPD.

- Uploading to CIPD is not done by the first call to
  build_fuchsia_artifacts.py in engine.py, it is done by a second call
  to build_fuchsia_artifacts.py that passes a --upload flag.
  I am not sure what the purpose of the first call is.
- The generated bucket gets wiped every time build_fuchsia_artifacts.py
  gets called, so to copy the unoptimized debug build into our
  bucket we need to pass --copy-unoptimized-debug-artifacts to our
  second call of the script.
- Debug symbols were not going to be uploaded for the new unopt build.
  I added the debug_unopt build to the list of builds that should
  have debug symbols get uploaded. To simplify this, I created a
  debug_unopt build for arm64 to be uploaded too.
- femu_test.py isn't related to uploading to CIPD, so removing unopt
  build from there for now. In a separate CL I may switch it over to
  using an ASAN build.

Change-Id: I1394c564359b8636f7b25e2949064395572d63d4
PAIR: naudzghebre
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/30629
Reviewed-by: Keyong Han <keyonghan@google.com>
Commit-Queue: Alexander Biggs <akbiggs@google.com>
Reviewed-by: Darren Chan <chandarren@google.com>
61 files changed
tree: bff15e851f5a18c055d3a081d34d9cfaee982b05
  1. infra/
  2. recipe_modules/
  3. recipes/
  4. .gitignore
  5. .style.yapf
  6. AUTHORS
  7. LICENSE
  8. OWNERS
  9. README.md
  10. recipes.py
README.md

Flutter LUCI Recipes

This repository contains Flutter's LUCI recipes. For the LUCI infrastructure config, see flutter/infra. Actual builds can be seen at ci.chromium.org.

Supported repositories roll their .ci.yaml into flutter/infra, which updates what properties builds have. For example, flutter config specifies various dependencies the different tests require, which are then used by the flutter_deps recipe_module No modifications to flutter/infra are required to work on the recipes.

Configuration

Tricium configurations recipes repo.

Testing locally

Running python recipes.py test train will execute all of the tests in this repository

Troubleshooting

Required binary is not found on PATH: cipd when testing locally

You need to ensure depot_tools is installed. See Depot Tools Installation Tutorial