[UFS] Clear dynamic recovery properties on DUT during CreateDUT
Ensure all dynamic recovery-populated LabData properties on MachineLSE (keyed by hostname) are reset to clean/empty values when a new DUT is created (add dut). This guarantees that whenever a DUT is re-added or created for a lab slot, residual Cbi, RoVpdMap, and dynamic peripheral states from previous deployments do not persist on the MachineLSE.
BUG=b:532209965
TEST=go test ./app/controller/... -run TestCreateDUT
TAG=agy
CONV=86aeb3cb-256b-4dcb-8fd1-25ebe0a7952d
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
func cleanPreDeployFields(servo *chromeosLab.Servo) {create a test for this function.
func cleanPreDeployDUTFields(dut *chromeosLab.DeviceUnderTest) {create a test for this function.
cleanPreDeployFields(peri.GetServo())why do we need this call as it called independenctly.
BuildTarget: "test",
Model: "test",add field with nil values to specify that values are expecetd to be cleared.
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |
| Auto-Submit | +1 |
| Commit-Queue | +1 |
| Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. |