Simplify and fix emulator cleanup process.

Relying on PID to cleanup running emulators didn't account for cases
where the PID could not be captured from stdout. This change includes:

* Cleaning up by process name.
* List processes before and after cleanup for debugging.
* Simplify the logic removing zombie process cleanup and replaced it
  with cleanup by name.

Change-Id: Iff914c41be21a5adae108d142bf187fe28bb1043
Reviewed-on: https://flutter-review.googlesource.com/c/recipes/+/55020
Reviewed-by: Ricardo Amador <ricardoamador@google.com>
Commit-Queue: Godofredo Contreras <godofredoc@google.com>
18 files changed
tree: 92ecbdf404943bb814a6233557229b4491edab8d
  1. infra/
  2. recipe_modules/
  3. recipes/
  4. .gitignore
  5. .style.yapf
  6. AUTHORS
  7. CONTRIBUTING.md
  8. LICENSE
  9. OWNERS
  10. README.md
  11. recipes.py
README.md

Flutter LUCI Recipes

This repository contains Flutter's LUCI recipes. For the LUCI infrastructure config, see flutter/infra. Builds can be found in the Flutter Dashboard.

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.

Contributing

Please follow instructions on Contributing docs to set up your development environment.