[health_checker] Attempt reboot if unhealthy.

If the state is found to be unhealthy, it will still be returned as unhealthy.
However, if the reboot flag is set to true, then the health_checker will attempt
to reboot the device as well without checking the state again after the attempt.
If the device has been rebooted successfully, it should show up as healthy on the
next call to the health_checker tool.

Bug: IN-791 #comment
Change-Id: I32ad73398ccd1819b832519f49b5e3c4313a26e8
4 files changed
tree: 40c89fff7bfcf7e7bc848ec9871f17bceeddda51
  1. artifacts/
  2. bloaty/
  3. botanist/
  4. build/
  5. buildbucket/
  6. cache/
  7. cmd/
  8. color/
  9. command/
  10. digest/
  11. elflib/
  12. fastboot/
  13. gcs/
  14. gndoc/
  15. isatty/
  16. logger/
  17. mdns/
  18. netboot/
  19. ninjalog/
  20. qemu/
  21. resultstore/
  22. retry/
  23. runtests/
  24. secrets/
  25. serial/
  26. symbolize/
  27. tap/
  28. telnet/
  29. testrunner/
  30. testsharder/
  31. tftp/
  32. .gitignore
  33. go.mod
  34. go.sum
  35. LICENSE
  36. manifest
  37. PATENTS
  38. README.md
README.md

tools

This repo contains tools used in Fuchsia build and development.

Go packages from here are automatically built and uploaded to CIPD and Google Storage by bots using the tools recipe. To add a tool to the build:

  • Edit the bot config.
  • Find the builder_mixins section with name: "tools".
  • Edit the JSON in properties_j to add a string to the packages list:
"fuchsia.googlesource.com/tools/cmd/your-new-tool"