commit | b0c275d7b499e2dffa3d99b8ffeac3f1b7bdab9c | [log] [tgz] |
---|---|---|
author | Hunter Freyer <hjfreyer@google.com> | Wed Nov 11 21:53:19 2020 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Wed Nov 11 21:53:19 2020 +0000 |
tree | ecb0cc67cabe995ea6d7455b116b9c8781df9a9c | |
parent | 5ab09d328b135a9f31d810cdbcbe1deac0940ee3 [diff] |
[system-health-check] check_and_set_system_health Merges check_system_health and set_active_configuration_healthy into a single new operation with the following semantics: - If the current configuration is marked "Pending" according to the paver, run health checks. If they fail, return an error. Eventually, seeing this error will cause system-update-checker and omaha-client to trigger reboot. - Otherwise, mark the current configuration as healthy and the alternate configuration as unbootable. Test: did an OTA, checked that the system logs were as expected on first boot (set healthy followed by set unbootable), and that //src/sys/pkg:tests passed on the newly updated system. Rebooted the machine and repeated this process, verifying the "skipping health checks" message appeared. Fixed: 51480 Change-Id: I90a0952b3fe702f1f90184bd4497b00c98438f80 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/442202 Reviewed-by: Aaron Wood <aaronwood@google.com> Reviewed-by: Zach Kirschenbaum <zkbaum@google.com> Reviewed-by: John Wittrock <wittrock@google.com> Testability-Review: Zach Kirschenbaum <zkbaum@google.com> Commit-Queue: Hunter Freyer <hjfreyer@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.