commit | 40b770a6391ee39d4505e827d996849b146c5f35 | [log] [tgz] |
---|---|---|
author | Patryk Duda <pdk@semihalf.com> | Mon Jun 20 15:39:23 2022 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 23 01:15:28 2022 |
tree | 9a089398515a3f16c6c37b774baedb43e6df2afb | |
parent | 624ae091e7771cebc4b08e8d0c49f49678266297 [diff] |
firmware_test_handler: Fix cleanup on NewFirmwareTest failure NewFirmwareTest function (from fingerprint package) connects to servo and stops biod and powerd daemons. When this function finishes without error, Close() method from FirmwareTest is responsible for restoring daemon states and closing connection. If NewFirmwareTest fails then it is expected that DUT state will remain unchanged, so we need to revert actions performed by the function. BUG=b:233276848 TEST=tast run <IP> firmware.Fp{AddEntropy,BioWash,CheckWriteProtect, \ RDP0,RDP1,ROOnlyBootsValidRW,RWNoUpdateRO,ReadFlash,RebootToRO, \ SoftwareWriteProtect,SystemIsLocked,TpmSeed,Updater} Change-Id: I8ae047b3f3d3435a919c2cff61efe8acbd1ae366 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/tast-tests/+/3714930 Commit-Queue: Patryk Duda <patrykd@google.com> Tested-by: Patryk Duda <patrykd@google.com> Reviewed-by: Hidehiko Abe <hidehiko@chromium.org> Reviewed-by: Tom Hughes <tomhughes@chromium.org>
This repository contains integration tests that are run by Tast.
helpers/
- Source code for binaries executed by tests.local/
- Helpers for local tests that are compiled and installed to /usr/local/libexec/tast/helpers/local/cros
by the tast-local-helpers-cros
package.src/chromiumos/tast/
Shared code, the main tast
executable, the local_test_runner
and remote_test_runner
executables responsible for running bundles, and documentation are located in the tast repository.